25 #ifndef vtkUnstructuredGridVolumeRepresentation_h 26 #define vtkUnstructuredGridVolumeRepresentation_h 28 #include "vtkPVClientServerCoreRenderingModule.h" 31 class vtkColorTransferFunction;
33 class vtkPiecewiseFunction;
34 class vtkPolyDataMapper;
35 class vtkProjectedTetrahedraMapper;
40 class vtkUnstructuredDataDeliveryFilter;
41 class vtkUnstructuredGridVolumeMapper;
42 class vtkVolumeProperty;
51 void PrintSelf(ostream& os, vtkIndent indent);
56 void AddVolumeMapper(
const char* name, vtkUnstructuredGridVolumeMapper*);
62 virtual void SetActiveVolumeMapper(
const char*);
63 vtkUnstructuredGridVolumeMapper* GetActiveVolumeMapper();
73 vtkInformationRequestKey* request_type, vtkInformation* inInfo, vtkInformation* outInfo);
92 void SetExtractedBlockIndex(
unsigned int index);
96 void SetOrientation(
double,
double,
double);
97 void SetOrigin(
double,
double,
double);
98 void SetPickable(
int val);
99 void SetPosition(
double,
double,
double);
100 void SetScale(
double,
double,
double);
104 void SetInterpolationType(
int val);
105 void SetColor(vtkColorTransferFunction* lut);
106 void SetScalarOpacity(vtkPiecewiseFunction* pwf);
107 void SetScalarOpacityUnitDistance(
double val);
121 vtkSetMacro(UseDataPartitions,
bool);
122 vtkGetMacro(UseDataPartitions,
bool);
132 virtual int FillInputPortInformation(
int port, vtkInformation* info);
134 virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
153 virtual bool IsCached(
double cache_key);
158 virtual void UpdateMapperParameters();
168 double DataBounds[6];
178 vtkInternals* Internals;
void PrintSelf(ostream &os, vtkIndent indent)
vtkPVCacheKeeper * CacheKeeper
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...
prevents propagation of update
vtkPVLODVolume * GetActor()
Provides access to the actor used by this representation.
vtkProjectedTetrahedraMapper * DefaultMapper
Geometry filter that does outlines for volumes.
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.
vtkVolumeProperty * Property
vtkPolyDataMapper * LODMapper
an actor that supports multiple levels of detail
vtkPVGeometryFilter * LODGeometryFilter
virtual void MarkModified()
This is one of the most important functions.
prepare data object for volume rendering
virtual bool RemoveFromView(vtkView *view)
Making these methods public.
manages data cache for flip book animations.
This class distributes data for use with ordered compositing (i.e.
vtkVolumeRepresentationPreprocessor * Preprocessor
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Overridden to invoke vtkCommand::UpdateDataEvent.
representation for showing vtkUnstructuredGrid datasets as volumes.