30 #ifndef vtkCellTypes_h
31 #define vtkCellTypes_h
33 #include "vtkCommonDataModelModule.h"
42 VTK_ABI_NAMESPACE_BEGIN
106 int IsType(
unsigned char type);
136 unsigned long GetActualMemorySize();
148 static const char* GetClassNameFromTypeId(
int typeId);
154 static int GetTypeIdFromClassName(
const char* classname);
162 static int IsLinear(
unsigned char type);
167 static int GetDimension(
unsigned char type);
216 VTK_ABI_NAMESPACE_END
unsigned char GetCellType(vtkIdType cellId)
Return the type of cell.
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.
void DeleteCell(vtkIdType cellId)
Delete cell by setting to nullptr cell type.
int IsType(unsigned char type)
Return 1 if type specified is contained in list; 0 otherwise.
#define VTK_DEPRECATED_IN_9_2_0(reason)
vtkUnsignedCharArray * GetCellTypesArray()
Methods for obtaining the arrays representing types and locations.
dynamic, self-adjusting array of vtkIdType
vtkIdTypeArray * GetCellLocationsArray()
Methods for obtaining the arrays representing types and locations.
dynamic, self-adjusting array of int
a simple class to control print indentation
vtkIdType InsertNextType(unsigned char type)
Add the type specified to the end of the list.
vtkSmartPointer< vtkIdTypeArray > LocationArray
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
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
object provides direct access to cells in vtkCellArray and type information
vtkIdType GetNumberOfTypes()
Return the number of types in the list.
vtkSmartPointer< vtkUnsignedCharArray > TypeArray