VTK
dox/Accelerators/Piston/vtkDataSetToPiston.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkDataSetToPiston.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00029 #ifndef __vtkDataSetToPiston_h
00030 #define __vtkDataSetToPiston_h
00031 
00032 #include "vtkPistonAlgorithm.h"
00033 
00034 class vtkDataSet;
00035 
00036 class VTKACCELERATORSPISTON_EXPORT vtkDataSetToPiston : public vtkPistonAlgorithm
00037 {
00038 public:
00039   static vtkDataSetToPiston *New();
00040   vtkTypeMacro(vtkDataSetToPiston,vtkPistonAlgorithm);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00043 protected:
00044   vtkDataSetToPiston();
00045   ~vtkDataSetToPiston();
00046 
00048 
00049   virtual int RequestData(vtkInformation* request,
00050                           vtkInformationVector** inputVector,
00051                           vtkInformationVector* outputVector);
00053 
00055   virtual int FillInputPortInformation(int, vtkInformation*);
00056 
00057 private:
00058   vtkDataSetToPiston(const vtkDataSetToPiston&);  // Not implemented.
00059   void operator=(const vtkDataSetToPiston&);  // Not implemented.
00060 };
00061 
00062 #endif