ROOT  6.06/08
Reference Guide
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Private Types | Private Member Functions | List of all members
TGLRnrCtx Class Reference

The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the ROOT's OpenGL infrastructure.

It serves as a connecting point between the steering part of the infrastructure (viewer, scene) and concrete rendering classes (logical, physical shape). It is just a data-holder, there is no functionality in it.

Development notes:

One RnrCtx is created by each viewer and it is just an extension of the viewer context that changes along the render descend. Separating this also has some abstract benefit of hiding viewer implementation from those that do not need to know it.

Current scene / scene-info part is always initialized by viewer, scenes can assume they're ok.

Definition at line 40 of file TGLRnrCtx.h.

Public Types

enum  EStyle { kStyleUndef = -1, kFill, kOutline, kWireFrame }
 
enum  EPass {
  kPassUndef = -1, kPassFill, kPassOutlineFill, kPassOutlineLine,
  kPassWireFrame
}
 
enum  ELODPresets {
  kLODUndef = -1, kLODPixel = 0, kLODLow = 20, kLODMed = 50,
  kLODHigh = 100
}
 
enum  EShapeSelectionLevel {
  kSSLNotSelected, kSSLSelected, kSSLImpliedSelected, kSSLHighlighted,
  kSSLImpliedHighlighted, kSSLEnd
}
 
enum  ESelectabilityOfTransparents { kIfNoOpaques = 0, kIfClosest, kNever }
 

Public Member Functions

 TGLRnrCtx (TGLViewerBase *viewer)
 
virtual ~TGLRnrCtx ()
 Destructor. More...
 
TGLViewerBaseGetViewer ()
 
TGLViewerBaseRefViewer ()
 
TGLCameraGetCamera ()
 
TGLCameraRefCamera ()
 
TGLSceneInfoGetSceneInfo ()
 
TGLSceneInfoRefSceneInfo ()
 
TGLSceneBaseGetScene ()
 Return current scene (based on scene-info data). More...
 
TGLSceneBaseRefScene ()
 Return current scene (based on scene-info data). More...
 
const TGLCameraRefCamera () const
 
const TGLCameraGetCamera () const
 
void SetCamera (TGLCamera *c)
 
void SetSceneInfo (TGLSceneInfo *si)
 
Short_t ViewerLOD () const
 
void SetViewerLOD (Short_t LOD)
 
Short_t SceneLOD () const
 
void SetSceneLOD (Short_t LOD)
 
Short_t CombiLOD () const
 
void SetCombiLOD (Short_t LOD)
 
Short_t ShapeLOD () const
 
void SetShapeLOD (Short_t LOD)
 
Float_t ShapePixSize () const
 
void SetShapePixSize (Float_t ps)
 
Short_t ViewerStyle () const
 
void SetViewerStyle (Short_t sty)
 
Short_t SceneStyle () const
 
void SetSceneStyle (Short_t sty)
 
Float_t ViewerWFLineW () const
 
void SetViewerWFLineW (Float_t w)
 
Float_t SceneWFLineW () const
 
void SetSceneWFLineW (Float_t w)
 
Float_t ViewerOLLineW () const
 
void SetViewerOLLineW (Float_t w)
 
Float_t SceneOLLineW () const
 
void SetSceneOLLineW (Float_t w)
 
TGLClipViewerClip () const
 
void SetViewerClip (TGLClip *p)
 
TGLClipSceneClip () const
 
void SetSceneClip (TGLClip *p)
 
TGLClipClip () const
 
void SetClip (TGLClip *p)
 
Bool_t HasClip () const
 
Short_t DrawPass () const
 
void SetDrawPass (Short_t dpass)
 
Bool_t IsDrawPassFilled () const
 Returns true if current render-pass uses filled polygon style. More...
 
Bool_t IsDrawPassOutlineLine () const
 
Double_t RenderTimeOut () const
 
void SetRenderTimeOut (Double_t tout)
 
void StartStopwatch ()
 Start the stopwatch. More...
 
void StopStopwatch ()
 Stop the stopwatch. More...
 
Bool_t IsStopwatchRunning () const
 
Bool_t HasStopwatchTimedOut ()
 Check if the stopwatch went beyond the render time limit. More...
 
Bool_t Highlight () const
 
void SetHighlight (Bool_t hil)
 
Bool_t HighlightOutline () const
 
void SetHighlightOutline (Bool_t ho)
 
Bool_t Selection () const
 
void SetSelection (Bool_t sel)
 
Bool_t SecSelection () const
 
void SetSecSelection (Bool_t secSel)
 
Short_t SelectTransparents () const
 
void SetSelectTransparents (Short_t st)
 
TGLRectGetPickRectangle ()
 Return current pick rectangle. More...
 
Int_t GetPickRadius ()
 Return pick radius. If selection is not active it returns 0. More...
 
TGLSelectBufferGetSelectBuffer () const
 
void BeginSelection (Int_t x, Int_t y, Int_t r=3)
 Setup context for running selection. More...
 
void EndSelection (Int_t glResult)
 End selection. More...
 
void PushColorSet ()
 Create copy of current color-set on the top of the stack. More...
 
TGLColorSetColorSet ()
 Return reference to current color-set (top of the stack). More...
 
void PopColorSet ()
 Pops the top-most color-set. More...
 
TGLColorSetChangeBaseColorSet (TGLColorSet *set)
 Change the default/bottom color-set. More...
 
TGLColorSetGetBaseColorSet ()
 Returns the current base color-set. More...
 
void ColorOrForeground (Color_t col)
 Set col if it is different from background, otherwise use current foreground color. More...
 
Float_t GetRenderScale () const
 
void SetRenderScale (Float_t s)
 
UInt_t GetEventKeySym () const
 
void SetEventKeySym (UInt_t k)
 
Bool_t IsDLCaptureOpen () const
 
void OpenDLCapture ()
 Start display-list capture. More...
 
void CloseDLCapture ()
 End display list capture. More...
 
TGLContextIdentityGetGLCtxIdentity () const
 
void SetGLCtxIdentity (TGLContextIdentity *cid)
 
void RegisterFont (Int_t size, Int_t file, Int_t mode, TGLFont &out)
 Get font in the GL rendering context. More...
 
void RegisterFont (Int_t size, const char *name, Int_t mode, TGLFont &out)
 Get font in the GL rendering context. More...
 
void RegisterFontNoScale (Int_t size, Int_t file, Int_t mode, TGLFont &out)
 Get font in the GL rendering context. More...
 
void RegisterFontNoScale (Int_t size, const char *name, Int_t mode, TGLFont &out)
 Get font in the GL rendering context. More...
 
void ReleaseFont (TGLFont &font)
 Release font in the GL rendering context. More...
 
GLUquadric * GetGluQuadric ()
 Initialize fQuadric. More...
 
void SetGrabImage (Bool_t gi)
 
Bool_t GetGrabImage () const
 
void ProjectionMatrixPushIdentity ()
 
void ProjectionMatrixPop ()
 

Static Public Member Functions

static const char * StyleName (Short_t style)
 Return string describing the style. More...
 

Protected Attributes

TGLViewerBasefViewer
 
TGLCamerafCamera
 
TGLSceneInfofSceneInfo
 
Short_t fViewerLOD
 
Short_t fSceneLOD
 
Short_t fCombiLOD
 
Short_t fShapeLOD
 
Float_t fShapePixSize
 
Short_t fViewerStyle
 
Short_t fSceneStyle
 
Float_t fViewerWFLineW
 
Float_t fSceneWFLineW
 
Float_t fViewerOLLineW
 
Float_t fSceneOLLineW
 
TGLClipfViewerClip
 
TGLClipfSceneClip
 
TGLClipfClip
 
Short_t fDrawPass
 
TGLStopwatch fStopwatch
 
Double_t fRenderTimeOut
 
Bool_t fIsRunning
 
Bool_t fHasTimedOut
 
Bool_t fHighlight
 
Bool_t fHighlightOutline
 
Bool_t fSelection
 
Bool_t fSecSelection
 
Short_t fSelectTransparents
 
Int_t fPickRadius
 
TGLRectfPickRectangle
 
TGLSelectBufferfSelectBuffer
 
lpTGLColorSet_tfColorSetStack
 
Float_t fRenderScale
 
UInt_t fEventKeySym
 
Bool_t fDLCaptureOpen
 
TGLContextIdentityfGLCtxIdentity
 DL-capture currently open. More...
 
GLUquadric * fQuadric
 Current GL context identity. More...
 
Bool_t fGrabImage
 
Int_t fGrabBuffer
 
UChar_tfGrabbedImage
 

Private Types

typedef std::list< TGLColorSet * > lpTGLColorSet_t
 

Private Member Functions

 TGLRnrCtx (const TGLRnrCtx &)
 
TGLRnrCtxoperator= (const TGLRnrCtx &)
 

#include <TGLRnrCtx.h>

+ Collaboration diagram for TGLRnrCtx:

Member Typedef Documentation

§ lpTGLColorSet_t

typedef std::list<TGLColorSet*> TGLRnrCtx::lpTGLColorSet_t
private

Definition at line 91 of file TGLRnrCtx.h.

Member Enumeration Documentation

§ ELODPresets

Enumerator
kLODUndef 
kLODPixel 
kLODLow 
kLODMed 
kLODHigh 

Definition at line 61 of file TGLRnrCtx.h.

§ EPass

Enumerator
kPassUndef 
kPassFill 
kPassOutlineFill 
kPassOutlineLine 
kPassWireFrame 

Definition at line 52 of file TGLRnrCtx.h.

§ ESelectabilityOfTransparents

Enumerator
kIfNoOpaques 
kIfClosest 
kNever 

Definition at line 80 of file TGLRnrCtx.h.

§ EShapeSelectionLevel

Enumerator
kSSLNotSelected 
kSSLSelected 
kSSLImpliedSelected 
kSSLHighlighted 
kSSLImpliedHighlighted 
kSSLEnd 

Definition at line 70 of file TGLRnrCtx.h.

§ EStyle

Enumerator
kStyleUndef 
kFill 
kOutline 
kWireFrame 

Definition at line 43 of file TGLRnrCtx.h.

Constructor & Destructor Documentation

§ TGLRnrCtx() [1/2]

TGLRnrCtx::TGLRnrCtx ( const TGLRnrCtx )
private

§ TGLRnrCtx() [2/2]

TGLRnrCtx::TGLRnrCtx ( TGLViewerBase viewer)

Definition at line 57 of file TGLRnrCtx.cxx.

§ ~TGLRnrCtx()

TGLRnrCtx::~TGLRnrCtx ( )
virtual

Destructor.

Definition at line 124 of file TGLRnrCtx.cxx.

Member Function Documentation

§ BeginSelection()

void TGLRnrCtx::BeginSelection ( Int_t  x,
Int_t  y,
Int_t  r = 3 
)

Setup context for running selection.

x and y are in window coordinates.

Definition at line 205 of file TGLRnrCtx.cxx.

Referenced by TGLViewer::DoOverlaySelect(), TGLViewer::DoSecondarySelect(), TGLViewer::DoSelect(), and GetSelectBuffer().

§ ChangeBaseColorSet()

TGLColorSet * TGLRnrCtx::ChangeBaseColorSet ( TGLColorSet set)

Change the default/bottom color-set.

Returns the previous color-set.

Definition at line 304 of file TGLRnrCtx.cxx.

Referenced by GetSelectBuffer(), TGLViewer::InitSecondaryObjects(), TGLViewer::UseDarkColorSet(), TGLViewer::UseDefaultColorSet(), and TGLViewer::UseLightColorSet().

§ Clip()

TGLClip* TGLRnrCtx::Clip ( ) const
inline

Definition at line 200 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::UpdateSceneInfo().

§ CloseDLCapture()

void TGLRnrCtx::CloseDLCapture ( )

End display list capture.

Definition at line 347 of file TGLRnrCtx.cxx.

Referenced by TGLLogicalShape::Draw(), and IsDLCaptureOpen().

§ ColorOrForeground()

void TGLRnrCtx::ColorOrForeground ( Color_t  col)

Set col if it is different from background, otherwise use current foreground color.

Definition at line 323 of file TGLRnrCtx.cxx.

Referenced by GetSelectBuffer().

§ ColorSet()

TGLColorSet & TGLRnrCtx::ColorSet ( )

§ CombiLOD()

Short_t TGLRnrCtx::CombiLOD ( ) const
inline

§ DrawPass()

Short_t TGLRnrCtx::DrawPass ( ) const
inline

§ EndSelection()

void TGLRnrCtx::EndSelection ( Int_t  glResult)

§ GetBaseColorSet()

TGLColorSet * TGLRnrCtx::GetBaseColorSet ( )

§ GetCamera() [1/2]

TGLCamera* TGLRnrCtx::GetCamera ( )
inline

§ GetCamera() [2/2]

const TGLCamera* TGLRnrCtx::GetCamera ( ) const
inline

Definition at line 164 of file TGLRnrCtx.h.

§ GetEventKeySym()

UInt_t TGLRnrCtx::GetEventKeySym ( ) const
inline

Definition at line 247 of file TGLRnrCtx.h.

Referenced by TGLManipSet::Handle().

§ GetGLCtxIdentity()

TGLContextIdentity* TGLRnrCtx::GetGLCtxIdentity ( ) const
inline

Definition at line 254 of file TGLRnrCtx.h.

Referenced by TGLScene::PreDraw(), and TGLViewerBase::PreRender().

§ GetGluQuadric()

GLUquadric * TGLRnrCtx::GetGluQuadric ( )

Initialize fQuadric.

Definition at line 405 of file TGLRnrCtx.cxx.

Referenced by TGLSphere::DirectDraw(), TGLPolyMarker::DirectDraw(), and SetGLCtxIdentity().

§ GetGrabImage()

Bool_t TGLRnrCtx::GetGrabImage ( ) const
inline

Definition at line 267 of file TGLRnrCtx.h.

Referenced by TGLViewer::DoDraw().

§ GetPickRadius()

Int_t TGLRnrCtx::GetPickRadius ( )

§ GetPickRectangle()

TGLRect * TGLRnrCtx::GetPickRectangle ( )

Return current pick rectangle.

This is zero when selection is not set.

Definition at line 249 of file TGLRnrCtx.cxx.

Referenced by TGLViewerBase::PreRender(), TGLViewerBase::PreRenderOverlaySelection(), ProjectionMatrixPushIdentity(), TGLOverlayButton::Render(), TEveCaloLegoOverlay::Render(), and SetSelectTransparents().

§ GetRenderScale()

Float_t TGLRnrCtx::GetRenderScale ( ) const
inline

§ GetScene()

TGLSceneBase * TGLRnrCtx::GetScene ( )

Return current scene (based on scene-info data).

Definition at line 135 of file TGLRnrCtx.cxx.

Referenced by RefSceneInfo().

§ GetSceneInfo()

TGLSceneInfo* TGLRnrCtx::GetSceneInfo ( )
inline

§ GetSelectBuffer()

TGLSelectBuffer* TGLRnrCtx::GetSelectBuffer ( ) const
inline

§ GetViewer()

TGLViewerBase* TGLRnrCtx::GetViewer ( )
inline

Definition at line 154 of file TGLRnrCtx.h.

Referenced by TGLOverlayButton::Handle().

§ HasClip()

Bool_t TGLRnrCtx::HasClip ( ) const
inline

Definition at line 202 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::UpdateSceneInfo().

§ HasStopwatchTimedOut()

Bool_t TGLRnrCtx::HasStopwatchTimedOut ( )

Check if the stopwatch went beyond the render time limit.

Definition at line 188 of file TGLRnrCtx.cxx.

Referenced by IsStopwatchRunning(), TGLScene::RenderElements(), and TGLScene::UpdateSceneInfo().

§ Highlight()

Bool_t TGLRnrCtx::Highlight ( ) const
inline

§ HighlightOutline()

Bool_t TGLRnrCtx::HighlightOutline ( ) const
inline

Definition at line 220 of file TGLRnrCtx.h.

Referenced by TGLPhysicalShape::Draw().

§ IsDLCaptureOpen()

Bool_t TGLRnrCtx::IsDLCaptureOpen ( ) const
inline

Definition at line 250 of file TGLRnrCtx.h.

Referenced by TGLLogicalShape::Draw().

§ IsDrawPassFilled()

Bool_t TGLRnrCtx::IsDrawPassFilled ( ) const

Returns true if current render-pass uses filled polygon style.

Definition at line 153 of file TGLRnrCtx.cxx.

Referenced by TEveCaloLegoGL::DirectDraw(), and SetDrawPass().

§ IsDrawPassOutlineLine()

Bool_t TGLRnrCtx::IsDrawPassOutlineLine ( ) const
inline

§ IsStopwatchRunning()

Bool_t TGLRnrCtx::IsStopwatchRunning ( ) const
inline

Definition at line 214 of file TGLRnrCtx.h.

Referenced by TGLScene::UpdateSceneInfo().

§ OpenDLCapture()

void TGLRnrCtx::OpenDLCapture ( )

Start display-list capture.

Definition at line 338 of file TGLRnrCtx.cxx.

Referenced by TGLLogicalShape::Draw(), and IsDLCaptureOpen().

§ operator=()

TGLRnrCtx& TGLRnrCtx::operator= ( const TGLRnrCtx )
private

§ PopColorSet()

void TGLRnrCtx::PopColorSet ( )

Pops the top-most color-set.

If only one entry is available, error is printed and the entry remains.

Definition at line 287 of file TGLRnrCtx.cxx.

Referenced by GetSelectBuffer().

§ ProjectionMatrixPop()

void TGLRnrCtx::ProjectionMatrixPop ( )

Definition at line 438 of file TGLRnrCtx.cxx.

Referenced by GetGrabImage(), TGLCameraGuide::Render(), and TGLAnnotation::Render().

§ ProjectionMatrixPushIdentity()

void TGLRnrCtx::ProjectionMatrixPushIdentity ( )

Definition at line 423 of file TGLRnrCtx.cxx.

Referenced by GetGrabImage(), TGLCameraGuide::Render(), and TGLAnnotation::Render().

§ PushColorSet()

void TGLRnrCtx::PushColorSet ( )

Create copy of current color-set on the top of the stack.

Definition at line 270 of file TGLRnrCtx.cxx.

Referenced by GetSelectBuffer().

§ RefCamera() [1/2]

TGLCamera& TGLRnrCtx::RefCamera ( )
inline

§ RefCamera() [2/2]

const TGLCamera& TGLRnrCtx::RefCamera ( ) const
inline

Definition at line 163 of file TGLRnrCtx.h.

§ RefScene()

TGLSceneBase & TGLRnrCtx::RefScene ( )

Return current scene (based on scene-info data).

Definition at line 143 of file TGLRnrCtx.cxx.

Referenced by RefSceneInfo().

§ RefSceneInfo()

TGLSceneInfo& TGLRnrCtx::RefSceneInfo ( )
inline

Definition at line 159 of file TGLRnrCtx.h.

§ RefViewer()

TGLViewerBase& TGLRnrCtx::RefViewer ( )
inline

Definition at line 155 of file TGLRnrCtx.h.

Referenced by TEveCaloLegoOverlay::Render().

§ RegisterFont() [1/2]

void TGLRnrCtx::RegisterFont ( Int_t  size,
Int_t  file,
Int_t  mode,
TGLFont out 
)

Get font in the GL rendering context.

The font is scaled relative to current render scale.

Definition at line 384 of file TGLRnrCtx.cxx.

Referenced by TEveTextGL::DirectDraw(), TGLCameraOverlay::RenderBar(), and SetGLCtxIdentity().

§ RegisterFont() [2/2]

void TGLRnrCtx::RegisterFont ( Int_t  size,
const char *  name,
Int_t  mode,
TGLFont out 
)

Get font in the GL rendering context.

The font is scaled relative to current render scale.

Definition at line 393 of file TGLRnrCtx.cxx.

§ RegisterFontNoScale() [1/2]

void TGLRnrCtx::RegisterFontNoScale ( Int_t  size,
Int_t  file,
Int_t  mode,
TGLFont out 
)

§ RegisterFontNoScale() [2/2]

void TGLRnrCtx::RegisterFontNoScale ( Int_t  size,
const char *  name,
Int_t  mode,
TGLFont out 
)

Get font in the GL rendering context.

Definition at line 375 of file TGLRnrCtx.cxx.

§ ReleaseFont()

void TGLRnrCtx::ReleaseFont ( TGLFont font)

Release font in the GL rendering context.

Definition at line 359 of file TGLRnrCtx.cxx.

Referenced by SetGLCtxIdentity().

§ RenderTimeOut()

Double_t TGLRnrCtx::RenderTimeOut ( ) const
inline

Definition at line 210 of file TGLRnrCtx.h.

§ SceneClip()

TGLClip* TGLRnrCtx::SceneClip ( ) const
inline

Definition at line 198 of file TGLRnrCtx.h.

§ SceneLOD()

Short_t TGLRnrCtx::SceneLOD ( ) const
inline

Definition at line 173 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::PreDraw().

§ SceneOLLineW()

Float_t TGLRnrCtx::SceneOLLineW ( ) const
inline

Definition at line 193 of file TGLRnrCtx.h.

Referenced by TGLScene::RenderAllPasses().

§ SceneStyle()

Short_t TGLRnrCtx::SceneStyle ( ) const
inline

Definition at line 184 of file TGLRnrCtx.h.

Referenced by TEveCaloLegoGL::DrawCells3D(), and TGLScene::RenderAllPasses().

§ SceneWFLineW()

Float_t TGLRnrCtx::SceneWFLineW ( ) const
inline

Definition at line 189 of file TGLRnrCtx.h.

Referenced by TGLScene::RenderAllPasses().

§ SecSelection()

Bool_t TGLRnrCtx::SecSelection ( ) const
inline

§ Selection()

Bool_t TGLRnrCtx::Selection ( ) const
inline

§ SelectTransparents()

Short_t TGLRnrCtx::SelectTransparents ( ) const
inline

Definition at line 227 of file TGLRnrCtx.h.

Referenced by TGLViewer::DoSelect().

§ SetCamera()

void TGLRnrCtx::SetCamera ( TGLCamera c)
inline

Definition at line 167 of file TGLRnrCtx.h.

Referenced by TGLViewerBase::PreRender().

§ SetClip()

void TGLRnrCtx::SetClip ( TGLClip p)
inline

Definition at line 201 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::PreDraw(), and TGLSceneBase::PreRender().

§ SetCombiLOD()

void TGLRnrCtx::SetCombiLOD ( Short_t  LOD)
inline

Definition at line 176 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::PreDraw(), and TGLSceneBase::PreRender().

§ SetDrawPass()

void TGLRnrCtx::SetDrawPass ( Short_t  dpass)
inline

§ SetEventKeySym()

void TGLRnrCtx::SetEventKeySym ( UInt_t  k)
inline

Definition at line 248 of file TGLRnrCtx.h.

Referenced by TGLEventHandler::HandleKey().

§ SetGLCtxIdentity()

void TGLRnrCtx::SetGLCtxIdentity ( TGLContextIdentity cid)
inline

Definition at line 255 of file TGLRnrCtx.h.

Referenced by TGLViewerBase::PreRender(), and TGLViewer::PreRender().

§ SetGrabImage()

void TGLRnrCtx::SetGrabImage ( Bool_t  gi)
inline

§ SetHighlight()

void TGLRnrCtx::SetHighlight ( Bool_t  hil)
inline

Definition at line 219 of file TGLRnrCtx.h.

Referenced by TGLViewerBase::RenderSelectedForHighlight().

§ SetHighlightOutline()

void TGLRnrCtx::SetHighlightOutline ( Bool_t  ho)
inline

Definition at line 221 of file TGLRnrCtx.h.

Referenced by TGLScene::RenderHighlight().

§ SetRenderScale()

void TGLRnrCtx::SetRenderScale ( Float_t  s)
inline

Definition at line 245 of file TGLRnrCtx.h.

Referenced by TGLViewer::GetPictureUsingFBO(), and TGLViewer::SavePictureUsingFBO().

§ SetRenderTimeOut()

void TGLRnrCtx::SetRenderTimeOut ( Double_t  tout)
inline

Definition at line 211 of file TGLRnrCtx.h.

Referenced by TGLViewer::DoDraw().

§ SetSceneClip()

void TGLRnrCtx::SetSceneClip ( TGLClip p)
inline

Definition at line 199 of file TGLRnrCtx.h.

§ SetSceneInfo()

void TGLRnrCtx::SetSceneInfo ( TGLSceneInfo si)
inline

§ SetSceneLOD()

void TGLRnrCtx::SetSceneLOD ( Short_t  LOD)
inline

Definition at line 174 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::PreDraw().

§ SetSceneOLLineW()

void TGLRnrCtx::SetSceneOLLineW ( Float_t  w)
inline

Definition at line 194 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::PreDraw(), and TGLSceneBase::PreRender().

§ SetSceneStyle()

void TGLRnrCtx::SetSceneStyle ( Short_t  sty)
inline

Definition at line 185 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::PreDraw(), and TGLSceneBase::PreRender().

§ SetSceneWFLineW()

void TGLRnrCtx::SetSceneWFLineW ( Float_t  w)
inline

Definition at line 190 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::PreDraw(), and TGLSceneBase::PreRender().

§ SetSecSelection()

void TGLRnrCtx::SetSecSelection ( Bool_t  secSel)
inline

Definition at line 225 of file TGLRnrCtx.h.

Referenced by TGLViewer::DoSecondarySelect().

§ SetSelection()

void TGLRnrCtx::SetSelection ( Bool_t  sel)
inline

Definition at line 223 of file TGLRnrCtx.h.

§ SetSelectTransparents()

void TGLRnrCtx::SetSelectTransparents ( Short_t  st)
inline

Definition at line 228 of file TGLRnrCtx.h.

§ SetShapeLOD()

void TGLRnrCtx::SetShapeLOD ( Short_t  LOD)
inline

§ SetShapePixSize()

void TGLRnrCtx::SetShapePixSize ( Float_t  ps)
inline

Definition at line 180 of file TGLRnrCtx.h.

Referenced by TGLScene::RenderElements().

§ SetViewerClip()

void TGLRnrCtx::SetViewerClip ( TGLClip p)
inline

Definition at line 197 of file TGLRnrCtx.h.

Referenced by TGLViewerBase::PreRender().

§ SetViewerLOD()

void TGLRnrCtx::SetViewerLOD ( Short_t  LOD)
inline

Definition at line 172 of file TGLRnrCtx.h.

Referenced by TGLViewerBase::PreRender().

§ SetViewerOLLineW()

void TGLRnrCtx::SetViewerOLLineW ( Float_t  w)
inline

Definition at line 192 of file TGLRnrCtx.h.

Referenced by TGLViewerBase::PreRender().

§ SetViewerStyle()

void TGLRnrCtx::SetViewerStyle ( Short_t  sty)
inline

Definition at line 183 of file TGLRnrCtx.h.

Referenced by TGLViewerBase::PreRender().

§ SetViewerWFLineW()

void TGLRnrCtx::SetViewerWFLineW ( Float_t  w)
inline

Definition at line 188 of file TGLRnrCtx.h.

Referenced by TGLViewerBase::PreRender().

§ ShapeLOD()

Short_t TGLRnrCtx::ShapeLOD ( ) const
inline

§ ShapePixSize()

Float_t TGLRnrCtx::ShapePixSize ( ) const
inline

Definition at line 179 of file TGLRnrCtx.h.

§ StartStopwatch()

void TGLRnrCtx::StartStopwatch ( )

Start the stopwatch.

Definition at line 166 of file TGLRnrCtx.cxx.

Referenced by TGLViewer::DoDrawMono(), TGLViewer::DoDrawStereo(), and SetRenderTimeOut().

§ StopStopwatch()

void TGLRnrCtx::StopStopwatch ( )

Stop the stopwatch.

Definition at line 179 of file TGLRnrCtx.cxx.

Referenced by TGLViewer::DoDrawMono(), TGLViewer::DoDrawStereo(), and SetRenderTimeOut().

§ StyleName()

const char * TGLRnrCtx::StyleName ( Short_t  style)
static

Return string describing the style.

Definition at line 453 of file TGLRnrCtx.cxx.

Referenced by TGLScene::TSceneInfo::DumpDrawStats().

§ ViewerClip()

TGLClip* TGLRnrCtx::ViewerClip ( ) const
inline

Definition at line 196 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::PreDraw().

§ ViewerLOD()

Short_t TGLRnrCtx::ViewerLOD ( ) const
inline

§ ViewerOLLineW()

Float_t TGLRnrCtx::ViewerOLLineW ( ) const
inline

Definition at line 191 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::PreDraw().

§ ViewerStyle()

Short_t TGLRnrCtx::ViewerStyle ( ) const
inline

Definition at line 182 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::PreDraw().

§ ViewerWFLineW()

Float_t TGLRnrCtx::ViewerWFLineW ( ) const
inline

Definition at line 187 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::PreDraw().

Member Data Documentation

§ fCamera

TGLCamera* TGLRnrCtx::fCamera
protected

Definition at line 95 of file TGLRnrCtx.h.

Referenced by GetCamera(), and RefCamera().

§ fClip

TGLClip* TGLRnrCtx::fClip
protected

Definition at line 114 of file TGLRnrCtx.h.

Referenced by Clip().

§ fColorSetStack

lpTGLColorSet_t* TGLRnrCtx::fColorSetStack
protected

§ fCombiLOD

Short_t TGLRnrCtx::fCombiLOD
protected

Definition at line 100 of file TGLRnrCtx.h.

Referenced by CombiLOD(), and TGLRnrCtx().

§ fDLCaptureOpen

Bool_t TGLRnrCtx::fDLCaptureOpen
protected

Definition at line 139 of file TGLRnrCtx.h.

Referenced by CloseDLCapture(), IsDLCaptureOpen(), and OpenDLCapture().

§ fDrawPass

Short_t TGLRnrCtx::fDrawPass
protected

Definition at line 116 of file TGLRnrCtx.h.

Referenced by DrawPass(), IsDrawPassFilled(), and TGLRnrCtx().

§ fEventKeySym

UInt_t TGLRnrCtx::fEventKeySym
protected

Definition at line 136 of file TGLRnrCtx.h.

Referenced by GetEventKeySym().

§ fGLCtxIdentity

TGLContextIdentity* TGLRnrCtx::fGLCtxIdentity
protected

DL-capture currently open.

Definition at line 140 of file TGLRnrCtx.h.

Referenced by GetGLCtxIdentity(), RegisterFontNoScale(), and ReleaseFont().

§ fGrabbedImage

UChar_t* TGLRnrCtx::fGrabbedImage
protected

Definition at line 147 of file TGLRnrCtx.h.

§ fGrabBuffer

Int_t TGLRnrCtx::fGrabBuffer
protected

Definition at line 146 of file TGLRnrCtx.h.

§ fGrabImage

Bool_t TGLRnrCtx::fGrabImage
protected

Definition at line 145 of file TGLRnrCtx.h.

Referenced by GetGrabImage().

§ fHasTimedOut

Bool_t TGLRnrCtx::fHasTimedOut
protected

Definition at line 121 of file TGLRnrCtx.h.

Referenced by HasStopwatchTimedOut(), StartStopwatch(), and StopStopwatch().

§ fHighlight

Bool_t TGLRnrCtx::fHighlight
protected

Definition at line 124 of file TGLRnrCtx.h.

Referenced by Highlight().

§ fHighlightOutline

Bool_t TGLRnrCtx::fHighlightOutline
protected

Definition at line 125 of file TGLRnrCtx.h.

Referenced by HighlightOutline().

§ fIsRunning

Bool_t TGLRnrCtx::fIsRunning
protected

§ fPickRadius

Int_t TGLRnrCtx::fPickRadius
protected

Definition at line 129 of file TGLRnrCtx.h.

Referenced by BeginSelection(), EndSelection(), and GetPickRadius().

§ fPickRectangle

TGLRect* TGLRnrCtx::fPickRectangle
protected

Definition at line 130 of file TGLRnrCtx.h.

Referenced by BeginSelection(), EndSelection(), GetPickRectangle(), and ~TGLRnrCtx().

§ fQuadric

GLUquadric* TGLRnrCtx::fQuadric
protected

Current GL context identity.

Definition at line 142 of file TGLRnrCtx.h.

Referenced by GetGluQuadric(), and ~TGLRnrCtx().

§ fRenderScale

Float_t TGLRnrCtx::fRenderScale
protected

Definition at line 134 of file TGLRnrCtx.h.

Referenced by GetRenderScale(), and RegisterFont().

§ fRenderTimeOut

Double_t TGLRnrCtx::fRenderTimeOut
protected

Definition at line 119 of file TGLRnrCtx.h.

Referenced by HasStopwatchTimedOut(), RenderTimeOut(), and StopStopwatch().

§ fSceneClip

TGLClip* TGLRnrCtx::fSceneClip
protected

Definition at line 113 of file TGLRnrCtx.h.

Referenced by SceneClip().

§ fSceneInfo

TGLSceneInfo* TGLRnrCtx::fSceneInfo
protected

Definition at line 96 of file TGLRnrCtx.h.

Referenced by GetScene(), GetSceneInfo(), RefScene(), and RefSceneInfo().

§ fSceneLOD

Short_t TGLRnrCtx::fSceneLOD
protected

Definition at line 99 of file TGLRnrCtx.h.

Referenced by SceneLOD(), and TGLRnrCtx().

§ fSceneOLLineW

Float_t TGLRnrCtx::fSceneOLLineW
protected

Definition at line 110 of file TGLRnrCtx.h.

Referenced by SceneOLLineW().

§ fSceneStyle

Short_t TGLRnrCtx::fSceneStyle
protected

Definition at line 105 of file TGLRnrCtx.h.

Referenced by SceneStyle(), and TGLRnrCtx().

§ fSceneWFLineW

Float_t TGLRnrCtx::fSceneWFLineW
protected

Definition at line 108 of file TGLRnrCtx.h.

Referenced by SceneWFLineW().

§ fSecSelection

Bool_t TGLRnrCtx::fSecSelection
protected

Definition at line 127 of file TGLRnrCtx.h.

Referenced by BeginSelection(), EndSelection(), and SecSelection().

§ fSelectBuffer

TGLSelectBuffer* TGLRnrCtx::fSelectBuffer
protected

Definition at line 131 of file TGLRnrCtx.h.

Referenced by BeginSelection(), EndSelection(), GetSelectBuffer(), TGLRnrCtx(), and ~TGLRnrCtx().

§ fSelection

Bool_t TGLRnrCtx::fSelection
protected

Definition at line 126 of file TGLRnrCtx.h.

Referenced by BeginSelection(), EndSelection(), and Selection().

§ fSelectTransparents

Short_t TGLRnrCtx::fSelectTransparents
protected

Definition at line 128 of file TGLRnrCtx.h.

Referenced by SelectTransparents().

§ fShapeLOD

Short_t TGLRnrCtx::fShapeLOD
protected

Definition at line 101 of file TGLRnrCtx.h.

Referenced by ShapeLOD(), and TGLRnrCtx().

§ fShapePixSize

Float_t TGLRnrCtx::fShapePixSize
protected

Definition at line 102 of file TGLRnrCtx.h.

Referenced by ShapePixSize().

§ fStopwatch

TGLStopwatch TGLRnrCtx::fStopwatch
protected

Definition at line 118 of file TGLRnrCtx.h.

Referenced by HasStopwatchTimedOut(), StartStopwatch(), and StopStopwatch().

§ fViewer

TGLViewerBase* TGLRnrCtx::fViewer
protected

Definition at line 94 of file TGLRnrCtx.h.

Referenced by GetViewer(), RefViewer(), and TGLRnrCtx().

§ fViewerClip

TGLClip* TGLRnrCtx::fViewerClip
protected

Definition at line 112 of file TGLRnrCtx.h.

Referenced by ViewerClip().

§ fViewerLOD

Short_t TGLRnrCtx::fViewerLOD
protected

Definition at line 98 of file TGLRnrCtx.h.

Referenced by TGLRnrCtx(), and ViewerLOD().

§ fViewerOLLineW

Float_t TGLRnrCtx::fViewerOLLineW
protected

Definition at line 109 of file TGLRnrCtx.h.

Referenced by ViewerOLLineW().

§ fViewerStyle

Short_t TGLRnrCtx::fViewerStyle
protected

Definition at line 104 of file TGLRnrCtx.h.

Referenced by TGLRnrCtx(), and ViewerStyle().

§ fViewerWFLineW

Float_t TGLRnrCtx::fViewerWFLineW
protected

Definition at line 107 of file TGLRnrCtx.h.

Referenced by ViewerWFLineW().


The documentation for this class was generated from the following files: