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 
43 class vtkDataSet;
44 class vtkHyperTreeGrid;
45 
46 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkHyperTreeGridAlgorithm : public vtkAlgorithm
47 {
48 public:
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 
94 protected:
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 
123 private:
124  vtkHyperTreeGridAlgorithm(const vtkHyperTreeGridAlgorithm&) VTK_DELETE_FUNCTION;
125  void operator=(const vtkHyperTreeGridAlgorithm&) VTK_DELETE_FUNCTION;
126 };
127 
128 #endif
vtkHyperTreeGridAlgorithm::GetOutput
vtkHyperTreeGrid * GetOutput(int)
vtkHyperTreeGridAlgorithm::GetOutput
vtkHyperTreeGrid * GetOutput()
Get the output data object for a port on this algorithm.
vtkHyperTreeGridAlgorithm::SetOutput
virtual void SetOutput(vtkDataObject *d)
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:60
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkHyperTreeGridAlgorithm::GetHyperTreeGridInput
vtkHyperTreeGrid * GetHyperTreeGridInput(int port)
vtkHyperTreeGridAlgorithm::ProcessRequest
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
vtkHyperTreeGridAlgorithm::GetInput
vtkDataObject * GetInput()
vtkHyperTreeGridAlgorithm::vtkHyperTreeGridAlgorithm
vtkHyperTreeGridAlgorithm()
vtkHyperTreeGridAlgorithm::GetInput
vtkDataObject * GetInput(int port)
vtkHyperTreeGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAlgorithm.h
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkHyperTreeGridAlgorithm::AddInputData
void AddInputData(int, vtkDataObject *)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkHyperTreeGrid.h
vtkHyperTreeGridAlgorithm::SetInputData
void SetInputData(int, vtkDataObject *)
vtkHyperTreeGridAlgorithm::AddInputData
void AddInputData(vtkDataObject *)
Assign a data object as input.
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkHyperTreeGridAlgorithm::~vtkHyperTreeGridAlgorithm
~vtkHyperTreeGridAlgorithm() override
vtkHyperTreeGridAlgorithm::SetInputData
void SetInputData(vtkDataObject *)
Assign a data object as input.
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
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:69