47 #ifndef vtkStaticCellLinks_h 48 #define vtkStaticCellLinks_h 50 #include "vtkCommonDataModelModule.h" 74 {this->Impl->BuildLinks(ds);}
80 {
return this->Impl->GetNumberOfCells(ptId);}
87 {
return static_cast<unsigned short>(this->GetNumberOfCells(ptId)); }
93 {
return this->Impl->GetCells(ptId);}
99 {this->Impl->Initialize();}
abstract class to specify dataset behavior
an abstract base class for classes that build topological links from points to cells ...
void BuildLinks(vtkDataSet *ds) override
Build the link list array.
const vtkIdType * GetCells(vtkIdType ptId)
Return a list of cell ids using the specified point.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard type and print methods.
unsigned short GetNcells(vtkIdType ptId)
Get the number of cells using the point specified by ptId.
a simple class to control print indentation
void Initialize()
Make sure any previously created links are cleaned up.
object to represent cell connectivity
object represents upward pointers from points to list of cells using each point
vtkIdType GetNumberOfCells(vtkIdType ptId)
Get the number of cells using the point specified by ptId.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkStaticCellLinksTemplate< vtkIdType > * Impl