27 #ifndef vtkCellTypes_h
28 #define vtkCellTypes_h
30 #include "vtkCommonDataModelModule.h"
40 VTK_ABI_NAMESPACE_BEGIN
61 void InsertCell(vtkIdType
id,
unsigned char type);
69 vtkIdType InsertNextCell(
unsigned char type, vtkIdType);
70 vtkIdType InsertNextCell(
unsigned char type);
81 void DeleteCell(vtkIdType cellId) { this->TypeArray->SetValue(cellId,
VTK_EMPTY_CELL); }
91 int IsType(
unsigned char type);
121 unsigned long GetActualMemorySize();
134 static const
char* GetClassNameFromTypeId(
int typeId);
141 static
int GetTypeIdFromClassName(const
char* classname);
150 static
int IsLinear(
unsigned char type);
156 static
int GetDimension(
unsigned char type);
204 VTK_ABI_NAMESPACE_END
unsigned char GetCellType(vtkIdType cellId)
Return the type of cell.
vtkNew< vtkIdTypeArray > LocationArray
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int IsType(unsigned char type)
Return 1 if type specified is contained in list; 0 otherwise.
dynamic, self-adjusting array of vtkIdType
dynamic, self-adjusting array of int
#define VTK_DEPRECATED_IN_9_6_0(reason)
a simple class to control print indentation
vtkIdType InsertNextType(unsigned char type)
Add the type specified to the end of the list.
static int IsLinear(unsigned char type)
This convenience method is a fast check to determine if a cell type represents a linear or nonlinear ...
dynamic, self-adjusting array of unsigned char
vtkCellTypeUtilities is a collection of methods for cell type lookup.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
static int IsLinear(unsigned char type)
This convenience method is a fast check to determine if a cell type represents a linear or nonlinear ...
object provides direct access to cells in vtkCellArray and type information
vtkIdType GetNumberOfTypes()
Return the number of types in the list.
vtkSmartPointer< vtkUnsignedCharArray > TypeArray