42 #ifndef __vtkEllipticalButtonSource_h
43 #define __vtkEllipticalButtonSource_h
45 #include "vtkFiltersSourcesModule.h"
64 vtkGetMacro(Width,
double);
70 vtkGetMacro(Height,
double);
76 vtkGetMacro(Depth,
double);
83 vtkGetMacro(CircumferentialResolution,
int);
90 vtkGetMacro(TextureResolution,
int);
97 vtkGetMacro(ShoulderResolution,
int);
109 vtkGetMacro(RadialRatio,
double);
135 double ComputeDepth(
int inTextureRegion,
double x,
double y,
double n[3]);
136 void InterpolateCurve(
int inTextureRegion,
vtkPoints *newPts,
int numPts,
138 int res,
int c1StartPoint,
int c1Incr,
139 int c2StartPoint,
int s2Incr,
int startPoint,
int incr);
140 void CreatePolygons(
vtkCellArray *newPolys,
int num,
int res,
int startIdx);
141 void IntersectEllipseWithLine(
double a2,
double b2,
double dX,
double dY,
142 double& xe,
double& ye);