VTK
|
image data with blanking More...
#include <vtkUniformGrid.h>
Public Member Functions | |
virtual void | CopyStructure (vtkDataSet *ds) |
virtual int | GetDataObjectType () |
int | GetGridDescription () |
int | Initialize (const vtkAMRBox *def, double *origin, double *spacing) |
int | Initialize (const vtkAMRBox *def, double *origin, double *spacing, int nGhosts) |
int | Initialize (const vtkAMRBox *def, double *origin, double *spacing, const int nGhosts[3]) |
virtual vtkUnsignedCharArray * | GetPointVisibilityArray () |
virtual void | SetPointVisibilityArray (vtkUnsignedCharArray *pointVisibility) |
virtual vtkUnsignedCharArray * | GetCellVisibilityArray () |
virtual void | SetCellVisibilityArray (vtkUnsignedCharArray *pointVisibility) |
virtual void | AttachCellVisibilityToCellData () |
virtual void | AttachPointVisibilityToPointData () |
virtual unsigned char | IsPointVisible (vtkIdType ptId) |
virtual unsigned char | IsCellVisible (vtkIdType cellId) |
virtual unsigned char | GetPointBlanking () |
virtual unsigned char | GetCellBlanking () |
virtual vtkImageData * | NewImageDataCopy () |
virtual vtkCell * | GetCell (vtkIdType cellId) |
virtual void | GetCell (vtkIdType cellId, vtkGenericCell *cell) |
virtual vtkIdType | FindCell (double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) |
virtual vtkIdType | FindCell (double x[3], vtkCell *cell, vtkGenericCell *gencell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) |
virtual vtkCell * | FindAndGetCell (double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) |
virtual int | GetCellType (vtkIdType cellId) |
virtual void | GetCellPoints (vtkIdType cellId, vtkIdList *ptIds) |
virtual void | GetPointCells (vtkIdType ptId, vtkIdList *cellIds) |
virtual void | Initialize () |
virtual int | GetMaxCellSize () |
int | Initialize (const vtkAMRBox *def, double *origin, double *spacing, int nGhostsI, int nGhostsJ, int nGhostsK) |
virtual void | ShallowCopy (vtkDataObject *src) |
virtual void | DeepCopy (vtkDataObject *src) |
virtual void | BlankPoint (vtkIdType ptId) |
virtual void | UnBlankPoint (vtkIdType ptId) |
virtual void | BlankPoint (const int i, const int j, const int k) |
virtual void | UnBlankPoint (const int i, const int j, const int k) |
virtual void | BlankCell (vtkIdType ptId) |
virtual void | UnBlankCell (vtkIdType ptId) |
virtual void | BlankCell (const int i, const int j, const int k) |
virtual void | UnBlankCell (const int i, const int j, const int k) |
![]() | |
vtkImageData * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetDimensions (int i, int j, int k) |
virtual void | SetDimensions (const int dims[3]) |
virtual int | GetDataDimension () |
virtual void | AllocateScalars (int dataType, int numComponents) |
virtual void | AllocateScalars (vtkInformation *pipeline_info) |
virtual void | Crop (const int *updateExtent) |
virtual unsigned long | GetActualMemorySize () |
int | GetScalarType () |
const char * | GetScalarTypeAsString () |
virtual void | CopyInformationFromPipeline (vtkInformation *information) |
virtual void | PrepareForNewData () |
void | GetArrayIncrements (vtkDataArray *array, vtkIdType increments[3]) |
void | ComputeInternalExtent (int *intExt, int *tgtExt, int *bnds) |
virtual int | GetExtentType () |
virtual vtkIdType | GetNumberOfCells () |
virtual vtkIdType | GetNumberOfPoints () |
virtual double * | GetPoint (vtkIdType ptId) |
virtual void | GetPoint (vtkIdType id, double x[3]) |
virtual void | GetCellBounds (vtkIdType cellId, double bounds[6]) |
virtual vtkIdType | FindPoint (double x, double y, double z) |
virtual vtkIdType | FindPoint (double x[3]) |
virtual void | ComputeBounds () |
virtual int * | GetDimensions () |
virtual void | GetDimensions (int dims[3]) |
virtual int | ComputeStructuredCoordinates (const double x[3], int ijk[3], double pcoords[3]) |
virtual void | GetVoxelGradient (int i, int j, int k, vtkDataArray *s, vtkDataArray *g) |
virtual void | GetPointGradient (int i, int j, int k, vtkDataArray *s, double g[3]) |
virtual vtkIdType | ComputePointId (int ijk[3]) |
virtual vtkIdType | ComputeCellId (int ijk[3]) |
virtual void | SetAxisUpdateExtent (int axis, int min, int max, const int *updateExtent, int *axisUpdateExtent) |
virtual void | GetAxisUpdateExtent (int axis, int &min, int &max, const int *updateExtent) |
virtual void | SetExtent (int extent[6]) |
virtual 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]) |
virtual double | GetScalarTypeMin (vtkInformation *meta_data) |
virtual double | GetScalarTypeMin () |
virtual double | GetScalarTypeMax (vtkInformation *meta_data) |
virtual double | GetScalarTypeMax () |
virtual int | GetScalarSize (vtkInformation *meta_data) |
virtual int | GetScalarSize () |
virtual vtkIdType * | GetIncrements () |
virtual void | GetIncrements (vtkIdType &incX, vtkIdType &incY, vtkIdType &incZ) |
virtual void | GetIncrements (vtkIdType inc[3]) |
virtual vtkIdType * | GetIncrements (vtkDataArray *scalars) |
virtual void | GetIncrements (vtkDataArray *scalars, vtkIdType &incX, vtkIdType &incY, vtkIdType &incZ) |
virtual void | GetIncrements (vtkDataArray *scalars, vtkIdType inc[3]) |
virtual void | GetContinuousIncrements (int extent[6], vtkIdType &incX, vtkIdType &incY, vtkIdType &incZ) |
virtual void | GetContinuousIncrements (vtkDataArray *scalars, int extent[6], vtkIdType &incX, vtkIdType &incY, vtkIdType &incZ) |
virtual void * | GetScalarPointerForExtent (int extent[6]) |
virtual void * | GetScalarPointer (int coordinates[3]) |
virtual void * | GetScalarPointer (int x, int y, int z) |
virtual void * | GetScalarPointer () |
virtual float | GetScalarComponentAsFloat (int x, int y, int z, int component) |
virtual void | SetScalarComponentFromFloat (int x, int y, int z, int component, float v) |
virtual double | GetScalarComponentAsDouble (int x, int y, int z, int component) |
virtual void | SetScalarComponentFromDouble (int x, int y, int z, int component, double v) |
virtual void | CopyAndCastFrom (vtkImageData *inData, int extent[6]) |
virtual void | CopyAndCastFrom (vtkImageData *inData, int x0, int x1, int y0, int y1, int z0, int z1) |
virtual void | SetSpacing (double, double, double) |
virtual void | SetSpacing (double[3]) |
virtual double * | GetSpacing () |
virtual void | GetSpacing (double &, double &, double &) |
virtual void | GetSpacing (double[3]) |
virtual void | SetOrigin (double, double, double) |
virtual void | SetOrigin (double[3]) |
virtual double * | GetOrigin () |
virtual void | GetOrigin (double &, double &, double &) |
virtual void | GetOrigin (double[3]) |
void * | GetArrayPointerForExtent (vtkDataArray *array, int extent[6]) |
void * | GetArrayPointer (vtkDataArray *array, int coordinates[3]) |
int | GetNumberOfScalarComponents () |
Static Public Member Functions | |
static vtkUniformGrid * | GetData (vtkInformation *info) |
static vtkUniformGrid * | GetData (vtkInformationVector *v, int i=0) |
![]() | |
static vtkImageData * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageData * | SafeDownCast (vtkObjectBase *o) |
static int | ComputeStructuredCoordinates (const double x[3], int ijk[3], double pcoords[3], const int *extent, const double *spacing, const double *origin, const double *bounds) |
static void | SetScalarType (int, vtkInformation *meta_data) |
static int | GetScalarType (vtkInformation *meta_data) |
static bool | HasScalarType (vtkInformation *meta_data) |
static vtkImageData * | GetData (vtkInformation *info) |
static vtkImageData * | GetData (vtkInformationVector *v, int i=0) |
static void | SetNumberOfScalarComponents (int n, vtkInformation *meta_data) |
static int | GetNumberOfScalarComponents (vtkInformation *meta_data) |
static bool | HasNumberOfScalarComponents (vtkInformation *meta_data) |
Protected Member Functions | |
vtkUniformGrid () | |
~vtkUniformGrid () | |
void | GetCellDims (int cellDims[3]) |
virtual void | ComputeScalarRange () |
void | SetPointVisibility (vtkStructuredVisibilityConstraint *pointVisibility) |
virtual vtkStructuredVisibilityConstraint * | GetPointVisibility () |
void | SetCellVisibility (vtkStructuredVisibilityConstraint *cellVisibility) |
virtual vtkStructuredVisibilityConstraint * | GetCellVisibility () |
vtkEmptyCell * | GetEmptyCell () |
![]() | |
vtkImageData () | |
~vtkImageData () | |
void | ComputeIncrements () |
void | ComputeIncrements (int numberOfComponents) |
void | ComputeIncrements (vtkDataArray *scalars) |
void | ComputeIncrements (vtkIdType inc[3]) |
void | ComputeIncrements (int numberOfComponents, vtkIdType inc[3]) |
void | ComputeIncrements (vtkDataArray *scalars, vtkIdType inc[3]) |
void | CopyOriginAndSpacingFromPipeline (vtkInformation *info) |
void | SetDataDescription (int desc) |
int | GetDataDescription () |
Protected Attributes | |
vtkStructuredVisibilityConstraint * | PointVisibility |
vtkStructuredVisibilityConstraint * | CellVisibility |
![]() | |
int | Dimensions [3] |
vtkIdType | Increments [3] |
double | Origin [3] |
double | Spacing [3] |
int | Extent [6] |
vtkTimeStamp | ExtentComputeTime |
typedef vtkImageData | Superclass |
static vtkUniformGrid * | New () |
static int | IsTypeOf (const char *type) |
static vtkUniformGrid * | SafeDownCast (vtkObjectBase *o) |
virtual int | IsA (const char *type) |
vtkUniformGrid * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkObjectBase * | NewInstanceInternal () const |
Additional Inherited Members | |
![]() | |
typedef vtkDataSet | Superclass |
image data with blanking
vtkUniformGrid is a subclass of vtkImageData. In addition to all the image data functionality, it supports blanking.
Definition at line 39 of file vtkUniformGrid.h.
Construct an empty uniform grid.
Definition at line 45 of file vtkUniformGrid.h.
|
protected |
|
protected |
|
static |
Construct an empty uniform grid.
|
static |
Construct an empty uniform grid.
|
virtual |
Construct an empty uniform grid.
Reimplemented from vtkImageData.
|
static |
Construct an empty uniform grid.
|
protectedvirtual |
Construct an empty uniform grid.
Reimplemented from vtkImageData.
vtkUniformGrid* vtkUniformGrid::NewInstance | ( | ) | const |
Construct an empty uniform grid.
void vtkUniformGrid::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
Construct an empty uniform grid.
|
virtual |
Copy the geometric and topological structure of an input image data object.
Reimplemented from vtkImageData.
|
inlinevirtual |
Return what type of dataset this is.
Reimplemented from vtkImageData.
Definition at line 54 of file vtkUniformGrid.h.
|
virtual |
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
|
virtual |
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
|
virtual |
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
|
virtual |
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
|
virtual |
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
|
virtual |
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
Definition at line 72 of file vtkUniformGrid.h.
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
Definition at line 75 of file vtkUniformGrid.h.
|
virtual |
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
|
inlinevirtual |
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
Definition at line 78 of file vtkUniformGrid.h.
int vtkUniformGrid::GetGridDescription | ( | ) |
Returns the data description of this uniform grid instance.
int vtkUniformGrid::Initialize | ( | const vtkAMRBox * | def, |
double * | origin, | ||
double * | spacing | ||
) |
Initialize with no ghost cell arrays, from the definition in the given box. The box is expetced to be 3D, if you have 2D data the set the third dimensions 0. eg. (X,X,0)(X,X,0) Returns 0 if the initialization failed.
int vtkUniformGrid::Initialize | ( | const vtkAMRBox * | def, |
double * | origin, | ||
double * | spacing, | ||
int | nGhosts | ||
) |
Initialize from the definition in the given box, with ghost cell arrays nGhosts cells thick in all directions. The box is expetced to be 3D, if you have 2D data the set the third dimensions 0. eg. (X,X,0)(X,X,0) Returns 0 if the initialization failed.
int vtkUniformGrid::Initialize | ( | const vtkAMRBox * | def, |
double * | origin, | ||
double * | spacing, | ||
const int | nGhosts[3] | ||
) |
Initialize from the definition in the given box, with ghost cell arrays of the thickness given in each direction by "nGhosts" array. The box and ghost array are expected to be 3D, if you have 2D data the set the third dimensions 0. eg. (X,X,0)(X,X,0) Returns 0 if the initialization failed.
int vtkUniformGrid::Initialize | ( | const vtkAMRBox * | def, |
double * | origin, | ||
double * | spacing, | ||
int | nGhostsI, | ||
int | nGhostsJ, | ||
int | nGhostsK | ||
) |
Construct a uniform grid, from the definition in the given box "def", with ghost cell arrays of the thickness given in each direction by "nGhosts*". The box and ghost array are expected to be 3D, if you have 2D data the set the third dimensions 0. eg. (X,X,0)(X,X,0) Returns 0 if the initialization failed.
|
virtual |
Shallow and Deep copy.
Reimplemented from vtkImageData.
|
virtual |
Shallow and Deep copy.
Reimplemented from vtkImageData.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
Methods for supporting blanking of cells. Blanking turns on or off cells in the structured grid. These methods should be called only after the dimensions of the grid are set.
|
virtual |
Methods for supporting blanking of cells. Blanking turns on or off cells in the structured grid. These methods should be called only after the dimensions of the grid are set.
|
virtual |
Methods for supporting blanking of cells. Blanking turns on or off cells in the structured grid. These methods should be called only after the dimensions of the grid are set.
|
virtual |
Methods for supporting blanking of cells. Blanking turns on or off cells in the structured grid. These methods should be called only after the dimensions of the grid are set.
|
virtual |
Get the array that defines the blanking (visibility) of each point.
|
virtual |
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.
|
virtual |
Get the array that defines the blanking (visibility) of each cell.
|
virtual |
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.
|
virtual |
Attaches the CellVisibility array to the Cell data. Used primarily for debugging.
|
virtual |
Attaches the PointVisibility arry to the Point data. Used primarily for debugging.
|
virtual |
Return non-zero value if specified point is visible. These methods should be called only after the dimensions of the grid are set.
|
virtual |
Return non-zero value if specified cell is visible. These methods should be called only after the dimensions of the grid are set.
|
virtual |
Returns 1 if there is any visibility constraint on the points, 0 otherwise.
|
virtual |
Returns 1 if there is any visibility constraint on the cells, 0 otherwise.
|
virtual |
|
static |
Retrieve an instance of this class from an information object.
|
static |
Retrieve an instance of this class from an information object.
|
protected |
Returns the cell dimensions for this vtkUniformGrid instance.
|
protectedvirtual |
Override this method because of blanking.
|
protected |
|
protectedvirtual |
|
protected |
|
protectedvirtual |
|
protected |
|
protected |
Definition at line 199 of file vtkUniformGrid.h.
|
protected |
Definition at line 202 of file vtkUniformGrid.h.