ROOT  6.06/09
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 ()
 
 ClassDef (TGLRnrCtx, 0)
 

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

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

Definition at line 91 of file TGLRnrCtx.h.

Member Enumeration Documentation

Enumerator
kLODUndef 
kLODPixel 
kLODLow 
kLODMed 
kLODHigh 

Definition at line 61 of file TGLRnrCtx.h.

Enumerator
kPassUndef 
kPassFill 
kPassOutlineFill 
kPassOutlineLine 
kPassWireFrame 

Definition at line 52 of file TGLRnrCtx.h.

Enumerator
kIfNoOpaques 
kIfClosest 
kNever 

Definition at line 80 of file TGLRnrCtx.h.

Enumerator
kSSLNotSelected 
kSSLSelected 
kSSLImpliedSelected 
kSSLHighlighted 
kSSLImpliedHighlighted 
kSSLEnd 

Definition at line 70 of file TGLRnrCtx.h.

Enumerator
kStyleUndef 
kFill 
kOutline 
kWireFrame 

Definition at line 43 of file TGLRnrCtx.h.

Constructor & Destructor Documentation

TGLRnrCtx::TGLRnrCtx ( const TGLRnrCtx )
private
TGLRnrCtx::TGLRnrCtx ( TGLViewerBase viewer)

Definition at line 57 of file TGLRnrCtx.cxx.

TGLRnrCtx::~TGLRnrCtx ( )
virtual

Destructor.

Definition at line 124 of file TGLRnrCtx.cxx.

Member Function Documentation

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(), and TGLViewer::DoSelect().

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 TGLViewer::InitSecondaryObjects(), TGLViewer::UseDarkColorSet(), TGLViewer::UseDefaultColorSet(), and TGLViewer::UseLightColorSet().

TGLRnrCtx::ClassDef ( TGLRnrCtx  ,
 
)
TGLClip* TGLRnrCtx::Clip ( ) const
inline

Definition at line 200 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::UpdateSceneInfo().

void TGLRnrCtx::CloseDLCapture ( )

End display list capture.

Definition at line 347 of file TGLRnrCtx.cxx.

Referenced by TGLLogicalShape::Draw().

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.

TGLColorSet & TGLRnrCtx::ColorSet ( )
Short_t TGLRnrCtx::CombiLOD ( ) const
inline
Short_t TGLRnrCtx::DrawPass ( ) const
inline
void TGLRnrCtx::EndSelection ( Int_t  glResult)

End selection.

Definition at line 219 of file TGLRnrCtx.cxx.

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

TGLColorSet * TGLRnrCtx::GetBaseColorSet ( )
TGLCamera* TGLRnrCtx::GetCamera ( )
inline
const TGLCamera* TGLRnrCtx::GetCamera ( ) const
inline

Definition at line 164 of file TGLRnrCtx.h.

UInt_t TGLRnrCtx::GetEventKeySym ( ) const
inline

Definition at line 247 of file TGLRnrCtx.h.

Referenced by TGLManipSet::Handle().

TGLContextIdentity* TGLRnrCtx::GetGLCtxIdentity ( ) const
inline

Definition at line 254 of file TGLRnrCtx.h.

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

GLUquadric * TGLRnrCtx::GetGluQuadric ( )

Initialize fQuadric.

Definition at line 405 of file TGLRnrCtx.cxx.

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

Bool_t TGLRnrCtx::GetGrabImage ( ) const
inline

Definition at line 267 of file TGLRnrCtx.h.

Referenced by TGLViewer::DoDraw().

Int_t TGLRnrCtx::GetPickRadius ( )

Return pick radius. If selection is not active it returns 0.

Definition at line 257 of file TGLRnrCtx.cxx.

Referenced by TPointSet3DGL::DirectDraw(), TEveTrackProjectedGL::DirectDraw(), TEveLineGL::DirectDraw(), TEveStraightLineSetGL::DirectDraw(), and TEveTrackGL::RenderPathMarksAndFirstVertex().

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(), and TEveCaloLegoOverlay::Render().

Float_t TGLRnrCtx::GetRenderScale ( ) const
inline
TGLSceneBase * TGLRnrCtx::GetScene ( )

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

Definition at line 135 of file TGLRnrCtx.cxx.

TGLSceneInfo* TGLRnrCtx::GetSceneInfo ( )
inline
TGLSelectBuffer* TGLRnrCtx::GetSelectBuffer ( ) const
inline
TGLViewerBase* TGLRnrCtx::GetViewer ( )
inline

Definition at line 154 of file TGLRnrCtx.h.

Referenced by TGLOverlayButton::Handle().

Bool_t TGLRnrCtx::HasClip ( ) const
inline

Definition at line 202 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::UpdateSceneInfo().

Bool_t TGLRnrCtx::HasStopwatchTimedOut ( )

Check if the stopwatch went beyond the render time limit.

Definition at line 188 of file TGLRnrCtx.cxx.

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

Bool_t TGLRnrCtx::Highlight ( ) const
inline
Bool_t TGLRnrCtx::HighlightOutline ( ) const
inline

Definition at line 220 of file TGLRnrCtx.h.

Referenced by TGLPhysicalShape::Draw().

Bool_t TGLRnrCtx::IsDLCaptureOpen ( ) const
inline

Definition at line 250 of file TGLRnrCtx.h.

Referenced by TGLLogicalShape::Draw().

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().

Bool_t TGLRnrCtx::IsDrawPassOutlineLine ( ) const
inline
Bool_t TGLRnrCtx::IsStopwatchRunning ( ) const
inline

Definition at line 214 of file TGLRnrCtx.h.

Referenced by TGLScene::UpdateSceneInfo().

void TGLRnrCtx::OpenDLCapture ( )

Start display-list capture.

Definition at line 338 of file TGLRnrCtx.cxx.

Referenced by TGLLogicalShape::Draw().

TGLRnrCtx& TGLRnrCtx::operator= ( const TGLRnrCtx )
private
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.

void TGLRnrCtx::ProjectionMatrixPop ( )

Definition at line 438 of file TGLRnrCtx.cxx.

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

void TGLRnrCtx::ProjectionMatrixPushIdentity ( )

Definition at line 423 of file TGLRnrCtx.cxx.

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

void TGLRnrCtx::PushColorSet ( )

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

Definition at line 270 of file TGLRnrCtx.cxx.

TGLCamera& TGLRnrCtx::RefCamera ( )
inline
const TGLCamera& TGLRnrCtx::RefCamera ( ) const
inline

Definition at line 163 of file TGLRnrCtx.h.

TGLSceneBase & TGLRnrCtx::RefScene ( )

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

Definition at line 143 of file TGLRnrCtx.cxx.

TGLSceneInfo& TGLRnrCtx::RefSceneInfo ( )
inline

Definition at line 159 of file TGLRnrCtx.h.

TGLViewerBase& TGLRnrCtx::RefViewer ( )
inline

Definition at line 155 of file TGLRnrCtx.h.

Referenced by TEveCaloLegoOverlay::Render().

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(), and TGLCameraOverlay::RenderBar().

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.

void TGLRnrCtx::RegisterFontNoScale ( Int_t  size,
Int_t  file,
Int_t  mode,
TGLFont out 
)
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.

void TGLRnrCtx::ReleaseFont ( TGLFont font)

Release font in the GL rendering context.

Definition at line 359 of file TGLRnrCtx.cxx.

Double_t TGLRnrCtx::RenderTimeOut ( ) const
inline

Definition at line 210 of file TGLRnrCtx.h.

TGLClip* TGLRnrCtx::SceneClip ( ) const
inline

Definition at line 198 of file TGLRnrCtx.h.

Short_t TGLRnrCtx::SceneLOD ( ) const
inline

Definition at line 173 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::PreDraw().

Float_t TGLRnrCtx::SceneOLLineW ( ) const
inline

Definition at line 193 of file TGLRnrCtx.h.

Referenced by TGLScene::RenderAllPasses().

Short_t TGLRnrCtx::SceneStyle ( ) const
inline

Definition at line 184 of file TGLRnrCtx.h.

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

Float_t TGLRnrCtx::SceneWFLineW ( ) const
inline

Definition at line 189 of file TGLRnrCtx.h.

Referenced by TGLScene::RenderAllPasses().

Bool_t TGLRnrCtx::SecSelection ( ) const
inline
Bool_t TGLRnrCtx::Selection ( ) const
inline
Short_t TGLRnrCtx::SelectTransparents ( ) const
inline

Definition at line 227 of file TGLRnrCtx.h.

Referenced by TGLViewer::DoSelect().

void TGLRnrCtx::SetCamera ( TGLCamera c)
inline

Definition at line 167 of file TGLRnrCtx.h.

Referenced by TGLViewerBase::PreRender().

void TGLRnrCtx::SetClip ( TGLClip p)
inline

Definition at line 201 of file TGLRnrCtx.h.

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

void TGLRnrCtx::SetCombiLOD ( Short_t  LOD)
inline

Definition at line 176 of file TGLRnrCtx.h.

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

void TGLRnrCtx::SetDrawPass ( Short_t  dpass)
inline
void TGLRnrCtx::SetEventKeySym ( UInt_t  k)
inline

Definition at line 248 of file TGLRnrCtx.h.

Referenced by TGLEventHandler::HandleKey().

void TGLRnrCtx::SetGLCtxIdentity ( TGLContextIdentity cid)
inline

Definition at line 255 of file TGLRnrCtx.h.

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

void TGLRnrCtx::SetGrabImage ( Bool_t  gi)
inline
void TGLRnrCtx::SetHighlight ( Bool_t  hil)
inline

Definition at line 219 of file TGLRnrCtx.h.

Referenced by TGLViewerBase::RenderSelectedForHighlight().

void TGLRnrCtx::SetHighlightOutline ( Bool_t  ho)
inline

Definition at line 221 of file TGLRnrCtx.h.

Referenced by TGLScene::RenderHighlight().

void TGLRnrCtx::SetRenderScale ( Float_t  s)
inline

Definition at line 245 of file TGLRnrCtx.h.

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

void TGLRnrCtx::SetRenderTimeOut ( Double_t  tout)
inline

Definition at line 211 of file TGLRnrCtx.h.

Referenced by TGLViewer::DoDraw().

void TGLRnrCtx::SetSceneClip ( TGLClip p)
inline

Definition at line 199 of file TGLRnrCtx.h.

void TGLRnrCtx::SetSceneInfo ( TGLSceneInfo si)
inline
void TGLRnrCtx::SetSceneLOD ( Short_t  LOD)
inline

Definition at line 174 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::PreDraw().

void TGLRnrCtx::SetSceneOLLineW ( Float_t  w)
inline

Definition at line 194 of file TGLRnrCtx.h.

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

void TGLRnrCtx::SetSceneStyle ( Short_t  sty)
inline

Definition at line 185 of file TGLRnrCtx.h.

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

void TGLRnrCtx::SetSceneWFLineW ( Float_t  w)
inline

Definition at line 190 of file TGLRnrCtx.h.

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

void TGLRnrCtx::SetSecSelection ( Bool_t  secSel)
inline

Definition at line 225 of file TGLRnrCtx.h.

Referenced by TGLViewer::DoSecondarySelect().

void TGLRnrCtx::SetSelection ( Bool_t  sel)
inline

Definition at line 223 of file TGLRnrCtx.h.

void TGLRnrCtx::SetSelectTransparents ( Short_t  st)
inline

Definition at line 228 of file TGLRnrCtx.h.

void TGLRnrCtx::SetShapeLOD ( Short_t  LOD)
inline
void TGLRnrCtx::SetShapePixSize ( Float_t  ps)
inline

Definition at line 180 of file TGLRnrCtx.h.

Referenced by TGLScene::RenderElements().

void TGLRnrCtx::SetViewerClip ( TGLClip p)
inline

Definition at line 197 of file TGLRnrCtx.h.

Referenced by TGLViewerBase::PreRender().

void TGLRnrCtx::SetViewerLOD ( Short_t  LOD)
inline

Definition at line 172 of file TGLRnrCtx.h.

Referenced by TGLViewerBase::PreRender().

void TGLRnrCtx::SetViewerOLLineW ( Float_t  w)
inline

Definition at line 192 of file TGLRnrCtx.h.

Referenced by TGLViewerBase::PreRender().

void TGLRnrCtx::SetViewerStyle ( Short_t  sty)
inline

Definition at line 183 of file TGLRnrCtx.h.

Referenced by TGLViewerBase::PreRender().

void TGLRnrCtx::SetViewerWFLineW ( Float_t  w)
inline

Definition at line 188 of file TGLRnrCtx.h.

Referenced by TGLViewerBase::PreRender().

Short_t TGLRnrCtx::ShapeLOD ( ) const
inline
Float_t TGLRnrCtx::ShapePixSize ( ) const
inline

Definition at line 179 of file TGLRnrCtx.h.

void TGLRnrCtx::StartStopwatch ( )

Start the stopwatch.

Definition at line 166 of file TGLRnrCtx.cxx.

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

void TGLRnrCtx::StopStopwatch ( )

Stop the stopwatch.

Definition at line 179 of file TGLRnrCtx.cxx.

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

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().

TGLClip* TGLRnrCtx::ViewerClip ( ) const
inline

Definition at line 196 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::PreDraw().

Short_t TGLRnrCtx::ViewerLOD ( ) const
inline
Float_t TGLRnrCtx::ViewerOLLineW ( ) const
inline

Definition at line 191 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::PreDraw().

Short_t TGLRnrCtx::ViewerStyle ( ) const
inline

Definition at line 182 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::PreDraw().

Float_t TGLRnrCtx::ViewerWFLineW ( ) const
inline

Definition at line 187 of file TGLRnrCtx.h.

Referenced by TGLSceneBase::PreDraw().

Member Data Documentation

TGLCamera* TGLRnrCtx::fCamera
protected

Definition at line 95 of file TGLRnrCtx.h.

Referenced by GetCamera(), and RefCamera().

TGLClip* TGLRnrCtx::fClip
protected

Definition at line 114 of file TGLRnrCtx.h.

Referenced by Clip().

lpTGLColorSet_t* TGLRnrCtx::fColorSetStack
protected
Short_t TGLRnrCtx::fCombiLOD
protected

Definition at line 100 of file TGLRnrCtx.h.

Referenced by CombiLOD(), and TGLRnrCtx().

Bool_t TGLRnrCtx::fDLCaptureOpen
protected

Definition at line 139 of file TGLRnrCtx.h.

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

Short_t TGLRnrCtx::fDrawPass
protected

Definition at line 116 of file TGLRnrCtx.h.

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

UInt_t TGLRnrCtx::fEventKeySym
protected

Definition at line 136 of file TGLRnrCtx.h.

Referenced by GetEventKeySym().

TGLContextIdentity* TGLRnrCtx::fGLCtxIdentity
protected

DL-capture currently open.

Definition at line 140 of file TGLRnrCtx.h.

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

UChar_t* TGLRnrCtx::fGrabbedImage
protected

Definition at line 147 of file TGLRnrCtx.h.

Int_t TGLRnrCtx::fGrabBuffer
protected

Definition at line 146 of file TGLRnrCtx.h.

Bool_t TGLRnrCtx::fGrabImage
protected

Definition at line 145 of file TGLRnrCtx.h.

Referenced by GetGrabImage().

Bool_t TGLRnrCtx::fHasTimedOut
protected

Definition at line 121 of file TGLRnrCtx.h.

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

Bool_t TGLRnrCtx::fHighlight
protected

Definition at line 124 of file TGLRnrCtx.h.

Referenced by Highlight().

Bool_t TGLRnrCtx::fHighlightOutline
protected

Definition at line 125 of file TGLRnrCtx.h.

Referenced by HighlightOutline().

Bool_t TGLRnrCtx::fIsRunning
protected
Int_t TGLRnrCtx::fPickRadius
protected

Definition at line 129 of file TGLRnrCtx.h.

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

TGLRect* TGLRnrCtx::fPickRectangle
protected

Definition at line 130 of file TGLRnrCtx.h.

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

GLUquadric* TGLRnrCtx::fQuadric
protected

Current GL context identity.

Definition at line 142 of file TGLRnrCtx.h.

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

Float_t TGLRnrCtx::fRenderScale
protected

Definition at line 134 of file TGLRnrCtx.h.

Referenced by GetRenderScale(), and RegisterFont().

Double_t TGLRnrCtx::fRenderTimeOut
protected

Definition at line 119 of file TGLRnrCtx.h.

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

TGLClip* TGLRnrCtx::fSceneClip
protected

Definition at line 113 of file TGLRnrCtx.h.

Referenced by SceneClip().

TGLSceneInfo* TGLRnrCtx::fSceneInfo
protected

Definition at line 96 of file TGLRnrCtx.h.

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

Short_t TGLRnrCtx::fSceneLOD
protected

Definition at line 99 of file TGLRnrCtx.h.

Referenced by SceneLOD(), and TGLRnrCtx().

Float_t TGLRnrCtx::fSceneOLLineW
protected

Definition at line 110 of file TGLRnrCtx.h.

Referenced by SceneOLLineW().

Short_t TGLRnrCtx::fSceneStyle
protected

Definition at line 105 of file TGLRnrCtx.h.

Referenced by SceneStyle(), and TGLRnrCtx().

Float_t TGLRnrCtx::fSceneWFLineW
protected

Definition at line 108 of file TGLRnrCtx.h.

Referenced by SceneWFLineW().

Bool_t TGLRnrCtx::fSecSelection
protected

Definition at line 127 of file TGLRnrCtx.h.

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

TGLSelectBuffer* TGLRnrCtx::fSelectBuffer
protected

Definition at line 131 of file TGLRnrCtx.h.

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

Bool_t TGLRnrCtx::fSelection
protected

Definition at line 126 of file TGLRnrCtx.h.

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

Short_t TGLRnrCtx::fSelectTransparents
protected

Definition at line 128 of file TGLRnrCtx.h.

Referenced by SelectTransparents().

Short_t TGLRnrCtx::fShapeLOD
protected

Definition at line 101 of file TGLRnrCtx.h.

Referenced by ShapeLOD(), and TGLRnrCtx().

Float_t TGLRnrCtx::fShapePixSize
protected

Definition at line 102 of file TGLRnrCtx.h.

Referenced by ShapePixSize().

TGLStopwatch TGLRnrCtx::fStopwatch
protected

Definition at line 118 of file TGLRnrCtx.h.

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

TGLViewerBase* TGLRnrCtx::fViewer
protected

Definition at line 94 of file TGLRnrCtx.h.

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

TGLClip* TGLRnrCtx::fViewerClip
protected

Definition at line 112 of file TGLRnrCtx.h.

Referenced by ViewerClip().

Short_t TGLRnrCtx::fViewerLOD
protected

Definition at line 98 of file TGLRnrCtx.h.

Referenced by TGLRnrCtx(), and ViewerLOD().

Float_t TGLRnrCtx::fViewerOLLineW
protected

Definition at line 109 of file TGLRnrCtx.h.

Referenced by ViewerOLLineW().

Short_t TGLRnrCtx::fViewerStyle
protected

Definition at line 104 of file TGLRnrCtx.h.

Referenced by TGLRnrCtx(), and ViewerStyle().

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: