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
41class vtkBitArray;
44class vtkPolyData;
46
47class VTKCOMMONEXECUTIONMODEL_EXPORT vtkHyperTreeGridAlgorithm : public vtkAlgorithm
48{
49public:
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
112protected:
115
120 vtkInformation*, vtkInformationVector** inputVector, vtkInformationVector* outputVector);
121
122 // convenience method
124
130
136
142
144
150
152
158
160
165
166private:
168 void operator=(const vtkHyperTreeGridAlgorithm&) = delete;
169};
170
171#endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:114
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:34
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
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.
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
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:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:195
dataset represents arbitrary combinations of all possible cell types
int vtkTypeBool
Definition: vtkABI.h:69