Go to the documentation of this file.
41 #ifndef vtkCellTypes_h
42 #define vtkCellTypes_h
80 int IsType(
unsigned char type);
87 unsigned char GetCellType(
int cellId) {
return this->TypeArray->GetValue(cellId);};
119 static int IsLinear(
unsigned char type);
155 return ( (
type <= 20)
void SetCellTypes(int ncells, vtkUnsignedCharArray *cellTypes, vtkIntArray *cellLocations)
vtkIdType InsertNextType(unsigned char type)
object provides direct access to cells in vtkCellArray and type information
void InsertCell(int id, unsigned char type, int loc)
static vtkCellTypes * New()
static const char * GetClassNameFromTypeId(int typeId)
dynamic, self-adjusting array of unsigned char
#define vtkTypeMacro(thisClass, superclass)
int IsType(unsigned char type)
abstract base class for most VTK objects
unsigned char GetCellType(int cellId)
void DeepCopy(vtkCellTypes *src)
vtkUnsignedCharArray * TypeArray
vtkIdType GetNumberOfTypes()
vtkIdType GetCellLocation(int cellId)
static int IsLinear(unsigned char type)
a simple class to control print indentation
dynamic, self-adjusting array of int
unsigned long GetActualMemorySize()
static int GetTypeIdFromClassName(const char *classname)
void PrintSelf(ostream &os, vtkIndent indent)
void DeleteCell(vtkIdType cellId)
vtkIntArray * LocationArray
#define VTKCOMMONDATAMODEL_EXPORT
GLuint GLuint GLsizei GLenum type
vtkIdType InsertNextCell(unsigned char type, int loc)
int Allocate(int sz=512, int ext=1000)