TEvePolygonSetProjectedGL Class Reference

#include <TEvePolygonSetProjectedGL.h>

Inheritance diagram for TEvePolygonSetProjectedGL:

TGLObject TGLObject TGLLogicalShape TGLLogicalShape TGLLogicalShape TGLLogicalShape List of all members.

Public Member Functions

 TEvePolygonSetProjectedGL ()
virtual ~TEvePolygonSetProjectedGL ()
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 void DrawHighlight (TGLRnrCtx &rnrCtx, const TGLPhysicalShape *pshp, Int_t lvl=-1) const
virtual Bool_t IgnoreSizeForOfInterest () const
 TEvePolygonSetProjectedGL ()
virtual ~TEvePolygonSetProjectedGL ()
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 void DrawHighlight (TGLRnrCtx &rnrCtx, const TGLPhysicalShape *pshp, Int_t lvl=-1) const
virtual Bool_t IgnoreSizeForOfInterest () const

Protected Attributes

TEvePolygonSetProjectedfM
TEvePolygonSetProjectedfM

Private Member Functions

void DrawOutline () const
 ClassDef (TEvePolygonSetProjectedGL, 0)
void DrawOutline () const
 ClassDef (TEvePolygonSetProjectedGL, 0)

Classes

struct  Edge_t

Detailed Description

Definition at line 19 of file TEvePolygonSetProjectedGL.h.


Constructor & Destructor Documentation

TEvePolygonSetProjectedGL::TEvePolygonSetProjectedGL (  ) 

Definition at line 33 of file TEvePolygonSetProjectedGL.cxx.

References TGLObject::fMultiColor, and kTRUE.

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

Definition at line 44 of file TEvePolygonSetProjectedGL.h.

TEvePolygonSetProjectedGL::TEvePolygonSetProjectedGL (  ) 

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

Definition at line 44 of file TEvePolygonSetProjectedGL.h.


Member Function Documentation

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

Implements TGLObject.

Definition at line 44 of file TEvePolygonSetProjectedGL.cxx.

References fM, and kTRUE.

void TEvePolygonSetProjectedGL::SetBBox (  )  [virtual]

Implements TGLObject.

Definition at line 53 of file TEvePolygonSetProjectedGL.cxx.

References TAttBBox::AssertBBox(), fM, and TGLObject::SetAxisAlignedBBox().

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

Reimplemented from TGLLogicalShape.

Definition at line 63 of file TEvePolygonSetProjectedGL.cxx.

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

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

Implements TGLLogicalShape.

Definition at line 122 of file TEvePolygonSetProjectedGL.cxx.

References TGLUtil::Color(), coords, DrawOutline(), TEveShape::fDrawFrame, TEveShape::fFillColor, TEveShape::fLineColor, TEveShape::fLineWidth, fM, TGLObject::fMultiColor, TEvePolygonSetProjected::fPnts, TEvePolygonSetProjected::fPols, TEveVectorT< TT >::fX, TEveVectorT< TT >::fY, TGLUtil::GetDrawTesselator3fv(), GL_COLOR_MATERIAL, GL_CULL_FACE, GL_DIFFUSE, GL_ENABLE_BIT, GL_FILL, GL_FRONT_AND_BACK, GL_LIGHTING, GL_LINE_BIT, GL_LINE_SMOOTH, GL_POLYGON, GL_POLYGON_BIT, GL_POLYGON_OFFSET_FILL, glBegin(), glColorMaterial(), glDisable(), glEnable(), glEnd(), glNormal3f(), glPolygonMode(), glPolygonOffset(), glPopAttrib(), glPushAttrib(), glVertex3fv(), i, k, and TGLUtil::LineWidth().

void TEvePolygonSetProjectedGL::DrawHighlight ( TGLRnrCtx rnrCtx,
const TGLPhysicalShape pshp,
Int_t  lvl = -1 
) const [virtual]

Reimplemented from TGLLogicalShape.

Definition at line 191 of file TEvePolygonSetProjectedGL.cxx.

References TGLUtil::Color(), TGLRnrCtx::ColorSet(), TGLRnrCtx::CombiLOD(), dr, TGLLogicalShape::DrawHighlight(), DrawOutline(), TEveShape::fLineColor, fM, TEveShape::GetHighlightFrame(), TGLPhysicalShape::GetSelected(), GL_DEPTH_RANGE, GL_ENABLE_BIT, GL_LIGHTING, GL_LINE_BIT, GL_LINE_SMOOTH, glColor4ubv(), glDepthRange(), glDisable(), glEnable(), glGetFloatv(), glPopAttrib(), glPushAttrib(), glViewport(), i, kFALSE, TGLRnrCtx::kLODHigh, kTRUE, TGLUtil::LockColor(), TGLRnrCtx::RefCamera(), TGLCamera::RefViewport(), TGLColorSet::Selection(), TGLRnrCtx::SetHighlightOutline(), TGLPhysicalShape::SetupGLColors(), TGLUtil::UnlockColor(), and vp.

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

Reimplemented from TGLLogicalShape.

Definition at line 53 of file TEvePolygonSetProjectedGL.h.

References kTRUE.

void TEvePolygonSetProjectedGL::DrawOutline (  )  const [private]

Definition at line 75 of file TEvePolygonSetProjectedGL.cxx.

References TEveVectorT< TT >::Arr(), fM, TEvePolygonSetProjected::fPnts, TEvePolygonSetProjected::fPols, TEveShape::GetMiniFrame(), GL_LINE_LOOP, GL_LINES, glBegin(), glEnd(), glVertex3fv(), i, and k.

Referenced by DirectDraw(), and DrawHighlight().

TEvePolygonSetProjectedGL::ClassDef ( TEvePolygonSetProjectedGL  ,
 
) [private]

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

Implements TGLObject.

virtual void TEvePolygonSetProjectedGL::SetBBox (  )  [virtual]

Implements TGLObject.

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

Reimplemented from TGLLogicalShape.

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

Implements TGLLogicalShape.

virtual void TEvePolygonSetProjectedGL::DrawHighlight ( TGLRnrCtx rnrCtx,
const TGLPhysicalShape pshp,
Int_t  lvl = -1 
) const [virtual]

Reimplemented from TGLLogicalShape.

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

Reimplemented from TGLLogicalShape.

Definition at line 53 of file TEvePolygonSetProjectedGL.h.

References kTRUE.

void TEvePolygonSetProjectedGL::DrawOutline (  )  const [private]

TEvePolygonSetProjectedGL::ClassDef ( TEvePolygonSetProjectedGL  ,
 
) [private]


Member Data Documentation

TEvePolygonSetProjected* TEvePolygonSetProjectedGL::fM [protected]

Definition at line 40 of file TEvePolygonSetProjectedGL.h.

Referenced by DirectDraw(), DrawHighlight(), DrawOutline(), SetBBox(), and SetModel().

TEvePolygonSetProjected* TEvePolygonSetProjectedGL::fM [protected]

Definition at line 40 of file TEvePolygonSetProjectedGL.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