• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Filtering/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 =========================================================================*/
00033 #ifndef __vtkCone_h
00034 #define __vtkCone_h
00035 
00036 #include "vtkImplicitFunction.h"
00037 
00038 class VTK_FILTERING_EXPORT vtkCone : public vtkImplicitFunction
00039 {
00040 public:
00042   static vtkCone *New();
00043 
00044   vtkTypeRevisionMacro(vtkCone,vtkImplicitFunction);
00045   void PrintSelf(ostream& os, vtkIndent indent);
00046   
00048 
00049   double EvaluateFunction(double x[3]);
00050   double EvaluateFunction(double x, double y, double z)
00051     {return this->vtkImplicitFunction::EvaluateFunction(x, y, z); } ;
00053 
00055   void EvaluateGradient(double x[3], double g[3]);
00056 
00058 
00059   vtkSetClampMacro(Angle,double,0.0,89.0);
00060   vtkGetMacro(Angle,double);
00062 
00063 protected:
00064   vtkCone();
00065   ~vtkCone() {};
00066 
00067   double Angle;
00068 
00069 private:
00070   vtkCone(const vtkCone&);  // Not implemented.
00071   void operator=(const vtkCone&);  // Not implemented.
00072 };
00073 
00074 #endif
00075 
00076 

Generated by  doxygen 1.7.1