27#ifndef vtkSphereHandleRepresentation_h
28#define vtkSphereHandleRepresentation_h
31#include "vtkInteractionWidgetsModule.h"
171 void Translate(const
double* p1, const
double* p2) override;
172 void Scale(const
double* p1, const
double* p2, const
double eventPos[2]);
represents an object (geometry & properties) in a rendered scene
ray-cast cell picker for all kinds of Prop3Ds
vtkHandleRepresentation()
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
represent surface properties of a geometric object
int RenderOpaqueGeometry(vtkViewport *viewport) override
Methods to make this class behave as a vtkProp.
int ComputeInteractionState(int X, int Y, int modify=0) override
Methods to make this class properly act like a vtkWidgetRepresentation.
void WidgetInteraction(double eventPos[2]) override
Methods to make this class properly act like a vtkWidgetRepresentation.
void Highlight(int highlight) override
vtkProperty * SelectedProperty
void SetDisplayPosition(double p[3]) override
Set the position of the point in world and display coordinates.
void GetActors(vtkPropCollection *) override
Methods to make this class behave as a vtkProp.
void PlaceWidget(double bounds[6]) override
Methods to make this class properly act like a vtkWidgetRepresentation.
vtkTypeBool HasTranslucentPolygonalGeometry() override
Methods to make this class behave as a vtkProp.
vtkTypeBool TranslationMode
double LastPickPosition[3]
void ReleaseGraphicsResources(vtkWindow *) override
Methods to make this class behave as a vtkProp.
void SetVisibility(vtkTypeBool visible) override
Override to ensure that the internal actor's visibility is consistent with this representation's visi...
void BuildRepresentation() override
Methods to make this class properly act like a vtkWidgetRepresentation.
void Translate(const double *p1, const double *p2) override
Translates world position by vector p1p2 projected on the constraint axis if any.
vtkSphereHandleRepresentation()
void CreateDefaultProperties()
void MoveFocus(const double *p1, const double *p2)
void SetProperty(vtkProperty *)
Set/Get the handle properties when unselected and selected.
vtkCellPicker * CursorPicker
void DeepCopy(vtkProp *prop) override
Methods to make this class behave as a vtkProp.
void SetSelectedProperty(vtkProperty *)
Set/Get the handle properties when unselected and selected.
void RegisterPickers() override
Register internal Pickers in the Picking Manager.
static vtkSphereHandleRepresentation * New()
Instantiate this class.
void ShallowCopy(vtkProp *prop) override
Methods to make this class behave as a vtkProp.
vtkPolyDataMapper * Mapper
void SetWorldPosition(double p[3]) override
Set the position of the point in world and display coordinates.
void StartWidgetInteraction(double eventPos[2]) override
Methods to make this class properly act like a vtkWidgetRepresentation.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
double LastEventPosition[2]
double * GetBounds() override
Methods to make this class properly act like a vtkWidgetRepresentation.
void Scale(const double *p1, const double *p2, const double eventPos[2])
void SetHandleSize(double size) override
Overload the superclasses SetHandleSize() method to update internal variables.
int RenderTranslucentPolygonalGeometry(vtkViewport *viewport) override
Methods to make this class behave as a vtkProp.
void SetSphereRadius(double)
create a polygonal sphere centered at the origin
abstract specification for Viewports
window superclass for vtkRenderWindow
#define VTK_SIZEHINT(...)