class TGLCameraMarkupStyle


TGLCamera

Abstract base camera class - concrete classes for orthographic and
persepctive cameras derive from it. This class maintains values for
the current:
i)   Viewport
ii)  Projection, modelview and clip matricies - extracted from GL
iii) The 6 frustum planes
iv)  Expanded frustum interest box

It provides methods for various projection, overlap and intersection
tests for viewport and world locations, against the true frustum and
 expanded interest box, and for extracting eye position and direction.

It also defines the pure virtual manipulation interface methods the
concrete ortho and prespective classes must implement.

Function Members (Methods)

public:
TGLCameraMarkupStyle()
TGLCameraMarkupStyle(const TGLCameraMarkupStyle&)
virtual~TGLCameraMarkupStyle()
Double_tBarsize() const
static TClass*Class()
virtual TClass*IsA() const
voidOffsets(Double_t& oX, Double_t& oY, Double_t& txtX, Double_t& txtY) const
TGLCameraMarkupStyle&operator=(const TGLCameraMarkupStyle&)
Int_tPosition() const
voidSetBarsize(Double_t b)
voidSetOffsets(Double_t oX, Double_t oY, Double_t txtX, Double_t txtY)
voidSetPosition(Int_t p)
voidSetShow(Bool_t v)
Bool_tShow() const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

public:
enum EPos { kLUp
kLDn
kRUp
kRDn
kCenter
};
protected:
Double_tfBarsizehorizontal bar marker size in screen units
Double_tfOffXX offset of horizontal bar
Double_tfOffYY offset of horizontal bar
Int_tfPoslocation of markup
Bool_tfShowis visible
Double_tfTxtOffXX offset relative to horizontal bar
Double_tfTxtOffYY offset relative to horizontal bar

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Bool_t Show()
{ return fShow; }
void SetShow(Bool_t v)
{ fShow = v; }
Int_t Position()
{ return fPos; }
void SetPosition(Int_t p)
{ fPos = p; }
Double_t Barsize()
{ return fBarsize; }
void SetBarsize(Double_t b)
{ fBarsize = b; }
void Offsets(Double_t& oX, Double_t& oY, Double_t& txtX, Double_t& txtY) const
{ oX = fOffX; oY = fOffY; txtX = fTxtOffX ; txtY = fTxtOffY; }
void SetOffsets(Double_t oX, Double_t oY, Double_t txtX, Double_t txtY)
{ fOffX = oX; fOffY = oY; fTxtOffX = txtX; fTxtOffY = txtY; }
TGLCameraMarkupStyle(const TGLCameraMarkupStyle& )
{}
virtual ~TGLCameraMarkupStyle()
{}
TGLCamera & operator=(const TGLCameraMarkupStyle& )

Author: Richard Maunder 25/05/2005
Last change: root/gl:$Id: TGLCamera.h 25245 2008-08-25 21:44:09Z matevz $
Last generated: 2008-08-26 17:16
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *

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.