Go to the documentation of this file.
61 #ifndef vtkSphereWidget_h
62 #define vtkSphereWidget_h
77 #define VTK_SPHERE_OFF 0
78 #define VTK_SPHERE_WIREFRAME 1
79 #define VTK_SPHERE_SURFACE 2
95 {this->Superclass::PlaceWidget();}
96 void PlaceWidget(
double xmin,
double xmax,
double ymin,
double ymax,
97 double zmin,
double zmax)
98 {this->Superclass::PlaceWidget(xmin,xmax,ymin,ymax,zmin,
zmax);}
119 { this->SphereSource->SetThetaResolution(
r); }
121 {
return this->SphereSource->GetThetaResolution(); }
128 { this->SphereSource->SetPhiResolution(
r); }
130 {
return this->SphereSource->GetPhiResolution(); }
141 this->SphereSource->SetRadius(
r);
144 {
return this->SphereSource->GetRadius(); }
151 this->SphereSource->SetCenter(
x,
y,
z);
155 this->SetCenter(
x[0],
x[1],
x[2]);
158 {
return this->SphereSource->GetCenter();}
160 {this->SphereSource->GetCenter(xyz);}
293 double HandleDirection[3];
294 double HandlePosition[3];
map vtkPolyData to graphics primitives
represent and manipulate 3D points
#define vtkGetObjectMacro(name, type)
#define vtkSetVector3Macro(name, type)
#define vtkTypeMacro(thisClass, superclass)
abstract base class for most VTK objects
GLint GLint GLint GLint GLint x
implicit function for a sphere
#define vtkSetClampMacro(name, type, min, max)
#define vtkGetVector3Macro(name, type)
create a polygonal sphere centered at the origin
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
#define vtkGetMacro(name, type)
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
GLdouble GLdouble GLdouble r
GLint GLint GLint GLint GLint GLint y
concrete dataset represents vertices, lines, polygons, and triangle strips
represent surface properties of a geometric object
ray-cast cell picker for all kinds of Prop3Ds