ROOT » GRAF3D » GL » TGLCameraGuide

class TGLCameraGuide: public TGLOverlayElement


 Draws arrows showing camera orientation in the overlay.
 X, Y position is in range 0, 1.

Function Members (Methods)

public:
virtual~TGLCameraGuide()
static TClass*Class()
TGLOverlayElement::ERoleTGLOverlayElement::GetRole() const
TGLOverlayElement::EStateTGLOverlayElement::GetState() const
virtual Bool_tHandle(TGLRnrCtx& rnrCtx, TGLOvlSelectRecord& selRec, Event_t* event)
virtual TClass*IsA() const
virtual Bool_tMouseEnter(TGLOvlSelectRecord& selRec)
virtual voidMouseLeave()
virtual Bool_tTGLOverlayElement::MouseStillInside(TGLOvlSelectRecord& selRec)
virtual voidRender(TGLRnrCtx& rnrCtx)
voidTGLOverlayElement::SetBinaryState(Bool_t s)
voidTGLOverlayElement::SetRole(TGLOverlayElement::ERole r)
voidSetSize(Float_t s)
voidTGLOverlayElement::SetState(TGLOverlayElement::EState s)
voidSetX(Float_t x)
voidSetXY(Float_t x, Float_t y)
voidSetY(Float_t y)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TGLCameraGuide(Float_t x, Float_t y, Float_t s, TGLOverlayElement::ERole role = kUser, TGLOverlayElement::EState state = kActive)

Data Members

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLCameraGuide(Float_t x, Float_t y, Float_t s, TGLOverlayElement::ERole role = kUser, TGLOverlayElement::EState state = kActive)
 Constructor.
Bool_t MouseEnter(TGLOvlSelectRecord& selRec)
 Mouse has entered overlay area.
Bool_t Handle(TGLRnrCtx& rnrCtx, TGLOvlSelectRecord& selRec, Event_t* event)
 Handle overlay event.
 Return TRUE if event was handled.
void MouseLeave()
 Mouse has left overlay area.
void Render(TGLRnrCtx& rnrCtx)
 Render the camera axis arrows.
TGLCameraGuide(const TGLCameraGuide& )
TGLCameraGuide& operator=(const TGLCameraGuide& )
virtual ~TGLCameraGuide()
{}
void SetX(Float_t x)
{ fXPos = x; }
void SetY(Float_t y)
{ fYPos = y; }
void SetXY(Float_t x, Float_t y)
{ fXPos = x; fYPos = y; }
void SetSize(Float_t s)
{ fSize = s; }