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();}
an abstract base class for classes that build topological links from points to cells
object to represent cell connectivity
abstract class to specify dataset behavior
a simple class to control print indentation
object represents upward pointers from points to list of cells using each point (template implementat...
object represents upward pointers from points to list of cells using each point
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
const vtkIdType * GetCells(vtkIdType ptId)
Return a list of cell ids using the specified point.
static vtkStaticCellLinks * New()
Standard methods for instantiation, type manipulation and printing.
unsigned short GetNcells(vtkIdType ptId)
Get the number of cells using the point specified by ptId.
void BuildLinks(vtkDataSet *ds) override
Build the link list array.
void Initialize()
Make sure any previously created links are cleaned up.
vtkIdType GetNumberOfCells(vtkIdType ptId)
Get the number of cells using the point specified by ptId.
~vtkStaticCellLinks() override