VTK
dox/Accelerators/Piston/vtkPistonContour.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkPistonContour.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 =========================================================================*/
00024 #ifndef __vtkPistonContour_h
00025 #define __vtkPistonContour_h
00026 
00027 #include "vtkPistonAlgorithm.h"
00028 
00029 class VTKACCELERATORSPISTON_EXPORT vtkPistonContour : public vtkPistonAlgorithm
00030 {
00031 public:
00032   vtkTypeMacro(vtkPistonContour,vtkPistonAlgorithm);
00033   static vtkPistonContour *New();
00034   void PrintSelf(ostream &os, vtkIndent indent);
00035 
00037 
00038   vtkSetMacro(IsoValue, float);
00039   vtkGetMacro(IsoValue, float);
00040 protected:
00041   vtkPistonContour();
00042   ~vtkPistonContour();
00044 
00046 
00047   virtual int RequestData(vtkInformation* request,
00048                           vtkInformationVector** inputVector,
00049                           vtkInformationVector* outputVector);
00051 
00052   float IsoValue;
00053 
00054 private:
00055   vtkPistonContour(const vtkPistonContour&);  // Not implemented.
00056   void operator=(const vtkPistonContour&);  // Not implemented.
00057 
00058 };
00059 
00060 #endif