VTK
|
Executive supporting on-demand execution. More...
#include <vtkDemandDrivenPipeline.h>
Public Types | |
typedef vtkExecutive | Superclass |
![]() | |
typedef vtkObject | Superclass |
enum | { RequestUpstream, RequestDownstream } |
enum | { BeforeForward, AfterForward } |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkDemandDrivenPipeline * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | SetReleaseDataFlag (int port, int n) |
virtual int | GetReleaseDataFlag (int port) |
virtual int | UpdatePipelineMTime () |
virtual int | UpdateDataObject () |
virtual int | UpdateInformation () |
virtual int | UpdateData (int outputPort) |
virtual int | ProcessRequest (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) |
virtual int | ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime) |
virtual int | Update () |
virtual int | Update (int port) |
virtual unsigned long | GetPipelineMTime () |
![]() | |
vtkExecutive * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkAlgorithm * | GetAlgorithm () |
int | GetNumberOfInputConnections (int port) |
virtual vtkInformation * | GetOutputInformation (int port) |
vtkInformationVector * | GetOutputInformation () |
vtkInformation * | GetInputInformation (int port, int connection) |
vtkInformationVector * | GetInputInformation (int port) |
vtkInformationVector ** | GetInputInformation () |
vtkExecutive * | GetInputExecutive (int port, int connection) |
int | GetNumberOfInputPorts () |
int | GetNumberOfOutputPorts () |
virtual vtkDataObject * | GetOutputData (int port) |
virtual void | SetOutputData (int port, vtkDataObject *, vtkInformation *info) |
virtual void | SetOutputData (int port, vtkDataObject *) |
virtual vtkDataObject * | GetInputData (int port, int connection) |
virtual vtkDataObject * | GetInputData (int port, int connection, vtkInformationVector **inInfoVec) |
void | SetSharedInputInformation (vtkInformationVector **inInfoVec) |
void | SetSharedOutputInformation (vtkInformationVector *outInfoVec) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
virtual int | CallAlgorithm (vtkInformation *request, int direction, vtkInformationVector **inInfo, vtkInformationVector *outInfo) |
Static Public Member Functions | |
static vtkDemandDrivenPipeline * | New () |
static int | IsTypeOf (const char *type) |
static vtkDemandDrivenPipeline * | SafeDownCast (vtkObjectBase *o) |
static vtkInformationRequestKey * | REQUEST_DATA_OBJECT () |
static vtkInformationRequestKey * | REQUEST_INFORMATION () |
static vtkInformationRequestKey * | REQUEST_DATA () |
static vtkInformationRequestKey * | REQUEST_DATA_NOT_GENERATED () |
static vtkInformationIntegerKey * | RELEASE_DATA () |
static vtkInformationIntegerKey * | DATA_NOT_GENERATED () |
static vtkDataObject * | NewDataObject (const char *type) |
static vtkInformationIntegerKey * | REQUEST_REGENERATE_INFORMATION () |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkExecutive * | SafeDownCast (vtkObjectBase *o) |
static vtkInformationExecutivePortKey * | PRODUCER () |
static vtkInformationExecutivePortVectorKey * | CONSUMERS () |
static vtkInformationIntegerKey * | FROM_OUTPUT_PORT () |
static vtkInformationIntegerKey * | ALGORITHM_BEFORE_FORWARD () |
static vtkInformationIntegerKey * | ALGORITHM_AFTER_FORWARD () |
static vtkInformationIntegerKey * | ALGORITHM_DIRECTION () |
static vtkInformationIntegerKey * | FORWARD_DIRECTION () |
static vtkInformationKeyVectorKey * | KEYS_TO_COPY () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkDemandDrivenPipeline () | |
~vtkDemandDrivenPipeline () | |
virtual int | ExecuteDataObject (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) |
virtual int | ExecuteInformation (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) |
virtual int | ExecuteData (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) |
virtual void | ResetPipelineInformation (int, vtkInformation *) |
virtual int | CheckDataObject (int port, vtkInformationVector *outInfo) |
int | InputCountIsValid (vtkInformationVector **) |
int | InputCountIsValid (int port, vtkInformationVector **) |
int | InputTypeIsValid (vtkInformationVector **) |
int | InputTypeIsValid (int port, vtkInformationVector **) |
virtual int | InputTypeIsValid (int port, int index, vtkInformationVector **) |
int | InputFieldsAreValid (vtkInformationVector **) |
int | InputFieldsAreValid (int port, vtkInformationVector **) |
virtual int | InputFieldsAreValid (int port, int index, vtkInformationVector **) |
int | DataSetAttributeExists (vtkDataSetAttributes *dsa, vtkInformation *field) |
int | FieldArrayExists (vtkFieldData *data, vtkInformation *field) |
int | ArrayIsValid (vtkAbstractArray *array, vtkInformation *field) |
int | InputIsOptional (int port) |
int | InputIsRepeatable (int port) |
virtual int | NeedToExecuteData (int outputPort, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) |
virtual void | ExecuteDataStart (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) |
virtual void | ExecuteDataEnd (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) |
virtual void | MarkOutputsGenerated (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) |
![]() | |
vtkExecutive () | |
~vtkExecutive () | |
int | InputPortIndexInRange (int port, const char *action) |
int | OutputPortIndexInRange (int port, const char *action) |
int | CheckAlgorithm (const char *method, vtkInformation *request) |
virtual int | ForwardDownstream (vtkInformation *request) |
virtual int | ForwardUpstream (vtkInformation *request) |
virtual void | CopyDefaultInformation (vtkInformation *request, int direction, vtkInformationVector **inInfo, vtkInformationVector *outInfo) |
virtual void | ReportReferences (vtkGarbageCollector *) |
virtual void | SetAlgorithm (vtkAlgorithm *algorithm) |
Protected Attributes | |
unsigned long | PipelineMTime |
vtkTimeStamp | DataObjectTime |
vtkTimeStamp | InformationTime |
vtkTimeStamp | DataTime |
vtkInformation * | InfoRequest |
vtkInformation * | DataObjectRequest |
vtkInformation * | DataRequest |
![]() | |
vtkAlgorithm * | Algorithm |
int | InAlgorithm |
vtkInformationVector ** | SharedInputInformation |
vtkInformationVector * | SharedOutputInformation |
Friends | |
class | vtkCompositeDataPipeline |
Executive supporting on-demand execution.
vtkDemandDrivenPipeline is an executive that will execute an algorithm only when its outputs are out-of-date with respect to its inputs.
Definition at line 46 of file vtkDemandDrivenPipeline.h.
Definition at line 50 of file vtkDemandDrivenPipeline.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
Reimplemented from vtkExecutive.
Reimplemented in vtkCompositeDataPipeline, vtkThreadedStreamingPipeline, vtkStreamingDemandDrivenPipeline, and vtkCachedStreamingDemandDrivenPipeline.
|
static |
|
protectedvirtual |
Reimplemented from vtkExecutive.
Reimplemented in vtkCompositeDataPipeline, vtkThreadedStreamingPipeline, vtkStreamingDemandDrivenPipeline, and vtkCachedStreamingDemandDrivenPipeline.
vtkDemandDrivenPipeline* vtkDemandDrivenPipeline::NewInstance | ( | ) | const |
void vtkDemandDrivenPipeline::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Generalized interface for asking the executive to fulfill update requests.
Reimplemented from vtkExecutive.
Reimplemented in vtkThreadedStreamingPipeline, and vtkStreamingDemandDrivenPipeline.
|
virtual |
Implement the pipeline modified time request.
Reimplemented from vtkExecutive.
|
virtual |
Bring the algorithm's outputs up-to-date. Returns 1 for success and 0 for failure.
Reimplemented from vtkExecutive.
Reimplemented in vtkStreamingDemandDrivenPipeline, and vtkCachedStreamingDemandDrivenPipeline.
|
virtual |
Bring the algorithm's outputs up-to-date. Returns 1 for success and 0 for failure.
Reimplemented from vtkExecutive.
Reimplemented in vtkStreamingDemandDrivenPipeline, and vtkCachedStreamingDemandDrivenPipeline.
|
virtual |
Get the PipelineMTime for this exective.
|
virtual |
Set whether the given output port releases data when it is consumed. Returns 1 if the the value changes and 0 otherwise.
|
virtual |
Get whether the given output port releases data when it is consumed.
|
virtual |
Bring the PipelineMTime up to date.
|
virtual |
Bring the output data object's existence up to date. This does not actually produce data, but does create the data object that will store data produced during the UpdateData step.
Implements vtkExecutive.
|
virtual |
Bring the output information up to date.
Reimplemented from vtkExecutive.
|
virtual |
Bring the output data up to date. This should be called only when information is up to date. Use the Update method if it is not known that the information is up to date.
|
static |
Key defining a request to make sure the output data objects exist.
|
static |
Key defining a request to make sure the output information is up to date.
|
static |
Key defining a request to make sure the output data are up to date.
|
static |
Key defining a request to mark outputs that will NOT be generated during a REQUEST_DATA.
|
static |
Key to specify in pipeline information the request that data be released after it is used.
|
static |
Key to store a mark for an output that will not be generated. Algorithms use this to tell the executive that they will not generate certain outputs for a REQUEST_DATA.
|
static |
Create (New) and return a data object of the given type. This is here for backwards compatibility. Use vtkDataObjectTypes::NewDataObject() instead.
|
static |
Key to be used for REQUEST_INFORMATION and REQUEST_DATA_OBJECT passes when you modification time should not be taken into account.
|
protectedvirtual |
Reimplemented in vtkCompositeDataPipeline.
|
protectedvirtual |
Reimplemented in vtkStreamingDemandDrivenPipeline.
|
protectedvirtual |
Reimplemented in vtkCompositeDataPipeline, and vtkCachedStreamingDemandDrivenPipeline.
|
protectedvirtual |
Implements vtkExecutive.
Reimplemented in vtkStreamingDemandDrivenPipeline, and vtkCompositeDataPipeline.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Reimplemented in vtkCompositeDataPipeline.
|
protected |
|
protected |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Reimplemented in vtkStreamingDemandDrivenPipeline, vtkCompositeDataPipeline, and vtkCachedStreamingDemandDrivenPipeline.
|
protectedvirtual |
Reimplemented in vtkStreamingDemandDrivenPipeline, and vtkCompositeDataPipeline.
|
protectedvirtual |
Reimplemented in vtkStreamingDemandDrivenPipeline.
|
protectedvirtual |
Reimplemented in vtkStreamingDemandDrivenPipeline, and vtkCompositeDataPipeline.
|
friend |
Definition at line 207 of file vtkDemandDrivenPipeline.h.
|
protected |
Definition at line 199 of file vtkDemandDrivenPipeline.h.
|
protected |
Definition at line 202 of file vtkDemandDrivenPipeline.h.
|
protected |
Definition at line 203 of file vtkDemandDrivenPipeline.h.
|
protected |
Definition at line 204 of file vtkDemandDrivenPipeline.h.
|
protected |
Definition at line 211 of file vtkDemandDrivenPipeline.h.
|
protected |
Definition at line 212 of file vtkDemandDrivenPipeline.h.
|
protected |
Definition at line 213 of file vtkDemandDrivenPipeline.h.