Namespaces | |
namespace | Fgt |
namespace | Mc |
namespace | Pad |
Classes | |
class | PlotTranslation |
class | TGuardBase |
class | TOneArgGuard |
class | TTwoArgsGuard |
Typedefs | |
typedef std::pair< Int_t, Int_t > | BinRange_t |
typedef std::pair< Double_t, Double_t > | Range_t |
Enumerations | |
enum | EFormatOptions { kNone = 0 , kDoubleBuffer = 1 , kDepth = 2 , kAccum = 4 , kStencil = 8 , kStereo = 16 , kMultiSample = 32 } |
enum | EOverlap { kInside = 0 , kPartial , kOutside } |
Variables | |
const Int_t | gAxisType [][2] = {{1, 0}, {0, 1}, {1, 0}, {0, 1}} |
const Float_t | gBlueEmission [] = {0.f, 0.f, 1.f, 1.f} |
const Double_t | gBoxBackNormals [][3] = {{0., -1., 0.}, {-1., 0., 0.}, {0., 1., 0.}, {1., 0., 0.}} |
const Int_t | gBoxBackPlanes [][2] = {{0, 1}, {3, 0}, {2, 3}, {1, 2}} |
const Int_t | gBoxBackQuads [][4] = {{7, 1, 2, 6}, {4, 7, 6, 5}, {0, 4, 5, 3}, {0, 3, 2, 1}} |
const Double_t | gBoxFrontNormals [][3] = {{-1., 0., 0.}, {0., -1., 0.}, {1., 0., 0.}, {0., 1., 0.}} |
const Int_t | gBoxFrontPlanes [][2] = {{0, 1}, {1, 2}, {2, 3}, {3, 0}} |
const Int_t | gBoxFrontQuads [][4] = {{0, 1, 2, 3}, {4, 0, 3, 5}, {4, 5, 6, 7}, {7, 6, 2, 1}} |
const Int_t | gFramePoints [][2] = {{3, 1}, {0, 2}, {1, 3}, {2, 0}} |
const Float_t | gGrayEmission [] = {0.3f,0.3f, 0.3f,1.f} |
const Float_t | gGreenEmission [] = {0.f, 1.f, 0.f, 1.f} |
const Double_t | gH2PolyScaleXY = 1.2 |
const Float_t | gNullEmission [] = {0.f, 0.f, 0.f, 1.f} |
const Float_t | gOrangeEmission [] = {1.f, 0.4f, 0.f, 1.f} |
const Float_t | gRedEmission [] = {1.f, 0.f, 0.f, 1.f} |
const Float_t | gWhiteEmission [] = {1.f, 1.f, 1.f, 1.f} |
Enumerator | |
---|---|
kNone | |
kDoubleBuffer | |
kDepth | |
kAccum | |
kStencil | |
kStereo | |
kMultiSample |
Definition at line 126 of file TVirtualGL.h.
Definition at line 2926 of file TGLUtil.cxx.
Definition at line 3329 of file TGLUtil.cxx.
Definition at line 3343 of file TGLUtil.cxx.
void Rgl::Draw2DAxis | ( | TAxis * | axis, |
Double_t | xMin, | ||
Double_t | yMin, | ||
Double_t | xMax, | ||
Double_t | yMax, | ||
Double_t | min, | ||
Double_t | max, | ||
Bool_t | log, | ||
Bool_t | z = kFALSE ) |
Definition at line 3712 of file TGLUtil.cxx.
void Rgl::DrawAxes | ( | Int_t | frontPoint, |
const Int_t * | viewport, | ||
const TGLVertex3 * | box2D, | ||
const TGLPlotCoordinates * | plotCoord, | ||
TAxis * | xAxis, | ||
TAxis * | yAxis, | ||
TAxis * | zAxis ) |
Using front point, find, where to draw axes and which labels to use for them gVirtualX->SelectWindow(gGLManager->GetVirtualXInd(fGLDevice)); gVirtualX->SetDrawMode(TVirtualX::kCopy);//TCanvas by default sets in kInverse.
Definition at line 3768 of file TGLUtil.cxx.
void Rgl::DrawBoxFront | ( | Double_t | xMin, |
Double_t | xMax, | ||
Double_t | yMin, | ||
Double_t | yMax, | ||
Double_t | zMin, | ||
Double_t | zMax, | ||
Int_t | fp ) |
Draws lego's bar as a 3d box.
Definition at line 3016 of file TGLUtil.cxx.
void Rgl::DrawBoxFrontTextured | ( | Double_t | xMin, |
Double_t | xMax, | ||
Double_t | yMin, | ||
Double_t | yMax, | ||
Double_t | zMin, | ||
Double_t | zMax, | ||
Double_t | tMin, | ||
Double_t | tMax, | ||
Int_t | front ) |
Draws lego's bar as a 3d box LULULULU.
Definition at line 3143 of file TGLUtil.cxx.
void Rgl::DrawBoxWithGradientFill | ( | Double_t | y1, |
Double_t | y2, | ||
Double_t | x1, | ||
Double_t | x2, | ||
const Double_t * | rgba1, | ||
const Double_t * | rgba2 ) |
Definition at line 3206 of file TGLUtil.cxx.
void Rgl::DrawCylinder | ( | TGLQuadric * | quadric, |
Double_t | xMin, | ||
Double_t | xMax, | ||
Double_t | yMin, | ||
Double_t | yMax, | ||
Double_t | zMin, | ||
Double_t | zMax ) |
Cylinder for lego3.
Definition at line 3253 of file TGLUtil.cxx.
void Rgl::DrawError | ( | Double_t | xMin, |
Double_t | xMax, | ||
Double_t | yMin, | ||
Double_t | yMax, | ||
Double_t | zMin, | ||
Double_t | zMax ) |
Definition at line 3307 of file TGLUtil.cxx.
void Rgl::DrawFaceTextured | ( | const TGLVertex3 & | v1, |
const TGLVertex3 & | v2, | ||
const TGLVertex3 & | v3, | ||
Double_t | t1, | ||
Double_t | t2, | ||
Double_t | t3, | ||
const TGLVector3 & | norm1, | ||
const TGLVector3 & | norm2, | ||
const TGLVector3 & | norm3 ) |
Draw textured triangle.
Definition at line 3845 of file TGLUtil.cxx.
void Rgl::DrawFaceTextured | ( | const TGLVertex3 & | v1, |
const TGLVertex3 & | v2, | ||
const TGLVertex3 & | v3, | ||
Double_t | t1, | ||
Double_t | t2, | ||
Double_t | t3, | ||
Double_t | z, | ||
const TGLVector3 & | planeNormal ) |
Draw textured triangle on a plane.
Definition at line 3865 of file TGLUtil.cxx.
void Rgl::DrawMapleMesh | ( | const std::vector< Double_t > & | vs, |
const std::vector< Double_t > & | ns, | ||
const std::vector< UInt_t > & | ts ) |
Colored mesh with lighting disabled.
Definition at line 192 of file TGLIsoMesh.cxx.
void Rgl::DrawMapleMesh | ( | const std::vector< Double_t > & | vs, |
const std::vector< Double_t > & | ns, | ||
const std::vector< UInt_t > & | ts, | ||
const TGLBoxCut & | box ) |
Colored mesh with cut and disabled lighting.
Definition at line 224 of file TGLIsoMesh.cxx.
void Rgl::DrawMesh | ( | const std::vector< Double_t > & | vs, |
const std::vector< Double_t > & | ns, | ||
const std::vector< UInt_t > & | ts ) |
Call function-template.
Definition at line 48 of file TGLIsoMesh.cxx.
void Rgl::DrawMesh | ( | const std::vector< Double_t > & | vs, |
const std::vector< Double_t > & | ns, | ||
const std::vector< UInt_t > & | ts, | ||
const TGLBoxCut & | box ) |
Call function-template.
Definition at line 127 of file TGLIsoMesh.cxx.
Call function-template.
Definition at line 77 of file TGLIsoMesh.cxx.
void Rgl::DrawMesh | ( | const std::vector< Double_t > & | vs, |
const std::vector< UInt_t > & | ts, | ||
const TGLBoxCut & | box ) |
Call function-template.
Definition at line 171 of file TGLIsoMesh.cxx.
void Rgl::DrawMesh | ( | const std::vector< Float_t > & | vs, |
const std::vector< Float_t > & | ns, | ||
const std::vector< UInt_t > & | ts ) |
Call function-template.
Definition at line 39 of file TGLIsoMesh.cxx.
void Rgl::DrawMesh | ( | const std::vector< Float_t > & | vs, |
const std::vector< Float_t > & | ns, | ||
const std::vector< UInt_t > & | ts, | ||
const TGLBoxCut & | box ) |
Call function-template.
Definition at line 118 of file TGLIsoMesh.cxx.
Call function-template.
Definition at line 69 of file TGLIsoMesh.cxx.
void Rgl::DrawMesh | ( | const std::vector< Float_t > & | vs, |
const std::vector< UInt_t > & | ts, | ||
const TGLBoxCut & | box ) |
Call function-template.
Definition at line 163 of file TGLIsoMesh.cxx.
void Rgl::DrawMesh | ( | GLenum | type, |
const std::vector< V > & | vs, | ||
const std::vector< UInt_t > & | fTS ) |
Only vertices, no normal (no lighting and material).
Definition at line 58 of file TGLIsoMesh.cxx.
void Rgl::DrawMesh | ( | GLenum | type, |
const std::vector< V > & | vs, | ||
const std::vector< V > & | ns, | ||
const std::vector< UInt_t > & | fTS ) |
Surface with material and lighting.
Definition at line 24 of file TGLIsoMesh.cxx.
void Rgl::DrawPalette | ( | const TGLPlotCamera * | camera, |
const TGLLevelPalette & | palette ) |
Draw. Palette.
Definition at line 2114 of file TGLPlotPainter.cxx.
void Rgl::DrawPalette | ( | const TGLPlotCamera * | camera, |
const TGLLevelPalette & | palette, | ||
const std::vector< Double_t > & | levels ) |
Draw. Palette.
Definition at line 2163 of file TGLPlotPainter.cxx.
void Rgl::DrawPaletteAxis | ( | const TGLPlotCamera * | camera, |
const Range_t & | minMax, | ||
Bool_t | logZ ) |
Definition at line 2220 of file TGLPlotPainter.cxx.
void Rgl::DrawQuadFilled | ( | const Double_t * | v0, |
const Double_t * | v1, | ||
const Double_t * | v2, | ||
const Double_t * | v3, | ||
const Double_t * | normal ) |
Draw quad face.
Definition at line 2977 of file TGLUtil.cxx.
void Rgl::DrawQuadFilled | ( | const TGLVertex3 & | v0, |
const TGLVertex3 & | v1, | ||
const TGLVertex3 & | v2, | ||
const TGLVertex3 & | v3, | ||
const TGLVector3 & | normal ) |
Draw quad face.
Definition at line 2962 of file TGLUtil.cxx.
void Rgl::DrawQuadOutline | ( | const TGLVertex3 & | v1, |
const TGLVertex3 & | v2, | ||
const TGLVertex3 & | v3, | ||
const TGLVertex3 & | v4 ) |
Draw quad outline.
Definition at line 2948 of file TGLUtil.cxx.
void Rgl::DrawQuadStripWithRadialGradientFill | ( | unsigned | nPoints, |
const Double_t * | inner, | ||
const Double_t * | innerRGBA, | ||
const Double_t * | outer, | ||
const Double_t * | outerRGBA ) |
TODO: is it possible to use GLdouble to avoid problems with Double_t/GLdouble if they are not the same type?
Definition at line 3226 of file TGLUtil.cxx.
void Rgl::DrawSmoothFace | ( | const TGLVertex3 & | v1, |
const TGLVertex3 & | v2, | ||
const TGLVertex3 & | v3, | ||
const TGLVector3 & | norm1, | ||
const TGLVector3 & | norm2, | ||
const TGLVector3 & | norm3 ) |
Draws triangle face, each vertex has its own averaged normal.
Definition at line 2992 of file TGLUtil.cxx.
void Rgl::DrawSphere | ( | TGLQuadric * | quadric, |
Double_t | xMin, | ||
Double_t | xMax, | ||
Double_t | yMin, | ||
Double_t | yMax, | ||
Double_t | zMin, | ||
Double_t | zMax ) |
Cylinder for lego3.
Definition at line 3284 of file TGLUtil.cxx.
void Rgl::DrawTransparentBox | ( | Double_t | xMin, |
Double_t | xMax, | ||
Double_t | yMin, | ||
Double_t | yMax, | ||
Double_t | zMin, | ||
Double_t | zMax, | ||
Int_t | fp ) |
Draws lego's bar as a 3d box.
Definition at line 3066 of file TGLUtil.cxx.
void Rgl::DrawTrapezoid | ( | const Double_t | ver[][2], |
Double_t | zMin, | ||
Double_t | zMax, | ||
Bool_t | color = kTRUE ) |
Definition at line 3357 of file TGLUtil.cxx.
Definition at line 3600 of file TGLUtil.cxx.
void Rgl::DrawTrapezoidTextured | ( | const Double_t | ver[][2], |
Double_t | zMin, | ||
Double_t | zMax, | ||
Double_t | texMin, | ||
Double_t | texMax ) |
In polar coordinates, box became trapezoid.
Four faces need normal calculations.
Definition at line 3427 of file TGLUtil.cxx.
Definition at line 3658 of file TGLUtil.cxx.
void Rgl::DrawTrapezoidTextured2 | ( | const Double_t | ver[][2], |
Double_t | zMin, | ||
Double_t | zMax, | ||
Double_t | tMin, | ||
Double_t | tMax ) |
In polar coordinates, box became trapezoid.
Definition at line 3504 of file TGLUtil.cxx.
This function creates color for parametric surface's vertex, using its 'u' value.
I've found it in one of Apple's Carbon tutorials , and it's based on Paul Bourke work. Very nice colors!!! :)
Definition at line 3886 of file TGLUtil.cxx.
TOneArgGuard< Func, Arg > Rgl::make_guard | ( | Func | f, |
Arg | a ) |
TTwoArgsGuard< Func, Arg1, Arg2 > Rgl::make_guard | ( | Func | f, |
Arg1 | a1, | ||
Arg2 | a2 ) |
NormalToColor generates a color from a given normal.
Definition at line 179 of file TGLIsoMesh.cxx.
Object id encoded as rgb triplet.
Definition at line 2900 of file TGLUtil.cxx.
void Rgl::SetZLevels | ( | TAxis * | zAxis, |
Double_t | zMin, | ||
Double_t | zMax, | ||
Double_t | zScale, | ||
std::vector< Double_t > & | zLevels ) |
Definition at line 3829 of file TGLUtil.cxx.
Definition at line 3568 of file TGLUtil.cxx.
Definition at line 3584 of file TGLUtil.cxx.
Definition at line 3761 of file TGLUtil.cxx.
Definition at line 2852 of file TGLUtil.cxx.
const Double_t Rgl::gBoxBackNormals[][3] = {{0., -1., 0.}, {-1., 0., 0.}, {0., 1., 0.}, {1., 0., 0.}} |
Definition at line 3010 of file TGLUtil.cxx.
Definition at line 3011 of file TGLUtil.cxx.
Definition at line 3009 of file TGLUtil.cxx.
const Double_t Rgl::gBoxFrontNormals[][3] = {{-1., 0., 0.}, {0., -1., 0.}, {1., 0., 0.}, {0., 1., 0.}} |
Definition at line 3006 of file TGLUtil.cxx.
Definition at line 3007 of file TGLUtil.cxx.
Definition at line 3005 of file TGLUtil.cxx.
Definition at line 3759 of file TGLUtil.cxx.
Definition at line 2855 of file TGLUtil.cxx.
Definition at line 2851 of file TGLUtil.cxx.
Definition at line 2260 of file TGLPlotPainter.cxx.
Definition at line 2856 of file TGLUtil.cxx.
Definition at line 2853 of file TGLUtil.cxx.