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 
58  virtual void SetOutput( vtkDataObject* );
60 
62 
68 
70 
76 
78 
84 
90  vtkInformationVector*) override;
91 
93 
99  void SetInputData( int, vtkDataObject* );
101 
103 
111 
112 protected:
115 
116  // convenience method
120 
128 
136 
142  vtkDataObject* ) = 0;
143 
145 
151 
154 
155 private:
157  void operator=(const vtkHyperTreeGridAlgorithm&) = delete;
158 };
159 
160 #endif
vtkHyperTreeGridAlgorithm::InData
vtkDataSetAttributes * InData
Definition: vtkHyperTreeGridAlgorithm.h:152
vtkHyperTreeGridAlgorithm::GetOutput
vtkDataObject * GetOutput()
Get the output data object for a port on this algorithm.
vtkHyperTreeGridAlgorithm::GetHyperTreeGridOutput
vtkHyperTreeGrid * GetHyperTreeGridOutput()
Get the output as a hyper tree grid.
vtkHyperTreeGridAlgorithm::SetOutput
virtual void SetOutput(vtkDataObject *)
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:60
vtkDataSetAttributes
represent and manipulate attribute data in a dataset
Definition: vtkDataSetAttributes.h:60
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkHyperTreeGridAlgorithm::GetUnstructuredGridOutput
vtkUnstructuredGrid * GetUnstructuredGridOutput()
Get the output as an unstructured grid.
vtkHyperTreeGridAlgorithm::ProcessTrees
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...
vtkHyperTreeGridAlgorithm::ProcessRequest
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
See vtkAlgorithm for details.
vtkHyperTreeGridAlgorithm::OutData
vtkDataSetAttributes * OutData
Definition: vtkHyperTreeGridAlgorithm.h:153
vtkHyperTreeGridAlgorithm::vtkHyperTreeGridAlgorithm
vtkHyperTreeGridAlgorithm()
vtkHyperTreeGridAlgorithm::GetUnstructuredGridOutput
vtkUnstructuredGrid * GetUnstructuredGridOutput(int)
vtkHyperTreeGridAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkHyperTreeGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAlgorithm.h
vtkHyperTreeGridAlgorithm::GetOutput
vtkDataObject * GetOutput(int)
vtkHyperTreeGridAlgorithm::AddInputData
void AddInputData(int, vtkDataObject *)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkHyperTreeGridAlgorithm::SetInputData
void SetInputData(int, vtkDataObject *)
vtkHyperTreeGridAlgorithm::GetPolyDataOutput
vtkPolyData * GetPolyDataOutput(int)
vtkHyperTreeGridAlgorithm::AddInputData
void AddInputData(vtkDataObject *)
Assign a data object as input.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkHyperTreeGridAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkHyperTreeGridAlgorithm::~vtkHyperTreeGridAlgorithm
~vtkHyperTreeGridAlgorithm() override
vtkHyperTreeGridAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
vtkHyperTreeGridAlgorithm::SetInputData
void SetInputData(vtkDataObject *)
Assign a data object as input.
vtkHyperTreeGridAlgorithm::GetPolyDataOutput
vtkPolyData * GetPolyDataOutput()
Get the output as a polygonal dataset.
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
vtkBitArray
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:37
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:89
vtkHyperTreeGridAlgorithm::GetHyperTreeGridOutput
vtkHyperTreeGrid * GetHyperTreeGridOutput(int)
vtkHyperTreeGridAlgorithm::FillInputPortInformation
int FillInputPortInformation(int, vtkInformation *) override
Define default input and output port types.
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkHyperTreeGridAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkHyperTreeGridAlgorithm
Superclass for algorithms that produce a hyper tree grid as output.
Definition: vtkHyperTreeGridAlgorithm.h:47
vtkHyperTreeGrid
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
Definition: vtkHyperTreeGrid.h:71