VTK
|
Executive supporting partial updates. More...
#include <vtkStreamingDemandDrivenPipeline.h>
Public Types | |
typedef vtkDemandDrivenPipeline | Superclass |
![]() | |
typedef vtkExecutive | Superclass |
Static Protected Member Functions | |
static vtkInformationDoubleVectorKey * | PREVIOUS_UPDATE_TIME_STEPS () |
static vtkInformationIdTypeKey * | PREVIOUS_FAST_PATH_OBJECT_ID () |
static vtkInformationStringKey * | PREVIOUS_FAST_PATH_OBJECT_TYPE () |
static vtkInformationStringKey * | PREVIOUS_FAST_PATH_ID_TYPE () |
Protected Attributes | |
int | ContinueExecuting |
vtkInformation * | UpdateExtentRequest |
int | LastPropogateUpdateExtentShortCircuited |
![]() | |
unsigned long | PipelineMTime |
vtkTimeStamp | DataObjectTime |
vtkTimeStamp | InformationTime |
vtkTimeStamp | DataTime |
vtkInformation * | InfoRequest |
vtkInformation * | DataObjectRequest |
vtkInformation * | DataRequest |
Executive supporting partial updates.
vtkStreamingDemandDrivenPipeline is an executive that supports updating only a portion of the data set in the pipeline. This is the style of pipeline update that is provided by the old-style VTK 4.x pipeline. Instead of always updating an entire data set, this executive supports asking for pieces or sub-extents.
Definition at line 48 of file vtkStreamingDemandDrivenPipeline.h.
Definition at line 52 of file vtkStreamingDemandDrivenPipeline.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkDemandDrivenPipeline.
Reimplemented in vtkCompositeDataPipeline.
|
static |
|
virtual |
Reimplemented from vtkDemandDrivenPipeline.
Reimplemented in vtkCompositeDataPipeline.
|
static |
void vtkStreamingDemandDrivenPipeline::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Generalized interface for asking the executive to fullfill update requests.
Reimplemented from vtkDemandDrivenPipeline.
Reimplemented in vtkCompositeDataPipeline.
|
virtual |
Bring the outputs up-to-date.
Reimplemented from vtkDemandDrivenPipeline.
|
virtual |
Bring the outputs up-to-date.
Reimplemented from vtkDemandDrivenPipeline.
|
virtual |
Bring the outputs up-to-date.
int vtkStreamingDemandDrivenPipeline::PropagateUpdateExtent | ( | int | outputPort | ) |
Propagate the update request from the given output port back through the pipeline. Should be called only when information is up to date.
int vtkStreamingDemandDrivenPipeline::SetMaximumNumberOfPieces | ( | int | port, |
int | n | ||
) |
Set/Get the maximum number of pieces that can be requested from the given port. The maximum number of pieces is meta data for unstructured data sets. It gets set by the source during the update information call. A value of -1 indicates that there is no maximum.
int vtkStreamingDemandDrivenPipeline::SetMaximumNumberOfPieces | ( | vtkInformation * | , |
int | n | ||
) |
Set/Get the maximum number of pieces that can be requested from the given port. The maximum number of pieces is meta data for unstructured data sets. It gets set by the source during the update information call. A value of -1 indicates that there is no maximum.
int vtkStreamingDemandDrivenPipeline::GetMaximumNumberOfPieces | ( | int | port | ) |
Set/Get the maximum number of pieces that can be requested from the given port. The maximum number of pieces is meta data for unstructured data sets. It gets set by the source during the update information call. A value of -1 indicates that there is no maximum.
int vtkStreamingDemandDrivenPipeline::GetMaximumNumberOfPieces | ( | vtkInformation * | ) |
Set/Get the maximum number of pieces that can be requested from the given port. The maximum number of pieces is meta data for unstructured data sets. It gets set by the source during the update information call. A value of -1 indicates that there is no maximum.
int vtkStreamingDemandDrivenPipeline::SetWholeExtent | ( | vtkInformation * | , |
int | extent[6] | ||
) |
Set/Get the whole extent of an output port. The whole extent is meta data for structured data sets. It gets set by the algorithm during the update information pass.
void vtkStreamingDemandDrivenPipeline::GetWholeExtent | ( | vtkInformation * | , |
int | extent[6] | ||
) |
Set/Get the whole extent of an output port. The whole extent is meta data for structured data sets. It gets set by the algorithm during the update information pass.
int* vtkStreamingDemandDrivenPipeline::GetWholeExtent | ( | vtkInformation * | ) |
Set/Get the whole extent of an output port. The whole extent is meta data for structured data sets. It gets set by the algorithm during the update information pass.
int vtkStreamingDemandDrivenPipeline::SetUpdateExtentToWholeExtent | ( | int | port | ) |
If the whole input extent is required to generate the requested output extent, this method can be called to set the input update extent to the whole input extent. This method assumes that the whole extent is known (that UpdateInformation has been called)
int vtkStreamingDemandDrivenPipeline::SetUpdateExtentToWholeExtent | ( | vtkInformation * | ) |
If the whole input extent is required to generate the requested output extent, this method can be called to set the input update extent to the whole input extent. This method assumes that the whole extent is known (that UpdateInformation has been called)
int vtkStreamingDemandDrivenPipeline::SetUpdateExtent | ( | int | port, |
int | extent[6] | ||
) |
Get/Set the update extent for output ports that use 3D extents.
int vtkStreamingDemandDrivenPipeline::SetUpdateExtent | ( | vtkInformation * | , |
int | extent[6] | ||
) |
Get/Set the update extent for output ports that use 3D extents.
void vtkStreamingDemandDrivenPipeline::GetUpdateExtent | ( | vtkInformation * | , |
int | extent[6] | ||
) |
Get/Set the update extent for output ports that use 3D extents.
int* vtkStreamingDemandDrivenPipeline::GetUpdateExtent | ( | vtkInformation * | ) |
Get/Set the update extent for output ports that use 3D extents.
int vtkStreamingDemandDrivenPipeline::SetUpdateExtent | ( | int | port, |
int | piece, | ||
int | numPieces, | ||
int | ghostLevel | ||
) |
Set/Get the update piece, update number of pieces, and update number of ghost levels for an output port. Similar to update extent in 3D.
int vtkStreamingDemandDrivenPipeline::SetUpdateExtent | ( | vtkInformation * | , |
int | piece, | ||
int | numPieces, | ||
int | ghostLevel | ||
) |
Set/Get the update piece, update number of pieces, and update number of ghost levels for an output port. Similar to update extent in 3D.
int vtkStreamingDemandDrivenPipeline::SetUpdatePiece | ( | vtkInformation * | , |
int | piece | ||
) |
Set/Get the update piece, update number of pieces, and update number of ghost levels for an output port. Similar to update extent in 3D.
int vtkStreamingDemandDrivenPipeline::GetUpdatePiece | ( | vtkInformation * | ) |
Set/Get the update piece, update number of pieces, and update number of ghost levels for an output port. Similar to update extent in 3D.
int vtkStreamingDemandDrivenPipeline::SetUpdateNumberOfPieces | ( | vtkInformation * | , |
int | n | ||
) |
Set/Get the update piece, update number of pieces, and update number of ghost levels for an output port. Similar to update extent in 3D.
int vtkStreamingDemandDrivenPipeline::GetUpdateNumberOfPieces | ( | vtkInformation * | ) |
Set/Get the update piece, update number of pieces, and update number of ghost levels for an output port. Similar to update extent in 3D.
int vtkStreamingDemandDrivenPipeline::SetUpdateGhostLevel | ( | vtkInformation * | , |
int | n | ||
) |
Set/Get the update piece, update number of pieces, and update number of ghost levels for an output port. Similar to update extent in 3D.
int vtkStreamingDemandDrivenPipeline::GetUpdateGhostLevel | ( | vtkInformation * | ) |
Set/Get the update piece, update number of pieces, and update number of ghost levels for an output port. Similar to update extent in 3D.
int vtkStreamingDemandDrivenPipeline::SetUpdateResolution | ( | int | port, |
double | r | ||
) |
Set/Get the update piece, update number of pieces, and update number of ghost levels for an output port. Similar to update extent in 3D.
int vtkStreamingDemandDrivenPipeline::SetUpdateResolution | ( | vtkInformation * | , |
double | r | ||
) |
Set/Get the update piece, update number of pieces, and update number of ghost levels for an output port. Similar to update extent in 3D.
double vtkStreamingDemandDrivenPipeline::GetUpdateResolution | ( | vtkInformation * | ) |
Set/Get the update piece, update number of pieces, and update number of ghost levels for an output port. Similar to update extent in 3D.
int vtkStreamingDemandDrivenPipeline::SetUpdateTimeSteps | ( | int | port, |
double * | times, | ||
int | length | ||
) |
Get/Set the update extent for output ports that use Temporal Extents
int vtkStreamingDemandDrivenPipeline::SetUpdateTimeSteps | ( | vtkInformation * | , |
double * | times, | ||
int | length | ||
) |
Get/Set the update extent for output ports that use Temporal Extents
int vtkStreamingDemandDrivenPipeline::SetUpdateTimeStep | ( | int | port, |
double | time | ||
) |
Get/Set the update extent for output ports that use Temporal Extents
int vtkStreamingDemandDrivenPipeline::SetRequestExactExtent | ( | int | port, |
int | flag | ||
) |
This request flag indicates whether the requester can handle more data than requested for the given port. Right now it is used in vtkImageData. Image filters can return more data than requested. The the consumer cannot handle this (i.e. DataSetToDataSetFitler) the image will crop itself. This functionality used to be in ImageToStructuredPoints.
int vtkStreamingDemandDrivenPipeline::GetRequestExactExtent | ( | int | port | ) |
This request flag indicates whether the requester can handle more data than requested for the given port. Right now it is used in vtkImageData. Image filters can return more data than requested. The the consumer cannot handle this (i.e. DataSetToDataSetFitler) the image will crop itself. This functionality used to be in ImageToStructuredPoints.
int vtkStreamingDemandDrivenPipeline::SetExtentTranslator | ( | int | port, |
vtkExtentTranslator * | translator | ||
) |
Get/Set the object that will translate pieces into structured extents for an output port.
int vtkStreamingDemandDrivenPipeline::SetExtentTranslator | ( | vtkInformation * | , |
vtkExtentTranslator * | translator | ||
) |
Get/Set the object that will translate pieces into structured extents for an output port.
vtkExtentTranslator* vtkStreamingDemandDrivenPipeline::GetExtentTranslator | ( | int | port | ) |
Get/Set the object that will translate pieces into structured extents for an output port.
vtkExtentTranslator* vtkStreamingDemandDrivenPipeline::GetExtentTranslator | ( | vtkInformation * | info | ) |
Get/Set the object that will translate pieces into structured extents for an output port.
int vtkStreamingDemandDrivenPipeline::SetWholeBoundingBox | ( | int | port, |
double | bb[6] | ||
) |
Set/Get the whole bounding box of an output port data object. The whole whole bounding box is meta data for data sets. It gets set by the algorithm during the update information pass.
void vtkStreamingDemandDrivenPipeline::GetWholeBoundingBox | ( | int | port, |
double | bb[6] | ||
) |
Set/Get the whole bounding box of an output port data object. The whole whole bounding box is meta data for data sets. It gets set by the algorithm during the update information pass.
double* vtkStreamingDemandDrivenPipeline::GetWholeBoundingBox | ( | int | port | ) |
Set/Get the whole bounding box of an output port data object. The whole whole bounding box is meta data for data sets. It gets set by the algorithm during the update information pass.
int vtkStreamingDemandDrivenPipeline::SetPieceBoundingBox | ( | int | port, |
double | bb[6] | ||
) |
Set/Get the piece bounding box of an output port data object. The piece bounding box is meta data for data sets. It gets set by the algorithm during the update extent information pass.
void vtkStreamingDemandDrivenPipeline::GetPieceBoundingBox | ( | int | port, |
double | bb[6] | ||
) |
Set/Get the piece bounding box of an output port data object. The piece bounding box is meta data for data sets. It gets set by the algorithm during the update extent information pass.
double* vtkStreamingDemandDrivenPipeline::GetPieceBoundingBox | ( | int | port | ) |
Set/Get the piece bounding box of an output port data object. The piece bounding box is meta data for data sets. It gets set by the algorithm during the update extent information pass.
|
static |
Key defining a request to propagate the update extent upstream.
|
static |
Key defining a request to propagate information about the update extent downstream.
|
static |
Key defining to propagate resolution changes up the pipeline.
|
static |
Key for an algorithm to store in a request to tell this executive to keep executing it.
|
static |
Key to store an extent translator in pipeline information.
|
static |
Keys to store an update request in pipeline information.
|
static |
Keys to store an update request in pipeline information.
|
static |
Keys to store an update request in pipeline information.
|
static |
Keys to store an update request in pipeline information.
|
static |
Keys to store an update request in pipeline information.
|
static |
Key for combining the update extents requested by all consumers, so that the final extent that is produced satisfies all consumers.
|
static |
This is set if the extent was set through extent translation. GenerateGhostLevelArray() is called only when this is set.
|
static |
Key to store the whole extent provided in pipeline information.
|
static |
This is set if the update extent is not restricted to the whole extent, for sources that can generate an extent of any requested size.
|
static |
Key to store the maximum number of pieces provided in pipeline information.
|
static |
Key to store the bounding box of the entire data set in pipeline information.
|
static |
Key to store the bounding box of a portion of the data set in pipeline information.
|
static |
Key to specify the request for exact extent in pipeline information.
|
static |
Key to store available time steps.
|
static |
Key to store available time range for continuous sources.
|
static |
Update time steps requested by the pipeline.
|
static |
Key that specifies from 0.0 to 1.0 the pipeline computed priority of this update extent. 0.0 means does not contribute and can be skipped.
|
static |
Key that specifies a requested resolution level for this update extent. 0.0 is very low and 1.0 is full resolution.
|
static |
Used internally to validate meta information as it flows through pipeline
|
static |
The following keys are meant to be used by an algorithm that works with temporal data. Rather than re-executing the pipeline for each timestep, if the reader, as part of its API, contains a faster way to read temporal data, algorithms may use these keys to request temporal data from the reader. See also: vtkExtractArraysOverTime.
|
static |
|
static |
|
static |
|
inline |
Issues pipeline request to determine and return the priority of the piece described by the current update extent. The priority is a number between 0.0 and 1.0 with 0 meaning skippable (REQUEST_DATA not needed) and 1.0 meaning important.
Definition at line 275 of file vtkStreamingDemandDrivenPipeline.h.
|
virtual |
Issues pipeline request to determine and return the priority of the piece described by the current update extent. The priority is a number between 0.0 and 1.0 with 0 meaning skippable (REQUEST_DATA not needed) and 1.0 meaning important.
|
protectedvirtual |
Called before RequestUpdateExtent() pass on the algorithm. Here we remove all update-related keys from the input information. Currently this only removes the fast-path related keys.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protectedvirtual |
Reimplemented in vtkCompositeDataPipeline.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from vtkDemandDrivenPipeline.
|
protectedvirtual |
Reimplemented in vtkCompositeDataPipeline.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from vtkDemandDrivenPipeline.
Reimplemented in vtkCompositeDataPipeline.
|
protectedvirtual |
Reimplemented from vtkDemandDrivenPipeline.
Reimplemented in vtkCompositeDataPipeline.
|
protectedvirtual |
Reimplemented from vtkDemandDrivenPipeline.
|
protectedvirtual |
Reimplemented from vtkDemandDrivenPipeline.
Reimplemented in vtkCompositeDataPipeline.
|
protectedvirtual |
Reimplemented from vtkDemandDrivenPipeline.
Reimplemented in vtkCompositeDataPipeline.
|
protected |
Definition at line 360 of file vtkStreamingDemandDrivenPipeline.h.
|
protected |
Definition at line 362 of file vtkStreamingDemandDrivenPipeline.h.
|
protected |
Definition at line 365 of file vtkStreamingDemandDrivenPipeline.h.