VTK
|
represents a volume (data & properties) in a rendered scene More...
#include <vtkVolume.h>
Public Types | |
typedef vtkProp3D | Superclass |
![]() | |
typedef vtkProp | Superclass |
![]() | |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
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 *) |
float | GetArraySize () |
void | UpdateTransferFunctions (vtkRenderer *ren) |
void | SetMapper (vtkAbstractVolumeMapper *mapper) |
virtual vtkAbstractVolumeMapper * | GetMapper () |
void | SetProperty (vtkVolumeProperty *property) |
vtkVolumeProperty * | GetProperty () |
double * | GetBounds () |
void | GetBounds (double bounds[6]) |
double | GetMinXBound () |
double | GetMaxXBound () |
double | GetMinYBound () |
double | GetMaxYBound () |
double | GetMinZBound () |
double | GetMaxZBound () |
float * | GetCorrectedScalarOpacityArray (int) |
float * | GetCorrectedScalarOpacityArray () |
float * | GetScalarOpacityArray (int) |
float * | GetScalarOpacityArray () |
float * | GetGradientOpacityArray (int) |
float * | GetGradientOpacityArray () |
float * | GetGrayArray (int) |
float * | GetGrayArray () |
float * | GetRGBArray (int) |
float * | GetRGBArray () |
float | GetGradientOpacityConstant (int) |
float | GetGradientOpacityConstant () |
void | UpdateScalarOpacityforSampleSize (vtkRenderer *ren, float sample_distance) |
![]() | |
void | SetScale (double s) |
double * | GetCenter () |
double * | GetXRange () |
double * | GetYRange () |
double * | GetZRange () |
double | GetLength () |
void | RotateX (double) |
void | RotateY (double) |
void | RotateZ (double) |
void | RotateWXYZ (double, double, double, double) |
void | SetOrientation (double, double, double) |
void | SetOrientation (double a[3]) |
double * | GetOrientationWXYZ () |
void | AddOrientation (double, double, double) |
void | AddOrientation (double a[3]) |
void | PokeMatrix (vtkMatrix4x4 *matrix) |
void | InitPathTraversal () |
unsigned long int | GetUserTransformMatrixMTime () |
virtual void | ComputeMatrix () |
virtual void | SetPosition (double _arg1, double _arg2, double _arg3) |
virtual void | SetPosition (double _arg[3]) |
virtual double * | GetPosition () |
virtual void | GetPosition (double data[3]) |
void | AddPosition (double deltaPosition[3]) |
void | AddPosition (double deltaX, double deltaY, double deltaZ) |
virtual void | SetOrigin (double _arg1, double _arg2, double _arg3) |
virtual void | SetOrigin (double _arg[3]) |
virtual double * | GetOrigin () |
virtual void | GetOrigin (double data[3]) |
virtual void | SetScale (double _arg1, double _arg2, double _arg3) |
virtual void | SetScale (double _arg[3]) |
virtual double * | GetScale () |
virtual void | GetScale (double data[3]) |
void | SetUserTransform (vtkLinearTransform *transform) |
virtual vtkLinearTransform * | GetUserTransform () |
void | SetUserMatrix (vtkMatrix4x4 *matrix) |
vtkMatrix4x4 * | GetUserMatrix () |
virtual void | GetMatrix (vtkMatrix4x4 *m) |
virtual void | GetMatrix (double m[16]) |
double * | GetOrientation () |
void | GetOrientation (double o[3]) |
vtkMatrix4x4 * | GetMatrix () |
virtual int | GetIsIdentity () |
![]() | |
virtual void | Pick () |
virtual bool | HasKeys (vtkInformation *requiredKeys) |
virtual int | HasTranslucentPolygonalGeometry () |
virtual void | BuildPaths (vtkAssemblyPaths *paths, vtkAssemblyPath *path) |
virtual void | GetActors (vtkPropCollection *) |
virtual void | GetActors2D (vtkPropCollection *) |
virtual void | SetVisibility (int) |
virtual int | GetVisibility () |
virtual void | VisibilityOn () |
virtual void | VisibilityOff () |
virtual void | SetPickable (int) |
virtual int | GetPickable () |
virtual void | PickableOn () |
virtual void | PickableOff () |
virtual void | SetDragable (int) |
virtual int | GetDragable () |
virtual void | DragableOn () |
virtual void | DragableOff () |
virtual void | SetUseBounds (bool) |
virtual bool | GetUseBounds () |
virtual void | UseBoundsOn () |
virtual void | UseBoundsOff () |
virtual vtkAssemblyPath * | GetNextPath () |
virtual int | GetNumberOfPaths () |
virtual void | PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix)) |
virtual vtkInformation * | GetPropertyKeys () |
virtual void | SetPropertyKeys (vtkInformation *keys) |
virtual int | RenderOpaqueGeometry (vtkViewport *) |
virtual int | RenderTranslucentPolygonalGeometry (vtkViewport *) |
virtual int | RenderOverlay (vtkViewport *) |
virtual bool | RenderFilteredOpaqueGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
virtual bool | RenderFilteredTranslucentPolygonalGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
virtual bool | RenderFilteredVolumetricGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
virtual bool | RenderFilteredOverlay (vtkViewport *v, vtkInformation *requiredKeys) |
virtual double | GetEstimatedRenderTime (vtkViewport *) |
virtual double | GetEstimatedRenderTime () |
virtual void | SetEstimatedRenderTime (double t) |
virtual void | RestoreEstimatedRenderTime () |
virtual void | AddEstimatedRenderTime (double t, vtkViewport *vtkNotUsed(vp)) |
virtual void | SetAllocatedRenderTime (double t, vtkViewport *vtkNotUsed(v)) |
virtual double | GetAllocatedRenderTime () |
void | SetRenderTimeMultiplier (double t) |
virtual double | GetRenderTimeMultiplier () |
virtual bool | GetSupportsSelection () |
virtual int | GetNumberOfConsumers () |
void | AddConsumer (vtkObject *c) |
void | RemoveConsumer (vtkObject *c) |
vtkObject * | GetConsumer (int i) |
int | IsConsumer (vtkObject *c) |
![]() | |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char debugFlag) |
virtual void | Modified () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkVolume * | SafeDownCast (vtkObject *o) |
static vtkVolume * | New () |
Protected Member Functions | |
vtkVolume () | |
~vtkVolume () | |
double | ComputeScreenCoverage (vtkViewport *vp) |
![]() | |
vtkProp3D () | |
~vtkProp3D () | |
![]() | |
vtkProp () | |
~vtkProp () | |
![]() | |
vtkObject () | |
virtual | ~vtkObject () |
virtual void | RegisterInternal (vtkObjectBase *, int check) |
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &os) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
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.
Definition at line 48 of file vtkVolume.h.
typedef vtkProp3D vtkVolume::Superclass |
Definition at line 51 of file vtkVolume.h.
|
protected |
|
protected |
|
virtual |
Reimplemented from vtkProp3D.
|
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 |
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.
|
virtual |
|
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.
void vtkVolume::SetMapper | ( | vtkAbstractVolumeMapper * | mapper | ) |
Set/Get the volume mapper.
|
virtual |
Set/Get the volume mapper.
void vtkVolume::SetProperty | ( | vtkVolumeProperty * | property | ) |
Set/Get the volume property.
vtkVolumeProperty* vtkVolume::GetProperty | ( | ) |
Set/Get the volume property.
|
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.
void vtkVolume::Update | ( | ) |
Update the volume rendering pipeline by updating the volume mapper
|
virtual |
Get the bounds - either all six at once (xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.
Implements vtkProp3D.
|
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 83 of file vtkVolume.h.
double vtkVolume::GetMinXBound | ( | ) |
Get the bounds - either all six at once (xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.
double vtkVolume::GetMaxXBound | ( | ) |
Get the bounds - either all six at once (xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.
double vtkVolume::GetMinYBound | ( | ) |
Get the bounds - either all six at once (xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.
double vtkVolume::GetMaxYBound | ( | ) |
Get the bounds - either all six at once (xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.
double vtkVolume::GetMinZBound | ( | ) |
Get the bounds - either all six at once (xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.
double vtkVolume::GetMaxZBound | ( | ) |
Get the bounds - either all six at once (xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.
|
virtual |
Return the MTime also considering the property etc.
Reimplemented from vtkProp3D.
|
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.
|
virtual |
|
virtual |
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.
|
virtual |
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.
float* vtkVolume::GetCorrectedScalarOpacityArray | ( | int | ) |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS
|
inline |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS
Definition at line 122 of file vtkVolume.h.
float* vtkVolume::GetScalarOpacityArray | ( | int | ) |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS
|
inline |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS
Definition at line 130 of file vtkVolume.h.
float* vtkVolume::GetGradientOpacityArray | ( | int | ) |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS
|
inline |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS
Definition at line 137 of file vtkVolume.h.
float* vtkVolume::GetGrayArray | ( | int | ) |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS
|
inline |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS
Definition at line 144 of file vtkVolume.h.
float* vtkVolume::GetRGBArray | ( | int | ) |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS
|
inline |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS
Definition at line 151 of file vtkVolume.h.
float vtkVolume::GetGradientOpacityConstant | ( | int | ) |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS
|
inline |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS
Definition at line 158 of file vtkVolume.h.
|
inline |
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.
void vtkVolume::UpdateTransferFunctions | ( | vtkRenderer * | ren | ) |
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
|
protected |
|
protected |
Definition at line 183 of file vtkVolume.h.
|
protected |
Definition at line 184 of file vtkVolume.h.
|
protected |
Definition at line 190 of file vtkVolume.h.
|
protected |
Definition at line 191 of file vtkVolume.h.
|
protected |
Definition at line 197 of file vtkVolume.h.
|
protected |
Definition at line 198 of file vtkVolume.h.
|
protected |
Definition at line 204 of file vtkVolume.h.
|
protected |
Definition at line 205 of file vtkVolume.h.
|
protected |
Definition at line 211 of file vtkVolume.h.
|
protected |
Definition at line 212 of file vtkVolume.h.
|
protected |
Definition at line 218 of file vtkVolume.h.
|
protected |
Definition at line 221 of file vtkVolume.h.
|
protected |
Definition at line 224 of file vtkVolume.h.
|
protected |
Definition at line 225 of file vtkVolume.h.
|
protected |
Definition at line 226 of file vtkVolume.h.