VTK
vtkPistonToDataSet.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPistonToDataSet.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 =========================================================================*/
30 #ifndef vtkPistonToDataSet_h
31 #define vtkPistonToDataSet_h
32 
33 #include "vtkPistonAlgorithm.h"
34 
35 class vtkDataSet;
36 
37 class VTKACCELERATORSPISTON_EXPORT vtkPistonToDataSet : public vtkPistonAlgorithm
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
51  vtkSetMacro(OutputDataSetType, int);
52  vtkGetMacro(OutputDataSetType, int);
54 
60 
61 protected:
64 
69 
73  virtual int RequestDataObject(vtkInformation* request,
74  vtkInformationVector** inputVector,
75  vtkInformationVector* outputVector);
76 
80  virtual int RequestData(vtkInformation* request,
81  vtkInformationVector** inputVector,
82  vtkInformationVector* outputVector);
83 
85 
86 private:
87  vtkPistonToDataSet(const vtkPistonToDataSet&) VTK_DELETE_FUNCTION;
88  void operator=(const vtkPistonToDataSet&) VTK_DELETE_FUNCTION;
89 };
90 
91 #endif
vtkPistonAlgorithm.h
vtkPistonToDataSet::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkPistonToDataSet::OutputDataSetType
int OutputDataSetType
Definition: vtkPistonToDataSet.h:84
vtkPistonToDataSet::vtkPistonToDataSet
vtkPistonToDataSet()
vtkPistonToDataSet::RequestDataObject
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Overriden to create whatever output data set type is selected.
vtkPistonAlgorithm
Superclass for algorithms that produce only PistonDataObjects.
Definition: vtkPistonAlgorithm.h:45
vtkPistonToDataSet
converts a PistonDataObject to a DataSet
Definition: vtkPistonToDataSet.h:38
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkPistonToDataSet::GetDataSetOutput
vtkDataSet * GetDataSetOutput(int port)
A convenience method to reduce code duplication that gets the output as the expected type or NULL.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkPistonToDataSet::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Method that does the actual calculation.
vtkPistonToDataSet::~vtkPistonToDataSet
~vtkPistonToDataSet()
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkPistonToDataSet::New
static vtkPistonToDataSet * New()
vtkPistonToDataSet::FillOutputPortInformation
virtual int FillOutputPortInformation(int, vtkInformation *)
Overridden to say that we produce vtkDataSet.