27 #ifndef vtkImageVolumeRepresentation_h 28 #define vtkImageVolumeRepresentation_h 31 #include "vtkPVClientServerCoreRenderingModule.h" 34 class vtkColorTransferFunction;
35 class vtkExtentTranslator;
36 class vtkFixedPointVolumeRayCastMapper;
38 class vtkOutlineSource;
40 class vtkPiecewiseFunction;
41 class vtkPolyDataMapper;
44 class vtkSmartVolumeMapper;
45 class vtkVolumeProperty;
53 void PrintSelf(ostream& os, vtkIndent indent);
62 vtkInformationRequestKey* request_type, vtkInformation* inInfo, vtkInformation* outInfo);
80 void SetOrientation(
double,
double,
double);
81 void SetOrigin(
double,
double,
double);
82 void SetPickable(
int val);
83 void SetPosition(
double,
double,
double);
84 void SetScale(
double,
double,
double);
88 void SetInterpolationType(
int val);
89 void SetColor(vtkColorTransferFunction* lut);
90 void SetScalarOpacity(vtkPiecewiseFunction* pwf);
91 void SetScalarOpacityUnitDistance(
double val);
92 void SetAmbient(
double);
93 void SetDiffuse(
double);
94 void SetSpecular(
double);
95 void SetSpecularPower(
double);
97 void SetIndependantComponents(
bool);
101 void SetRequestedRenderMode(
int);
112 VTK_LEGACY(
static void PassOrderedCompositingInformation(
122 virtual int FillInputPortInformation(
int port, vtkInformation* info);
124 virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
143 virtual bool IsCached(
double cache_key);
148 virtual void UpdateMapperParameters();
166 double DataBounds[6];
virtual vtkPVLODVolume * GetRenderedProp()
Used in ConvertSelection to locate the rendered prop.
void PrintSelf(ostream &os, vtkIndent indent)
vtkVolumeProperty * Property
vtkPVDataRepresentation adds some ParaView specific API to data representations.
virtual bool IsCached(double cache_key)
Subclasses should override this method when they support caching to indicate if the particular key is...
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
virtual bool AddToView(vtkView *view)
Making these methods public.
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
vtkPolyDataMapper * OutlineMapper
vtkSmartVolumeMapper * VolumeMapper
vtkNew< vtkPExtentTranslator > PExtentTranslator
an actor that supports multiple levels of detail
extent translator that collects information about extents from multiple processes in parallel...
virtual void MarkModified()
This is one of the most important functions.
virtual bool RemoveFromView(vtkView *view)
Making these methods public.
manages data cache for flip book animations.
vtkOutlineSource * OutlineSource
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Overridden to invoke vtkCommand::UpdateDataEvent.
representation for showing image datasets as a volume.
vtkPVLODVolume * GetActor()
Provides access to the actor used by this representation.
vtkPVCacheKeeper * CacheKeeper