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=========================================================================*/
36#ifndef vtkHyperTreeGridAlgorithm_h
37#define vtkHyperTreeGridAlgorithm_h
38
39#include "vtkCommonExecutionModelModule.h" // For export macro
40#include "vtkAlgorithm.h"
41#include "vtkHyperTreeGrid.h" // makes things a bit easier
42
43class vtkDataSet;
45
46class VTKCOMMONEXECUTIONMODEL_EXPORT vtkHyperTreeGridAlgorithm : public vtkAlgorithm
47{
48public:
50 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
51
53
58 virtual void SetOutput(vtkDataObject* d);
60
66 vtkInformationVector*) VTK_OVERRIDE;
67
68 // this method is not recommended for use, but lots of old style filters
69 // use it
73
75
83
85
93
94protected:
97
98 // convenience method
99 virtual int RequestInformation(vtkInformation* request,
100 vtkInformationVector** inputVector,
101 vtkInformationVector* outputVector);
102
107 virtual int RequestData(vtkInformation* request,
108 vtkInformationVector** inputVector,
109 vtkInformationVector* outputVector);
110
115 virtual int RequestUpdateExtent(vtkInformation*,
118
119 // see algorithm for more info
120 int FillOutputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
121 int FillInputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
122
123private:
124 vtkHyperTreeGridAlgorithm(const vtkHyperTreeGridAlgorithm&) VTK_DELETE_FUNCTION;
125 void operator=(const vtkHyperTreeGridAlgorithm&) VTK_DELETE_FUNCTION;
126};
127
128#endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:60
general representation of visualization data
Definition: vtkDataObject.h:65
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
Superclass for algorithms that produce a hyper tree grid as output.
vtkDataObject * GetInput(int port)
vtkHyperTreeGrid * GetOutput()
Get the output data object for a port on this algorithm.
void AddInputData(int, vtkDataObject *)
virtual void SetOutput(vtkDataObject *d)
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
void SetInputData(vtkDataObject *)
Assign a data object as input.
void AddInputData(vtkDataObject *)
Assign a data object as input.
void SetInputData(int, vtkDataObject *)
vtkDataObject * GetInput()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkHyperTreeGridAlgorithm() override
vtkHyperTreeGrid * GetHyperTreeGridInput(int port)
vtkHyperTreeGrid * GetOutput(int)
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447