VTK
|
image data with blanking More...
#include <vtkUniformGrid.h>
Public Member Functions | |
virtual void | CopyStructure (vtkDataSet *ds) |
virtual int | GetDataObjectType () |
virtual vtkUnsignedCharArray * | GetPointVisibilityArray () |
virtual void | SetPointVisibilityArray (vtkUnsignedCharArray *pointVisibility) |
virtual vtkUnsignedCharArray * | GetCellVisibilityArray () |
virtual void | SetCellVisibilityArray (vtkUnsignedCharArray *pointVisibility) |
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) |
int | Initialize (const vtkAMRBox *def, int nGhosts) |
int | Initialize (const vtkAMRBox *def, const int nGhosts[3]) |
int | Initialize (const vtkAMRBox *def, 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 | BlankCell (vtkIdType ptId) |
virtual void | UnBlankCell (vtkIdType ptId) |
![]() | |
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 | UpdateInformation () |
virtual unsigned long | GetEstimatedMemorySize () |
virtual int | GetScalarSize () |
virtual void | AllocateScalars () |
virtual void | Crop () |
virtual unsigned long | GetActualMemorySize () |
virtual void | CopyTypeSpecificInformation (vtkDataObject *image) |
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 (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) |
virtual void | GetAxisUpdateExtent (int axis, int &min, int &max) |
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 () |
virtual double | GetScalarTypeMax () |
virtual vtkIdType * | GetIncrements () |
virtual void | GetIncrements (vtkIdType &incX, vtkIdType &incY, vtkIdType &incZ) |
virtual void | GetIncrements (vtkIdType inc[3]) |
virtual void | GetContinuousIncrements (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 | SetScalarTypeToFloat () |
void | SetScalarTypeToDouble () |
void | SetScalarTypeToInt () |
void | SetScalarTypeToUnsignedInt () |
void | SetScalarTypeToLong () |
void | SetScalarTypeToUnsignedLong () |
void | SetScalarTypeToShort () |
void | SetScalarTypeToUnsignedShort () |
void | SetScalarTypeToUnsignedChar () |
void | SetScalarTypeToSignedChar () |
void | SetScalarTypeToChar () |
void | SetScalarType (int) |
int | GetScalarType () |
const char * | GetScalarTypeAsString () |
void | SetNumberOfScalarComponents (int n) |
int | GetNumberOfScalarComponents () |
virtual void | CopyInformationToPipeline (vtkInformation *request, vtkInformation *input, vtkInformation *output, int forceCopy) |
virtual void | CopyInformationFromPipeline (vtkInformation *request) |
void * | GetArrayPointerForExtent (vtkDataArray *array, int extent[6]) |
void * | GetArrayPointer (vtkDataArray *array, int coordinates[3]) |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | CopyAttributes (vtkDataSet *ds) |
virtual void | GetCellTypes (vtkCellTypes *types) |
unsigned long int | GetMTime () |
vtkCellData * | GetCellData () |
vtkPointData * | GetPointData () |
virtual void | Squeeze () |
double * | GetBounds () |
void | GetBounds (double bounds[6]) |
double * | GetCenter () |
void | GetCenter (double center[3]) |
double | GetLength () |
void | Initialize () |
virtual void | GetScalarRange (double range[2]) |
double * | GetScalarRange () |
unsigned long | GetActualMemorySize () |
int | CheckAttributes () |
virtual void | GenerateGhostLevelArray () |
virtual vtkFieldData * | GetAttributesAsFieldData (int type) |
virtual vtkIdType | GetNumberOfElements (int type) |
virtual void | GetCellNeighbors (vtkIdType cellId, vtkIdList *ptIds, vtkIdList *cellIds) |
vtkIdType | FindPoint (double x, double y, double z) |
int | GetDataObjectType () |
void | ShallowCopy (vtkDataObject *src) |
void | DeepCopy (vtkDataObject *src) |
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 (vtkObject *o) |
static vtkImageData * | GetData (vtkInformation *info) |
static vtkImageData * | GetData (vtkInformationVector *v, int i=0) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkDataSet * | SafeDownCast (vtkObject *o) |
static vtkDataSet * | GetData (vtkInformation *info) |
static vtkDataSet * | GetData (vtkInformationVector *v, int i=0) |
Protected Member Functions | |
vtkUniformGrid () | |
~vtkUniformGrid () | |
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 (vtkIdType inc[3]) |
void | CopyOriginAndSpacingFromPipeline () |
void | SetDataDescription (int desc) |
int | GetDataDescription () |
![]() | |
vtkDataSet () | |
~vtkDataSet () | |
Protected Attributes | |
vtkStructuredVisibilityConstraint * | PointVisibility |
vtkStructuredVisibilityConstraint * | CellVisibility |
![]() | |
int | Dimensions [3] |
vtkIdType | Increments [3] |
double | Origin [3] |
double | Spacing [3] |
int | Extent [6] |
vtkTimeStamp | ExtentComputeTime |
![]() | |
vtkCellData * | CellData |
vtkPointData * | PointData |
vtkTimeStamp | ComputeTime |
double | Bounds [6] |
double | Center [3] |
double | ScalarRange [2] |
vtkTimeStamp | ScalarRangeComputeTime |
typedef vtkImageData | Superclass |
static vtkUniformGrid * | New () |
static int | IsTypeOf (const char *type) |
static vtkUniformGrid * | SafeDownCast (vtkObject *o) |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
Additional Inherited Members | |
![]() | |
typedef vtkDataSet | Superclass |
![]() | |
enum | FieldDataType { DATA_OBJECT_FIELD =0, POINT_DATA_FIELD =1, CELL_DATA_FIELD =2 } |
typedef vtkDataObject | 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 32 of file vtkUniformGrid.h.
Construct an empty uniform grid.
Definition at line 38 of file vtkUniformGrid.h.
|
protected |
|
protected |
|
static |
Construct an empty uniform grid.
|
virtual |
Construct an empty uniform grid.
Reimplemented from vtkImageData.
|
static |
Construct an empty uniform grid.
|
virtual |
Construct an empty uniform grid.
Reimplemented from vtkImageData.
|
static |
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 47 of file vtkUniformGrid.h.
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 65 of file vtkUniformGrid.h.
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
Definition at line 68 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 71 of file vtkUniformGrid.h.
int vtkUniformGrid::Initialize | ( | const vtkAMRBox * | def | ) |
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, |
int | nGhosts | ||
) |
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, |
const int | nGhosts[3] | ||
) |
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, |
int | nGhostsI, | ||
int | nGhostsJ, | ||
int | nGhostsK | ||
) |
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.
|
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 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 |
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.
|
protectedvirtual |
Override this method because of blanking.
Reimplemented from vtkDataSet.
|
protected |
|
protectedvirtual |
|
protected |
|
protectedvirtual |
|
protected |
|
protected |
Definition at line 178 of file vtkUniformGrid.h.
|
protected |
Definition at line 181 of file vtkUniformGrid.h.