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 =========================================================================*/
35 #ifndef vtkHyperTreeGridAlgorithm_h
36 #define vtkHyperTreeGridAlgorithm_h
37 
38 #include "vtkCommonExecutionModelModule.h" // For export macro
39 #include "vtkAlgorithm.h"
40 #include "vtkHyperTreeGrid.h" // makes things a bit easier
41 
42 class vtkDataSet;
43 class vtkHyperTreeGrid;
44 
46 {
47 public:
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
53  vtkHyperTreeGrid *GetOutput();
54  vtkHyperTreeGrid *GetOutput(int);
55  virtual void SetOutput(vtkDataObject* d);
57 
59 
60  virtual int ProcessRequest(vtkInformation*,
64 
65  // this method is not recommended for use, but lots of old style filters
66  // use it
67  vtkDataObject* GetInput();
68  vtkDataObject *GetInput(int port);
69  vtkHyperTreeGrid *GetHyperTreeGridInput(int port);
70 
72 
75  void SetInputData(vtkDataObject *);
76  void SetInputData(int, vtkDataObject*);
78 
80 
83  void AddInputData(vtkDataObject *);
84  void AddInputData(int, vtkDataObject*);
86 
87 protected:
90 
91  // convenience method
92  virtual int RequestInformation(vtkInformation* request,
93  vtkInformationVector** inputVector,
94  vtkInformationVector* outputVector);
95 
97 
99  virtual int RequestData(vtkInformation* request,
100  vtkInformationVector** inputVector,
101  vtkInformationVector* outputVector);
103 
105 
107  virtual int RequestUpdateExtent(vtkInformation*,
111 
112  // see algorithm for more info
115 
116 private:
117  vtkHyperTreeGridAlgorithm(const vtkHyperTreeGridAlgorithm&); // Not implemented.
118  void operator=(const vtkHyperTreeGridAlgorithm&); // Not implemented.
119 };
120 
121 #endif
#define VTKCOMMONEXECUTIONMODEL_EXPORT
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:61
virtual int FillOutputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int FillInputPortInformation(int port, vtkInformation *info)
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
void PrintSelf(ostream &os, vtkIndent indent)