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  =========================================================================*/
31 #ifndef vtkThreadedCompositeDataPipeline_h
32 #define vtkThreadedCompositeDataPipeline_h
33 
34 #include "vtkCommonExecutionModelModule.h" // For export macro
36 
38 class vtkInformation;
39 
40 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkThreadedCompositeDataPipeline : public vtkCompositeDataPipeline
41 {
42  public:
45  void PrintSelf(ostream &os, vtkIndent indent) override;
46 
51  int CallAlgorithm(vtkInformation* request, int direction,
52  vtkInformationVector** inInfo,
53  vtkInformationVector* outInfo) override;
54 
55  protected:
59  vtkInformationVector** inInfoVec,
60  vtkInformationVector* outInfoVec,
61  int compositePort,
62  int connection,
63  vtkInformation* request,
64  std::vector<vtkSmartPointer<vtkCompositeDataSet>>& compositeOutput) override;
65 
66  private:
68  void operator=(const vtkThreadedCompositeDataPipeline&) = delete;
69  friend class ProcessBlock;
70 };
71 
72 #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:39
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)