VTK  9.7.1
vtkExecutionRange.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 
16 #ifndef vtkExecutionRange_h
17 #define vtkExecutionRange_h
18 
19 #include "vtkObject.h"
20 
21 #include "vtkCommonExecutionModelModule.h" // for export macro
22 #include "vtkSmartPointer.h" // for smart pointer signature
23 
24 VTK_ABI_NAMESPACE_BEGIN
25 
27 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkExecutionRange : public vtkObject
28 {
29 public:
30  vtkTypeMacro(vtkExecutionRange, vtkObject);
31  void PrintSelf(std::ostream& os, vtkIndent indent) override;
32 
33  virtual int RequestDataObject(
34  vtkInformationVector** inputVector, vtkInformationVector* outputVector);
35 
36  virtual int RequestInformation(
37  vtkInformationVector** inputVector, vtkInformationVector* outputVector);
38 
39  virtual int RequestUpdateExtent(
40  std::size_t iteration, vtkInformationVector** inputVector, vtkInformationVector* outputVector);
41 
42  virtual int RequestData(
43  std::size_t iteration, vtkInformationVector** inputVector, vtkInformationVector* outputVector);
44 
45  virtual std::size_t Size();
46 
47 protected:
48  vtkExecutionRange() = default;
49  ~vtkExecutionRange() override = default;
50 
51 private:
52  vtkExecutionRange(const vtkExecutionRange&) = delete;
53  void operator=(const vtkExecutionRange&) = delete;
54 };
55 
56 VTK_ABI_NAMESPACE_END
57 
58 #endif // vtkExecutionRange_h
Define a range for the vtkForEach.
abstract base class for most VTK objects
Definition: vtkObject.h:52
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:28
Store zero or more vtkInformation instances.