VTK
|
A GPU resident data set. More...
#include <vtkPistonDataObject.h>
A GPU resident data set.
vtkPistonDataObject is a basic data structure for storing datasets on GPU. This class provides the infrastructure for the VTK pipeline to work with the data as it does the rest of the vtkDataObjects. The GPU side structures are managed through the internal vtkPistonReference instance to keep the GPU/CPU code conceptually distinct.
Definition at line 41 of file vtkPistonDataObject.h.
Reimplemented from vtkDataObject.
Definition at line 45 of file vtkPistonDataObject.h.
vtkPistonDataObject::vtkPistonDataObject | ( | ) | [protected] |
vtkPistonDataObject::~vtkPistonDataObject | ( | ) | [protected] |
static vtkPistonDataObject* vtkPistonDataObject::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataObject.
static int vtkPistonDataObject::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkDataObject.
virtual int vtkPistonDataObject::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkDataObject.
static vtkPistonDataObject* vtkPistonDataObject::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkDataObject.
virtual vtkObjectBase* vtkPistonDataObject::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkDataObject.
Reimplemented from vtkDataObject.
void vtkPistonDataObject::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 vtkDataObject.
int vtkPistonDataObject::GetDataObjectType | ( | ) | [inline, virtual] |
From vtkType.h, a handle on what type of vtkDataObject this is.
Reimplemented from vtkDataObject.
Definition at line 49 of file vtkPistonDataObject.h.
A convenience handle to get type of what is stored in the reference.
void* vtkPistonDataObject::GetReferredData | ( | ) |
A convenience handle to get whatever is actually stored in the reference.
vtkPistonReference* vtkPistonDataObject::GetReference | ( | ) | [inline] |
GPU level representation and storage this manages.
Definition at line 61 of file vtkPistonDataObject.h.
virtual void vtkPistonDataObject::ShallowCopy | ( | vtkDataObject * | src | ) | [virtual] |
Shallow/deep copy the data from src into this object.
Reimplemented from vtkDataObject.
virtual void vtkPistonDataObject::DeepCopy | ( | vtkDataObject * | src | ) | [virtual] |
Shallow/deep copy the data from src into this object.
Reimplemented from vtkDataObject.
virtual void vtkPistonDataObject::ComputeBounds | ( | ) | [virtual] |
Compute the data bounding box.
Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax).
void vtkPistonDataObject::GetBounds | ( | double | bounds[6] | ) |
Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax).
void vtkPistonDataObject::SetBounds | ( | double | bounds[6] | ) |
Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax).
void vtkPistonDataObject::GetOrigin | ( | double | origin[3] | ) |
void vtkPistonDataObject::SetOrigin | ( | double | origin[3] | ) |
void vtkPistonDataObject::GetSpacing | ( | double | spacing[3] | ) |
void vtkPistonDataObject::SetSpacing | ( | double | spacing[3] | ) |
virtual char* vtkPistonDataObject::GetScalarsArrayName | ( | ) | [virtual] |
Get scalars array name
virtual void vtkPistonDataObject::SetScalarsArrayName | ( | const char * | ) | [virtual] |
Get scalars array name
Get scalars range : For now only one scalar is supported in Piston
void vtkPistonDataObject::GetScalarsRange | ( | double | range[2] | ) |
Get scalars range : For now only one scalar is supported in Piston
void vtkPistonDataObject::SetScalarsRange | ( | double | range[2] | ) |
Set scalars range.
static vtkPistonDataObject* vtkPistonDataObject::GetData | ( | vtkInformation * | info | ) | [static] |
Retrieve an instance of this class from an information object.
Reimplemented from vtkDataObject.
static vtkPistonDataObject* vtkPistonDataObject::GetData | ( | vtkInformationVector * | v, |
int | i = 0 |
||
) | [static] |
Retrieve an instance of this class from an information object.
Reimplemented from vtkDataObject.
vtkPistonReference* vtkPistonDataObject::Reference [protected] |
Definition at line 121 of file vtkPistonDataObject.h.
bool vtkPistonDataObject::OwnReference [protected] |
Definition at line 122 of file vtkPistonDataObject.h.
double vtkPistonDataObject::Bounds[6] [protected] |
Definition at line 123 of file vtkPistonDataObject.h.
double vtkPistonDataObject::Origin[3] [protected] |
Definition at line 124 of file vtkPistonDataObject.h.
double vtkPistonDataObject::Spacing[3] [protected] |
Definition at line 125 of file vtkPistonDataObject.h.
char* vtkPistonDataObject::ScalarsArrayName [protected] |
Definition at line 127 of file vtkPistonDataObject.h.
double vtkPistonDataObject::ScalarsRange[2] [protected] |
Definition at line 128 of file vtkPistonDataObject.h.
vtkTimeStamp vtkPistonDataObject::ComputeTime [protected] |
Definition at line 129 of file vtkPistonDataObject.h.