23 #ifndef vtkImageVolumeRepresentation_h 24 #define vtkImageVolumeRepresentation_h 65 void SetAmbient(
double);
66 void SetDiffuse(
double);
67 void SetSpecular(
double);
68 void SetSpecularPower(
double);
70 void SetAnisotropy(
float);
77 void SetIsosurfaceValue(
int i,
double value);
78 void SetNumberOfIsosurfaces(
int number);
83 void SetRequestedRenderMode(
int);
84 void SetBlendMode(
int);
85 void SetCropping(
int);
86 void SetGlobalIlluminationReach(
float);
87 void SetVolumetricScatteringBlending(
float);
93 vtkSetVector3Macro(CroppingOrigin,
double);
94 vtkGetVector3Macro(CroppingOrigin,
double);
101 vtkSetVector3Macro(CroppingScale,
double);
102 vtkGetVector3Macro(CroppingScale,
double);
107 void SetUseTransfer2D(
bool);
108 void SetUseGradientForTransfer2D(
bool);
109 void SelectColorArray2(
int,
int,
int,
int,
const char* name);
110 void SelectColorArray2Component(
int component);
141 virtual void UpdateMapperParameters();
153 int WholeExtent[6] = { 0, -1, 0, -1, 0, -1 };
154 double CroppingOrigin[3] = { 0, 0, 0 };
155 double CroppingScale[3] = { 1, 1, 1 };
158 bool UseTransfer2D =
false;
159 bool UseGradientForTransfer2D =
true;
161 int ColorArray2FieldAssociation = -1;
162 int ColorArray2Component = -1;
virtual vtkPVLODVolume * GetRenderedProp()
Used in ConvertSelection to locate the rendered prop.
#define VTKREMOTINGVIEWS_EXPORT
std::string ColorArray2Name
bool AddToView(vtkView *view) override
Making these methods public.
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to invoke vtkCommand::UpdateDataEvent.
Abstract base class for volume representations.
vtkSmartPointer< vtkVolumeMapper > VolumeMapper
an actor that supports multiple levels of detail
bool RemoveFromView(vtkView *view) override
Making these methods public.
Defines a 2D transfer function for mapping to RGBA values for volume rendering.
static vtkDataRepresentation * New()
vtkSmartPointer< vtkPVLODVolume > Actor
vtkNew< vtkPolyDataMapper > OutlineMapper
void PrintSelf(ostream &os, vtkIndent indent) override
representation for showing image datasets as a volume.