12 #ifndef vtkAMRStreamingVolumeRepresentation_h 13 #define vtkAMRStreamingVolumeRepresentation_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;
#define VTKREMOTINGVIEWS_EXPORT
vtkSmartPointer< vtkAMRStreamingPriorityQueue > PriorityQueue
vtkAMRStreamingPriorityQueue is a helper class we used to compute the order in which to request block...
vtkPVDataRepresentation adds some ParaView specific API to data representations.
int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
image data source that resamples an AMR dataset to produce the image data.
representation used for volume rendering AMR datasets with ability to stream blocks.
void SetInputArrayToProcess(int idx, vtkInformation *info) override
Set the input data arrays that this algorithm will process.
vtkSmartPointer< vtkDataObject > ProcessedPiece
This is the data object generated processed by the most recent call to RequestData() while streaming...
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.
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
virtual void SetInputArrayToProcess(int idx, int port, int connection, int fieldAssociation, const char *name)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to invoke vtkCommand::UpdateDataEvent.
vtkSmartPointer< vtkDataObject > ProcessedData
This is the data object generated processed by the most recent call to RequestData() while not stream...
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.
an actor that supports multiple levels of detail
vtkSmartPointer< vtkVolumeProperty > Property
Rendering components.
bool RemoveFromView(vtkView *view) override
Making these methods public.
void SetInputArrayToProcess(int idx, int port, int connection, int fieldAssociation, int fieldAttributeType) override
Set the input data arrays that this algorithm will process.
static vtkDataRepresentation * New()
vtkSmartPointer< vtkPVLODVolume > Actor
Rendering components.
void PrintSelf(ostream &os, vtkIndent indent) override
implements a coverage based priority queue for vtkOverlappingAMR dataset.
Render View for ParaView.
vtkBoundingBox DataBounds
Used to keep track of data bounds.
vtkSmartPointer< vtkAMRVolumeMapper > AMRVolumeMapper
Rendering components.