18#ifndef vtkSphereHandleRepresentation_h 
   19#define vtkSphereHandleRepresentation_h 
   22#include "vtkInteractionWidgetsModule.h"  
   25VTK_ABI_NAMESPACE_BEGIN
 
   96  vtkSetClampMacro(HotSpotSize, 
double, 0.0, 1.0);
 
   97  vtkGetMacro(HotSpotSize, 
double);
 
  111  void BuildRepresentation() override;
 
  112  void StartWidgetInteraction(
double eventPos[2]) override;
 
  113  void WidgetInteraction(
double eventPos[2]) override;
 
  114  int ComputeInteractionState(
int X, 
int Y, 
int modify = 0) override;
 
  115  void PlaceWidget(
double bounds[6]) override;
 
  127  int RenderTranslucentPolygonalGeometry(
vtkViewport* viewport) override;
 
  131  void Highlight(
int highlight) override;
 
  136  void RegisterPickers() override;
 
  158  double LastPickPosition[3];
 
  159  double LastEventPosition[2];
 
  163  void Translate(const 
double* p1, const 
double* p2) override;
 
  164  void Scale(const 
double* p1, const 
double* p2, const 
double eventPos[2]);
 
  165  void MoveFocus(const 
double* p1, const 
double* p2);
 
  172  void CreateDefaultProperties();
 
  176  int WaitingForMotion;
 
  180  double CurrentHandleSize;
 
represents an object (geometry & properties) in a rendered scene
 
ray-cast cell picker for all kinds of Prop3Ds
 
abstract class for representing widget handles
 
virtual void Translate(const double *p1, const double *p2)
Translates world position by vector p1p2 projected on the constraint axis if any.
 
a simple class to control print indentation
 
map vtkPolyData to graphics primitives
 
abstract superclass for all actors, volumes and annotations
 
represent surface properties of a geometric object
 
A spherical rendition of point in 3D space.
 
void SetDisplayPosition(double p[3]) override
Set the position of the point in world and display coordinates.
 
void SetProperty(vtkProperty *)
Set/Get the handle properties when unselected and selected.
 
void SetSelectedProperty(vtkProperty *)
Set/Get the handle properties when unselected and selected.
 
static vtkSphereHandleRepresentation * New()
Instantiate this class.
 
void SetWorldPosition(double p[3]) override
Set the position of the point in world and display coordinates.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
 
double * GetBounds() override
Methods to make this class properly act like a vtkWidgetRepresentation.
 
void SetHandleSize(double size) override
Overload the superclasses SetHandleSize() method to update internal variables.
 
void SetSphereRadius(double)
 
create a polygonal sphere centered at the origin
 
abstract specification for Viewports
 
window superclass for vtkRenderWindow
 
#define VTK_SIZEHINT(...)