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