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 =========================================================================*/
25 #ifndef vtkHierarchicalBoxDataSetAlgorithm_h
26 #define vtkHierarchicalBoxDataSetAlgorithm_h
27 
28 #include "vtkCommonExecutionModelModule.h" // For export macro
29 #include "vtkAlgorithm.h"
30 
32 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkHierarchicalBoxDataSetAlgorithm : public vtkAlgorithm
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
38 
40 
43  vtkHierarchicalBoxDataSet* GetOutput();
44  vtkHierarchicalBoxDataSet* GetOutput(int);
46 
48 
53  void SetInputData(vtkDataObject*);
54  void SetInputData(int, vtkDataObject*);
56 
60  int ProcessRequest(vtkInformation* request,
61  vtkInformationVector** inputVector,
62  vtkInformationVector* outputVector) VTK_OVERRIDE;
63 
64 protected:
66  ~vtkHierarchicalBoxDataSetAlgorithm() VTK_OVERRIDE;
67 
72  virtual int RequestDataObject(vtkInformation*,
74  vtkInformationVector*) {return 1;};
75 
82  vtkInformationVector*) {return 1;};
83 
90  vtkInformationVector*) {return 1;};
91 
93 
100  {
101  return 1;
102  };
104 
105  // Create a default executive.
106  vtkExecutive* CreateDefaultExecutive() VTK_OVERRIDE;
107 
108  // see algorithm for more info
109  int FillOutputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
110  int FillInputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
111 
112  vtkDataObject *GetInput(int port);
113 
114 private:
116  void operator=(const vtkHierarchicalBoxDataSetAlgorithm&) VTK_DELETE_FUNCTION;
117 
118 };
119 
120 #endif
121 
122 
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual vtkExecutive * CreateDefaultExecutive()
Create a default executive.
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
Backwards compatibility class.
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:49
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:59
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
superclass for algorithms that produce vtkHierarchicalBoxDataSet as output.
general representation of visualization data
Definition: vtkDataObject.h:64