A++ » INCLUDE » TGLRnrCtx

class TGLRnrCtx

Function Members (Methods)

public:
virtual~TGLRnrCtx()
voidBeginSelection(Int_t x, Int_t y, Int_t r = 3)
TGLColorSet*ChangeBaseColorSet(TGLColorSet* set)
static TClass*Class()
TGLClip*Clip() const
voidCloseDLCapture()
voidColorOrForeground(Color_t col)
TGLColorSet&ColorSet()
Short_tCombiLOD() const
Short_tDrawPass() const
voidEndSelection(Int_t glResult)
TGLColorSet*GetBaseColorSet()
TGLCamera*GetCamera()
const TGLCamera*GetCamera() const
UInt_tGetEventKeySym() const
TGLContextIdentity*GetGLCtxIdentity() const
GLUquadric*GetGluQuadric()
Bool_tGetGrabImage() const
Int_tGetPickRadius()
TGLRect*GetPickRectangle()
Float_tGetRenderScale() const
TGLSceneBase*GetScene()
TGLSceneInfo*GetSceneInfo()
TGLSelectBuffer*GetSelectBuffer() const
TGLViewerBase*GetViewer()
Bool_tHasClip() const
Bool_tHasStopwatchTimedOut()
Bool_tHighlight() const
Bool_tHighlightOutline() const
virtual TClass*IsA() const
Bool_tIsDLCaptureOpen() const
Bool_tIsDrawPassFilled() const
Bool_tIsDrawPassOutlineLine() const
Bool_tIsStopwatchRunning() const
voidOpenDLCapture()
voidPopColorSet()
voidProjectionMatrixPop()
voidProjectionMatrixPushIdentity()
voidPushColorSet()
TGLCamera&RefCamera()
const TGLCamera&RefCamera() const
TGLSceneBase&RefScene()
TGLSceneInfo&RefSceneInfo()
TGLViewerBase&RefViewer()
voidRegisterFont(Int_t size, Int_t file, Int_t mode, TGLFont& out)
voidRegisterFont(Int_t size, const char* name, Int_t mode, TGLFont& out)
voidRegisterFontNoScale(Int_t size, Int_t file, Int_t mode, TGLFont& out)
voidRegisterFontNoScale(Int_t size, const char* name, Int_t mode, TGLFont& out)
voidReleaseFont(TGLFont& font)
Double_tRenderTimeOut() const
TGLClip*SceneClip() const
Short_tSceneLOD() const
Float_tSceneOLLineW() const
Short_tSceneStyle() const
Float_tSceneWFLineW() const
Bool_tSecSelection() const
Bool_tSelection() const
Short_tSelectTransparents() const
voidSetCamera(TGLCamera* c)
voidSetClip(TGLClip* p)
voidSetCombiLOD(Short_t LOD)
voidSetDrawPass(Short_t dpass)
voidSetEventKeySym(UInt_t k)
voidSetGLCtxIdentity(TGLContextIdentity* cid)
voidSetGrabImage(Bool_t gi)
voidSetHighlight(Bool_t hil)
voidSetHighlightOutline(Bool_t ho)
voidSetRenderScale(Float_t s)
voidSetRenderTimeOut(Double_t tout)
voidSetSceneClip(TGLClip* p)
voidSetSceneInfo(TGLSceneInfo* si)
voidSetSceneLOD(Short_t LOD)
voidSetSceneOLLineW(Float_t w)
voidSetSceneStyle(Short_t sty)
voidSetSceneWFLineW(Float_t w)
voidSetSecSelection(Bool_t secSel)
voidSetSelection(Bool_t sel)
voidSetSelectTransparents(Short_t st)
voidSetShapeLOD(Short_t LOD)
voidSetShapePixSize(Float_t ps)
voidSetViewerClip(TGLClip* p)
voidSetViewerLOD(Short_t LOD)
voidSetViewerOLLineW(Float_t w)
voidSetViewerStyle(Short_t sty)
voidSetViewerWFLineW(Float_t w)
Short_tShapeLOD() const
Float_tShapePixSize() const
virtual voidShowMembers(TMemberInspector& insp) const
voidStartStopwatch()
voidStopStopwatch()
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
static const char*StyleName(Short_t style)
TGLRnrCtx(TGLViewerBase* viewer)
TGLClip*ViewerClip() const
Short_tViewerLOD() const
Float_tViewerOLLineW() const
Short_tViewerStyle() const
Float_tViewerWFLineW() const
private:
TGLRnrCtx&operator=(const TGLRnrCtx&)
TGLRnrCtx(const TGLRnrCtx&)

Data Members

public:
static TGLRnrCtx::EStylekFill
static TGLRnrCtx::ESelectabilityOfTransparentskIfClosest
static TGLRnrCtx::ESelectabilityOfTransparentskIfNoOpaques
static TGLRnrCtx::ELODPresetskLODHigh
static TGLRnrCtx::ELODPresetskLODLow
static TGLRnrCtx::ELODPresetskLODMed
static TGLRnrCtx::ELODPresetskLODPixel
static TGLRnrCtx::ELODPresetskLODUndef
static TGLRnrCtx::ESelectabilityOfTransparentskNever
static TGLRnrCtx::EStylekOutline
static TGLRnrCtx::EPasskPassFill
static TGLRnrCtx::EPasskPassOutlineFill
static TGLRnrCtx::EPasskPassOutlineLine
static TGLRnrCtx::EPasskPassUndef
static TGLRnrCtx::EPasskPassWireFrame
static TGLRnrCtx::EShapeSelectionLevelkSSLEnd
static TGLRnrCtx::EShapeSelectionLevelkSSLHighlighted
static TGLRnrCtx::EShapeSelectionLevelkSSLImpliedHighlighted
static TGLRnrCtx::EShapeSelectionLevelkSSLImpliedSelected
static TGLRnrCtx::EShapeSelectionLevelkSSLNotSelected
static TGLRnrCtx::EShapeSelectionLevelkSSLSelected
static TGLRnrCtx::EStylekStyleUndef
static TGLRnrCtx::EStylekWireFrame
protected:
TGLCamera*fCamera
TGLClip*fClip
TGLRnrCtx::lpTGLColorSet_t*fColorSetStack
Short_tfCombiLODCombined viewer/scene lod.
Bool_tfDLCaptureOpen! DL-capture currently open
Short_tfDrawPass
UInt_tfEventKeySym
TGLContextIdentity*fGLCtxIdentity! Current GL context identity
Int_tfGrabBufferWhich buffer to grab after render.
Bool_tfGrabImageSet to true to store the image.
UChar_t*fGrabbedImageBuffer where image was stored after rendering.
Bool_tfHasTimedOut
Bool_tfHighlightTrue when in highlight.
Bool_tfHighlightOutlineTrue when in highlight-outline.
Bool_tfIsRunning
Int_tfPickRadius
TGLRect*fPickRectangle
GLUquadric*fQuadric
Float_tfRenderScale
Double_tfRenderTimeOut
TGLClip*fSceneClip
TGLSceneInfo*fSceneInfo
Short_tfSceneLOD
Float_tfSceneOLLineW
Short_tfSceneStyle
Float_tfSceneWFLineW
Bool_tfSecSelectionTrue when in secondary selection.
TGLSelectBuffer*fSelectBuffer
Short_tfSelectTransparents
Bool_tfSelectionTrue when in selection.
Short_tfShapeLODLOD calculated for current shape.
Float_tfShapePixSizeOnly relevant when not using display lists.
TGLStopwatchfStopwatch
TGLViewerBase*fViewer
TGLClip*fViewerClip
Short_tfViewerLOD
Float_tfViewerOLLineW
Short_tfViewerStyle
Float_tfViewerWFLineW

Class Charts

Inheritance Chart:
TGLRnrCtx

Function documentation

const char* StyleName(Short_t style)
TGLRnrCtx(const TGLRnrCtx& )
TGLRnrCtx& operator=(const TGLRnrCtx& )
TGLRnrCtx(TGLViewerBase* viewer)
virtual ~TGLRnrCtx()
TGLViewerBase * GetViewer()
 Central objects
{ return fViewer; }
TGLViewerBase & RefViewer()
{ return *fViewer; }
TGLCamera * GetCamera()
{ return fCamera; }
TGLCamera & RefCamera()
{ return *fCamera; }
TGLSceneInfo * GetSceneInfo()
{ return fSceneInfo; }
TGLSceneInfo & RefSceneInfo()
{ return *fSceneInfo; }
TGLSceneBase * GetScene()
TGLSceneBase & RefScene()
const TGLCamera & RefCamera() const
{ return *fCamera; }
const TGLCamera * GetCamera() const
{ return fCamera; }
void SetCamera(TGLCamera* c)
 void SetViewer   (TGLViewerBase* v) { fViewer = v; }
{ fCamera = c; }
void SetSceneInfo(TGLSceneInfo* si)
{ fSceneInfo = si; }
Short_t ViewerLOD() const
 Draw LOD, style, clip, rnr-pass
{ return fViewerLOD; }
void SetViewerLOD(Short_t LOD)
{ fViewerLOD = LOD; }
Short_t SceneLOD() const
{ return fSceneLOD; }
void SetSceneLOD(Short_t LOD)
{ fSceneLOD = LOD; }
Short_t CombiLOD() const
{ return fCombiLOD; }
void SetCombiLOD(Short_t LOD)
{ fCombiLOD = LOD; }
Short_t ShapeLOD() const
{ return fShapeLOD; }
void SetShapeLOD(Short_t LOD)
{ fShapeLOD = LOD; }
Float_t ShapePixSize() const
{ return fShapePixSize; }
void SetShapePixSize(Float_t ps)
{ fShapePixSize = ps; }
Short_t ViewerStyle() const
{ return fViewerStyle; }
void SetViewerStyle(Short_t sty)
{ fViewerStyle = sty; }
Short_t SceneStyle() const
{ return fSceneStyle; }
void SetSceneStyle(Short_t sty)
{ fSceneStyle = sty; }
Float_t ViewerWFLineW() const
{ return fViewerWFLineW; }
void SetViewerWFLineW(Float_t w)
Float_t SceneWFLineW() const
{ return fSceneWFLineW; }
void SetSceneWFLineW(Float_t w)
{ fSceneWFLineW = w; }
Float_t ViewerOLLineW() const
{ return fViewerOLLineW; }
void SetViewerOLLineW(Float_t w)
Float_t SceneOLLineW() const
{ return fSceneOLLineW; }
void SetSceneOLLineW(Float_t w)
{ fSceneOLLineW = w; }
TGLClip* ViewerClip() const
{ return fViewerClip; }
void SetViewerClip(TGLClip* p)
{ fViewerClip = p; }
TGLClip* SceneClip() const
{ return fSceneClip; }
void SetSceneClip(TGLClip* p)
{ fSceneClip = p; }
void SetClip(TGLClip* p)
{ fClip = p; }
Bool_t HasClip() const
{ return fClip != 0; }
Short_t DrawPass() const
{ return fDrawPass; }
void SetDrawPass(Short_t dpass)
{ fDrawPass = dpass; }
Bool_t IsDrawPassFilled() const
Bool_t IsDrawPassOutlineLine() const
Double_t RenderTimeOut() const
 Render time-out
{ return fRenderTimeOut; }
void SetRenderTimeOut(Double_t tout)
{ fRenderTimeOut = tout; }
void StartStopwatch()
void StopStopwatch()
Bool_t IsStopwatchRunning() const
{ return fIsRunning; }
Bool_t HasStopwatchTimedOut()
Bool_t Highlight() const
 Highlight / Selection state during rendering
{ return fHighlight; }
void SetHighlight(Bool_t hil)
{ fHighlight = hil; }
Bool_t HighlightOutline() const
{ return fHighlightOutline; }
void SetHighlightOutline(Bool_t ho)
Bool_t Selection() const
{ return fSelection; }
void SetSelection(Bool_t sel)
{ fSelection = sel; }
Bool_t SecSelection() const
{ return fSecSelection; }
void SetSecSelection(Bool_t secSel)
 Highlight / selection parameters
{ fSecSelection = secSel; }
Short_t SelectTransparents() const
void SetSelectTransparents(Short_t st)
TGLRect * GetPickRectangle()
Int_t GetPickRadius()
TGLSelectBuffer * GetSelectBuffer() const
 Selection setup / end
{ return fSelectBuffer; }
void BeginSelection(Int_t x, Int_t y, Int_t r = 3)
void EndSelection(Int_t glResult)
void PushColorSet()
void PopColorSet()
TGLColorSet* ChangeBaseColorSet(TGLColorSet* set)
TGLColorSet* GetBaseColorSet()
void ColorOrForeground(Color_t col)
Float_t GetRenderScale() const
{ return fRenderScale; }
void SetRenderScale(Float_t s)
{ fRenderScale = s; }
UInt_t GetEventKeySym() const
{ return fEventKeySym; }
void SetEventKeySym(UInt_t k)
{ fEventKeySym = k; }
Bool_t IsDLCaptureOpen() const
{ return fDLCaptureOpen; }
void OpenDLCapture()
void CloseDLCapture()
TGLContextIdentity* GetGLCtxIdentity() const
{ return fGLCtxIdentity; }
void SetGLCtxIdentity(TGLContextIdentity* cid)
{ fGLCtxIdentity = cid; }
void RegisterFont(Int_t size, Int_t file, Int_t mode, TGLFont& out)
void RegisterFont(Int_t size, const char* name, Int_t mode, TGLFont& out)
void RegisterFontNoScale(Int_t size, Int_t file, Int_t mode, TGLFont& out)
void RegisterFontNoScale(Int_t size, const char* name, Int_t mode, TGLFont& out)
void ReleaseFont(TGLFont& font)
GLUquadric* GetGluQuadric()
void SetGrabImage(Bool_t gi)
 Picture grabbing
{ fGrabImage = gi; }
Bool_t GetGrabImage() const
{ return fGrabImage; }
void ProjectionMatrixPushIdentity()
 Matrix manipulation helpers
void ProjectionMatrixPop()