a simple outline representation for AMR datasets that supports streaming.
More...
#include <vtkAMROutlineRepresentation.h>
a simple outline representation for AMR datasets that supports streaming.
vtkAMROutlineRepresentation is a simple representation for Overlapping-AMR datasets that with streaming capabilities. It demonstrates how a representation can exploit streaming capabilities provided by ParaView's Render View (vtkPVRenderView).
Definition at line 38 of file vtkAMROutlineRepresentation.h.
§ Superclass
§ vtkAMROutlineRepresentation()
vtkAMROutlineRepresentation::vtkAMROutlineRepresentation |
( |
| ) |
|
|
protected |
§ ~vtkAMROutlineRepresentation()
vtkAMROutlineRepresentation::~vtkAMROutlineRepresentation |
( |
| ) |
|
|
protected |
§ New()
§ GetClassName()
virtual const char* vtkAMROutlineRepresentation::GetClassName |
( |
| ) |
|
|
virtual |
§ IsTypeOf()
static int vtkAMROutlineRepresentation::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
§ IsA()
virtual int vtkAMROutlineRepresentation::IsA |
( |
const char * |
type | ) |
|
|
virtual |
§ SafeDownCast()
§ PrintSelf()
void vtkAMROutlineRepresentation::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
§ ProcessViewRequest()
virtual int vtkAMROutlineRepresentation::ProcessViewRequest |
( |
vtkInformationRequestKey * |
request_type, |
|
|
vtkInformation * |
inInfo, |
|
|
vtkInformation * |
outInfo |
|
) |
| |
|
virtual |
§ SetVisibility()
virtual void vtkAMROutlineRepresentation::SetVisibility |
( |
bool |
val | ) |
|
|
virtual |
Get/Set the visibility for this representation.
When the visibility of representation of false, all view passes are ignored.
Reimplemented from vtkPVDataRepresentation.
§ AddToView()
virtual bool vtkAMROutlineRepresentation::AddToView |
( |
vtkView * |
view | ) |
|
|
protectedvirtual |
Adds the representation to the view.
This is called from vtkView::AddRepresentation(). Subclasses should override this method. Returns true if the addition succeeds.
Reimplemented from vtkPVDataRepresentation.
§ RemoveFromView()
virtual bool vtkAMROutlineRepresentation::RemoveFromView |
( |
vtkView * |
view | ) |
|
|
protectedvirtual |
Removes the representation to the view.
This is called from vtkView::RemoveRepresentation(). Subclasses should override this method. Returns true if the removal succeeds.
Reimplemented from vtkPVDataRepresentation.
§ FillInputPortInformation()
int vtkAMROutlineRepresentation::FillInputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
protected |
Fill input port information.
§ RequestInformation()
virtual int vtkAMROutlineRepresentation::RequestInformation |
( |
vtkInformation * |
rqst, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector |
|
) |
| |
|
protectedvirtual |
Overridden to check if the input pipeline is streaming capable.
This method should check if streaming is enabled i.e. vtkPVView::GetEnableStreaming() and the input pipeline provides necessary AMR meta-data.
§ RequestUpdateExtent()
virtual int vtkAMROutlineRepresentation::RequestUpdateExtent |
( |
vtkInformation * |
request, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector |
|
) |
| |
|
protectedvirtual |
Setup the block request.
During StreamingUpdate, this will request the blocks based on priorities determined by the vtkAMRStreamingPriorityQueue, otherwise it doesn't make any specific request. AMR sources can treat the absence of specific block request to mean various things. It's expected that read only the root block (or a few more) in that case.
Reimplemented from vtkPVDataRepresentation.
§ RequestData()
virtual int vtkAMROutlineRepresentation::RequestData |
( |
vtkInformation * |
rqst, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector |
|
) |
| |
|
protectedvirtual |
Generate the outline for the current input.
When not in StreamingUpdate, this also initializes the priority queue since the input AMR may have totally changed, including its structure.
Reimplemented from vtkPVDataRepresentation.
§ GetStreamingCapablePipeline()
virtual bool vtkAMROutlineRepresentation::GetStreamingCapablePipeline |
( |
| ) |
|
|
protectedvirtual |
§ GetInStreamingUpdate()
virtual bool vtkAMROutlineRepresentation::GetInStreamingUpdate |
( |
| ) |
|
|
protectedvirtual |
§ StreamingUpdate()
bool vtkAMROutlineRepresentation::StreamingUpdate |
( |
const double |
view_planes[24] | ) |
|
|
protected |
Returns true if this representation has a "next piece" that it streamed.
This method will update the PriorityQueue using the view planes specified and then call Update() on the representation, making it reexecute and regenerate the outline for the next "piece" of data.
§ ProcessedData
vtkSmartPointer<vtkDataObject> vtkAMROutlineRepresentation::ProcessedData |
|
protected |
§ ProcessedPiece
vtkSmartPointer<vtkDataObject> vtkAMROutlineRepresentation::ProcessedPiece |
|
protected |
§ RenderedData
vtkWeakPointer<vtkDataObject> vtkAMROutlineRepresentation::RenderedData |
|
protected |
§ PriorityQueue
vtkAMRStreamingPriorityQueue is a helper class we used to compute the order in which to request blocks from the input pipeline.
Implementations can come up with their own rules to decide the request order based on application and data type.
Definition at line 155 of file vtkAMROutlineRepresentation.h.
§ Mapper
vtkSmartPointer<vtkCompositePolyDataMapper2> vtkAMROutlineRepresentation::Mapper |
|
protected |
§ Actor
vtkSmartPointer<vtkPVLODActor> vtkAMROutlineRepresentation::Actor |
|
protected |
§ DataBounds
vtkBoundingBox vtkAMROutlineRepresentation::DataBounds |
|
protected |
The documentation for this class was generated from the following file: