Go to the documentation of this file.
30 #ifndef vtkSphereHandleRepresentation_h
31 #define vtkSphereHandleRepresentation_h
33 #include "vtkInteractionWidgetsModule.h"
82 vtkGetMacro(TranslationMode,
int);
106 vtkSetClampMacro(HotSpotSize,
double,0.0,1.0);
107 vtkGetMacro(HotSpotSize,
double);
154 double LastPickPosition[3];
155 double LastEventPosition[2];
163 void Scale(
double *p1,
double *p2,
double eventPos[2]);
map vtkPolyData to graphics primitives
void SetProperty(vtkProperty *)
Set/Get the handle properties when unselected and selected.
vtkSphereHandleRepresentation()
void MoveFocus(double *p1, double *p2)
virtual double * GetBounds()
Methods to make this class properly act like a vtkWidgetRepresentation.
vtkPolyDataMapper * Mapper
vtkCellPicker * CursorPicker
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
abstract class for representing widget handles
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkSphereHandleRepresentation * New()
Instantiate this class.
virtual void ShallowCopy(vtkProp *prop)
Methods to make this class behave as a vtkProp.
window superclass for vtkRenderWindow
virtual void StartWidgetInteraction(double eventPos[2])
virtual void DeepCopy(vtkProp *prop)
void SetSphereRadius(double)
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
create a polygonal sphere centered at the origin
A spherical rendition of point in 3D space.
virtual void PlaceWidget(double bounds[6])
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
virtual void BuildRepresentation()
virtual void SetWorldPosition(double p[3])
Set the position of the point in world and display coordinates.
void Highlight(int highlight)
abstract specification for Viewports
~vtkSphereHandleRepresentation()
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
abstract superclass for all actors, volumes and annotations
virtual void WidgetInteraction(double eventPos[2])
vtkProperty * SelectedProperty
void Translate(double *p1, double *p2)
virtual void GetActors(vtkPropCollection *)
For some exporters and other other operations we must be able to collect all the actors or volumes.
virtual int HasTranslucentPolygonalGeometry()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
virtual void RegisterPickers()
Register internal Pickers in the Picking Manager.
virtual void SetHandleSize(double size)
Overload the superclasses SetHandleSize() method to update internal variables.
void Scale(double *p1, double *p2, double eventPos[2])
represent surface properties of a geometric object
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)
virtual void SetDisplayPosition(double p[3])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
ray-cast cell picker for all kinds of Prop3Ds
virtual int ComputeInteractionState(int X, int Y, int modify=0)
void CreateDefaultProperties()
int DetermineConstraintAxis(int constraint, double *x)
void SetSelectedProperty(vtkProperty *)