41 #ifndef __vtkCellTypes_h
42 #define __vtkCellTypes_h
58 int Allocate(
int sz=512,
int ext=1000);
61 void InsertCell(
int id,
unsigned char type,
int loc);
64 int InsertNextCell(
unsigned char type,
int loc);
79 int IsType(
unsigned char type);
86 unsigned char GetCellType(
int cellId) {
return this->TypeArray->GetValue(cellId);};
100 unsigned long GetActualMemorySize();
108 static const char* GetClassNameFromTypeId(
int typeId);
112 static int GetTypeIdFromClassName(
const char* classname);
118 static int IsLinear(
unsigned char type);
140 for (
int i=0; i<numTypes; i++)
153 return ( (type <= 20)