VTK
vtkThreadedCompositeDataPipeline.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkThreadedCompositeDataPipeline.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14  =========================================================================*/
28 #ifndef vtkThreadedCompositeDataPipeline_h
29 #define vtkThreadedCompositeDataPipeline_h
30 
31 #include "vtkCommonExecutionModelModule.h" // For export macro
33 
35 class vtkInformation;
36 
37 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkThreadedCompositeDataPipeline : public vtkCompositeDataPipeline
38 {
39  public:
42  void PrintSelf(ostream &os, vtkIndent indent) override;
43 
48  int CallAlgorithm(vtkInformation* request, int direction,
49  vtkInformationVector** inInfo,
50  vtkInformationVector* outInfo) override;
51 
52  protected:
56  vtkInformationVector** inInfoVec,
57  vtkInformationVector* outInfoVec,
58  int compositePort,
59  int connection,
60  vtkInformation* request,
61  std::vector<vtkSmartPointer<vtkCompositeDataSet>>& compositeOutput) override;
62 
63  private:
65  void operator=(const vtkThreadedCompositeDataPipeline&) = delete;
66  friend class ProcessBlock;
67 };
68 
69 #endif
Executive that works in parallel.
Store vtkAlgorithm input/output information.
static vtkCompositeDataPipeline * New()
Hold a reference to a vtkObjectBase instance.
superclass for composite data iterators
a simple class to control print indentation
Definition: vtkIndent.h:33
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int CallAlgorithm(vtkInformation *request, int direction, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
An API to CallAlgorithm that allows you to pass in the info objects to be used.
Executive supporting composite datasets.
Store zero or more vtkInformation instances.
virtual void ExecuteEach(vtkCompositeDataIterator *iter, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int compositePort, int connection, vtkInformation *request, std::vector< vtkSmartPointer< vtkCompositeDataSet >> &compositeOutput)