Go to the documentation of this file.
12 #ifndef vtkAMRStreamingVolumeRepresentation_h
13 #define vtkAMRStreamingVolumeRepresentation_h
17 #include "vtkRemotingViewsModule.h"
41 RESAMPLE_OVER_DATA_BOUNDS = 0,
42 RESAMPLE_USING_VIEW_FRUSTUM = 1
54 void SetResamplingMode(
int val);
55 vtkGetMacro(ResamplingMode,
int);
78 void SetNumberOfSamples(
int x,
int y,
int z);
85 vtkSetClampMacro(StreamingRequestSize,
int, 1, 10000);
86 vtkGetMacro(StreamingRequestSize,
int);
94 int idx,
int port,
int connection,
int fieldAssociation,
const char* name)
override;
96 int idx,
int port,
int connection,
int fieldAssociation,
int fieldAttributeType)
override
99 idx,
port, connection, fieldAssociation, fieldAttributeType);
106 const char* attributeTypeorName)
override
109 idx,
port, connection, fieldAssociation, attributeTypeorName);
118 void SetOrientation(
double,
double,
double);
119 void SetOrigin(
double,
double,
double);
120 void SetPickable(
int val);
121 void SetPosition(
double,
double,
double);
122 void SetScale(
double,
double,
double);
126 void SetInterpolationType(
int val);
129 void SetScalarOpacityUnitDistance(
double val);
130 void SetAmbient(
double);
131 void SetDiffuse(
double);
132 void SetSpecular(
double);
133 void SetSpecularPower(
double);
135 void SetIndependantComponents(
bool);
139 void SetRequestedRenderMode(
int);
194 vtkGetMacro(StreamingCapablePipeline,
bool);
201 vtkGetMacro(InStreamingUpdate,
bool);
210 bool StreamingUpdate(
vtkPVRenderView* view,
const double view_planes[24]);
268 bool StreamingCapablePipeline;
277 bool InStreamingUpdate;
vtkBoundingBox DataBounds
Used to keep track of data bounds.
an actor that supports multiple levels of detail
static vtkDataRepresentation * New()
vtkSmartPointer< vtkAMRVolumeMapper > AMRVolumeMapper
Rendering components.
bool AddToView(vtkView *view) override
Making these methods public.
vtkSmartPointer< vtkResampledAMRImageSource > Resampler
vtkImageData source used to resample an AMR dataset into a uniform grid suitable for volume rendering...
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
vtkSmartPointer< vtkSmartVolumeMapper > VolumeMapper
Rendering components.
int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
vtkSmartPointer< vtkAMRStreamingPriorityQueue > PriorityQueue
vtkAMRStreamingPriorityQueue is a helper class we used to compute the order in which to request block...
void SetInputArrayToProcess(int idx, vtkInformation *info) override
Set the input data arrays that this algorithm will process.
vtkSmartPointer< vtkDataObject > ProcessedData
This is the data object generated processed by the most recent call to RequestData() while not stream...
vtkSmartPointer< vtkDataObject > ProcessedPiece
This is the data object generated processed by the most recent call to RequestData() while streaming.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to invoke vtkCommand::UpdateDataEvent.
image data source that resamples an AMR dataset to produce the image data.
bool RemoveFromView(vtkView *view) override
Making these methods public.
void SetInputArrayToProcess(int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName) override
Set the input data arrays that this algorithm will process.
vtkSmartPointer< vtkVolumeProperty > Property
Rendering components.
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
vtkSmartPointer< vtkPVLODVolume > Actor
Rendering components.
representation used for volume rendering AMR datasets with ability to stream blocks.
implements a coverage based priority queue for vtkOverlappingAMR dataset.
void PrintSelf(ostream &os, vtkIndent indent) override
void SetInputArrayToProcess(int idx, int port, int connection, int fieldAssociation, int fieldAttributeType) override
Set the input data arrays that this algorithm will process.
Render View for ParaView.
virtual void SetInputArrayToProcess(int idx, int port, int connection, int fieldAssociation, const char *name)