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
35class vtkDataSet;
36
37class VTKACCELERATORSPISTON_EXPORT vtkDataSetToPiston : public vtkPistonAlgorithm
38{
39public:
42 void PrintSelf(ostream& os, vtkIndent indent);
43
44protected:
47
51 virtual int RequestData(vtkInformation* request,
52 vtkInformationVector** inputVector,
53 vtkInformationVector* outputVector);
54
59
60private:
61 vtkDataSetToPiston(const vtkDataSetToPiston&) VTK_DELETE_FUNCTION;
62 void operator=(const vtkDataSetToPiston&) VTK_DELETE_FUNCTION;
63};
64
65#endif
converts a DataSet to a PistonDataObject
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkDataSetToPiston * New()
virtual int FillInputPortInformation(int, vtkInformation *)
Overridden to say that we require vtkDataSet inputs.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Method that does the actual calculation.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only PistonDataObjects.