46 #ifndef __vtkThreadedStreamingPipeline_h
47 #define __vtkThreadedStreamingPipeline_h
51 class vtkComputingResources;
53 class vtkExecutiveCollection;
74 PROCESSING_UNIT_NONE = 0,
75 PROCESSING_UNIT_CPU = 1,
76 PROCESSING_UNIT_GPU = 2
82 static void SetMultiThreadedEnabled(
bool enabled);
85 static void SetAutoPropagatePush(
bool enabled);
89 static void Pull(vtkExecutiveCollection *execs);
93 static void Pull(vtkExecutiveCollection *execs,
vtkInformation *info);
97 static void Push(vtkExecutiveCollection *execs);
101 static void Push(vtkExecutiveCollection *execs,
vtkInformation *info);
105 static void Pull(vtkExecutive *exec);
113 static void Push(vtkExecutive *exec);
132 void ReleaseInputs();
146 void UpdateRequestDataTimeFromSource();
149 vtkComputingResources *GetResources();
Executive supporting multi-threads.
float LastDataRequestTimeFromSource
static vtkCompositeDataPipeline * New()
vtkInformation * ForceDataRequest
Scheduling execution with thread/computing resources distributing.
void PrintSelf(ostream &os, vtkIndent indent)
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
a simple class to control print indentation
float LastDataRequestTime
Executive supporting composite datasets.
virtual int ForwardUpstream(vtkInformation *request)
vtkExecutionScheduler * Scheduler
vtkComputingResources * Resources