dox/Filtering/vtkCylinder.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00036
#ifndef __vtkCylinder_h
00037
#define __vtkCylinder_h
00038
00039
#include "vtkImplicitFunction.h"
00040
00041 class VTK_FILTERING_EXPORT vtkCylinder :
public vtkImplicitFunction
00042 {
00043
public:
00044 vtkTypeRevisionMacro(vtkCylinder,
vtkImplicitFunction);
00045
void PrintSelf(ostream& os,
vtkIndent indent);
00046
00048
static vtkCylinder *
New();
00049
00051
00052
float EvaluateFunction(
float x[3]);
00053 float EvaluateFunction(
float x,
float y,
float z)
00054 {
return this->
vtkImplicitFunction::EvaluateFunction(x, y, z); } ;
00056
00058
void EvaluateGradient(
float x[3],
float g[3]);
00059
00061
00062 vtkSetMacro(Radius,
float);
00063 vtkGetMacro(Radius,
float);
00065
00067
00068 vtkSetVector3Macro(Center,
float);
00069 vtkGetVectorMacro(Center,
float,3);
00071
protected:
00072 vtkCylinder();
00073 ~vtkCylinder() {};
00074
00075 float Radius;
00076 float Center[3];
00077
00078
private:
00079 vtkCylinder(
const vtkCylinder&);
00080
void operator=(
const vtkCylinder&);
00081 };
00082
00083
#endif
00084
00085