33#ifndef vtkVolumeRepresentation_h
34#define vtkVolumeRepresentation_h
38#include "vtkViewsRenderingModule.h"
40VTK_ABI_NAMESPACE_BEGIN
165 void CreateDefaultTransferFunctions();
171 bool ScalarBarVisible;
172 bool DefaultTransferFunctionsCreated;
173 bool UserSetColorTransferFunction;
174 bool UserSetScalarOpacity;
Defines a transfer function for mapping a property to an RGB color value.
a simple class to control print indentation
Allocate and hold a VTK object.
Defines a 1D piecewise function.
Create a scalar bar with labels.
represents the common properties for rendering a volume.
double * GetScale()
Visibility and actor transforms.
void SetDiffuse(double val)
Volume shading properties.
void ResetScalarOpacity()
Give a transfer function back to the representation: discard the one set with SetColorTransferFunctio...
double GetDiffuse()
Volume shading properties.
double GetScalarOpacityUnitDistance()
Transfer functions for color and opacity.
void SetInterpolationType(int val)
Volume shading properties.
void ResetColorTransferFunction()
Give a transfer function back to the representation: discard the one set with SetColorTransferFunctio...
void SetScalarOpacityUnitDistance(double distance)
Transfer functions for color and opacity.
double GetSpecular()
Volume shading properties.
void SetPosition(double x, double y, double z)
Visibility and actor transforms.
vtkColorTransferFunction * GetColorTransferFunction()
Transfer functions for color and opacity.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool GetVisibility()
Visibility and actor transforms.
void SetRequestedRenderMode(int mode)
Volume mapper properties.
vtkMTimeType GetMTime() override
The representation stores its properties on the volume mapper, volume and scalar bar it owns rather t...
void SetVisibility(bool val)
Visibility and actor transforms.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses should override this to connect inputs to the internal pipeline as necessary.
void SetScale(double x, double y, double z)
Visibility and actor transforms.
void SetAmbient(double val)
Volume shading properties.
vtkScalarBarActor * GetScalarBarActor()
Scalar bar control.
void SetSpecular(double val)
Volume shading properties.
void SetColorTransferFunction(vtkColorTransferFunction *ctf)
Transfer functions for color and opacity.
vtkVolumeRepresentation()
void SetBlendMode(int mode)
Volume mapper properties.
void ResetTransferFunctions()
Give a transfer function back to the representation: discard the one set with SetColorTransferFunctio...
double GetSpecularPower()
Volume shading properties.
int GetBlendMode()
Volume mapper properties.
int GetRequestedRenderMode()
Volume mapper properties.
void SetOrientation(double x, double y, double z)
Visibility and actor transforms.
static vtkVolumeRepresentation * New()
bool GetScalarBarVisibility()
Scalar bar control.
double GetAmbient()
Volume shading properties.
bool GetShade()
Volume shading properties.
void SetScalarOpacity(vtkPiecewiseFunction *pf)
Transfer functions for color and opacity.
bool AddToView(vtkView *view) override
Adds the representation to the view.
bool RemoveFromView(vtkView *view) override
Removes the representation to the view.
double * GetPosition()
Visibility and actor transforms.
vtkPiecewiseFunction * GetScalarOpacity()
Transfer functions for color and opacity.
void SetShade(bool val)
Volume shading properties.
void SetSpecularPower(double val)
Volume shading properties.
vtkVolume * GetVolume()
Provide access to the internal volume for advanced usage.
double * GetOrientation()
Visibility and actor transforms.
void SetScalarBarVisibility(bool val)
Scalar bar control.
int GetInterpolationType()
Volume shading properties.
represents a volume (data & properties) in a rendered scene
vtkTypeUInt32 vtkMTimeType
#define VTK_SIZEHINT(...)