VTK
vtkDataSetToPiston.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDataSetToPiston.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 vtkDataSetToPiston_h
31 #define vtkDataSetToPiston_h
32 
33 #include "vtkPistonAlgorithm.h"
34 
35 class vtkDataSet;
36 
37 class VTKACCELERATORSPISTON_EXPORT vtkDataSetToPiston : public vtkPistonAlgorithm
38 {
39 public:
40  static vtkDataSetToPiston *New();
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
44 protected:
47 
51  virtual int RequestData(vtkInformation* request,
52  vtkInformationVector** inputVector,
53  vtkInformationVector* outputVector);
54 
58  virtual int FillInputPortInformation(int, vtkInformation*);
59 
60 private:
61  vtkDataSetToPiston(const vtkDataSetToPiston&) VTK_DELETE_FUNCTION;
62  void operator=(const vtkDataSetToPiston&) VTK_DELETE_FUNCTION;
63 };
64 
65 #endif
static vtkPistonAlgorithm * New()
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
Superclass for algorithms that produce only PistonDataObjects.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Method that does the actual calculation.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Overridden to say that we take in and produce vtkPistonDataObjects.
Store zero or more vtkInformation instances.
converts a DataSet to a PistonDataObject
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.