 |
VTK
9.1.0
|
Go to the documentation of this file.
88 #ifndef vtkSphereWidget_h
89 #define vtkSphereWidget_h
92 #include "vtkInteractionWidgetsModule.h"
104 #define VTK_SPHERE_OFF 0
105 #define VTK_SPHERE_WIREFRAME 1
106 #define VTK_SPHERE_SURFACE 2
127 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
override
129 this->Superclass::PlaceWidget(xmin, xmax, ymin, ymax, zmin, zmax);
140 vtkGetMacro(Representation,
int);
170 this->SphereSource->SetRadius(r);
172 double GetRadius() {
return this->SphereSource->GetRadius(); }
179 void SetCenter(
double x,
double y,
double z) { this->SphereSource->SetCenter(x, y, z); }
182 void GetCenter(
double xyz[3]) { this->SphereSource->GetCenter(xyz); }
216 vtkSetVector3Macro(HandleDirection,
double);
217 vtkGetVector3Macro(HandleDirection,
double);
224 vtkGetVector3Macro(HandlePosition,
double);
280 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
327 double HandleDirection[3];
328 double HandlePosition[3];
map vtkPolyData to graphics primitives
represent and manipulate 3D points
abstract base class for most VTK objects
implicit function for a sphere
#define VTK_SIZEHINT(...)
create a polygonal sphere centered at the origin
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
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