36 #ifndef vtkStaticCellLinksTemplate_h
37 #define vtkStaticCellLinksTemplate_h
39 #include "vtkABINamespace.h"
44 VTK_ABI_NAMESPACE_BEGIN
54 VTK_ABI_NAMESPACE_BEGIN
55 template <
typename TIds>
120 template <
typename TNumIds,
typename TConnectivityIter>
121 bool MatchesCell(TNumIds npts, TConnectivityIter pts);
177 VTK_ABI_NAMESPACE_END
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.
~vtkStaticCellLinksTemplate()
Instantiate and destructor methods.
void SelectCells(vtkIdType minMaxDegree[2], unsigned char *cellSelection)
Support vtkAbstractCellLinks API.
abstract class to specify dataset behavior
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.
std::shared_ptr< TIds > OffsetsSharedPtr
std::shared_ptr< TIds > LinkSharedPtr
void BuildLinks(vtkIdType numPts, vtkIdType numCells, vtkCellArray *cellArray)
Specialized methods for building links from cell array(S).
concrete dataset represents vertices, lines, polygons, and triangle strips
void ShallowCopy(vtkStaticCellLinksTemplate *src)
Support vtkAbstractCellLinks API.
unsigned long GetActualMemorySize()
Support vtkAbstractCellLinks API.
void BuildLinks(vtkDataSet *ds)
Build the link list array for a general dataset.
list of point or cell ids
void DeepCopy(vtkStaticCellLinksTemplate *src)
Support vtkAbstractCellLinks API.
dataset represents arbitrary combinations of all possible cell types
void BuildLinksFromMultipleArrays(vtkIdType numPts, vtkIdType numCells, std::vector< vtkCellArray * > cellArrays)
Specialized methods for building links from cell array(S).
bool MatchesCell(TNumIds npts, TConnectivityIter pts)
Indicate whether the point ids provided defines at least one cell, or a portion of a cell...
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.
vtkIdType GetNcells(vtkIdType ptId) VTK_FUTURE_CONST
Get the number of cells using the point specified by ptId.
void Initialize()
Make sure any previously created links are cleaned up.