38#ifndef vtkVolumeRepresentation_h
39#define vtkVolumeRepresentation_h
43#include "vtkViewsScivisModule.h"
45VTK_ABI_NAMESPACE_BEGIN
150 const char* arrayName,
int fieldAssoc,
double range[2],
int component = -1)
override;
191 void CreateDefaultTransferFunctions();
208 bool IsColoringBy(
const char* arrayName,
int scalarMode);
213 bool DefaultTransferFunctionsCreated;
214 bool UserSetColorTransferFunction;
215 bool UserSetScalarOpacity;
Defines a transfer function for mapping a property to an RGB color value.
abstract class to specify dataset behavior
a simple class to control print indentation
Allocate and hold a VTK object.
Defines a 1D piecewise function.
Superclass for mapping scalar values to colors.
friend class vtkScivisView
vtkScivisDataRepresentation()
represents the common properties for rendering a volume.
~vtkVolumeRepresentation() override
const char * GetRenderedArrayName() override
The vtkScivisDataRepresentation contract.
void ResetScalarOpacity()
Give a transfer function back to the representation: discard the one set with SetColorTransferFunctio...
vtkVolumeProperty * GetVolumeProperty()
The objects this representation is built from, for everything the API above does not cover: ambient,...
void ColorByPointArray(const char *arrayName)
Which array is rendered.
double GetScalarOpacityUnitDistance()
Transfer functions for color and opacity.
bool GetBounds(double bounds[6]) override
The vtkScivisDataRepresentation contract.
void ResetColorTransferFunction()
Give a transfer function back to the representation: discard the one set with SetColorTransferFunctio...
void ColorByCellArray(const char *arrayName)
Which array is rendered.
void SetScalarOpacityUnitDistance(double distance)
Transfer functions for color and opacity.
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.
void SetColorMap(vtkScalarsToColors *map) override
The vtkScivisDataRepresentation contract.
bool RemoveFromView(vtkScivisView *view) override
Called when this representation is added to or removed from a view.
vtkMTimeType GetMTime() override
The representation stores its properties on the volume mapper and volume it owns rather than in its o...
int GetRenderedFieldAssociation() override
The vtkScivisDataRepresentation contract.
void SetVisibility(bool val) override
The vtkScivisDataRepresentation contract.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkSmartVolumeMapper * GetVolumeMapper()
The objects this representation is built from, for everything the API above does not cover: ambient,...
void SetColorTransferFunction(vtkColorTransferFunction *ctf)
Transfer functions for color and opacity.
vtkVolumeRepresentation()
bool GetDataRange(const char *arrayName, int fieldAssoc, double range[2], int component=-1) override
The vtkScivisDataRepresentation contract.
void ResetTransferFunctions()
Give a transfer function back to the representation: discard the one set with SetColorTransferFunctio...
bool GetVisibility() override
The vtkScivisDataRepresentation contract.
void ResetColorArray()
Which array is rendered.
static vtkVolumeRepresentation * New()
bool GetShade()
Whether the volume is lit.
void SetScalarOpacity(vtkPiecewiseFunction *pf)
Transfer functions for color and opacity.
vtkPiecewiseFunction * GetScalarOpacity()
Transfer functions for color and opacity.
void SetShade(bool val)
Whether the volume is lit.
vtkVolume * GetVolume()
The objects this representation is built from, for everything the API above does not cover: ambient,...
bool AddToView(vtkScivisView *view) override
Called when this representation is added to or removed from a view.
vtkScalarsToColors * GetColorMap() override
The vtkScivisDataRepresentation contract.
represents a volume (data & properties) in a rendered scene
vtkTypeUInt32 vtkMTimeType