VTK
|
abstract class for topologically regular data More...
#include <vtkStructuredData.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkStructuredData * | SafeDownCast (vtkObject *o) |
static int | GetDataDescription (int dims[3]) |
static int | GetDataDimension (int dataDescription) |
static void | GetPointCells (vtkIdType ptId, vtkIdList *cellIds, int dim[3]) |
static int | SetDimensions (int inDim[3], int dim[3]) |
static int | SetExtent (int inExt[6], int ext[6]) |
static void | GetCellPoints (vtkIdType cellId, vtkIdList *ptIds, int dataDescription, int dim[3]) |
static void | GetCellNeighbors (vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds, int dim[3]) |
static vtkIdType | ComputePointIdForExtent (int extent[6], int ijk[3]) |
static vtkIdType | ComputeCellIdForExtent (int extent[6], int ijk[3]) |
static vtkIdType | ComputePointId (int dim[3], int ijk[3]) |
static vtkIdType | ComputeCellId (int dim[3], int ijk[3]) |
static void | ComputeCellStructuredCoords (const vtkIdType cellId, int dim[3], int ijk[3]) |
static void | ComputePointStructuredCoords (const vtkIdType cellId, int dim[3], int ijk[3]) |
vtkStructuredData () | |
~vtkStructuredData () |
abstract class for topologically regular data
vtkStructuredData is an abstract class that specifies an interface for topologically regular data. Regular data is data that can be accessed in rectangular fashion using an i-j-k index. A finite difference grid, a volume, or a pixmap are all considered regular.
Definition at line 47 of file vtkStructuredData.h.
Reimplemented from vtkObject.
Definition at line 50 of file vtkStructuredData.h.
vtkStructuredData::vtkStructuredData | ( | ) | [inline, protected] |
Given a cellId and grid dimensions 'dim', get the structured coordinates (i-j-k). This method does not adjust for the beginning of the extent.
Definition at line 164 of file vtkStructuredData.h.
vtkStructuredData::~vtkStructuredData | ( | ) | [inline, protected] |
Given a cellId and grid dimensions 'dim', get the structured coordinates (i-j-k). This method does not adjust for the beginning of the extent.
Definition at line 165 of file vtkStructuredData.h.
virtual const char* vtkStructuredData::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkObject.
static int vtkStructuredData::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
virtual int vtkStructuredData::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
static vtkStructuredData* vtkStructuredData::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkObject.
Specify the dimensions of a regular, rectangular dataset. The input is the new dimensions (inDim) and the current dimensions (dim). The function returns the dimension of the dataset (0-3D). If the dimensions are improperly specified a -1 is returned. If the dimensions are unchanged, a value of 100 is returned.
Specify the dimensions of a regular, rectangular dataset. The input is the new dimensions (inDim) and the current dimensions (dim). The function returns the dimension of the dataset (0-3D). If the dimensions are improperly specified a -1 is returned. If the dimensions are unchanged, a value of 100 is returned.
Returns the data description given the dimensions (eg. VTK_SINGLE_POINT, VTK_X_LINE, VTK_XY_PLANE etc.)
Return the topological dimension of the data (e.g., 0, 1, 2, or 3D).
static void vtkStructuredData::GetCellPoints | ( | vtkIdType | cellId, |
vtkIdList * | ptIds, | ||
int | dataDescription, | ||
int | dim[3] | ||
) | [static] |
Get the points defining a cell. (See vtkDataSet for more info.)
static void vtkStructuredData::GetPointCells | ( | vtkIdType | ptId, |
vtkIdList * | cellIds, | ||
int | dim[3] | ||
) | [static] |
Get the cells using a point. (See vtkDataSet for more info.)
static void vtkStructuredData::GetCellNeighbors | ( | vtkIdType | cellId, |
vtkIdList * | ptIds, | ||
vtkIdList * | cellIds, | ||
int | dim[3] | ||
) | [static] |
Get the cells using the points ptIds, exclusive of the cell cellId. (See vtkDataSet for more info.)
static vtkIdType vtkStructuredData::ComputePointIdForExtent | ( | int | extent[6], |
int | ijk[3] | ||
) | [inline, static] |
Given a location in structured coordinates (i-j-k), and the extent of the structured dataset, return the point id.
Definition at line 88 of file vtkStructuredData.h.
static vtkIdType vtkStructuredData::ComputeCellIdForExtent | ( | int | extent[6], |
int | ijk[3] | ||
) | [inline, static] |
Given a location in structured coordinates (i-j-k), and the extent of the structured dataset, return the point id.
Definition at line 98 of file vtkStructuredData.h.
Given a location in structured coordinates (i-j-k), and the dimensions of the structured dataset, return the point id. This method does not adjust for the beginning of the extent.
Definition at line 111 of file vtkStructuredData.h.
Given a location in structured coordinates (i-j-k), and the dimensions of the structured dataset, return the cell id. This method does not adjust for the beginning of the extent.
Definition at line 119 of file vtkStructuredData.h.
static void vtkStructuredData::ComputeCellStructuredCoords | ( | const vtkIdType | cellId, |
int | dim[3], | ||
int | ijk[3] | ||
) | [inline, static] |
Given a cellId and grid dimensions 'dim', get the structured coordinates (i-j-k). This method does not adjust for the beginning of the extent.
Definition at line 127 of file vtkStructuredData.h.
static void vtkStructuredData::ComputePointStructuredCoords | ( | const vtkIdType | cellId, |
int | dim[3], | ||
int | ijk[3] | ||
) | [inline, static] |
Given a pointId and grid dimensions 'dim', get the structured coordinates (i-j-k). This method does not adjust for the beginning of the extent.
Definition at line 147 of file vtkStructuredData.h.