VTK
vtkPistonAlgorithm.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPistonAlgorithm.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 vtkPistonAlgorithm_h
36 #define vtkPistonAlgorithm_h
37 
38 #include "vtkAcceleratorsPistonModule.h" // For export macro
39 #include "vtkAlgorithm.h"
40 
42 
43 class VTKACCELERATORSPISTON_EXPORT vtkPistonAlgorithm : public vtkAlgorithm
44 {
45 public:
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
51 
56 
57 
61 
63 
67  void SetInputData(vtkDataObject *input) { this->SetInputData(0, input); };
69 
70 protected:
73 
75 
79 
81 
82  virtual int RequestDataObject(vtkInformation* request,
83  vtkInformationVector** inputVector,
84  vtkInformationVector* outputVector);
86 
88 
89  virtual int RequestInformation(vtkInformation* request,
90  vtkInformationVector** inputVector,
91  vtkInformationVector* outputVector);
93 
95 
100 
102 
103  virtual int RequestData(vtkInformation* request,
104  vtkInformationVector** inputVector,
105  vtkInformationVector* outputVector);
107 
109 
113  vtkPistonDataObject *od);
115 
116 private:
117  vtkPistonAlgorithm(const vtkPistonAlgorithm&); // Not implemented.
118  void operator=(const vtkPistonAlgorithm&); // Not implemented.
119 };
120 
121 #endif
vtkPistonAlgorithm::SetInputData
void SetInputData(int num, vtkDataObject *input)
vtkPistonAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkPistonDataObject
A GPU resident data set.
Definition: vtkPistonDataObject.h:42
vtkPistonAlgorithm::FillOutputPortInformation
virtual int FillOutputPortInformation(int port, vtkInformation *info)
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:62
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkPistonAlgorithm::New
static vtkPistonAlgorithm * New()
vtkgl::input
GLenum GLenum GLenum input
Definition: vtkgl.h:15941
vtkPistonAlgorithm::RequestDataObject
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkAlgorithm.h
vtkPistonAlgorithm
Superclass for algorithms that produce only PistonDataObjects.
Definition: vtkPistonAlgorithm.h:44
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkPistonAlgorithm::GetPistonDataObjectOutput
vtkPistonDataObject * GetPistonDataObjectOutput(int port)
vtkPistonAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkgl::num
GLuint GLuint num
Definition: vtkgl.h:16907
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkPistonAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkPistonAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkPistonAlgorithm::~vtkPistonAlgorithm
~vtkPistonAlgorithm()
vtkPistonAlgorithm::SetInputData
void SetInputData(vtkDataObject *input)
Definition: vtkPistonAlgorithm.h:67
vtkPistonAlgorithm::PassBoundsForward
virtual void PassBoundsForward(vtkPistonDataObject *id, vtkPistonDataObject *od)
vtkPistonAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkPistonAlgorithm::vtkPistonAlgorithm
vtkPistonAlgorithm()
vtkPistonAlgorithm::ProcessRequest
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)