116#ifndef vtkCellTypes_h
117#define vtkCellTypes_h
119#include "vtkCommonDataModelModule.h"
129VTK_ABI_NAMESPACE_BEGIN
180 int IsType(
unsigned char type);
223 static const
char* GetClassNameFromTypeId(
int typeId);
230 static
int GetTypeIdFromClassName(const
char* classname);
239 static
int IsLinear(
unsigned char type);
245 static
int GetDimension(
unsigned char type);
vtkCellTypeUtilities is a collection of methods for cell type lookup.
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
int Allocate(vtkIdType sz=512, vtkIdType ext=1000)
Allocate memory for this array.
void Squeeze()
Reclaim any extra memory.
void Reset()
Initialize object without releasing memory.
vtkIdType InsertNextType(unsigned char type)
Add the type specified to the end of the list.
~vtkCellTypes() override=default
static vtkCellTypes * New()
static int IsLinear(unsigned char type)
This convenience method is a fast check to determine if a cell type represents a linear or nonlinear ...
unsigned long GetActualMemorySize()
Return the memory in kibibytes (1024 bytes) consumed by this cell type array.
vtkIdType GetNumberOfTypes()
Return the number of types in the list.
vtkSmartPointer< vtkUnsignedCharArray > TypeArray
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkNew< vtkIdTypeArray > LocationArray
int IsType(unsigned char type)
Return 1 if type specified is contained in list; 0 otherwise.
unsigned char GetCellType(vtkIdType cellId)
Return the type of cell.
void DeepCopy(vtkCellTypes *src)
Standard DeepCopy method.
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
dynamic, self-adjusting array of int
Allocate and hold a VTK object.
abstract base class for most VTK objects
Hold a reference to a vtkObjectBase instance.
dynamic, self-adjusting array of unsigned char
#define VTK_DEPRECATED_IN_9_6_0(reason)