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

vtkCone.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkCone.h,v $
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 =========================================================================*/
00036 #ifndef __vtkCone_h
00037 #define __vtkCone_h
00038 
00039 #include "vtkImplicitFunction.h"
00040 
00041 class VTK_FILTERING_EXPORT vtkCone : public vtkImplicitFunction
00042 {
00043 public:
00045   static vtkCone *New();
00046 
00047   vtkTypeRevisionMacro(vtkCone,vtkImplicitFunction);
00048   void PrintSelf(ostream& os, vtkIndent indent);
00049   
00051 
00052   double EvaluateFunction(double x[3]);
00053   double EvaluateFunction(double x, double y, double z)
00054     {return this->vtkImplicitFunction::EvaluateFunction(x, y, z); } ;
00056 
00058   void EvaluateGradient(double x[3], double g[3]);
00059 
00061 
00062   vtkSetClampMacro(Angle,double,0.0,89.0);
00063   vtkGetMacro(Angle,double);
00065 
00066 protected:
00067   vtkCone();
00068   ~vtkCone() {};
00069 
00070   double Angle;
00071 
00072 private:
00073   vtkCone(const vtkCone&);  // Not implemented.
00074   void operator=(const vtkCone&);  // Not implemented.
00075 };
00076 
00077 #endif
00078 
00079 

Generated on Mon Jan 21 23:07:18 2008 for VTK by  doxygen 1.4.3-20050530