VTK
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 =========================================================================*/
34 #ifndef vtkHyperTreeGridAlgorithm_h
35 #define vtkHyperTreeGridAlgorithm_h
36 
37 #include "vtkCommonExecutionModelModule.h" // For export macro
38 #include "vtkAlgorithm.h"
39 
40 class vtkBitArray;
42 class vtkHyperTreeGrid;
43 class vtkPolyData;
45 
46 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkHyperTreeGridAlgorithm : public vtkAlgorithm
47 {
48 public:
50  void PrintSelf(ostream& os, vtkIndent indent) override;
51 
53 
56  vtkDataObject* GetOutput();
57  vtkDataObject* GetOutput( int );
58  virtual void SetOutput( vtkDataObject* );
60 
62 
65  vtkHyperTreeGrid* GetHyperTreeGridOutput();
66  vtkHyperTreeGrid* GetHyperTreeGridOutput( int );
68 
70 
73  vtkPolyData* GetPolyDataOutput();
74  vtkPolyData* GetPolyDataOutput( int );
76 
78 
81  vtkUnstructuredGrid* GetUnstructuredGridOutput();
82  vtkUnstructuredGrid* GetUnstructuredGridOutput( int );
84 
90  vtkInformationVector*) override;
91 
93 
98  void SetInputData( vtkDataObject* );
99  void SetInputData( int, vtkDataObject* );
101 
103 
108  void AddInputData( vtkDataObject* );
109  void AddInputData( int, vtkDataObject* );
111 
112 protected:
114  ~vtkHyperTreeGridAlgorithm() override;
115 
116  // convenience method
117  virtual int RequestInformation( vtkInformation*,
120 
125  virtual int RequestData( vtkInformation*,
128 
133  virtual int RequestUpdateExtent( vtkInformation*,
136 
141  virtual int ProcessTrees( vtkHyperTreeGrid*,
142  vtkDataObject* ) = 0;
143 
145 
148  int FillInputPortInformation( int, vtkInformation* ) override;
149  int FillOutputPortInformation( int, vtkInformation* ) override;
151 
154 
155 private:
157  void operator=(const vtkHyperTreeGridAlgorithm&) = delete;
158 };
159 
160 #endif
Store vtkAlgorithm input/output information.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:59
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
a simple class to control print indentation
Definition: vtkIndent.h:39
dataset represents arbitrary combinations of all possible cell types
represent and manipulate attribute data in a dataset
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:36
Superclass for algorithms that produce a hyper tree grid as output.
Store zero or more vtkInformation instances.
general representation of visualization data
Definition: vtkDataObject.h:64