VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPistonThreshold.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 __vtkPistonThreshold_h 00025 #define __vtkPistonThreshold_h 00026 00027 #include "vtkPistonAlgorithm.h" 00028 00029 class VTKACCELERATORSPISTON_EXPORT vtkPistonThreshold : public vtkPistonAlgorithm 00030 { 00031 public: 00032 vtkTypeMacro(vtkPistonThreshold,vtkPistonAlgorithm); 00033 static vtkPistonThreshold *New(); 00034 void PrintSelf(ostream& os, vtkIndent indent); 00035 00037 00038 vtkSetMacro(MinValue, float); 00039 vtkGetMacro(MinValue, float); 00041 00043 00044 vtkSetMacro(MaxValue, float); 00045 vtkGetMacro(MaxValue, float); 00046 protected: 00047 vtkPistonThreshold(); 00048 ~vtkPistonThreshold(); 00050 00052 00053 virtual int RequestData(vtkInformation* request, 00054 vtkInformationVector** inputVector, 00055 vtkInformationVector* outputVector); 00057 00058 00059 float MinValue; 00060 float MaxValue; 00061 00062 private: 00063 vtkPistonThreshold(const vtkPistonThreshold&); // Not implemented. 00064 void operator=(const vtkPistonThreshold&); // Not implemented. 00065 00066 }; 00067 00068 #endif