#include <vtkUniformGrid.h>
vtkUniformGrid is a subclass of vtkImageData. In addition to all the image data functionality, it supports blanking.
Definition at line 31 of file vtkUniformGrid.h.
Public Types | |
typedef vtkImageData | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
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 () |
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) |
Static Public Member Functions | |
static vtkUniformGrid * | New () |
static int | IsTypeOf (const char *type) |
static vtkUniformGrid * | SafeDownCast (vtkObject *o) |
static vtkUniformGrid * | GetData (vtkInformation *info) |
static vtkUniformGrid * | 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 () |
Protected Attributes | |
vtkStructuredVisibilityConstraint * | PointVisibility |
vtkStructuredVisibilityConstraint * | CellVisibility |
vtkEmptyCell * | EmptyCell |
vtkUniformGrid::vtkUniformGrid | ( | ) | [protected] |
vtkUniformGrid::~vtkUniformGrid | ( | ) | [protected] |
static vtkUniformGrid* vtkUniformGrid::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkImageData.
virtual const char* vtkUniformGrid::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkImageData.
static int vtkUniformGrid::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkImageData.
virtual int vtkUniformGrid::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkImageData.
static vtkUniformGrid* vtkUniformGrid::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkImageData.
void vtkUniformGrid::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
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 vtkImageData.
virtual void vtkUniformGrid::CopyStructure | ( | vtkDataSet * | ds | ) | [virtual] |
Copy the geometric and topological structure of an input image data object.
Reimplemented from vtkImageData.
virtual int vtkUniformGrid::GetDataObjectType | ( | ) | [inline, virtual] |
Return what type of dataset this is.
Reimplemented from vtkImageData.
Definition at line 44 of file vtkUniformGrid.h.
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
virtual void vtkUniformGrid::GetCell | ( | vtkIdType | cellId, | |
vtkGenericCell * | cell | |||
) | [virtual] |
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
virtual vtkIdType vtkUniformGrid::FindCell | ( | double | x[3], | |
vtkCell * | cell, | |||
vtkIdType | cellId, | |||
double | tol2, | |||
int & | subId, | |||
double | pcoords[3], | |||
double * | weights | |||
) | [virtual] |
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
virtual vtkIdType vtkUniformGrid::FindCell | ( | double | x[3], | |
vtkCell * | cell, | |||
vtkGenericCell * | gencell, | |||
vtkIdType | cellId, | |||
double | tol2, | |||
int & | subId, | |||
double | pcoords[3], | |||
double * | weights | |||
) | [virtual] |
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
virtual vtkCell* vtkUniformGrid::FindAndGetCell | ( | double | x[3], | |
vtkCell * | cell, | |||
vtkIdType | cellId, | |||
double | tol2, | |||
int & | subId, | |||
double | pcoords[3], | |||
double * | weights | |||
) | [virtual] |
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
virtual int vtkUniformGrid::GetCellType | ( | vtkIdType | cellId | ) | [virtual] |
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
virtual void vtkUniformGrid::GetCellPoints | ( | vtkIdType | cellId, | |
vtkIdList * | ptIds | |||
) | [inline, virtual] |
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
Definition at line 62 of file vtkUniformGrid.h.
virtual void vtkUniformGrid::GetPointCells | ( | vtkIdType | ptId, | |
vtkIdList * | cellIds | |||
) | [inline, virtual] |
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
Definition at line 65 of file vtkUniformGrid.h.
virtual void vtkUniformGrid::Initialize | ( | ) | [virtual] |
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
virtual int vtkUniformGrid::GetMaxCellSize | ( | ) | [inline, virtual] |
Standard vtkDataSet API methods. See vtkDataSet for more information.
Reimplemented from vtkImageData.
Definition at line 68 of file vtkUniformGrid.h.
virtual void vtkUniformGrid::ShallowCopy | ( | vtkDataObject * | src | ) | [virtual] |
Shallow and Deep copy.
Reimplemented from vtkImageData.
virtual void vtkUniformGrid::DeepCopy | ( | vtkDataObject * | src | ) | [virtual] |
Shallow and Deep copy.
Reimplemented from vtkImageData.
virtual void vtkUniformGrid::BlankPoint | ( | vtkIdType | ptId | ) | [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 void vtkUniformGrid::UnBlankPoint | ( | vtkIdType | ptId | ) | [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 void vtkUniformGrid::BlankCell | ( | vtkIdType | ptId | ) | [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 void vtkUniformGrid::UnBlankCell | ( | vtkIdType | ptId | ) | [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 vtkUnsignedCharArray* vtkUniformGrid::GetPointVisibilityArray | ( | ) | [virtual] |
Get the array that defines the blanking (visibility) of each point.
virtual void vtkUniformGrid::SetPointVisibilityArray | ( | vtkUnsignedCharArray * | pointVisibility | ) | [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 vtkUnsignedCharArray* vtkUniformGrid::GetCellVisibilityArray | ( | ) | [virtual] |
Get the array that defines the blanking (visibility) of each cell.
virtual void vtkUniformGrid::SetCellVisibilityArray | ( | vtkUnsignedCharArray * | pointVisibility | ) | [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 unsigned char vtkUniformGrid::IsPointVisible | ( | vtkIdType | ptId | ) | [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 unsigned char vtkUniformGrid::IsCellVisible | ( | vtkIdType | cellId | ) | [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 unsigned char vtkUniformGrid::GetPointBlanking | ( | ) | [virtual] |
Returns 1 if there is any visibility constraint on the points, 0 otherwise.
virtual unsigned char vtkUniformGrid::GetCellBlanking | ( | ) | [virtual] |
Returns 1 if there is any visibility constraint on the cells, 0 otherwise.
virtual vtkImageData* vtkUniformGrid::NewImageDataCopy | ( | ) | [virtual] |
static vtkUniformGrid* vtkUniformGrid::GetData | ( | vtkInformation * | info | ) | [static] |
Retrieve an instance of this class from an information object.
Reimplemented from vtkImageData.
static vtkUniformGrid* vtkUniformGrid::GetData | ( | vtkInformationVector * | v, | |
int | i = 0 | |||
) | [static] |
Retrieve an instance of this class from an information object.
Reimplemented from vtkImageData.
virtual void vtkUniformGrid::ComputeScalarRange | ( | ) | [protected, virtual] |
Override this method because of blanking.
Reimplemented from vtkDataSet.
void vtkUniformGrid::SetPointVisibility | ( | vtkStructuredVisibilityConstraint * | pointVisibility | ) | [protected] |
virtual vtkStructuredVisibilityConstraint* vtkUniformGrid::GetPointVisibility | ( | ) | [protected, virtual] |
void vtkUniformGrid::SetCellVisibility | ( | vtkStructuredVisibilityConstraint * | cellVisibility | ) | [protected] |
virtual vtkStructuredVisibilityConstraint* vtkUniformGrid::GetCellVisibility | ( | ) | [protected, virtual] |
Definition at line 143 of file vtkUniformGrid.h.
Definition at line 146 of file vtkUniformGrid.h.
vtkEmptyCell* vtkUniformGrid::EmptyCell [protected] |
Definition at line 151 of file vtkUniformGrid.h.