43 #ifndef __vtkThreadedStreamingPipeline_h
44 #define __vtkThreadedStreamingPipeline_h
46 #include "vtkCommonExecutionModelModule.h"
58 void PrintSelf(ostream &os, vtkIndent indent);
61 static vtkInformationIntegerKey* AUTO_PROPAGATE();
64 static vtkInformationObjectBaseKey* EXTRA_INFORMATION();
72 PROCESSING_UNIT_NONE = 0,
73 PROCESSING_UNIT_CPU = 1,
74 PROCESSING_UNIT_GPU = 2
80 static void SetMultiThreadedEnabled(
bool enabled);
83 static void SetAutoPropagatePush(
bool enabled);
107 static void Pull(
vtkExecutive *exec, vtkInformation *info);
115 static void Push(
vtkExecutive *exec, vtkInformation *info);
121 void Pull(vtkInformation *info);
127 void Push(vtkInformation *info);
130 void ReleaseInputs();
136 vtkInformationVector** inInfo,
137 vtkInformationVector* outInfo);
141 int ForceUpdateData(
int processingUnit, vtkInformation *info);
144 void UpdateRequestDataTimeFromSource();
Executive supporting multi-threads.
float LastDataRequestTimeFromSource
static vtkCompositeDataPipeline * New()
vtkInformation * ForceDataRequest
Scheduling execution with thread/computing resources distributing.
Superclass for all pipeline executives in VTK.
void PrintSelf(ostream &os, vtkIndent indent)
Definition of computing resource (threads/kernels)
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
float LastDataRequestTime
Executive supporting composite datasets.
virtual int ForwardUpstream(vtkInformation *request)
maintain a list of executive objects
vtkExecutionScheduler * Scheduler
vtkComputingResources * Resources