Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Filtering/vtkImplicitWindowFunction.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImplicitWindowFunction.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00039 #ifndef __vtkImplicitWindowFunction_h 00040 #define __vtkImplicitWindowFunction_h 00041 00042 #include "vtkImplicitFunction.h" 00043 00044 class VTK_FILTERING_EXPORT vtkImplicitWindowFunction : public vtkImplicitFunction 00045 { 00046 public: 00047 vtkTypeRevisionMacro(vtkImplicitWindowFunction,vtkImplicitFunction); 00048 void PrintSelf(ostream& os, vtkIndent indent); 00049 00051 static vtkImplicitWindowFunction *New(); 00052 00054 00055 float EvaluateFunction(float x[3]); 00056 float EvaluateFunction(float x, float y, float z) 00057 {return this->vtkImplicitFunction::EvaluateFunction(x, y, z); } ; 00059 00062 void EvaluateGradient(float x[3], float n[3]); 00063 00065 00066 virtual void SetImplicitFunction(vtkImplicitFunction*); 00067 vtkGetObjectMacro(ImplicitFunction,vtkImplicitFunction); 00069 00071 00074 vtkSetVector2Macro(WindowRange,float); 00075 vtkGetVectorMacro(WindowRange,float,2); 00077 00079 00082 vtkSetVector2Macro(WindowValues,float); 00083 vtkGetVectorMacro(WindowValues,float,2); 00085 00087 unsigned long GetMTime(); 00088 00089 protected: 00090 vtkImplicitWindowFunction(); 00091 ~vtkImplicitWindowFunction(); 00092 00093 vtkImplicitFunction *ImplicitFunction; 00094 float WindowRange[2]; 00095 float WindowValues[2]; 00096 00097 private: 00098 vtkImplicitWindowFunction(const vtkImplicitWindowFunction&); // Not implemented. 00099 void operator=(const vtkImplicitWindowFunction&); // Not implemented. 00100 }; 00101 00102 #endif 00103 00104