VTK: Common/ExecutionModel/vtkHierarchicalBoxDataSetAlgorithm.h Source File

| 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
20 class vtkHierarchicalBoxDataSet;
21 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkHierarchicalBoxDataSetAlgorithm : public vtkAlgorithm
22 {
23 public:
24 static vtkHierarchicalBoxDataSetAlgorithm* New();
25 vtkTypeMacro(vtkHierarchicalBoxDataSetAlgorithm, vtkAlgorithm);
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
49 vtkTypeBool ProcessRequest(vtkInformation* request, vtkInformationVector** inputVector,
50 vtkInformationVector* outputVector) override;
51
52 protected:
53 vtkHierarchicalBoxDataSetAlgorithm();
54 ~vtkHierarchicalBoxDataSetAlgorithm() override;
55
60 virtual int RequestDataObject(vtkInformation*, vtkInformationVector**, vtkInformationVector*)
61 {
62 return 1;
63 }
64
69 virtual int RequestInformation(vtkInformation*, vtkInformationVector**, vtkInformationVector*)
70 {
71 return 1;
72 }
73
78 virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*)
79 {
80 return 1;
81 }
82
84
88 virtual int RequestUpdateExtent(vtkInformation*, vtkInformationVector**, vtkInformationVector*)
89 {
90 return 1;
91 }
93
94 // Create a default executive.
95 vtkExecutive* CreateDefaultExecutive() override;
96
97 // see algorithm for more info
98 int FillOutputPortInformation(int port, vtkInformation* info) override;
99 int FillInputPortInformation(int port, vtkInformation* info) override;
100
101 vtkDataObject* GetInput(int port);
102
103 private:
104 vtkHierarchicalBoxDataSetAlgorithm(const vtkHierarchicalBoxDataSetAlgorithm&) = delete;
105 void operator=(const vtkHierarchicalBoxDataSetAlgorithm&) = delete;
106 };
107
108 VTK_ABI_NAMESPACE_END
109 #endif
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:61
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:64
vtkExecutive
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:48
vtkHierarchicalBoxDataSetAlgorithm
superclass for algorithms that produce vtkHierarchicalBoxDataSet as output.
Definition: vtkHierarchicalBoxDataSetAlgorithm.h:22
vtkHierarchicalBoxDataSetAlgorithm::vtkHierarchicalBoxDataSetAlgorithm
vtkHierarchicalBoxDataSetAlgorithm()
vtkHierarchicalBoxDataSetAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkHierarchicalBoxDataSetAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkHierarchicalBoxDataSetAlgorithm.h:88
vtkHierarchicalBoxDataSetAlgorithm::SetInputData
void SetInputData(vtkDataObject *)
Assign a data object as input.
vtkHierarchicalBoxDataSetAlgorithm::SetInputData
void SetInputData(int, vtkDataObject *)
Assign a data object as input.
vtkHierarchicalBoxDataSetAlgorithm::New
static vtkHierarchicalBoxDataSetAlgorithm * New()
vtkHierarchicalBoxDataSetAlgorithm::RequestDataObject
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkHierarchicalBoxDataSetAlgorithm.h:60
vtkHierarchicalBoxDataSetAlgorithm::GetOutput
vtkHierarchicalBoxDataSet * GetOutput()
Get the output data object for a port on this algorithm.
vtkHierarchicalBoxDataSetAlgorithm::GetOutput
vtkHierarchicalBoxDataSet * GetOutput(int)
Get the output data object for a port on this algorithm.
vtkHierarchicalBoxDataSetAlgorithm::ProcessRequest
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
see vtkAlgorithm for details
vtkHierarchicalBoxDataSetAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkHierarchicalBoxDataSetAlgorithm.h:69
vtkHierarchicalBoxDataSetAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkHierarchicalBoxDataSetAlgorithm::~vtkHierarchicalBoxDataSetAlgorithm
~vtkHierarchicalBoxDataSetAlgorithm() override
vtkHierarchicalBoxDataSetAlgorithm::CreateDefaultExecutive
vtkExecutive * CreateDefaultExecutive() override
Create a default executive.
vtkHierarchicalBoxDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkHierarchicalBoxDataSetAlgorithm.h:78
vtkHierarchicalBoxDataSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkHierarchicalBoxDataSetAlgorithm::GetInput
vtkDataObject * GetInput(int port)
vtkHierarchicalBoxDataSet
Backwards compatibility class.
Definition: vtkHierarchicalBoxDataSet.h:28
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:64
vtkAlgorithm.h