VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPistonDataObject Class Reference

A GPU resident data set. More...

#include <vtkPistonDataObject.h>

Inheritance diagram for vtkPistonDataObject:
Inheritance graph
[legend]
Collaboration diagram for vtkPistonDataObject:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkDataObject Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPistonDataObjectNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
int GetDataObjectType ()
int GetReferredType ()
void * GetReferredData ()
virtual void ComputeBounds ()
void SetScalarsRange (double range[2])
vtkPistonReferenceGetReference ()
virtual void ShallowCopy (vtkDataObject *src)
virtual void DeepCopy (vtkDataObject *src)
doubleGetBounds ()
void GetBounds (double bounds[6])
void SetBounds (double bounds[6])
doubleGetOrigin ()
void GetOrigin (double origin[3])
void SetOrigin (double origin[3])
doubleGetSpacing ()
void GetSpacing (double spacing[3])
void SetSpacing (double spacing[3])
virtual char * GetScalarsArrayName ()
virtual void SetScalarsArrayName (const char *)
doubleGetScalarsRange ()
void GetScalarsRange (double range[2])

Static Public Member Functions

static vtkPistonDataObjectNew ()
static int IsTypeOf (const char *type)
static vtkPistonDataObjectSafeDownCast (vtkObjectBase *o)
static vtkPistonDataObjectGetData (vtkInformation *info)
static vtkPistonDataObjectGetData (vtkInformationVector *v, int i=0)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPistonDataObject ()
 ~vtkPistonDataObject ()

Protected Attributes

vtkPistonReferenceReference
bool OwnReference
double Bounds [6]
double Origin [3]
double Spacing [3]
char * ScalarsArrayName
double ScalarsRange [2]
vtkTimeStamp ComputeTime

Detailed Description

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.

See also:
vtkPistonReference

Definition at line 41 of file vtkPistonDataObject.h.


Member Typedef Documentation

Reimplemented from vtkDataObject.

Definition at line 45 of file vtkPistonDataObject.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

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.

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.

A convenience handle to get whatever is actually stored in the reference.

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).

Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax).

Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax).

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

Get scalars range : For now only one scalar is supported in Piston

Set scalars range.

Retrieve an instance of this class from an information object.

Reimplemented from vtkDataObject.

Retrieve an instance of this class from an information object.

Reimplemented from vtkDataObject.


Member Data Documentation

Definition at line 121 of file vtkPistonDataObject.h.

Definition at line 122 of file vtkPistonDataObject.h.

Definition at line 123 of file vtkPistonDataObject.h.

Definition at line 124 of file vtkPistonDataObject.h.

Definition at line 125 of file vtkPistonDataObject.h.

Definition at line 127 of file vtkPistonDataObject.h.

Definition at line 128 of file vtkPistonDataObject.h.

Definition at line 129 of file vtkPistonDataObject.h.


The documentation for this class was generated from the following file: