vtkCellTypes - object provides direct access to cells in vtkCellArray and type information
Super Class: vtkObject
Description:
This class is a supplemental object to vtkCellArray to allow random access into cells as well as representing cell type information. The "location" field is the location in the vtkCellArray list in terms of an integer offset. An integer offset was used instead of a pointer for easy storage and inter-process communication. The type information is defined in the file vtkCellType.h.
Caveats:
Sometimes this class is used to pass type information independent of the random access (i.e., location) information. For example, see vtkDataSet::GetCellTypes(). If you use the class in this way, you can use a location value of -1.
See Also:
Methods:
void vtkCellTypes () | |
void vtkCellTypes (int ,int ) | |
void vtkCellTypes () | |
static vtkCellTypes *New () | |
const char *GetClassName () | |
int Allocate (int ,int ) | |
void InsertCell (int ,unsigned char ,int ) | |
int InsertNextCell (unsigned char ,int ) | |
int GetCellLocation (int ) | |
void DeleteCell (int ) | |
int GetNumberOfTypes () | |
int IsType (unsigned char ) | |
int InsertNextType (unsigned char ) | |
unknown &GetCell (int ) | |
unsigned char GetCellType (int ) | |
void Squeeze () | |
void Reset () | |
unknown *Resize (int ) |
Detailed Method Descriptions:
int Allocate (int ,int ) |
void InsertCell (int ,unsigned char ,int ) |
int InsertNextCell (unsigned char ,int ) |
int GetCellLocation (int ) |
void DeleteCell (int ) |
int GetNumberOfTypes () |
int IsType (unsigned char ) |
int InsertNextType (unsigned char ) |
unknown &GetCell (int ) |
unsigned char GetCellType (int ) |
void Squeeze () |
void Reset () |