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 
29 class vtkHierarchicalBoxDataSet;
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 
72  vtkInformationVector*) {return 1;};
74 
76 
80  vtkInformationVector*) {return 1;};
82 
84 
86  virtual int RequestData(vtkInformation*,
88  vtkInformationVector*) {return 1;};
90 
92 
97  {
98  return 1;
99  };
101 
102  // Create a default executive.
103  virtual vtkExecutive* CreateDefaultExecutive();
104 
105  // see algorithm for more info
106  virtual int FillOutputPortInformation(int port, vtkInformation* info);
107  virtual int FillInputPortInformation(int port, vtkInformation* 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 
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual vtkExecutive * CreateDefaultExecutive()
Store vtkAlgorithm input/output information.
#define VTK_FILTERING_EXPORT
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:59
virtual int FillOutputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:37
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
superclass for algorithms that produce vtkHierarchicalBoxDataSet as output.
helper class to get VTK data object types as string and instantiate them
void PrintSelf(ostream &os, vtkIndent indent)