#include <vtkStructuredGrid.h>
Inheritance diagram for vtkStructuredGrid:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
int | GetDataObjectType () |
vtkDataObject * | MakeObject () |
void | CopyStructure (vtkDataSet *ds) |
int | GetNumberOfPoints () |
float * | GetPoint (int ptId) |
void | GetPoint (int ptId, float p[3]) |
vtkCell * | GetCell (int cellId) |
void | GetCell (int cellId, vtkGenericCell *cell) |
void | GetCellBounds (int cellId, float bounds[6]) |
int | GetCellType (int cellId) |
int | GetNumberOfCells () |
void | GetCellPoints (int cellId, vtkIdList *ptIds) |
void | GetPointCells (int ptId, vtkIdList *cellIds) |
void | Initialize () |
int | GetMaxCellSize () |
void | GetCellNeighbors (int cellId, vtkIdList *ptIds, vtkIdList *cellIds) |
void | SetDimensions (int i, int j, int k) |
void | SetDimensions (int dim[3]) |
virtual int * | GetDimensions () |
virtual void | GetDimensions (int data[3]) |
int | GetDataDimension () |
void | BlankingOn () |
void | BlankingOff () |
int | GetBlanking () |
void | BlankPoint (int ptId) |
void | UnBlankPoint (int ptId) |
int | IsPointVisible (int ptId) |
void | SetUpdateExtent (int piece, int numPieces, int ghostLevel) |
void | SetUpdateExtent (int piece, int numPieces) |
void | SetUpdateExtent (int x1, int x2, int y1, int y2, int z1, int z2) |
void | SetUpdateExtent (int ext[6]) |
void | SetExtent (int extent[6]) |
void | SetExtent (int x1, int x2, int y1, int y2, int z1, int z2) |
virtual int * | GetExtent () |
virtual void | GetExtent (int &, int &, int &, int &, int &, int &) |
virtual void | GetExtent (int[6]) |
unsigned long | GetActualMemorySize () |
void | ShallowCopy (vtkDataObject *src) |
void | DeepCopy (vtkDataObject *src) |
void | GetCellPoints (int cellId, vtkIdList &ptIds) |
void | GetPointCells (int ptId, vtkIdList &cellIds) |
Static Public Methods | |
vtkStructuredGrid * | New () |
int | IsTypeOf (const char *type) |
vtkStructuredGrid * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkStructuredGrid () | |
~vtkStructuredGrid () | |
vtkStructuredGrid (const vtkStructuredGrid &) | |
void | operator= (const vtkStructuredGrid &) |
int | GetExtentType () |
void | AllocatePointVisibility () |
Protected Attributes | |
vtkVertex * | Vertex |
vtkLine * | Line |
vtkQuad * | Quad |
vtkHexahedron * | Hexahedron |
int | Dimensions [3] |
int | DataDescription |
int | Blanking |
vtkScalars * | PointVisibility |
vtkStructuredGrid is a data object that is a concrete implementation of vtkDataSet. vtkStructuredGrid represents a geometric structure that is a topologically regular array of points. The topology is that of a cube that has been subdivided into a regular array of smaller cubes. Each point/cell can be addressed with i-j-k indices. Examples include finite difference grids.
Definition at line 68 of file vtkStructuredGrid.h.
|
|
|
|
|
Definition at line 163 of file vtkStructuredGrid.h. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkDataObject. Referenced by MakeObject().
|
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPointSet. |
|
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 vtkPointSet. |
|
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 vtkPointSet. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPointSet. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkPointSet. |
|
Return what type of dataset this is. Reimplemented from vtkDataSet. Definition at line 76 of file vtkStructuredGrid.h. |
|
Create a similar type object Reimplemented from vtkDataObject. Definition at line 79 of file vtkStructuredGrid.h. |
|
Copy the geometric and topological structure of an input poly data object. Reimplemented from vtkPointSet. |
|
Standard vtkDataSet API methods. See vtkDataSet for more information. Reimplemented from vtkPointSet. Definition at line 86 of file vtkStructuredGrid.h. |
|
Get point coordinates with ptId such that: 0 <= ptId < NumberOfPoints. THIS METHOD IS NOT THREAD SAFE. Reimplemented from vtkPointSet. Definition at line 87 of file vtkStructuredGrid.h. |
|
Copy point coordinates into user provided array x[3] for specified point id. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED Reimplemented from vtkPointSet. Definition at line 88 of file vtkStructuredGrid.h. |
|
Get cell with cellId such that: 0 <= cellId < NumberOfCells. THIS METHOD IS NOT THREAD SAFE. Reimplemented from vtkDataSet. |
|
Get cell with cellId such that: 0 <= cellId < NumberOfCells. This is a thread-safe alternative to the previous GetCell() method. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED Reimplemented from vtkDataSet. |
|
Get the bounds of the cell with cellId such that: 0 <= cellId < NumberOfCells. A subclass may be able to determine the bounds of cell without using an expensive GetCell() method. A default implementation is provided that actually uses a GetCell() call. This is to ensure the method is available to all datasets. Subclasses should override this method to provide an efficient implementation. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED Reimplemented from vtkDataSet. |
|
Get type of cell with cellId such that: 0 <= cellId < NumberOfCells. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED Reimplemented from vtkDataSet. |
|
Determine the number of cells composing the dataset. THIS METHOD IS THREAD SAFE Reimplemented from vtkDataSet. Definition at line 193 of file vtkStructuredGrid.h. |
|
Topological inquiry to get points defining cell. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED Reimplemented from vtkDataSet. |
|
Topological inquiry to get cells using point. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED Reimplemented from vtkDataSet. Definition at line 95 of file vtkStructuredGrid.h. |
|
Reset to an empty state and free any memory. Reimplemented from vtkPointSet. |
|
Convenience method returns largest cell size in dataset. This is generally used to allocate memory for supporting data structures. THIS METHOD IS THREAD SAFE Reimplemented from vtkDataSet. Definition at line 98 of file vtkStructuredGrid.h. |
|
Topological inquiry to get all cells using list of points exclusive of cell specified (e.g., cellId). THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED Reimplemented from vtkDataSet. |
|
following methods are specific to structured grid |
|
|
|
Get dimensions of this structured points dataset. |
|
|
|
Return the dimensionality of the data. Definition at line 209 of file vtkStructuredGrid.h. |
|
Methods for supporting blanking of cells. |
|
|
|
Definition at line 114 of file vtkStructuredGrid.h. |
|
|
|
|
|
Return non-zero value if specified point is visible. Definition at line 215 of file vtkStructuredGrid.h. |
|
Required for the lowest common denominator for setting the UpdateExtent (i.e. vtkDataSetToStructuredPointsFilter). This assumes that WholeExtent is valid (UpdateInformation has been called). |
|
Reimplemented from vtkDataObject. Definition at line 125 of file vtkStructuredGrid.h. |
|
Call superclass method to avoid hiding Reimplemented from vtkDataObject. Definition at line 129 of file vtkStructuredGrid.h. |
|
Reimplemented from vtkDataObject. Definition at line 131 of file vtkStructuredGrid.h. |
|
Different ways to set the extent of the data array. The extent should be set before the "Scalars" are set or allocated. The Extent is stored in the order (X, Y, Z). |
|
|
|
|
|
|
|
|
|
Return the actual size of the data in kilobytes. This number is valid only after the pipeline has updated. The memory size returned is guaranteed to be greater than or equal to the memory required to represent the data (e.g., extra space in arrays, etc. are not included in the return value). THIS METHOD IS THREAD SAFE. Reimplemented from vtkPointSet. |
|
Shallow and Deep copy. Reimplemented from vtkPointSet. |
|
Reimplemented from vtkPointSet. |
|
For legacy compatibility. Do not use. Reimplemented from vtkDataSet. Definition at line 154 of file vtkStructuredGrid.h. |
|
Reimplemented from vtkDataSet. Definition at line 156 of file vtkStructuredGrid.h. |
|
Definition at line 164 of file vtkStructuredGrid.h. |
|
Reimplemented from vtkDataObject. Definition at line 173 of file vtkStructuredGrid.h. |
|
|
|
Definition at line 167 of file vtkStructuredGrid.h. |
|
Definition at line 168 of file vtkStructuredGrid.h. |
|
Definition at line 169 of file vtkStructuredGrid.h. |
|
Definition at line 170 of file vtkStructuredGrid.h. |
|
Definition at line 175 of file vtkStructuredGrid.h. |
|
Definition at line 176 of file vtkStructuredGrid.h. |
|
Definition at line 177 of file vtkStructuredGrid.h. |
|
Definition at line 178 of file vtkStructuredGrid.h. |