#include <vtkStructuredGrid.h>
Inheritance diagram for vtkStructuredGrid:
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.
The order and number of points must match that specified by the dimensions of the grid. The point order increases in i fastest (from 0<=i<dims[0]), then j (0<=j<dims[1]), then k (0<=k<dims[2]) where dims[] are the dimensions of the grid in the i-j-k topological directions. The number of points is dims[0]*dims[1]*dims[2]. The same is true for the cells of the grid. The order and number of cells must match that specified by the dimensions of the grid. The cell order increases in i fastest (from 0<=i<(dims[0]-1)), then j (0<=j<(dims[1]-1)), then k (0<=k<(dims[2]-1)) The number of cells is (dims[0]-1)*(dims[1]-1)*(dims[2]-1).
A unusual feature of vtkStructuredGrid is the ability to blank, or "turn-off" points and cells in the dataset. This is controlled by defining a "blanking array" whose values (0,1) specify whether a point should be blanked or not.
Definition at line 62 of file vtkStructuredGrid.h.
|
Reimplemented from vtkPointSet. Definition at line 67 of file vtkStructuredGrid.h. |
|
|
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkDataObject. |
|
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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkPointSet. |
|
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 71 of file vtkStructuredGrid.h. References VTK_STRUCTURED_GRID. |
|
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 79 of file vtkStructuredGrid.h. References vtkPointSet::GetNumberOfPoints(). |
|
Get point coordinates with ptId such that: 0 <= ptId < NumberOfPoints. THIS METHOD IS NOT THREAD SAFE. Reimplemented from vtkPointSet. Definition at line 80 of file vtkStructuredGrid.h. References vtkPointSet::GetPoint(). |
|
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 81 of file vtkStructuredGrid.h. References vtkPointSet::GetPoint(). |
|
Get cell with cellId such that: 0 <= cellId < NumberOfCells. THIS METHOD IS NOT THREAD SAFE. Implements 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 Implements 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 Implements vtkDataSet. |
|
Determine the number of cells composing the dataset. THIS METHOD IS THREAD SAFE Implements vtkDataSet. Definition at line 257 of file vtkStructuredGrid.h. References GetDimensions(). |
|
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 Implements 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 Implements vtkDataSet. Definition at line 89 of file vtkStructuredGrid.h. References vtkStructuredData::GetPointCells(). |
|
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 Implements vtkDataSet. Definition at line 94 of file vtkStructuredGrid.h. |
|
Topological inquiry to get all cells using list of points exclusive of cell specified (e.g., cellId). Note that the list consists of only cells that use ALL the points provided. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED Reimplemented from vtkDataSet. |
|
Convenience method to get the range of the scalar data (if there is any scalar data). Returns the (min/max) range of combined point and cell data. If there are no point or cell scalars the method will return (0,1). Note: Update needs to be called to create the scalars. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET IS NOT MODIFIED Reimplemented from vtkDataSet. |
|
Convenience method to get the range of the scalar data (if there is any scalar data). THIS METHOD IS NOT THREAD SAFE. Reimplemented from vtkDataSet. Definition at line 98 of file vtkStructuredGrid.h. |
|
following methods are specific to structured grid |
|
|
|
Get dimensions of this structured points dataset. Referenced by GetNumberOfCells(). |
|
|
|
Return the dimensionality of the data. Definition at line 279 of file vtkStructuredGrid.h. References vtkStructuredData::GetDataDimension(). |
|
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 121 of file vtkStructuredGrid.h. References vtkDataObject::SetUpdateExtent(). |
|
Call superclass method to avoid hiding Reimplemented from vtkDataObject. Definition at line 127 of file vtkStructuredGrid.h. References vtkDataObject::SetUpdateExtent(). |
|
Reimplemented from vtkDataObject. Definition at line 129 of file vtkStructuredGrid.h. References vtkDataObject::SetUpdateExtent(). |
|
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. |
|
This method calls the superclass then generates ghost levels if necessary. Reimplemented from vtkDataObject. |
|
The extent type is a 3D extent Reimplemented from vtkDataObject. Definition at line 160 of file vtkStructuredGrid.h. References VTK_3D_EXTENT. |
|
Methods for supporting blanking of cells. Blanking turns on or off points in the structured grid, and hence the cells connected to them. These methods should be called only after the dimensions of the grid are set. |
|
|
|
Methods for supporting blanking of cells. Blanking turns on or off cells in the structured grid, and hence the cells connected to them. These methods should be called only after the dimensions of the grid are set. |
|
|
|
Get the array that defines the blanking (visibility) of each point. |
|
Set an array that defines the (blanking) visibility of the points in the grid. Make sure that length of the visibility array matches the number of points in the grid. |
|
Get the array that defines the blanking (visibility) of each cell. |
|
Set an array that defines the (blanking) visibility of the cells in the grid. Make sure that length of the visibility array matches the number of points in the grid. |
|
Return non-zero value if specified point is visible. These methods should be called only after the dimensions of the grid are set. |
|
Return non-zero value if specified point is visible. These methods should be called only after the dimensions of the grid are set. |
|
Returns 1 if there is any visibility constraint on the points, 0 otherwise. |
|
Returns 1 if there is any visibility constraint on the cells, 0 otherwise. |
|
Reallocates and copies to set the Extent to the UpdateExtent. This is used internally when the exact extent is requested, and the source generated more than the update extent. Reimplemented from vtkDataObject. |
|
|
|
|
|
|
|
|
|
Definition at line 217 of file vtkStructuredGrid.h. |
|
Definition at line 218 of file vtkStructuredGrid.h. |
|
Definition at line 219 of file vtkStructuredGrid.h. |
|
Definition at line 220 of file vtkStructuredGrid.h. |
|
Definition at line 221 of file vtkStructuredGrid.h. |
|
Definition at line 228 of file vtkStructuredGrid.h. |
|
Definition at line 229 of file vtkStructuredGrid.h. |
|
Definition at line 231 of file vtkStructuredGrid.h. |
|
Definition at line 234 of file vtkStructuredGrid.h. |