#include <TGLUtil.h>
Public Types | |
enum | ELineHeadShape |
enum | EAxesType |
enum | ELineHeadShape |
enum | EAxesType |
Public Member Functions | |
virtual | ~TGLUtil () |
ClassDef (TGLUtil, 0) | |
virtual | ~TGLUtil () |
ClassDef (TGLUtil, 0) | |
Static Public Member Functions | |
static void | CheckError (const char *loc) |
static GLUtesselator * | GetDrawTesselator3fv () |
static GLUtesselator * | GetDrawTesselator4fv () |
static GLUtesselator * | GetDrawTesselator3dv () |
static GLUtesselator * | GetDrawTesselator4dv () |
static UInt_t | GetDrawQuality () |
static void | SetDrawQuality (UInt_t dq) |
static void | ResetDrawQuality () |
static UInt_t | GetDefaultDrawQuality () |
static void | SetDefaultDrawQuality (UInt_t dq) |
static UInt_t | LockColor () |
static UInt_t | UnlockColor () |
static Bool_t | IsColorLocked () |
static void | Color (const TGLColor &color) |
static void | ColorAlpha (const TGLColor &color, UChar_t alpha) |
static void | ColorAlpha (const TGLColor &color, Float_t alpha) |
static void | ColorAlpha (Color_t color_index, Float_t alpha=1) |
static void | ColorTransparency (Color_t color_index, Char_t transparency=0) |
static void | Color3ub (UChar_t r, UChar_t g, UChar_t b) |
static void | Color4ub (UChar_t r, UChar_t g, UChar_t b, UChar_t a) |
static void | Color3ubv (const UChar_t *rgb) |
static void | Color4ubv (const UChar_t *rgba) |
static void | Color3f (Float_t r, Float_t g, Float_t b) |
static void | Color4f (Float_t r, Float_t g, Float_t b, Float_t a) |
static void | Color3fv (const Float_t *rgb) |
static void | Color4fv (const Float_t *rgba) |
static Float_t | GetPointSizeScale () |
static void | SetPointSizeScale (Float_t scale) |
static Float_t | GetLineWidthScale () |
static void | SetLineWidthScale (Float_t scale) |
static void | PointSize (Float_t point_size) |
static void | LineWidth (Float_t line_width) |
static Float_t | PointSize () |
static Float_t | LineWidth () |
static void | BeginExtendPickRegion (Float_t scale) |
static void | EndExtendPickRegion () |
static void | RenderPolyMarkers (const TAttMarker &marker, Char_t transp, Float_t *p, Int_t n, Int_t pick_radius=0, Bool_t selection=kFALSE, Bool_t sec_selection=kFALSE) |
static void | RenderPoints (const TAttMarker &marker, Float_t *p, Int_t n, Int_t pick_radius=0, Bool_t selection=kFALSE, Bool_t sec_selection=kFALSE) |
static void | RenderCrosses (const TAttMarker &marker, Float_t *p, Int_t n, Bool_t sec_selection=kFALSE) |
static void | RenderPolyLine (const TAttLine &aline, Char_t transp, Float_t *p, Int_t n, Int_t pick_radius=0, Bool_t selection=kFALSE) |
static void | BeginAttLine (const TAttLine &aline, Char_t transp, Int_t pick_radius=0, Bool_t selection=kFALSE) |
static void | EndAttLine (Int_t pick_radius=0, Bool_t selection=kFALSE) |
static void | SetDrawColors (const UChar_t rgba[4]) |
static void | DrawSphere (const TGLVertex3 &position, Double_t radius, const UChar_t rgba[4]) |
static void | DrawLine (const TGLLine3 &line, ELineHeadShape head, Double_t size, const UChar_t rgba[4]) |
static void | DrawLine (const TGLVertex3 &start, const TGLVector3 &vector, ELineHeadShape head, Double_t size, const UChar_t rgba[4]) |
static void | DrawRing (const TGLVertex3 ¢er, const TGLVector3 &normal, Double_t radius, const UChar_t *rgba) |
static void | DrawReferenceMarker (const TGLCamera &camera, const TGLVertex3 &pos, Float_t radius=3, const UChar_t *rgba=0) |
static void | DrawSimpleAxes (const TGLCamera &camera, const TGLBoundingBox &bbox, Int_t axesType) |
static void | DrawNumber (const TString &num, const TGLVertex3 &pos, Bool_t center=kFALSE) |
static void | CheckError (const char *loc) |
static GLUtesselator * | GetDrawTesselator3fv () |
static GLUtesselator * | GetDrawTesselator4fv () |
static GLUtesselator * | GetDrawTesselator3dv () |
static GLUtesselator * | GetDrawTesselator4dv () |
static UInt_t | GetDrawQuality () |
static void | SetDrawQuality (UInt_t dq) |
static void | ResetDrawQuality () |
static UInt_t | GetDefaultDrawQuality () |
static void | SetDefaultDrawQuality (UInt_t dq) |
static UInt_t | LockColor () |
static UInt_t | UnlockColor () |
static Bool_t | IsColorLocked () |
static void | Color (const TGLColor &color) |
static void | ColorAlpha (const TGLColor &color, UChar_t alpha) |
static void | ColorAlpha (const TGLColor &color, Float_t alpha) |
static void | ColorAlpha (Color_t color_index, Float_t alpha=1) |
static void | ColorTransparency (Color_t color_index, Char_t transparency=0) |
static void | Color3ub (UChar_t r, UChar_t g, UChar_t b) |
static void | Color4ub (UChar_t r, UChar_t g, UChar_t b, UChar_t a) |
static void | Color3ubv (const UChar_t *rgb) |
static void | Color4ubv (const UChar_t *rgba) |
static void | Color3f (Float_t r, Float_t g, Float_t b) |
static void | Color4f (Float_t r, Float_t g, Float_t b, Float_t a) |
static void | Color3fv (const Float_t *rgb) |
static void | Color4fv (const Float_t *rgba) |
static Float_t | GetPointSizeScale () |
static void | SetPointSizeScale (Float_t scale) |
static Float_t | GetLineWidthScale () |
static void | SetLineWidthScale (Float_t scale) |
static void | PointSize (Float_t point_size) |
static void | LineWidth (Float_t line_width) |
static Float_t | PointSize () |
static Float_t | LineWidth () |
static void | BeginExtendPickRegion (Float_t scale) |
static void | EndExtendPickRegion () |
static void | RenderPolyMarkers (const TAttMarker &marker, Char_t transp, Float_t *p, Int_t n, Int_t pick_radius=0, Bool_t selection=kFALSE, Bool_t sec_selection=kFALSE) |
static void | RenderPoints (const TAttMarker &marker, Float_t *p, Int_t n, Int_t pick_radius=0, Bool_t selection=kFALSE, Bool_t sec_selection=kFALSE) |
static void | RenderCrosses (const TAttMarker &marker, Float_t *p, Int_t n, Bool_t sec_selection=kFALSE) |
static void | RenderPolyLine (const TAttLine &aline, Char_t transp, Float_t *p, Int_t n, Int_t pick_radius=0, Bool_t selection=kFALSE) |
static void | BeginAttLine (const TAttLine &aline, Char_t transp, Int_t pick_radius=0, Bool_t selection=kFALSE) |
static void | EndAttLine (Int_t pick_radius=0, Bool_t selection=kFALSE) |
static void | SetDrawColors (const UChar_t rgba[4]) |
static void | DrawSphere (const TGLVertex3 &position, Double_t radius, const UChar_t rgba[4]) |
static void | DrawLine (const TGLLine3 &line, ELineHeadShape head, Double_t size, const UChar_t rgba[4]) |
static void | DrawLine (const TGLVertex3 &start, const TGLVector3 &vector, ELineHeadShape head, Double_t size, const UChar_t rgba[4]) |
static void | DrawRing (const TGLVertex3 ¢er, const TGLVector3 &normal, Double_t radius, const UChar_t *rgba) |
static void | DrawReferenceMarker (const TGLCamera &camera, const TGLVertex3 &pos, Float_t radius=3, const UChar_t *rgba=0) |
static void | DrawSimpleAxes (const TGLCamera &camera, const TGLBoundingBox &bbox, Int_t axesType) |
static void | DrawNumber (const TString &num, const TGLVertex3 &pos, Bool_t center=kFALSE) |
Static Public Attributes | |
static const UChar_t | fgRed [4] |
static const UChar_t | fgGreen [4] |
static const UChar_t | fgBlue [4] |
static const UChar_t | fgYellow [4] |
static const UChar_t | fgWhite [4] |
static const UChar_t | fgGrey [4] |
Private Member Functions | |
TGLUtil (const TGLUtil &) | |
TGLUtil & | operator= (const TGLUtil &) |
TGLUtil (const TGLUtil &) | |
TGLUtil & | operator= (const TGLUtil &) |
Static Private Attributes | |
static UInt_t | fgDefaultDrawQuality |
static UInt_t | fgDrawQuality |
static UInt_t | fgColorLockCount |
static Float_t | fgPointSize |
static Float_t | fgLineWidth |
static Float_t | fgPointSizeScale |
static Float_t | fgLineWidthScale |
Classes | |
class | TColorLocker |
class | TDrawQualityModifier |
class | TDrawQualityScaler |
Definition at line 896 of file TGLUtil.h.
enum TGLUtil::EAxesType |
enum TGLUtil::EAxesType |
TGLUtil::TGLUtil | ( | const TGLUtil & | ) | [private] |
TGLUtil::TGLUtil | ( | const TGLUtil & | ) | [private] |
void TGLUtil::CheckError | ( | const char * | loc | ) | [static] |
Definition at line 1518 of file TGLUtil.cxx.
References Error, GL_NO_ERROR, and glGetError().
Referenced by G__G__GL_127_0_3(), G__setup_memfuncTGLUtil(), TGLViewer::InitGL(), TGLViewer::PostDraw(), TGLViewer::PreDraw(), TGLViewerBase::RenderNonSelected(), and TGLViewerBase::RenderSelected().
GLUtesselator * TGLUtil::GetDrawTesselator3fv | ( | ) | [static] |
Definition at line 1439 of file TGLUtil.cxx.
References glVertex3fv().
Referenced by TEvePolygonSetProjectedGL::DirectDraw(), G__G__GL_127_0_4(), and G__setup_memfuncTGLUtil().
GLUtesselator * TGLUtil::GetDrawTesselator4fv | ( | ) | [static] |
Definition at line 1450 of file TGLUtil.cxx.
References glVertex4fv().
Referenced by G__G__GL_127_0_5(), and G__setup_memfuncTGLUtil().
GLUtesselator * TGLUtil::GetDrawTesselator3dv | ( | ) | [static] |
Definition at line 1461 of file TGLUtil.cxx.
References glVertex3dv().
Referenced by TGLFaceSet::DirectDraw(), G__G__GL_127_0_6(), and G__setup_memfuncTGLUtil().
GLUtesselator * TGLUtil::GetDrawTesselator4dv | ( | ) | [static] |
Definition at line 1472 of file TGLUtil.cxx.
References glVertex4dv().
Referenced by G__G__GL_127_0_7(), and G__setup_memfuncTGLUtil().
UInt_t TGLUtil::GetDrawQuality | ( | ) | [static] |
Definition at line 1483 of file TGLUtil.cxx.
References fgDrawQuality.
Referenced by G__G__GL_127_0_8(), and G__setup_memfuncTGLUtil().
void TGLUtil::SetDrawQuality | ( | UInt_t | dq | ) | [static] |
Definition at line 1490 of file TGLUtil.cxx.
References fgDrawQuality.
Referenced by G__G__GL_127_0_9(), G__setup_memfuncTGLUtil(), TGLManipSet::Render(), TGLUtil::TDrawQualityModifier::TDrawQualityModifier(), TGLUtil::TDrawQualityScaler::TDrawQualityScaler(), TGLUtil::TDrawQualityModifier::~TDrawQualityModifier(), and TGLUtil::TDrawQualityScaler::~TDrawQualityScaler().
void TGLUtil::ResetDrawQuality | ( | ) | [static] |
Definition at line 1497 of file TGLUtil.cxx.
References fgDefaultDrawQuality, and fgDrawQuality.
Referenced by G__G__GL_127_0_10(), G__setup_memfuncTGLUtil(), and TGLManipSet::Render().
UInt_t TGLUtil::GetDefaultDrawQuality | ( | ) | [static] |
Definition at line 1504 of file TGLUtil.cxx.
References fgDefaultDrawQuality.
Referenced by G__G__GL_127_0_11(), and G__setup_memfuncTGLUtil().
void TGLUtil::SetDefaultDrawQuality | ( | UInt_t | dq | ) | [static] |
Definition at line 1511 of file TGLUtil.cxx.
References fgDefaultDrawQuality.
Referenced by G__G__GL_127_0_12(), and G__setup_memfuncTGLUtil().
UInt_t TGLUtil::LockColor | ( | ) | [static] |
Definition at line 1540 of file TGLUtil.cxx.
References fgColorLockCount.
Referenced by TPointSet3DGL::DirectDraw(), TEveTrackProjectedGL::DirectDraw(), TEveLineGL::DirectDraw(), TGLPhysicalShape::Draw(), TEveCalo3DGL::DrawHighlight(), TEveCalo2DGL::DrawHighlight(), TEvePolygonSetProjectedGL::DrawHighlight(), TEveCaloLegoGL::DrawHighlight(), TGLLogicalShape::DrawHighlight(), G__G__GL_127_0_13(), G__setup_memfuncTGLUtil(), and TGLUtil::TColorLocker::TColorLocker().
UInt_t TGLUtil::UnlockColor | ( | ) | [static] |
Definition at line 1548 of file TGLUtil.cxx.
References Error, and fgColorLockCount.
Referenced by TPointSet3DGL::DirectDraw(), TEveTrackProjectedGL::DirectDraw(), TEveLineGL::DirectDraw(), TGLPhysicalShape::Draw(), TEveCalo3DGL::DrawHighlight(), TEveCalo2DGL::DrawHighlight(), TEvePolygonSetProjectedGL::DrawHighlight(), TEveCaloLegoGL::DrawHighlight(), TGLLogicalShape::DrawHighlight(), G__G__GL_127_0_14(), G__setup_memfuncTGLUtil(), and TGLUtil::TColorLocker::~TColorLocker().
Bool_t TGLUtil::IsColorLocked | ( | ) | [static] |
Definition at line 1560 of file TGLUtil.cxx.
References fgColorLockCount.
Referenced by G__G__GL_127_0_15(), and G__setup_memfuncTGLUtil().
void TGLUtil::Color | ( | const TGLColor & | color | ) | [static] |
Definition at line 1568 of file TGLUtil.cxx.
References fgColorLockCount, and glColor4ubv().
Referenced by TGLRnrCtx::ColorOrForeground(), TEveProjectionAxesGL::DirectDraw(), TEveBoxProjectedGL::DirectDraw(), TEvePolygonSetProjectedGL::DirectDraw(), TEveJetConeProjectedGL::DirectDraw(), TEveBoxGL::DirectDraw(), TEveBoxProjectedGL::Draw(), TEveBoxGL::Draw(), TEveJetConeGL::Draw(), TEveJetConeProjectedGL::Draw(), TEveCaloLegoGL::DrawAxis3D(), TEveCaloLegoGL::DrawCells2D(), TEveCaloLegoGL::DrawCells3D(), TEvePolygonSetProjectedGL::DrawHighlight(), TEveCaloLegoGL::DrawHistBase(), G__G__GL_127_0_16(), G__setup_memfuncTGLUtil(), TGLAxisPainter::PaintAxis(), TGLText::PaintGLText(), TGLCameraOverlay::Render(), TGLManipSet::Render(), TGLAnnotation::Render(), TGLCameraOverlay::RenderBar(), TEveCaloLegoOverlay::RenderHeader(), TEveCaloLegoOverlay::RenderPaletteScales(), TEveCaloLegoOverlay::RenderPlaneInterface(), TGLCameraOverlay::RenderPlaneIntersect(), TGLAxisPainter::RnrLabels(), TGLAxisPainter::RnrLines(), and TGLAxisPainter::RnrTitle().
Definition at line 1576 of file TGLUtil.cxx.
References fgColorLockCount, and glColor4ub().
Referenced by TGLViewer::FadeView(), G__G__GL_127_0_17(), G__G__GL_127_0_18(), G__G__GL_127_0_19(), G__setup_memfuncTGLUtil(), and TGLPhysicalShape::SetupGLColors().
Definition at line 1598 of file TGLUtil.cxx.
References c, fgColorLockCount, TROOT::GetColor(), glColor4f(), and gROOT.
Definition at line 1612 of file TGLUtil.cxx.
References c, fgColorLockCount, TROOT::GetColor(), glColor4f(), and gROOT.
Referenced by BeginAttLine(), TEveCaloLegoGL::DrawCells2D(), TEveCaloLegoGL::DrawCells3D(), G__G__GL_127_0_20(), G__setup_memfuncTGLUtil(), TGLAnnotation::Render(), TGLCameraOverlay::RenderAxis(), TEveCalo3DGL::RenderGrid(), TEveCaloLegoOverlay::RenderLogaritmicScales(), RenderPolyMarkers(), and TEveCaloViz::SetupColorHeight().
Definition at line 1626 of file TGLUtil.cxx.
References fgColorLockCount, and glColor3ub().
Referenced by G__G__GL_127_0_21(), and G__setup_memfuncTGLUtil().
Definition at line 1633 of file TGLUtil.cxx.
References fgColorLockCount, and glColor4ub().
Referenced by G__G__GL_127_0_22(), and G__setup_memfuncTGLUtil().
void TGLUtil::Color3ubv | ( | const UChar_t * | rgb | ) | [static] |
Definition at line 1640 of file TGLUtil.cxx.
References fgColorLockCount, and glColor3ubv().
Referenced by TEveTriangleSetGL::DirectDraw(), G__G__GL_127_0_23(), G__setup_memfuncTGLUtil(), and TEveDigitSetGL::SetupColor().
void TGLUtil::Color4ubv | ( | const UChar_t * | rgba | ) | [static] |
Definition at line 1647 of file TGLUtil.cxx.
References fgColorLockCount, and glColor4ubv().
Referenced by TEveCaloLegoGL::DrawCells2D(), G__G__GL_127_0_24(), G__setup_memfuncTGLUtil(), TEveFrameBoxGL::Render(), TEveDigitSetGL::SetupColor(), and TEveCaloViz::SetupColorHeight().
Definition at line 1654 of file TGLUtil.cxx.
References fgColorLockCount, and glColor3f().
Referenced by G__G__GL_127_0_25(), and G__setup_memfuncTGLUtil().
Definition at line 1661 of file TGLUtil.cxx.
References fgColorLockCount, and glColor4f().
Referenced by G__G__GL_127_0_26(), G__setup_memfuncTGLUtil(), TGLOverlayButton::Render(), and TEveCaloLegoOverlay::RenderPlaneInterface().
void TGLUtil::Color3fv | ( | const Float_t * | rgb | ) | [static] |
Definition at line 1668 of file TGLUtil.cxx.
References fgColorLockCount, and glColor3fv().
Referenced by G__G__GL_127_0_27(), and G__setup_memfuncTGLUtil().
void TGLUtil::Color4fv | ( | const Float_t * | rgba | ) | [static] |
Definition at line 1675 of file TGLUtil.cxx.
References fgColorLockCount, and glColor4fv().
Referenced by G__G__GL_127_0_28(), and G__setup_memfuncTGLUtil().
Float_t TGLUtil::GetPointSizeScale | ( | ) | [static] |
Definition at line 1686 of file TGLUtil.cxx.
References fgPointSizeScale.
Referenced by G__G__GL_127_0_29(), G__setup_memfuncTGLUtil(), and TGLScene::PreDraw().
void TGLUtil::SetPointSizeScale | ( | Float_t | scale | ) | [static] |
Definition at line 1694 of file TGLUtil.cxx.
References fgPointSizeScale.
Referenced by G__G__GL_127_0_30(), G__setup_memfuncTGLUtil(), TGLViewer::PostRender(), and TGLViewer::PreRender().
Float_t TGLUtil::GetLineWidthScale | ( | ) | [static] |
Definition at line 1702 of file TGLUtil.cxx.
References fgLineWidthScale.
Referenced by G__G__GL_127_0_31(), G__setup_memfuncTGLUtil(), and TGLScene::PreDraw().
void TGLUtil::SetLineWidthScale | ( | Float_t | scale | ) | [static] |
Definition at line 1710 of file TGLUtil.cxx.
References fgLineWidthScale.
Referenced by G__G__GL_127_0_32(), G__setup_memfuncTGLUtil(), TGLViewer::PostRender(), and TGLViewer::PreRender().
void TGLUtil::PointSize | ( | Float_t | point_size | ) | [static] |
Definition at line 1718 of file TGLUtil.cxx.
References fgPointSize, fgPointSizeScale, and glPointSize().
void TGLUtil::LineWidth | ( | Float_t | line_width | ) | [static] |
Definition at line 1728 of file TGLUtil.cxx.
References fgLineWidth, fgLineWidthScale, and glLineWidth().
Float_t TGLUtil::PointSize | ( | ) | [static] |
Definition at line 1738 of file TGLUtil.cxx.
References fgPointSize.
Referenced by TGLPolyMarker::DirectDraw(), G__G__GL_127_0_33(), G__G__GL_127_0_35(), G__setup_memfuncTGLUtil(), RenderCrosses(), TEveCaloLegoOverlay::RenderPlaneInterface(), and RenderPoints().
Float_t TGLUtil::LineWidth | ( | ) | [static] |
Definition at line 1746 of file TGLUtil.cxx.
References fgLineWidth.
Referenced by BeginAttLine(), TEveProjectionAxesGL::DirectDraw(), TEveBoxProjectedGL::DirectDraw(), TEvePolygonSetProjectedGL::DirectDraw(), TEveStraightLineSetGL::DirectDraw(), TEveJetConeProjectedGL::DirectDraw(), TEveBoxGL::DirectDraw(), TGLPolyLine::DirectDraw(), TEveBoxProjectedGL::Draw(), TEveBoxGL::Draw(), TEveJetConeGL::Draw(), TEveJetConeProjectedGL::Draw(), TEveCaloLegoGL::DrawAxis3D(), TEveCalo3DGL::DrawHighlight(), TEveCalo2DGL::DrawHighlight(), TEveCaloLegoGL::DrawHighlight(), TEveCaloLegoGL::DrawHistBase(), EndAttLine(), G__G__GL_127_0_34(), G__G__GL_127_0_36(), G__setup_memfuncTGLUtil(), TGLAxis::PaintGLAxisBody(), TEveFrameBoxGL::Render(), TGLOverlayButton::Render(), TGLAnnotation::Render(), TGLScene::RenderAllPasses(), TGLCameraOverlay::RenderAxis(), TGLCameraOverlay::RenderBar(), RenderCrosses(), TEveCalo3DGL::RenderGrid(), TEveCaloLegoOverlay::RenderPlaneInterface(), and TGLAxisPainter::RnrLines().
void TGLUtil::BeginExtendPickRegion | ( | Float_t | scale | ) | [static] |
Definition at line 1757 of file TGLUtil.cxx.
References GL_MODELVIEW, GL_PROJECTION, GL_PROJECTION_MATRIX, glGetFloatv(), glLoadMatrixf(), glMatrixMode(), glPushMatrix(), and i.
Referenced by BeginAttLine(), TEveStraightLineSetGL::DirectDraw(), G__G__GL_127_0_37(), G__setup_memfuncTGLUtil(), and RenderPoints().
void TGLUtil::EndExtendPickRegion | ( | ) | [static] |
Definition at line 1772 of file TGLUtil.cxx.
References GL_MODELVIEW, GL_PROJECTION, glMatrixMode(), and glPopMatrix().
Referenced by TEveStraightLineSetGL::DirectDraw(), EndAttLine(), G__G__GL_127_0_38(), G__setup_memfuncTGLUtil(), and RenderPoints().
void TGLUtil::RenderPolyMarkers | ( | const TAttMarker & | marker, | |
Char_t | transp, | |||
Float_t * | p, | |||
Int_t | n, | |||
Int_t | pick_radius = 0 , |
|||
Bool_t | selection = kFALSE , |
|||
Bool_t | sec_selection = kFALSE | |||
) | [static] |
Definition at line 1782 of file TGLUtil.cxx.
References ColorTransparency(), GL_ENABLE_BIT, GL_LIGHTING, GL_LINE_BIT, GL_POINT_BIT, glDisable(), glPopAttrib(), glPushAttrib(), marker, RenderCrosses(), RenderPoints(), and s.
Referenced by TPointSet3DGL::DirectDraw(), TEveTrackProjectedGL::DirectDraw(), TEveStraightLineSetGL::DirectDraw(), TEveLineGL::DirectDraw(), G__G__GL_127_0_39(), G__setup_memfuncTGLUtil(), and TEveTrackGL::RenderPathMarksAndFirstVertex().
void TGLUtil::RenderPoints | ( | const TAttMarker & | marker, | |
Float_t * | p, | |||
Int_t | n, | |||
Int_t | pick_radius = 0 , |
|||
Bool_t | selection = kFALSE , |
|||
Bool_t | sec_selection = kFALSE | |||
) | [static] |
Definition at line 1807 of file TGLUtil.cxx.
References BeginExtendPickRegion(), EndExtendPickRegion(), GL_BLEND, GL_CLIENT_VERTEX_ARRAY_BIT, GL_FLOAT, GL_NICEST, GL_ONE_MINUS_SRC_ALPHA, GL_POINT_SMOOTH, GL_POINT_SMOOTH_HINT, GL_POINTS, GL_SRC_ALPHA, GL_VERTEX_ARRAY, glBegin(), glBlendFunc(), glDisable(), glDrawArrays(), glEnable(), glEnableClientState(), glEnd(), glHint(), glLoadName(), glPopClientAttrib(), glPopName(), glPushClientAttrib(), glPushName(), glVertex3fv(), glVertexPointer(), i, marker, p, PointSize(), and size.
Referenced by G__G__GL_127_0_40(), G__setup_memfuncTGLUtil(), and RenderPolyMarkers().
void TGLUtil::RenderCrosses | ( | const TAttMarker & | marker, | |
Float_t * | p, | |||
Int_t | n, | |||
Bool_t | sec_selection = kFALSE | |||
) | [static] |
Definition at line 1878 of file TGLUtil.cxx.
References d, GL_BLEND, GL_CLIENT_VERTEX_ARRAY_BIT, GL_FLOAT, GL_LINE_SMOOTH, GL_LINES, GL_POINT_SMOOTH, GL_POINTS, GL_VERTEX_ARRAY, glBegin(), glDisable(), glDrawArrays(), glEnable(), glEnableClientState(), glEnd(), glLoadName(), glPopClientAttrib(), glPopName(), glPushClientAttrib(), glPushName(), glVertex3f(), glVertexPointer(), i, LineWidth(), marker, p, and PointSize().
Referenced by G__G__GL_127_0_41(), G__setup_memfuncTGLUtil(), and RenderPolyMarkers().
void TGLUtil::RenderPolyLine | ( | const TAttLine & | aline, | |
Char_t | transp, | |||
Float_t * | p, | |||
Int_t | n, | |||
Int_t | pick_radius = 0 , |
|||
Bool_t | selection = kFALSE | |||
) | [static] |
Definition at line 1952 of file TGLUtil.cxx.
References BeginAttLine(), EndAttLine(), GL_LINE_STRIP, glBegin(), glEnd(), glVertex3fv(), and i.
Referenced by TEveTrackProjectedGL::DirectDraw(), TEveLineGL::DirectDraw(), G__G__GL_127_0_42(), and G__setup_memfuncTGLUtil().
void TGLUtil::BeginAttLine | ( | const TAttLine & | aline, | |
Char_t | transp, | |||
Int_t | pick_radius = 0 , |
|||
Bool_t | selection = kFALSE | |||
) | [static] |
Definition at line 1972 of file TGLUtil.cxx.
References BeginExtendPickRegion(), ColorTransparency(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), GL_ENABLE_BIT, GL_LIGHTING, GL_LINE_BIT, GL_LINE_STIPPLE, glDisable(), glEnable(), glLineStipple(), glPushAttrib(), and LineWidth().
Referenced by G__G__GL_127_0_43(), G__setup_memfuncTGLUtil(), and RenderPolyLine().
Definition at line 2008 of file TGLUtil.cxx.
References EndExtendPickRegion(), glPopAttrib(), and LineWidth().
Referenced by G__G__GL_127_0_44(), G__setup_memfuncTGLUtil(), and RenderPolyLine().
void TGLUtil::SetDrawColors | ( | const UChar_t | rgba[4] | ) | [static] |
Definition at line 2023 of file TGLUtil.cxx.
References GL_AMBIENT, GL_DIFFUSE, GL_EMISSION, GL_FRONT, GL_SHININESS, GL_SPECULAR, glColor4fv(), glMaterialf(), and glMaterialfv().
Referenced by DrawLine(), DrawSimpleAxes(), DrawSphere(), G__G__GL_127_0_45(), and G__setup_memfuncTGLUtil().
void TGLUtil::DrawSphere | ( | const TGLVertex3 & | position, | |
Double_t | radius, | |||
const UChar_t | rgba[4] | |||
) | [static] |
Definition at line 2056 of file TGLUtil.cxx.
References fgDrawQuality, TGLQuadric::Get(), glPopMatrix(), glPushMatrix(), glTranslated(), SetDrawColors(), TGLVertex3::X(), TGLVertex3::Y(), and TGLVertex3::Z().
Referenced by TGLRotateManip::Draw(), TGLScaleManip::Draw(), TGLTransManip::Draw(), TGLViewer::DrawDebugInfo(), TGLViewer::DrawGuides(), DrawReferenceMarker(), DrawSimpleAxes(), G__G__GL_127_0_46(), G__setup_memfuncTGLUtil(), TGLCameraGuide::Render(), and TGLLightSet::StdSetupLights().
void TGLUtil::DrawLine | ( | const TGLLine3 & | line, | |
ELineHeadShape | head, | |||
Double_t | size, | |||
const UChar_t | rgba[4] | |||
) | [static] |
Definition at line 2070 of file TGLUtil.cxx.
References line.
Referenced by TGLRotateManip::Draw(), TGLScaleManip::Draw(), TGLTransManip::Draw(), DrawSimpleAxes(), G__G__GL_127_0_47(), G__G__GL_127_0_48(), G__setup_memfuncTGLUtil(), and TGLCameraGuide::Render().
void TGLUtil::DrawLine | ( | const TGLVertex3 & | start, | |
const TGLVector3 & | vector, | |||
ELineHeadShape | head, | |||
Double_t | size, | |||
const UChar_t | rgba[4] | |||
) | [static] |
Definition at line 2079 of file TGLUtil.cxx.
References box(), fgDrawQuality, TGLQuadric::Get(), glMultMatrixd(), glPopMatrix(), glPushMatrix(), glTranslated(), kLineHeadArrow, kLineHeadBox, kLineHeadNone, kTRUE, local, TGLVector3::Mag(), SetDrawColors(), and start.
static void TGLUtil::DrawRing | ( | const TGLVertex3 & | center, | |
const TGLVector3 & | normal, | |||
Double_t | radius, | |||
const UChar_t * | rgba | |||
) | [static] |
Referenced by TGLRotateManip::Draw(), G__G__GL_127_0_49(), and G__setup_memfuncTGLUtil().
void TGLUtil::DrawReferenceMarker | ( | const TGLCamera & | camera, | |
const TGLVertex3 & | pos, | |||
Float_t | radius = 3 , |
|||
const UChar_t * | rgba = 0 | |||
) | [static] |
Definition at line 2174 of file TGLUtil.cxx.
References camera, and DrawSphere().
Referenced by TGLViewer::DrawGuides(), G__G__GL_127_0_50(), and G__setup_memfuncTGLUtil().
void TGLUtil::DrawSimpleAxes | ( | const TGLCamera & | camera, | |
const TGLBoundingBox & | bbox, | |||
Int_t | axesType | |||
) | [static] |
Definition at line 2190 of file TGLUtil.cxx.
References axis, camera, TGLVertex3::CArr(), TGLBoundingBox::Center(), DrawLine(), DrawNumber(), DrawSphere(), fgWhite, Form(), GL_LIGHTING, GL_UNPACK_ALIGNMENT, glBitmap(), glDisable(), glPixelStorei(), glRasterPos3dv(), i, j, k, kAxesNone, kAxesOrigin, kLineHeadNone, kTRUE, TGLVector3::Mag(), max, min, SetDrawColors(), start, TGLVertex3::X(), TGLBoundingBox::XMax(), TGLBoundingBox::XMin(), TGLVertex3::Y(), TGLBoundingBox::YMax(), TGLBoundingBox::YMin(), TGLBoundingBox::ZMax(), and TGLBoundingBox::ZMin().
Referenced by TGLViewer::DrawGuides(), G__G__GL_127_0_51(), and G__setup_memfuncTGLUtil().
void TGLUtil::DrawNumber | ( | const TString & | num, | |
const TGLVertex3 & | pos, | |||
Bool_t | center = kFALSE | |||
) | [static] |
Definition at line 2328 of file TGLUtil.cxx.
References TGLVertex3::CArr(), glBitmap(), glRasterPos3dv(), i, and num.
Referenced by DrawSimpleAxes(), G__G__GL_127_0_52(), and G__setup_memfuncTGLUtil().
TGLUtil::ClassDef | ( | TGLUtil | , | |
0 | ||||
) |
static void TGLUtil::CheckError | ( | const char * | loc | ) | [static] |
static GLUtesselator* TGLUtil::GetDrawTesselator3fv | ( | ) | [static] |
static GLUtesselator* TGLUtil::GetDrawTesselator4fv | ( | ) | [static] |
static GLUtesselator* TGLUtil::GetDrawTesselator3dv | ( | ) | [static] |
static GLUtesselator* TGLUtil::GetDrawTesselator4dv | ( | ) | [static] |
static UInt_t TGLUtil::GetDrawQuality | ( | ) | [static] |
static void TGLUtil::SetDrawQuality | ( | UInt_t | dq | ) | [static] |
static void TGLUtil::ResetDrawQuality | ( | ) | [static] |
static UInt_t TGLUtil::GetDefaultDrawQuality | ( | ) | [static] |
static void TGLUtil::SetDefaultDrawQuality | ( | UInt_t | dq | ) | [static] |
static UInt_t TGLUtil::LockColor | ( | ) | [static] |
static UInt_t TGLUtil::UnlockColor | ( | ) | [static] |
static Bool_t TGLUtil::IsColorLocked | ( | ) | [static] |
static void TGLUtil::Color | ( | const TGLColor & | color | ) | [static] |
static void TGLUtil::Color3ubv | ( | const UChar_t * | rgb | ) | [static] |
static void TGLUtil::Color4ubv | ( | const UChar_t * | rgba | ) | [static] |
static void TGLUtil::Color3fv | ( | const Float_t * | rgb | ) | [static] |
static void TGLUtil::Color4fv | ( | const Float_t * | rgba | ) | [static] |
static Float_t TGLUtil::GetPointSizeScale | ( | ) | [static] |
static void TGLUtil::SetPointSizeScale | ( | Float_t | scale | ) | [static] |
static Float_t TGLUtil::GetLineWidthScale | ( | ) | [static] |
static void TGLUtil::SetLineWidthScale | ( | Float_t | scale | ) | [static] |
static void TGLUtil::PointSize | ( | Float_t | point_size | ) | [static] |
static void TGLUtil::LineWidth | ( | Float_t | line_width | ) | [static] |
static Float_t TGLUtil::PointSize | ( | ) | [static] |
static Float_t TGLUtil::LineWidth | ( | ) | [static] |
static void TGLUtil::BeginExtendPickRegion | ( | Float_t | scale | ) | [static] |
static void TGLUtil::EndExtendPickRegion | ( | ) | [static] |
static void TGLUtil::RenderPolyMarkers | ( | const TAttMarker & | marker, | |
Char_t | transp, | |||
Float_t * | p, | |||
Int_t | n, | |||
Int_t | pick_radius = 0 , |
|||
Bool_t | selection = kFALSE , |
|||
Bool_t | sec_selection = kFALSE | |||
) | [static] |
static void TGLUtil::RenderPoints | ( | const TAttMarker & | marker, | |
Float_t * | p, | |||
Int_t | n, | |||
Int_t | pick_radius = 0 , |
|||
Bool_t | selection = kFALSE , |
|||
Bool_t | sec_selection = kFALSE | |||
) | [static] |
static void TGLUtil::RenderCrosses | ( | const TAttMarker & | marker, | |
Float_t * | p, | |||
Int_t | n, | |||
Bool_t | sec_selection = kFALSE | |||
) | [static] |
static void TGLUtil::RenderPolyLine | ( | const TAttLine & | aline, | |
Char_t | transp, | |||
Float_t * | p, | |||
Int_t | n, | |||
Int_t | pick_radius = 0 , |
|||
Bool_t | selection = kFALSE | |||
) | [static] |
static void TGLUtil::BeginAttLine | ( | const TAttLine & | aline, | |
Char_t | transp, | |||
Int_t | pick_radius = 0 , |
|||
Bool_t | selection = kFALSE | |||
) | [static] |
static void TGLUtil::SetDrawColors | ( | const UChar_t | rgba[4] | ) | [static] |
static void TGLUtil::DrawSphere | ( | const TGLVertex3 & | position, | |
Double_t | radius, | |||
const UChar_t | rgba[4] | |||
) | [static] |
static void TGLUtil::DrawLine | ( | const TGLLine3 & | line, | |
ELineHeadShape | head, | |||
Double_t | size, | |||
const UChar_t | rgba[4] | |||
) | [static] |
static void TGLUtil::DrawLine | ( | const TGLVertex3 & | start, | |
const TGLVector3 & | vector, | |||
ELineHeadShape | head, | |||
Double_t | size, | |||
const UChar_t | rgba[4] | |||
) | [static] |
static void TGLUtil::DrawRing | ( | const TGLVertex3 & | center, | |
const TGLVector3 & | normal, | |||
Double_t | radius, | |||
const UChar_t * | rgba | |||
) | [static] |
static void TGLUtil::DrawReferenceMarker | ( | const TGLCamera & | camera, | |
const TGLVertex3 & | pos, | |||
Float_t | radius = 3 , |
|||
const UChar_t * | rgba = 0 | |||
) | [static] |
static void TGLUtil::DrawSimpleAxes | ( | const TGLCamera & | camera, | |
const TGLBoundingBox & | bbox, | |||
Int_t | axesType | |||
) | [static] |
static void TGLUtil::DrawNumber | ( | const TString & | num, | |
const TGLVertex3 & | pos, | |||
Bool_t | center = kFALSE | |||
) | [static] |
TGLUtil::ClassDef | ( | TGLUtil | , | |
0 | ||||
) |
static UInt_t TGLUtil::fgDefaultDrawQuality [static, private] |
Definition at line 935 of file TGLUtil.h.
Referenced by GetDefaultDrawQuality(), ResetDrawQuality(), and SetDefaultDrawQuality().
static UInt_t TGLUtil::fgDrawQuality [static, private] |
Definition at line 936 of file TGLUtil.h.
Referenced by DrawLine(), DrawSphere(), GetDrawQuality(), ResetDrawQuality(), and SetDrawQuality().
static UInt_t TGLUtil::fgColorLockCount [static, private] |
Definition at line 938 of file TGLUtil.h.
Referenced by Color(), Color3f(), Color3fv(), Color3ub(), Color3ubv(), Color4f(), Color4fv(), Color4ub(), Color4ubv(), ColorAlpha(), ColorTransparency(), IsColorLocked(), LockColor(), and UnlockColor().
static Float_t TGLUtil::fgPointSize [static, private] |
static Float_t TGLUtil::fgLineWidth [static, private] |
static Float_t TGLUtil::fgPointSizeScale [static, private] |
Definition at line 942 of file TGLUtil.h.
Referenced by GetPointSizeScale(), PointSize(), and SetPointSizeScale().
static Float_t TGLUtil::fgLineWidthScale [static, private] |
Definition at line 943 of file TGLUtil.h.
Referenced by GetLineWidthScale(), LineWidth(), and SetLineWidthScale().
static const UChar_t TGLUtil::fgRed [static] |
Definition at line 1045 of file TGLUtil.h.
Referenced by TGLManip::ColorFor(), G__setup_memvarTGLUtil(), and TGLCameraGuide::Render().
static const UChar_t TGLUtil::fgGreen [static] |
Definition at line 1046 of file TGLUtil.h.
Referenced by TGLManip::ColorFor(), TGLViewer::DrawDebugInfo(), G__setup_memvarTGLUtil(), and TGLCameraGuide::Render().
static const UChar_t TGLUtil::fgBlue [static] |
Definition at line 1047 of file TGLUtil.h.
Referenced by TGLManip::ColorFor(), G__setup_memvarTGLUtil(), and TGLCameraGuide::Render().
static const UChar_t TGLUtil::fgYellow [static] |
Definition at line 1048 of file TGLUtil.h.
Referenced by TGLManip::ColorFor(), TGLRotateManip::Draw(), G__setup_memvarTGLUtil(), TGLCameraGuide::Render(), and TGLLightSet::StdSetupLights().
static const UChar_t TGLUtil::fgWhite [static] |
Definition at line 1049 of file TGLUtil.h.
Referenced by TGLRotateManip::Draw(), TGLScaleManip::Draw(), TGLTransManip::Draw(), TGLViewer::DrawDebugInfo(), DrawSimpleAxes(), and G__setup_memvarTGLUtil().
static const UChar_t TGLUtil::fgGrey [static] |
Definition at line 1050 of file TGLUtil.h.
Referenced by TGLManip::ColorFor(), TGLRotateManip::Draw(), TGLScaleManip::Draw(), TGLTransManip::Draw(), and G__setup_memvarTGLUtil().