library: libRGL #include "TGLRotateManip.h" |
TGLRotateManip
class description - header file - source file
viewCVS header - viewCVS source
class TGLRotateManip: public TGLManip
Function Members (Methods)
Display options:
Data Members
private:
Bool_t | fShallowRing | ! does active ring form shallow angle to eye? |
Bool_t | fShallowFront | ! front or back of the active shallow ring? |
TGLPlane | fActiveRingPlane | ! plane of the active ring (widget) |
TGLVertex3 | fActiveRingCenter | ! center of active ring |
TGLLine3 | fRingLine | |
TGLLine3 | fRingLineOld | |
TGLRotateManip
Rotate manipulator - attaches to physical shape and draws local axes
widgets - rings drawn from attached physical center, in plane defined
by axis. User can mouse over (turns yellow) and L click/drag to
rotate attached physical round the ring center.
Widgets use standard 3D package axes colours: X red, Y green, Z blue.
TGLRotateManip()
Construct rotation manipulator not bound to any physical shape.
void Draw(const TGLCamera & camera)
Draw rotate manipulator - axis rings drawn from attached physical center,
in plane defined by axis as normal, in red(X), green(Y) and blue(Z), with
white center sphere. If selected widget (mouse over) this is drawn in active
colour (yellow).
TGLLine3 CalculateRingLine(const TPoint & mouse, const TGLCamera & camera)
Calculated interaction line between 'mouse' viewport point, and current selected
widget (ring), under supplied 'camera' projection.
Find mouse position in viewport coords
Author: Richard Maunder 04/10/2005
Last update: root/gl:$Name: $:$Id: TGLRotateManip.cxx,v 1.7 2006/02/23 16:44:52 brun Exp $
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.