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