dox/Filtering/vtkCone.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00040
#ifndef __vtkCone_h
00041
#define __vtkCone_h
00042
00043
#include "vtkImplicitFunction.h"
00044
00045 class VTK_FILTERING_EXPORT vtkCone :
public vtkImplicitFunction
00046 {
00047
public:
00049
static vtkCone *
New();
00050
00051 vtkTypeRevisionMacro(vtkCone,
vtkImplicitFunction);
00052
void PrintSelf(ostream& os,
vtkIndent indent);
00053
00055
00056
float EvaluateFunction(
float x[3]);
00057 float EvaluateFunction(
float x,
float y,
float z)
00058 {
return this->
vtkImplicitFunction::EvaluateFunction(x, y, z); } ;
00060
00062
void EvaluateGradient(
float x[3],
float g[3]);
00063
00065
00066 vtkSetClampMacro(Angle,
float,0.0f,89.0f);
00067 vtkGetMacro(Angle,
float);
00069
00070
protected:
00071 vtkCone();
00072 ~vtkCone() {};
00073
00074 float Angle;
00075
00076
private:
00077 vtkCone(
const vtkCone&);
00078
void operator=(
const vtkCone&);
00079 };
00080
00081
#endif
00082
00083