VTK  9.3.20240304
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 
29 VTK_ABI_NAMESPACE_BEGIN
30 class vtkBitArray;
32 class vtkHyperTreeGrid;
33 class vtkPolyData;
35 
36 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkHyperTreeGridAlgorithm : public vtkAlgorithm
37 {
38 public:
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 
101 protected:
104 
109  vtkInformation*, vtkInformationVector** inputVector, vtkInformationVector* outputVector);
110 
111  // convenience method
113 
119 
125 
127 
133 
135 
141 
143 
149 
151 
156 
157 private:
159  void operator=(const vtkHyperTreeGridAlgorithm&) = delete;
160 };
161 
162 VTK_ABI_NAMESPACE_END
163 #endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:161
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.
vtkDataObject * GetOutput(int)
Get the output data object for a port on this algorithm.
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...
vtkHyperTreeGrid * GetHyperTreeGridOutput(int)
Get the output as a hyper tree grid.
int RequestDataObject(vtkInformation *, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
see vtkAlgorithm for details
vtkPolyData * GetPolyDataOutput()
Get the output as a polygonal dataset.
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.
vtkPolyData * GetPolyDataOutput(int)
Get the output as a polygonal dataset.
int FillInputPortInformation(int, vtkInformation *) override
Define default input and output port types.
bool AppropriateOutput
JB Si a vrai, l'objet output aura le meme type que le type d'objet en entree input.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual void SetOutput(vtkDataObject *)
Get the output data object for a port on this algorithm.
void SetInputData(vtkDataObject *)
Assign a data object as input.
void AddInputData(vtkDataObject *)
Assign a data object as input.
void SetInputData(int, vtkDataObject *)
Assign a data object as input.
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.
vtkUnstructuredGrid * GetUnstructuredGridOutput(int)
Get the output as an unstructured grid.
vtkDataObject * GetOutput()
Get the output data object for a port on this algorithm.
vtkDataSetAttributes * InData
Reference to input and output data.
vtkUnstructuredGrid * GetUnstructuredGridOutput()
Get the output as an unstructured grid.
vtkHyperTreeGrid * GetHyperTreeGridOutput()
Get the output as a hyper tree grid.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
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
Definition: vtkPolyData.h:180
dataset represents arbitrary combinations of all possible cell types
int vtkTypeBool
Definition: vtkABI.h:64