44#ifndef vtkSphereWidget_h
45#define vtkSphereWidget_h
48#include "vtkInteractionWidgetsModule.h"
51VTK_ABI_NAMESPACE_BEGIN
61#define VTK_SPHERE_OFF 0
62#define VTK_SPHERE_WIREFRAME 1
63#define VTK_SPHERE_SURFACE 2
82 void PlaceWidget()
override { this->Superclass::PlaceWidget(); }
84 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
override
86 this->Superclass::PlaceWidget(xmin, xmax, ymin, ymax, zmin, zmax);
97 vtkGetMacro(Representation,
int);
127 this->SphereSource->SetRadius(r);
129 double GetRadius() {
return this->SphereSource->GetRadius(); }
136 void SetCenter(
double x,
double y,
double z) { this->SphereSource->SetCenter(x, y, z); }
139 void GetCenter(
double xyz[3]) { this->SphereSource->GetCenter(xyz); }
173 vtkSetVector3Macro(HandleDirection,
double);
174 vtkGetVector3Macro(HandleDirection,
double);
181 vtkGetVector3Macro(HandlePosition,
double);
237 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
284 double HandleDirection[3];
285 double HandlePosition[3];
represents an object (geometry & properties) in a rendered scene
ray-cast cell picker for all kinds of Prop3Ds
a simple class to control print indentation
abstract base class for most VTK objects
represent and manipulate 3D points
map vtkPolyData to graphics primitives
concrete dataset represents vertices, lines, polygons, and triangle strips
represent surface properties of a geometric object
create a polygonal sphere centered at the origin
implicit function for a sphere
#define VTK_SPHERE_SURFACE
#define VTK_SPHERE_WIREFRAME
#define VTK_SIZEHINT(...)