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

represents a volume (data & properties) in a rendered scene More...

#include <vtkVolume.h>

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

List of all members.

Public Types

typedef vtkProp3D Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkVolumeNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void GetVolumes (vtkPropCollection *vc)
void Update ()
unsigned long int GetMTime ()
unsigned long GetRedrawMTime ()
void ShallowCopy (vtkProp *prop)
int RenderVolumetricGeometry (vtkViewport *viewport)
void ReleaseGraphicsResources (vtkWindow *)
void UpdateTransferFunctions (vtkRenderer *ren)
void SetMapper (vtkAbstractVolumeMapper *mapper)
virtual vtkAbstractVolumeMapperGetMapper ()
void SetProperty (vtkVolumeProperty *property)
vtkVolumePropertyGetProperty ()
doubleGetBounds ()
void GetBounds (double bounds[6])
double GetMinXBound ()
double GetMaxXBound ()
double GetMinYBound ()
double GetMaxYBound ()
double GetMinZBound ()
double GetMaxZBound ()
floatGetCorrectedScalarOpacityArray (int)
floatGetCorrectedScalarOpacityArray ()
floatGetScalarOpacityArray (int)
floatGetScalarOpacityArray ()
floatGetGradientOpacityArray (int)
floatGetGradientOpacityArray ()
floatGetGrayArray (int)
floatGetGrayArray ()
floatGetRGBArray (int)
floatGetRGBArray ()
float GetGradientOpacityConstant (int)
float GetGradientOpacityConstant ()
float GetArraySize ()
void UpdateScalarOpacityforSampleSize (vtkRenderer *ren, float sample_distance)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkVolumeSafeDownCast (vtkObjectBase *o)
static vtkVolumeNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkVolume ()
 ~vtkVolume ()
double ComputeScreenCoverage (vtkViewport *vp)

Protected Attributes

vtkAbstractVolumeMapperMapper
vtkVolumePropertyProperty
floatRGBArray [VTK_MAX_VRCOMP]
vtkTimeStamp RGBArrayMTime [VTK_MAX_VRCOMP]
floatGrayArray [VTK_MAX_VRCOMP]
vtkTimeStamp GrayArrayMTime [VTK_MAX_VRCOMP]
floatScalarOpacityArray [VTK_MAX_VRCOMP]
vtkTimeStamp ScalarOpacityArrayMTime [VTK_MAX_VRCOMP]
floatCorrectedScalarOpacityArray [VTK_MAX_VRCOMP]
vtkTimeStamp CorrectedScalarOpacityArrayMTime [VTK_MAX_VRCOMP]
float CorrectedStepSize
int ArraySize
float GradientOpacityArray [VTK_MAX_VRCOMP][256]
float GradientOpacityConstant [VTK_MAX_VRCOMP]
vtkTimeStamp GradientOpacityArrayMTime [VTK_MAX_VRCOMP]

Detailed Description

represents a volume (data & properties) in a rendered scene

vtkVolume is used to represent a volumetric entity in a rendering scene. It inherits functions related to the volume's position, orientation and origin from vtkProp3D. The volume maintains a reference to the volumetric data (i.e., the volume mapper). The volume also contains a reference to a volume property which contains all common volume rendering parameters.

See also:
vtkAbstractVolumeMapper vtkVolumeProperty vtkProp3D
Examples:
vtkVolume (Examples)
Tests:
vtkVolume (Tests)

Definition at line 49 of file vtkVolume.h.


Member Typedef Documentation

Reimplemented from vtkProp3D.

Definition at line 52 of file vtkVolume.h.


Constructor & Destructor Documentation

vtkVolume::vtkVolume ( ) [protected]
vtkVolume::~vtkVolume ( ) [protected]

Member Function Documentation

static int vtkVolume::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 vtkProp3D.

virtual int vtkVolume::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 vtkProp3D.

static vtkVolume* vtkVolume::SafeDownCast ( vtkObjectBase o) [static]

Reimplemented from vtkProp3D.

virtual vtkObjectBase* vtkVolume::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkProp3D.

Reimplemented from vtkProp3D.

void vtkVolume::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 vtkProp3D.

static vtkVolume* vtkVolume::New ( ) [static]

Creates a Volume with the following defaults: origin(0,0,0) position=(0,0,0) scale=1 visibility=1 pickable=1 dragable=1 orientation=(0,0,0).

Reimplemented from vtkObject.

Set/Get the volume mapper.

Set/Get the volume mapper.

Set/Get the volume property.

Set/Get the volume property.

void vtkVolume::GetVolumes ( vtkPropCollection vc) [virtual]

For some exporters and other other operations we must be able to collect all the actors or volumes. This method is used in that process.

Reimplemented from vtkProp.

Update the volume rendering pipeline by updating the volume mapper

double* vtkVolume::GetBounds ( ) [virtual]

Get the bounds - either all six at once (xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.

Implements vtkProp3D.

void vtkVolume::GetBounds ( double  bounds[6]) [inline]

Get the bounds - either all six at once (xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.

Reimplemented from vtkProp3D.

Definition at line 84 of file vtkVolume.h.

Get the bounds - either all six at once (xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.

Get the bounds - either all six at once (xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.

Get the bounds - either all six at once (xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.

Get the bounds - either all six at once (xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.

Get the bounds - either all six at once (xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.

Get the bounds - either all six at once (xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.

unsigned long int vtkVolume::GetMTime ( ) [virtual]

Return the MTime also considering the property etc.

Reimplemented from vtkProp3D.

unsigned long vtkVolume::GetRedrawMTime ( ) [virtual]

Return the mtime of anything that would cause the rendered image to appear differently. Usually this involves checking the mtime of the prop plus anything else it depends on such as properties, mappers, etc.

Reimplemented from vtkProp.

void vtkVolume::ShallowCopy ( vtkProp prop) [virtual]

Shallow copy of this vtkVolume. Overloads the virtual vtkProp method.

Reimplemented from vtkProp3D.

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Support the standard render methods. Depending on the mapper type, the volume may be rendered using this method (FRAMEBUFFER volume such as texture mapping will be rendered this way)

Reimplemented from vtkProp.

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being consumed by this volume. The parameter window could be used to determine which graphic resources to release.

Reimplemented from vtkProp.

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS

Definition at line 124 of file vtkVolume.h.

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS

Definition at line 132 of file vtkVolume.h.

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS

Definition at line 140 of file vtkVolume.h.

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS

Definition at line 148 of file vtkVolume.h.

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS

Definition at line 156 of file vtkVolume.h.

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS

Definition at line 164 of file vtkVolume.h.

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS

Definition at line 171 of file vtkVolume.h.

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS

void vtkVolume::UpdateScalarOpacityforSampleSize ( vtkRenderer ren,
float  sample_distance 
)

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS


Member Data Documentation

Definition at line 192 of file vtkVolume.h.

Definition at line 193 of file vtkVolume.h.

Definition at line 199 of file vtkVolume.h.

Definition at line 200 of file vtkVolume.h.

Definition at line 206 of file vtkVolume.h.

Definition at line 207 of file vtkVolume.h.

Definition at line 213 of file vtkVolume.h.

Definition at line 214 of file vtkVolume.h.

Definition at line 220 of file vtkVolume.h.

Definition at line 221 of file vtkVolume.h.

Definition at line 227 of file vtkVolume.h.

Definition at line 230 of file vtkVolume.h.

Definition at line 233 of file vtkVolume.h.

Definition at line 234 of file vtkVolume.h.

Definition at line 235 of file vtkVolume.h.


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