TEveBoxGL Class Reference

#include <TEveBoxGL.h>

Inheritance diagram for TEveBoxGL:

TGLObject TGLObject TGLLogicalShape TGLLogicalShape TGLLogicalShape TGLLogicalShape List of all members.

Public Member Functions

 TEveBoxGL ()
virtual ~TEveBoxGL ()
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
virtual Bool_t IgnoreSizeForOfInterest () const
 ClassDef (TEveBoxGL, 0)
 TEveBoxGL ()
virtual ~TEveBoxGL ()
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
virtual Bool_t IgnoreSizeForOfInterest () const
 ClassDef (TEveBoxGL, 0)

Protected Member Functions

void RenderOutline (const Float_t p[8][3]) const
void RenderBoxStdNorm (const Float_t p[8][3]) const
void RenderBoxAutoNorm (const Float_t p[8][3]) const
void RenderOutline (const Float_t p[8][3]) const
void RenderBoxStdNorm (const Float_t p[8][3]) const
void RenderBoxAutoNorm (const Float_t p[8][3]) const

Protected Attributes

TEveBoxfM
TEveBoxfM

Private Member Functions

 TEveBoxGL (const TEveBoxGL &)
TEveBoxGLoperator= (const TEveBoxGL &)
 TEveBoxGL (const TEveBoxGL &)
TEveBoxGLoperator= (const TEveBoxGL &)

Detailed Description

Definition at line 27 of file TEveBoxGL.h.


Constructor & Destructor Documentation

TEveBoxGL::TEveBoxGL ( const TEveBoxGL  )  [private]

TEveBoxGL::TEveBoxGL (  ) 

Definition at line 31 of file TEveBoxGL.cxx.

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

Definition at line 42 of file TEveBoxGL.h.

TEveBoxGL::TEveBoxGL ( const TEveBoxGL  )  [private]

TEveBoxGL::TEveBoxGL (  ) 

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

Definition at line 42 of file TEveBoxGL.h.


Member Function Documentation

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

void TEveBoxGL::RenderOutline ( const Float_t  p[8][3]  )  const [protected]

Definition at line 80 of file TEveBoxGL.cxx.

References GL_LINE_STRIP, GL_LINES, glBegin(), glEnd(), and glVertex3fv().

Referenced by DirectDraw(), and Draw().

void TEveBoxGL::RenderBoxStdNorm ( const Float_t  p[8][3]  )  const [protected]

Definition at line 101 of file TEveBoxGL.cxx.

References GL_QUADS, glBegin(), glEnd(), glNormal3f(), and glVertex3fv().

void TEveBoxGL::RenderBoxAutoNorm ( const Float_t  p[8][3]  )  const [protected]

Definition at line 136 of file TEveBoxGL.cxx.

References TMath::Cross(), GL_QUADS, glBegin(), glEnd(), glNormal3fv(), glVertex3fv(), n, and subtract_and_normalize().

Referenced by DirectDraw().

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

Implements TGLObject.

Definition at line 40 of file TEveBoxGL.cxx.

References fM, and kTRUE.

void TEveBoxGL::SetBBox (  )  [virtual]

Implements TGLObject.

Definition at line 49 of file TEveBoxGL.cxx.

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

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

Reimplemented from TGLLogicalShape.

Definition at line 179 of file TEveBoxGL.cxx.

References TGLUtil::Color(), TGLLogicalShape::Draw(), TEveShape::fDrawFrame, TEveShape::fHighlightFrame, TEveShape::fLineColor, TEveShape::fLineWidth, fM, TEveBox::fVertices, GL_BLEND, glEnable(), TGLRnrCtx::Highlight(), TGLRnrCtx::IsDrawPassOutlineLine(), TGLUtil::LineWidth(), and RenderOutline().

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

Implements TGLLogicalShape.

Definition at line 206 of file TEveBoxGL.cxx.

References TGLUtil::Color(), TEveShape::fDrawFrame, TEveShape::fFillColor, TEveShape::fLineColor, TEveShape::fLineWidth, fM, TGLObject::fMultiColor, TEveBox::fVertices, GL_BLEND, GL_ENABLE_BIT, GL_POLYGON_OFFSET_FILL, glDisable(), glEnable(), glPolygonOffset(), glPopAttrib(), glPushAttrib(), TGLUtil::LineWidth(), RenderBoxAutoNorm(), and RenderOutline().

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

Reimplemented from TGLLogicalShape.

Definition at line 50 of file TEveBoxGL.h.

References kTRUE.

TEveBoxGL::ClassDef ( TEveBoxGL  ,
 
)

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

void TEveBoxGL::RenderOutline ( const Float_t  p[8][3]  )  const [protected]

void TEveBoxGL::RenderBoxStdNorm ( const Float_t  p[8][3]  )  const [protected]

void TEveBoxGL::RenderBoxAutoNorm ( const Float_t  p[8][3]  )  const [protected]

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

Implements TGLObject.

virtual void TEveBoxGL::SetBBox (  )  [virtual]

Implements TGLObject.

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

Reimplemented from TGLLogicalShape.

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

Implements TGLLogicalShape.

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

Reimplemented from TGLLogicalShape.

Definition at line 50 of file TEveBoxGL.h.

References kTRUE.

TEveBoxGL::ClassDef ( TEveBoxGL  ,
 
)


Member Data Documentation

TEveBox* TEveBoxGL::fM [protected]

Definition at line 34 of file TEveBoxGL.h.

Referenced by DirectDraw(), Draw(), and SetModel().

TEveBox* TEveBoxGL::fM [protected]

Definition at line 34 of file TEveBoxGL.h.


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