TEveProjectionAxesGL Class Reference

#include <TEveProjectionAxesGL.h>

Inheritance diagram for TEveProjectionAxesGL:

TGLObject TGLObject TGLLogicalShape TGLLogicalShape TGLLogicalShape TGLLogicalShape List of all members.

Public Member Functions

 TEveProjectionAxesGL ()
virtual ~TEveProjectionAxesGL ()
virtual Bool_t SetModel (TObject *obj, const Option_t *opt=0)
virtual void SetBBox ()
virtual void Draw (TGLRnrCtx &rnrCtx) const
virtual void DirectDraw (TGLRnrCtx &rnrCtx) const
Bool_t IgnoreSizeForOfInterest () const
 ClassDef (TEveProjectionAxesGL, 0)
 TEveProjectionAxesGL ()
virtual ~TEveProjectionAxesGL ()
virtual Bool_t SetModel (TObject *obj, const Option_t *opt=0)
virtual void SetBBox ()
virtual void Draw (TGLRnrCtx &rnrCtx) const
virtual void DirectDraw (TGLRnrCtx &rnrCtx) const
Bool_t IgnoreSizeForOfInterest () const
 ClassDef (TEveProjectionAxesGL, 0)

Protected Attributes

TEveProjectionAxesfM
TEveProjectionfProjection
TGLAxisPainter fAxisPainter
TEveProjectionAxesfM
TEveProjectionfProjection

Private Member Functions

 TEveProjectionAxesGL (const TEveProjectionAxesGL &)
TEveProjectionAxesGLoperator= (const TEveProjectionAxesGL &)
void GetRange (Int_t ax, Float_t frustMin, Float_t frustMax, Float_t &start, Float_t &en) const
void SplitInterval (Float_t x1, Float_t x2, Int_t axis) const
void SplitIntervalByPos (Float_t min, Float_t max, Int_t axis) const
void SplitIntervalByVal (Float_t min, Float_t max, Int_t axis) const
void FilterOverlappingLabels (Int_t idx, Float_t ref) const
 TEveProjectionAxesGL (const TEveProjectionAxesGL &)
TEveProjectionAxesGLoperator= (const TEveProjectionAxesGL &)
void GetRange (Int_t ax, Float_t frustMin, Float_t frustMax, Float_t &start, Float_t &en) const
void SplitInterval (Float_t x1, Float_t x2, Int_t axis) const
void SplitIntervalByPos (Float_t min, Float_t max, Int_t axis) const
void SplitIntervalByVal (Float_t min, Float_t max, Int_t axis) const
void FilterOverlappingLabels (Int_t idx, Float_t ref) const

Detailed Description

Definition at line 21 of file TEveProjectionAxesGL.h.


Constructor & Destructor Documentation

TEveProjectionAxesGL::TEveProjectionAxesGL ( const TEveProjectionAxesGL  )  [private]

TEveProjectionAxesGL::TEveProjectionAxesGL (  ) 

Definition at line 32 of file TEveProjectionAxesGL.cxx.

References TGLLogicalShape::fDLCache, and kFALSE.

virtual TEveProjectionAxesGL::~TEveProjectionAxesGL (  )  [inline, virtual]

Definition at line 39 of file TEveProjectionAxesGL.h.

TEveProjectionAxesGL::TEveProjectionAxesGL ( const TEveProjectionAxesGL  )  [private]

TEveProjectionAxesGL::TEveProjectionAxesGL (  ) 

virtual TEveProjectionAxesGL::~TEveProjectionAxesGL (  )  [inline, virtual]

Definition at line 39 of file TEveProjectionAxesGL.h.


Member Function Documentation

TEveProjectionAxesGL& TEveProjectionAxesGL::operator= ( const TEveProjectionAxesGL  )  [private]

void TEveProjectionAxesGL::GetRange ( Int_t  ax,
Float_t  frustMin,
Float_t  frustMax,
Float_t start,
Float_t en 
) const [private]

Definition at line 268 of file TEveProjectionAxesGL.cxx.

References c, fProjection, and TEveProjection::GetLimit().

Referenced by DirectDraw().

void TEveProjectionAxesGL::SplitInterval ( Float_t  x1,
Float_t  x2,
Int_t  axis 
) const [private]

Definition at line 139 of file TEveProjectionAxesGL.cxx.

References fAxisPainter, FilterOverlappingLabels(), fM, TEveProjectionAxes::GetLabMode(), TEveProjectionAxes::kPosition, TEveProjectionAxes::kValue, TGLAxisPainter::RefLabVec(), TGLAxisPainter::RefTMVec(), SplitIntervalByPos(), and SplitIntervalByVal().

Referenced by DirectDraw().

void TEveProjectionAxesGL::SplitIntervalByPos ( Float_t  min,
Float_t  max,
Int_t  axis 
) const [private]

Definition at line 169 of file TEveProjectionAxesGL.cxx.

References TMath::CeilNint(), fAxisPainter, TMath::FloorNint(), fM, fProjection, TAttAxis::GetNdivisions(), TEveProjection::GetValForScreenPos(), i, l, THLimitsFinder::Optimize(), p, TGLAxisPainter::RefLabVec(), and TGLAxisPainter::RefTMVec().

Referenced by SplitInterval().

void TEveProjectionAxesGL::SplitIntervalByVal ( Float_t  min,
Float_t  max,
Int_t  axis 
) const [private]

Definition at line 217 of file TEveProjectionAxesGL.cxx.

References fAxisPainter, TMath::FloorNint(), fM, fProjection, TAttAxis::GetNdivisions(), TEveProjection::GetScreenVal(), TEveProjection::GetValForScreenPos(), k, l, THLimitsFinder::Optimize(), TGLAxisPainter::RefLabVec(), TGLAxisPainter::RefTMVec(), and v1.

Referenced by SplitInterval().

void TEveProjectionAxesGL::FilterOverlappingLabels ( Int_t  idx,
Float_t  ref 
) const [private]

Definition at line 63 of file TEveProjectionAxesGL.cxx.

References TMath::Abs(), xmlio::cnt, fAxisPainter, fM, TEveProjectionManager::GetCenter(), TAttAxis::GetLabelSize(), TEveProjectionAxes::GetManager(), i, TGLAxisPainter::RefLabVec(), TGLAxisPainter::SetTextFormat(), and size.

Referenced by SplitInterval().

Bool_t TEveProjectionAxesGL::SetModel ( TObject obj,
const Option_t opt = 0 
) [virtual]

Implements TGLObject.

Definition at line 43 of file TEveProjectionAxesGL.cxx.

References fAxisPainter, fM, TEveProjectionAxes::GetManager(), kFALSE, kTRUE, and TGLAxisPainter::SetAttAxis().

void TEveProjectionAxesGL::SetBBox (  )  [virtual]

Implements TGLObject.

Definition at line 54 of file TEveProjectionAxesGL.cxx.

References TGLLogicalShape::fExternalObj, and TGLObject::SetAxisAlignedBBox().

void TEveProjectionAxesGL::Draw ( TGLRnrCtx rnrCtx  )  const [virtual]

Reimplemented from TGLLogicalShape.

Definition at line 289 of file TEveProjectionAxesGL.cxx.

References TGLLogicalShape::Draw(), and TGLRnrCtx::IsDrawPassOutlineLine().

void TEveProjectionAxesGL::DirectDraw ( TGLRnrCtx rnrCtx  )  const [virtual]

Implements TGLLogicalShape.

Definition at line 300 of file TEveProjectionAxesGL.cxx.

References b, c, camera, TMath::CeilNint(), TGLUtil::Color(), TGLRnrCtx::ColorSet(), d, TEveProjectionAxes::fAxesMode, fAxisPainter, fM, fProjection, TEveProjectionAxes::fUseColorSet, TEveProjectionAxes::GetDrawCenter(), TEveProjectionAxes::GetDrawOrigin(), TGLFontManager::GetFontNameFromId(), TAttAxis::GetLabelFont(), TAttAxis::GetLabelSize(), TEveProjectionAxes::GetManager(), TEveProjection::GetProjectedCenter(), TEveProjectionManager::GetProjection(), GetRange(), GL_COLOR_MATERIAL, GL_CULL_FACE, GL_DEPTH_RANGE, GL_DIFFUSE, GL_ENABLE_BIT, GL_FILL, GL_FRONT_AND_BACK, GL_LIGHTING, GL_LINES, GL_POLYGON_BIT, GL_VIEWPORT, glBegin(), glColorMaterial(), glDepthRange(), glDisable(), glEnable(), glEnd(), glGetFloatv(), glGetIntegerv(), glPolygonMode(), glPopAttrib(), glPopMatrix(), glPushAttrib(), glPushMatrix(), glTranslatef(), glVertex3f(), TGLRnrCtx::Highlight(), TEveProjectionAxes::kAll, TGLCamera::kBottom, TGLFont::kBottom, TGLFont::kCenterH, TGLFont::kCenterV, kFALSE, TEveProjectionAxes::kHorizontal, TGLFont::kLeft, TGLCamera::kLeft, TGLFont::kPixmap, TGLFont::kRight, TGLCamera::kRight, TGLCamera::kTop, TGLFont::kTop, TEveProjectionAxes::kVertical, l, TGLUtil::LineWidth(), TGLColorSet::Markup(), max, min, TGLVertex3::Negate(), TMath::Power(), TEveProjection::ProjectVector(), TGLRnrCtx::RefCamera(), TGLAxisPainter::RefDir(), TGLAxisPainter::RefTMOff(), TGLAxisPainter::RnrLabels(), TGLAxisPainter::RnrLines(), TGLRnrCtx::Selection(), TGLVertex3::Set(), TGLAxisPainter::SetFontMode(), TGLAxisPainter::SetLabelAlign(), TGLAxisPainter::SetLabelFont(), TGLAxisPainter::SetUseAxisColors(), SplitInterval(), TMath::Sqrt(), t, and vp.

Bool_t TEveProjectionAxesGL::IgnoreSizeForOfInterest (  )  const [inline, virtual]

Reimplemented from TGLLogicalShape.

Definition at line 46 of file TEveProjectionAxesGL.h.

References kTRUE.

TEveProjectionAxesGL::ClassDef ( TEveProjectionAxesGL  ,
 
)

TEveProjectionAxesGL& TEveProjectionAxesGL::operator= ( const TEveProjectionAxesGL  )  [private]

void TEveProjectionAxesGL::GetRange ( Int_t  ax,
Float_t  frustMin,
Float_t  frustMax,
Float_t start,
Float_t en 
) const [private]

void TEveProjectionAxesGL::SplitInterval ( Float_t  x1,
Float_t  x2,
Int_t  axis 
) const [private]

void TEveProjectionAxesGL::SplitIntervalByPos ( Float_t  min,
Float_t  max,
Int_t  axis 
) const [private]

void TEveProjectionAxesGL::SplitIntervalByVal ( Float_t  min,
Float_t  max,
Int_t  axis 
) const [private]

void TEveProjectionAxesGL::FilterOverlappingLabels ( Int_t  idx,
Float_t  ref 
) const [private]

virtual Bool_t TEveProjectionAxesGL::SetModel ( TObject obj,
const Option_t opt = 0 
) [virtual]

Implements TGLObject.

virtual void TEveProjectionAxesGL::SetBBox (  )  [virtual]

Implements TGLObject.

virtual void TEveProjectionAxesGL::Draw ( TGLRnrCtx rnrCtx  )  const [virtual]

Reimplemented from TGLLogicalShape.

virtual void TEveProjectionAxesGL::DirectDraw ( TGLRnrCtx rnrCtx  )  const [virtual]

Implements TGLLogicalShape.

Bool_t TEveProjectionAxesGL::IgnoreSizeForOfInterest (  )  const [inline, virtual]

Reimplemented from TGLLogicalShape.

Definition at line 46 of file TEveProjectionAxesGL.h.

References kTRUE.

TEveProjectionAxesGL::ClassDef ( TEveProjectionAxesGL  ,
 
)


Member Data Documentation

TEveProjectionAxes* TEveProjectionAxesGL::fM [protected]

Definition at line 33 of file TEveProjectionAxesGL.h.

Referenced by DirectDraw(), FilterOverlappingLabels(), SetModel(), SplitInterval(), SplitIntervalByPos(), and SplitIntervalByVal().

TEveProjection* TEveProjectionAxesGL::fProjection [mutable, protected]

Definition at line 34 of file TEveProjectionAxesGL.h.

Referenced by DirectDraw(), GetRange(), SplitIntervalByPos(), and SplitIntervalByVal().

TGLAxisPainter TEveProjectionAxesGL::fAxisPainter [mutable, protected]

Definition at line 35 of file TEveProjectionAxesGL.h.

Referenced by DirectDraw(), FilterOverlappingLabels(), SetModel(), SplitInterval(), SplitIntervalByPos(), and SplitIntervalByVal().

TEveProjectionAxes* TEveProjectionAxesGL::fM [protected]

Definition at line 33 of file TEveProjectionAxesGL.h.

TEveProjection* TEveProjectionAxesGL::fProjection [mutable, protected]

Definition at line 34 of file TEveProjectionAxesGL.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:37:04 2011 for ROOT_528-00b_version by  doxygen 1.5.1