VTK
vtkHierarchicalBoxDataSetAlgorithm.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHierarchicalBoxDataSetAlgorithm.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 =========================================================================*/
24 #ifndef __vtkHierarchicalBoxDataSetAlgorithm_h
25 #define __vtkHierarchicalBoxDataSetAlgorithm_h
26 
27 #include "vtkAlgorithm.h"
28 
31 {
32 public:
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
38 
39  vtkHierarchicalBoxDataSet* GetOutput();
40  vtkHierarchicalBoxDataSet* GetOutput(int);
42 
44 
51  void SetInput(vtkDataObject*);
52  void SetInput(int, vtkDataObject*);
54 
56 
57  virtual int ProcessRequest(vtkInformation* request,
58  vtkInformationVector** inputVector,
59  vtkInformationVector* outputVector);
61 
62 //BTX
63 protected:
66 
68 
70  virtual int RequestDataObject(vtkInformation*,
72  vtkInformationVector*) {return 1;};
74 
76 
78  virtual int RequestInformation(vtkInformation*,
80  vtkInformationVector*) {return 1;};
82 
84 
86  virtual int RequestData(vtkInformation*,
88  vtkInformationVector*) {return 1;};
90 
92 
94  virtual int RequestUpdateExtent(vtkInformation*,
97  {
98  return 1;
99  };
101 
102  // Create a default executive.
104 
105  // see algorithm for more info
108 
109  vtkDataObject *GetInput(int port);
110 
111 private:
113  void operator=(const vtkHierarchicalBoxDataSetAlgorithm&); // Not implemented.
114 //ETX
115 };
116 
117 #endif
118 
119