|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   27 #ifndef vtkSphereHandleRepresentation_h 
   28 #define vtkSphereHandleRepresentation_h 
   31 #include "vtkInteractionWidgetsModule.h"  
   84   void SetSphereRadius(
double);
 
   85   double GetSphereRadius();
 
  104   vtkSetClampMacro(HotSpotSize, 
double, 0.0, 1.0);
 
  105   vtkGetMacro(HotSpotSize, 
double);
 
  119   void BuildRepresentation() override;
 
  120   void StartWidgetInteraction(
double eventPos[2]) override;
 
  121   void WidgetInteraction(
double eventPos[2]) override;
 
  122   int ComputeInteractionState(
int X, 
int Y, 
int modify = 0) override;
 
  123   void PlaceWidget(
double bounds[6]) override;
 
  130   void ShallowCopy(
vtkProp* prop) override;
 
  131   void DeepCopy(
vtkProp* prop) override;
 
  133   void ReleaseGraphicsResources(
vtkWindow*) override;
 
  134   int RenderOpaqueGeometry(
vtkViewport* viewport) override;
 
  135   int RenderTranslucentPolygonalGeometry(
vtkViewport* viewport) override;
 
  136   vtkTypeBool HasTranslucentPolygonalGeometry() override;
 
  139   void Highlight(
int highlight) override;
 
  144   void RegisterPickers() override;
 
  166   double LastPickPosition[3];
 
  167   double LastEventPosition[2];
 
  171   void Translate(const 
double* p1, const 
double* p2) override;
 
  172   void Scale(const 
double* p1, const 
double* p2, const 
double eventPos[2]);
 
  173   void MoveFocus(const 
double* p1, const 
double* p2);
 
  180   void CreateDefaultProperties();
 
  184   int WaitingForMotion;
 
  188   double CurrentHandleSize;
 
  
map vtkPolyData to graphics primitives
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual void SetWorldPosition(double pos[3])
abstract class for representing widget handles
window superclass for vtkRenderWindow
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_SIZEHINT(...)
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
abstract superclass for all actors, volumes and annotations
virtual void Translate(const double *p1, const double *p2)
Translates world position by vector p1p2 projected on the constraint axis if any.
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