Go to the documentation of this file.
30 #ifndef vtkSphereHandleRepresentation_h
31 #define vtkSphereHandleRepresentation_h
33 #include "vtkInteractionWidgetsModule.h"
82 vtkGetMacro(TranslationMode,
int);
86 void SetSphereRadius(
double);
87 double GetSphereRadius();
106 vtkSetClampMacro(HotSpotSize,
double,0.0,1.0);
107 vtkGetMacro(HotSpotSize,
double);
154 double LastPickPosition[3];
155 double LastEventPosition[2];
162 void Translate(
double *p1,
double *p2);
163 void Scale(
double *p1,
double *p2,
double eventPos[2]);
164 void MoveFocus(
double *p1,
double *p2);
171 void CreateDefaultProperties();
175 int DetermineConstraintAxis(
int constraint,
double *x);
map vtkPolyData to graphics primitives
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkPolyDataMapper * Mapper
vtkCellPicker * CursorPicker
virtual void SetWorldPosition(double pos[3])
abstract class for representing widget handles
virtual void ShallowCopy(vtkProp *prop)
Methods to make this class properly act like a vtkWidgetRepresentation.
window superclass for vtkRenderWindow
create a polygonal sphere centered at the origin
A spherical rendition of point in 3D space.
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
abstract specification for Viewports
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
abstract superclass for all actors, volumes and annotations
vtkProperty * SelectedProperty
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void DeepCopy(vtkProp *prop)
virtual void SetDisplayPosition(double pos[3])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
represent surface properties of a geometric object
ray-cast cell picker for all kinds of Prop3Ds