VTK  9.3.1
vtkHierarchicalBoxDataSetAlgorithm.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
13 #ifndef vtkHierarchicalBoxDataSetAlgorithm_h
14 #define vtkHierarchicalBoxDataSetAlgorithm_h
15 
16 #include "vtkAlgorithm.h"
17 #include "vtkCommonExecutionModelModule.h" // For export macro
18 
19 VTK_ABI_NAMESPACE_BEGIN
21 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkHierarchicalBoxDataSetAlgorithm : public vtkAlgorithm
22 {
23 public:
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
29 
32  vtkHierarchicalBoxDataSet* GetOutput();
33  vtkHierarchicalBoxDataSet* GetOutput(int);
35 
37 
42  void SetInputData(vtkDataObject*);
43  void SetInputData(int, vtkDataObject*);
45 
50  vtkInformationVector* outputVector) override;
51 
52 protected:
55 
61  {
62  return 1;
63  }
64 
70  {
71  return 1;
72  }
73 
79  {
80  return 1;
81  }
82 
84 
89  {
90  return 1;
91  }
93 
94  // Create a default executive.
96 
97  // see algorithm for more info
100 
101  vtkDataObject* GetInput(int port);
102 
103 private:
105  void operator=(const vtkHierarchicalBoxDataSetAlgorithm&) = delete;
106 };
107 
108 VTK_ABI_NAMESPACE_END
109 #endif
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual vtkExecutive * CreateDefaultExecutive()
Create a default executive.
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Backwards compatibility class.
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:38
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int vtkTypeBool
Definition: vtkABI.h:64
virtual vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:51
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
superclass for algorithms that produce vtkHierarchicalBoxDataSet as output.
general representation of visualization data
Definition: vtkDataObject.h:54