Go to the documentation of this file.
29 #ifndef vtkSphereHandleRepresentation_h
30 #define vtkSphereHandleRepresentation_h
136 double LastPickPosition[3];
137 double LastEventPosition[2];
145 void Scale(
double *p1,
double *p2,
double eventPos[2]);
map vtkPolyData to graphics primitives
void SetProperty(vtkProperty *)
vtkSphereHandleRepresentation()
void MoveFocus(double *p1, double *p2)
#define vtkGetObjectMacro(name, type)
virtual double * GetBounds()
vtkPolyDataMapper * Mapper
vtkCellPicker * CursorPicker
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
#define vtkTypeMacro(thisClass, superclass)
abstract class for representing widget handles
GLint GLint GLint GLint GLint x
void PrintSelf(ostream &os, vtkIndent indent)
static vtkSphereHandleRepresentation * New()
virtual void ShallowCopy(vtkProp *prop)
window superclass for vtkRenderWindow
virtual void StartWidgetInteraction(double eventPos[2])
virtual void DeepCopy(vtkProp *prop)
#define vtkSetClampMacro(name, type, min, max)
void SetSphereRadius(double)
virtual void ReleaseGraphicsResources(vtkWindow *)
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])
void Highlight(int highlight)
#define vtkGetMacro(name, type)
abstract specification for Viewports
~vtkSphereHandleRepresentation()
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
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 *)
virtual int HasTranslucentPolygonalGeometry()
virtual void RegisterPickers()
virtual void SetHandleSize(double size)
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])
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 *)