21 #ifndef vtkVolumeRepresentation_h 22 #define vtkVolumeRepresentation_h 52 void SetOrientation(
double,
double,
double);
53 void SetOrigin(
double,
double,
double);
54 void SetPickable(
int val);
55 void SetPosition(
double,
double,
double);
56 void SetScale(
double,
double,
double);
60 void SetInterpolationType(
int val);
63 void SetScalarOpacityUnitDistance(
double val);
64 void SetMapScalars(
bool);
65 void SetMultiComponentsMapping(
bool);
69 void SetUseSeparateOpacityArray(
bool);
70 void SelectOpacityArray(
int,
int,
int,
int,
const char* name);
71 void SelectOpacityArrayComponent(
int component);
86 unsigned long DataSize = 0;
89 bool MapScalars =
true;
90 bool MultiComponentsMapping =
false;
92 bool UseSeparateOpacityArray =
false;
94 int OpacityArrayFieldAssociation = -1;
95 int OpacityArrayComponent = -1;
100 bool AppendOpacityComponent(
vtkDataSet* dataset);
107 #endif // vtkVolumeRepresentation_h
#define VTKREMOTINGVIEWS_EXPORT
vtkPVDataRepresentation adds some ParaView specific API to data representations.
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
Abstract base class for volume representations.
an actor that supports multiple levels of detail
vtkNew< vtkOutlineSource > OutlineSource
vtkNew< vtkVolumeProperty > Property
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSmartPointer< vtkPVLODVolume > Actor
std::string OpacityArrayName
vtkPVLODVolume * GetActor()
Provides access to the actor used by this representation.