VTK  9.3.20240424
vtkHyperTreeGridAlgorithm.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
23#ifndef vtkHyperTreeGridAlgorithm_h
24#define vtkHyperTreeGridAlgorithm_h
25
26#include "vtkAlgorithm.h"
27#include "vtkCommonExecutionModelModule.h" // For export macro
28
29VTK_ABI_NAMESPACE_BEGIN
30class vtkBitArray;
33class vtkPolyData;
35
36class VTKCOMMONEXECUTIONMODEL_EXPORT vtkHyperTreeGridAlgorithm : public vtkAlgorithm
37{
38public:
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
43
48 virtual void SetOutput(vtkDataObject*);
50
52
58
60
66
68
74
80
82
90
92
100
101protected:
104
109 vtkInformation*, vtkInformationVector** inputVector, vtkInformationVector* outputVector);
110
111 // convenience method
113
119
125
127
133
135
141
143
149
151
156
157private:
159 void operator=(const vtkHyperTreeGridAlgorithm&) = delete;
160};
161
162VTK_ABI_NAMESPACE_END
163#endif
Superclass for all sources, filters, and sinks in VTK.
dynamic, self-adjusting array of bits
Definition vtkBitArray.h:29
general representation of visualization data
represent and manipulate attribute data in a dataset
Superclass for algorithms that produce a hyper tree grid as output.
vtkTypeBool ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
See vtkAlgorithm for details.
vtkUnstructuredGrid * GetUnstructuredGridOutput(int)
Get the output as an unstructured grid.
vtkUnstructuredGrid * GetUnstructuredGridOutput()
Get the output as an unstructured grid.
vtkPolyData * GetPolyDataOutput(int)
Get the output as a polygonal dataset.
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...
int RequestDataObject(vtkInformation *, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
see vtkAlgorithm for details
vtkHyperTreeGrid * GetHyperTreeGridOutput(int)
Get the output as a hyper tree grid.
int FillOutputPortInformation(int, vtkInformation *) override
Define default input and output port types.
void AddInputData(int, vtkDataObject *)
Assign a data object as input.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
int FillInputPortInformation(int, vtkInformation *) override
Define default input and output port types.
bool AppropriateOutput
If set, the output object will have the same type as the input object.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkHyperTreeGrid * GetHyperTreeGridOutput()
Get the output as a hyper tree grid.
virtual void SetOutput(vtkDataObject *)
Get the output data object for a port on this algorithm.
void SetInputData(vtkDataObject *)
Assign a data object as input.
vtkDataObject * GetOutput()
Get the output data object for a port on this algorithm.
void AddInputData(vtkDataObject *)
Assign a data object as input.
void SetInputData(int, vtkDataObject *)
Assign a data object as input.
vtkPolyData * GetPolyDataOutput()
Get the output as a polygonal dataset.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkHyperTreeGridAlgorithm() override
virtual int RequestUpdateTime(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkDataSetAttributes * OutData
Reference to input and output data.
vtkDataSetAttributes * InData
Reference to input and output data.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkDataObject * GetOutput(int)
Get the output data object for a port on this algorithm.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
concrete dataset represents vertices, lines, polygons, and triangle strips
dataset represents arbitrary combinations of all possible cell types
int vtkTypeBool
Definition vtkABI.h:64