48 #ifndef vtkStaticCellLinksTemplate_h
49 #define vtkStaticCellLinksTemplate_h
59 template <
typename TIds>
116 template <
typename TGivenIds>
117 bool MatchesCell(TGivenIds npts,
const TGivenIds* pts);
178 #include "vtkStaticCellLinksTemplate.txx"
vtkStaticCellLinksTemplate()
Instantiate and destructor methods.
object represents upward pointers from points to list of cells using each point (template implementat...
TIds GetNumberOfCells(vtkIdType ptId)
Get the number of cells using the point specified by ptId.
vtkTypeBool GetSequentialProcessing()
Control whether to thread or serial process.
~vtkStaticCellLinksTemplate()
Instantiate and destructor methods.
void SelectCells(vtkIdType minMaxDegree[2], unsigned char *cellSelection)
Support vtkAbstractCellLinks API.
abstract class to specify dataset behavior
an abstract base class for classes that build topological links from points to cells ...
TIds GetOffset(vtkIdType ptId)
Obtain the offsets into the internal links array.
TIds * GetCells(vtkIdType ptId)
Return a list of cell ids using the point specified by ptId.
concrete dataset represents vertices, lines, polygons, and triangle strips
unsigned long GetActualMemorySize()
Support vtkAbstractCellLinks API.
void BuildLinks(vtkDataSet *ds)
Build the link list array for a general dataset.
bool MatchesCell(TGivenIds npts, const TGivenIds *pts)
Indicate whether the point ids provided defines at least one cell, or a portion of a cell...
list of point or cell ids
dataset represents arbitrary combinations of all possible cell types
void SetSequentialProcessing(vtkTypeBool seq)
Control whether to thread or serial process.
vtkIdType GetNcells(vtkIdType ptId)
Get the number of cells using the point specified by ptId.
void DeepCopy(vtkAbstractCellLinks *src)
Support vtkAbstractCellLinks API.
object to represent cell connectivity
structured grid with explicit topology and geometry
TIds GetLinksSize()
Return the total number of links represented after the links have been built.
vtkTypeBool SequentialProcessing
void SerialBuildLinks(const vtkIdType numPts, const vtkIdType numCells, vtkCellArray *cellArray)
Specialized methods for building links from cell array.
void ThreadedBuildLinks(const vtkIdType numPts, const vtkIdType numCells, vtkCellArray *cellArray)
void Initialize()
Make sure any previously created links are cleaned up.