Go to the documentation of this file.
40 #include "vtkRenderingCoreModule.h"
97 void GetBounds(
double bounds[6])
149 {
return this->GetCorrectedScalarOpacityArray(0); }
157 {
return this->GetScalarOpacityArray(0); }
165 {
return this->GetGradientOpacityArray(0); }
173 {
return this->GetGrayArray(0); }
181 {
return this->GetRGBArray(0); }
189 {
return this->GetGradientOpacityConstant(0); }
196 {
return static_cast<float>(this->ArraySize); }
209 float sample_distance);
275 void operator=(
const vtkVolume&) =
delete;
an ordered list of volumes
represents a volume (data & properties) in a rendered scene
void ShallowCopy(vtkProp *prop) override
Shallow copy of this vtkVolume.
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
represents an 3D object for placement in a rendered scene
double * GetBounds() override
Get the bounds - either all six at once (xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.
float GetArraySize()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
float * GetScalarOpacityArray()
void Update()
Update the volume rendering pipeline by updating the volume mapper.
record modification and/or execution time
void UpdateTransferFunctions(vtkRenderer *ren)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
float * GetScalarOpacityArray(int)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
vtkVolumeProperty * Property
vtkMTimeType GetRedrawMTime() override
Return the mtime of anything that would cause the rendered image to appear differently.
double * GetBounds() override=0
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
virtual vtkVolumeProperty * GetProperty()
window superclass for vtkRenderWindow
void GetVolumes(vtkPropCollection *vc) override
For some exporters and other other operations we must be able to collect all the actors or volumes.
virtual void SetProperty(vtkVolumeProperty *property)
Set/Get the volume property.
float * GetCorrectedScalarOpacityArray(int)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
#define VTK_SIZEHINT(...)
float * GetGradientOpacityArray()
int RenderVolumetricGeometry(vtkViewport *viewport) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
void SetMapper(vtkAbstractVolumeMapper *mapper)
Set/Get the volume mapper.
vtkAbstractVolumeMapper * Mapper
float * GetRGBArray(int)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
static vtkVolume * New()
Creates a Volume with the following defaults: origin(0,0,0) position=(0,0,0) scale=1 visibility=1 pic...
abstract specification for Viewports
float * GetGradientOpacityArray(int)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
float * GetCorrectedScalarOpacityArray()
double ComputeScreenCoverage(vtkViewport *vp)
abstract superclass for all actors, volumes and annotations
void UpdateScalarOpacityforSampleSize(vtkRenderer *ren, float sample_distance)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
float * GetGrayArray(int)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
Abstract class for a volume mapper.
abstract specification for renderers
vtkMTimeType GetMTime() override
Return the MTime also considering the property etc.
bool GetSupportsSelection() override
Used by vtkHardwareSelector to determine if the prop supports hardware selection.
float GetGradientOpacityConstant()
float GetGradientOpacityConstant(int)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
represents the common properties for rendering a volume.
vtkTypeUInt32 vtkMTimeType