Go to the documentation of this file.
44 #ifndef vtkStaticCellLinks_h
45 #define vtkStaticCellLinks_h
47 #include "vtkCommonDataModelModule.h"
71 {this->Impl->BuildLinks(ds);}
77 {
return this->Impl->GetNumberOfCells(ptId);}
84 {
return static_cast<unsigned short>(this->GetNumberOfCells(ptId)); }
90 {
return this->Impl->GetCells(ptId);}
96 {this->Impl->Initialize();}
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkStaticCellLinksTemplate< vtkIdType > * Impl
an abstract base class for classes that build topological links from points to cells
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.
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.
object represents upward pointers from points to list of cells using each point