#include <TEveBoxGL.h>
Inheritance diagram for TEveBoxGL:
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 | |
TEveBox * | fM |
TEveBox * | fM |
Private Member Functions | |
TEveBoxGL (const TEveBoxGL &) | |
TEveBoxGL & | operator= (const TEveBoxGL &) |
TEveBoxGL (const TEveBoxGL &) | |
TEveBoxGL & | operator= (const TEveBoxGL &) |
Definition at line 27 of file TEveBoxGL.h.
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.
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().
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] |
TEveBoxGL::ClassDef | ( | TEveBoxGL | , | |
0 | ||||
) |
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] |
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] |
TEveBoxGL::ClassDef | ( | TEveBoxGL | , | |
0 | ||||
) |
TEveBox* TEveBoxGL::fM [protected] |
TEveBox* TEveBoxGL::fM [protected] |
Definition at line 34 of file TEveBoxGL.h.