42 #ifndef __vtkEllipticalButtonSource_h
43 #define __vtkEllipticalButtonSource_h
63 vtkGetMacro(Width,
double);
69 vtkGetMacro(Height,
double);
75 vtkGetMacro(Depth,
double);
82 vtkGetMacro(CircumferentialResolution,
int);
89 vtkGetMacro(TextureResolution,
int);
96 vtkGetMacro(ShoulderResolution,
int);
108 vtkGetMacro(RadialRatio,
double);
134 double ComputeDepth(
int inTextureRegion,
double x,
double y,
double n[3]);
135 void InterpolateCurve(
int inTextureRegion,
vtkPoints *newPts,
int numPts,
137 int res,
int c1StartPoint,
int c1Incr,
138 int c2StartPoint,
int s2Incr,
int startPoint,
int incr);
139 void CreatePolygons(
vtkCellArray *newPolys,
int num,
int res,
int startIdx);
140 void IntersectEllipseWithLine(
double a2,
double b2,
double dX,
double dY,
141 double& xe,
double& ye);