VTK  9.1.0
vtkHyperTreeGridAlgorithm.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHyperTreeGridAlgorithm.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
35 #ifndef vtkHyperTreeGridAlgorithm_h
36 #define vtkHyperTreeGridAlgorithm_h
37 
38 #include "vtkAlgorithm.h"
39 #include "vtkCommonExecutionModelModule.h" // For export macro
40 
41 class vtkBitArray;
43 class vtkHyperTreeGrid;
44 class vtkPolyData;
46 
47 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkHyperTreeGridAlgorithm : public vtkAlgorithm
48 {
49 public:
51  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
54 
59  virtual void SetOutput(vtkDataObject*);
61 
63 
69 
71 
77 
79 
85 
91 
93 
101 
103 
111 
112 protected:
115 
120  vtkInformation*, vtkInformationVector** inputVector, vtkInformationVector* outputVector);
121 
122  // convenience method
124 
130 
136 
142 
144 
150 
152 
158 
160 
165 
166 private:
168  void operator=(const vtkHyperTreeGridAlgorithm&) = delete;
169 };
170 
171 #endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:64
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:34
general representation of visualization data
Definition: vtkDataObject.h:60
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
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:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
dataset represents arbitrary combinations of all possible cell types
int vtkTypeBool
Definition: vtkABI.h:69