ROOT
6.06/09
Reference Guide
|
Namespaces | |
Fgt | |
Mc | |
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 } |
Functions | |
void | DrawMesh (const std::vector< Float_t > &vs, const std::vector< Float_t > &ns, const std::vector< UInt_t > &ts) |
Call function-template. More... | |
void | DrawMesh (const std::vector< Double_t > &vs, const std::vector< Double_t > &ns, const std::vector< UInt_t > &ts) |
Call function-template. More... | |
void | DrawMesh (const std::vector< Float_t > &vs, const std::vector< UInt_t > &ts) |
Call function-template. More... | |
void | DrawMesh (const std::vector< Double_t > &vs, const std::vector< UInt_t > &ts) |
Call function-template. More... | |
void | 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. More... | |
void | 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. More... | |
void | DrawMesh (const std::vector< Float_t > &vs, const std::vector< UInt_t > &ts, const TGLBoxCut &box) |
Call function-template. More... | |
void | DrawMesh (const std::vector< Double_t > &vs, const std::vector< UInt_t > &ts, const TGLBoxCut &box) |
Call function-template. More... | |
void | DrawMapleMesh (const std::vector< Double_t > &vs, const std::vector< Double_t > &ns, const std::vector< UInt_t > &fTS) |
Colored mesh with lighting disabled. More... | |
void | DrawMapleMesh (const std::vector< Double_t > &vs, const std::vector< Double_t > &ns, const std::vector< UInt_t > &fTS, const TGLBoxCut &box) |
Colored mesh with cut and disabled lighting. More... | |
void | DrawPalette (const TGLPlotCamera *camera, const TGLLevelPalette &palette) |
Draw. Palette. More... | |
void | DrawPalette (const TGLPlotCamera *camera, const TGLLevelPalette &palette, const std::vector< Double_t > &levels) |
Draw. Palette. More... | |
void | DrawPaletteAxis (const TGLPlotCamera *camera, const Range_t &minMax, Bool_t logZ) |
void | ObjectIDToColor (Int_t objectID, Bool_t highColor) |
Object id encoded as rgb triplet. More... | |
Int_t | ColorToObjectID (const UChar_t *color, Bool_t highColor) |
void | DrawQuadOutline (const TGLVertex3 &v1, const TGLVertex3 &v2, const TGLVertex3 &v3, const TGLVertex3 &v4) |
Draw quad outline. More... | |
void | DrawQuadFilled (const TGLVertex3 &v0, const TGLVertex3 &v1, const TGLVertex3 &v2, const TGLVertex3 &v3, const TGLVector3 &normal) |
Draw quad face. More... | |
void | DrawQuadFilled (const Double_t *v0, const Double_t *v1, const Double_t *v2, const Double_t *v3, const Double_t *normal) |
Draw quad face. More... | |
void | 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. More... | |
void | 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. More... | |
void | 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. More... | |
void | DrawBoxFrontTextured (Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax, Double_t texMin, Double_t texMax, Int_t fp) |
Draws lego's bar as a 3d box LULULULU. More... | |
void | DrawBoxWithGradientFill (Double_t y1, Double_t y2, Double_t x1, Double_t x2, const Double_t *rgba1, const Double_t *rgba2) |
void | 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? More... | |
void | DrawTrapezoidTextured (const Double_t ver[][2], Double_t zMin, Double_t zMax, Double_t texMin, Double_t texMax) |
In polar coordinates, box became trapezoid. More... | |
void | DrawTrapezoidTextured (const Double_t ver[][3], Double_t texMin, Double_t texMax) |
void | DrawTrapezoidTextured2 (const Double_t ver[][2], Double_t zMin, Double_t zMax, Double_t texMin, Double_t texMax) |
In polar coordinates, box became trapezoid. More... | |
void | DrawCylinder (TGLQuadric *quadric, Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax) |
Cylinder for lego3. More... | |
void | DrawSphere (TGLQuadric *quadric, Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax) |
Cylinder for lego3. More... | |
void | DrawError (Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax) |
void | DrawTrapezoid (const Double_t ver[][2], Double_t zMin, Double_t zMax, Bool_t color=kTRUE) |
void | DrawTrapezoid (const Double_t ver[][3]) |
void | DrawAxes (Int_t fp, const Int_t *vp, const TGLVertex3 *box, const TGLPlotCoordinates *coord, 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. More... | |
void | SetZLevels (TAxis *zAxis, Double_t zMin, Double_t zMax, Double_t zScale, std::vector< Double_t > &zLevels) |
void | 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. More... | |
void | DrawFaceTextured (const TGLVertex3 &v1, const TGLVertex3 &v2, const TGLVertex3 &v3, Double_t t1, Double_t t2, Double_t t3, Double_t z, const TGLVector3 &normal) |
Draw textured triangle on a plane. More... | |
void | GetColor (Float_t v, Float_t vmin, Float_t vmax, Int_t type, Float_t *rgba) |
This function creates color for parametric surface's vertex, using its 'u' value. More... | |
template<class Func , class Arg > | |
TOneArgGuard< Func, Arg > | make_guard (Func f, Arg a) |
template<class Func , class Arg1 , class Arg2 > | |
TTwoArgsGuard< Func, Arg1, Arg2 > | make_guard (Func f, Arg1 a1, Arg2 a2) |
template<class V > | |
void | DrawMesh (GLenum type, const std::vector< V > &vs, const std::vector< V > &ns, const std::vector< UInt_t > &fTS) |
Surface with material and lighting. More... | |
template<class V > | |
void | DrawMesh (GLenum type, const std::vector< V > &vs, const std::vector< UInt_t > &fTS) |
Only vertices, no normal (no lighting and material). More... | |
template<class V , class GLN , class GLV > | |
void | DrawMesh (GLN normal3, GLV vertex3, const std::vector< V > &vs, const std::vector< V > &ns, const std::vector< UInt_t > &fTS, const TGLBoxCut &box) |
Mesh with cut. More... | |
template<class V , class GLV > | |
void | DrawMesh (GLV vertex3, const std::vector< V > &vs, const std::vector< UInt_t > &fTS, const TGLBoxCut &box) |
Mesh with cut. More... | |
void | NormalToColor (Double_t *rfColor, const Double_t *n) |
NormalToColor generates a color from a given normal. More... | |
void | CylindricalNormal (const Double_t *v, Double_t *normal) |
void | CylindricalNormalInv (const Double_t *v, Double_t *normal) |
void | SphericalNormal (const Double_t *v, Double_t *normal) |
void | SphericalNormalInv (const Double_t *v, Double_t *normal) |
void | 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) |
Variables | |
const Double_t | gH2PolyScaleXY = 1.2 |
const Float_t | gRedEmission [] = {1.f, 0.f, 0.f, 1.f} |
const Float_t | gGreenEmission [] = {0.f, 1.f, 0.f, 1.f} |
const Float_t | gBlueEmission [] = {0.f, 0.f, 1.f, 1.f} |
const Float_t | gOrangeEmission [] = {1.f, 0.4f, 0.f, 1.f} |
const Float_t | gWhiteEmission [] = {1.f, 1.f, 1.f, 1.f} |
const Float_t | gGrayEmission [] = {0.3f,0.3f, 0.3f,1.f} |
const Float_t | gNullEmission [] = {0.f, 0.f, 0.f, 1.f} |
const Int_t | gBoxFrontQuads [][4] = {{0, 1, 2, 3}, {4, 0, 3, 5}, {4, 5, 6, 7}, {7, 6, 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 | gBoxBackQuads [][4] = {{7, 1, 2, 6}, {4, 7, 6, 5}, {0, 4, 5, 3}, {0, 3, 2, 1}} |
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 | gFramePoints [][2] = {{3, 1}, {0, 2}, {1, 3}, {2, 0}} |
const Int_t | gAxisType [][2] = {{1, 0}, {0, 1}, {1, 0}, {0, 1}} |
typedef std::pair<Int_t, Int_t> Rgl::BinRange_t |
typedef std::pair<Double_t, Double_t> Rgl::Range_t |
enum Rgl::EFormatOptions |
Enumerator | |
---|---|
kNone | |
kDoubleBuffer | |
kDepth | |
kAccum | |
kStencil | |
kStereo | |
kMultiSample |
Definition at line 134 of file TVirtualGL.h.
enum Rgl::EOverlap |
Definition at line 2884 of file TGLUtil.cxx.
Referenced by TGLPlotPainter::PlotSelected().
Definition at line 3287 of file TGLUtil.cxx.
Referenced by DrawTrapezoid(), DrawTrapezoidTextured(), and DrawTrapezoidTextured2().
Definition at line 3301 of file TGLUtil.cxx.
Referenced by DrawTrapezoid(), DrawTrapezoidTextured(), and DrawTrapezoidTextured2().
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 3670 of file TGLUtil.cxx.
Referenced by DrawAxes().
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 3726 of file TGLUtil.cxx.
Referenced by TGLPlotPainter::Paint().
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 2974 of file TGLUtil.cxx.
Referenced by TGLBoxCut::DrawBox(), TGLLegoPainter::DrawLegoCartesian(), TGLVoxelPainter::DrawPlot(), TGLBoxPainter::DrawPlot(), and TGLTH3CompositionPainter::DrawPlot().
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 3101 of file TGLUtil.cxx.
Referenced by TGLLegoPainter::DrawLegoCartesian().
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 3164 of file TGLUtil.cxx.
Referenced by TGLPadPainter::DrawGradient().
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 3211 of file TGLUtil.cxx.
Referenced by TGLLegoPainter::DrawLegoCartesian().
void Rgl::DrawError | ( | Double_t | xMin, |
Double_t | xMax, | ||
Double_t | yMin, | ||
Double_t | yMax, | ||
Double_t | zMin, | ||
Double_t | zMax | ||
) |
Definition at line 3265 of file TGLUtil.cxx.
Referenced by TGLLegoPainter::DrawLegoCartesian().
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 3803 of file TGLUtil.cxx.
Referenced by TGLSurfacePainter::DrawContoursProjection(), and TGLSurfacePainter::DrawPlot().
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 3823 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.
Referenced by TGLTF3Painter::DrawMaplePlot().
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 | ( | 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::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 | ( | 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.
Referenced by TGLTF3Painter::DrawDefaultPlot(), TGLTF3Painter::DrawMaplePlot(), TGL5DPainter::DrawMesh(), TGLIsoPainter::DrawMesh(), DrawMesh(), and TGLTF3Painter::DrawToSelectionBuffer().
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.
Call function-template.
Definition at line 69 of file TGLIsoMesh.cxx.
Call function-template.
Definition at line 77 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.
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.
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 | ( | 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::DrawPalette | ( | const TGLPlotCamera * | camera, |
const TGLLevelPalette & | palette | ||
) |
Draw. Palette.
Definition at line 2118 of file TGLPlotPainter.cxx.
Referenced by TGLVoxelPainter::DrawPalette(), TGLBoxPainter::DrawPalette(), TGLLegoPainter::DrawPalette(), and TGLSurfacePainter::DrawPalette().
void Rgl::DrawPalette | ( | const TGLPlotCamera * | camera, |
const TGLLevelPalette & | palette, | ||
const std::vector< Double_t > & | levels | ||
) |
Draw. Palette.
Definition at line 2167 of file TGLPlotPainter.cxx.
void Rgl::DrawPaletteAxis | ( | const TGLPlotCamera * | camera, |
const Range_t & | minMax, | ||
Bool_t | logZ | ||
) |
Definition at line 2224 of file TGLPlotPainter.cxx.
Referenced by TGLVoxelPainter::DrawPaletteAxis(), TGLBoxPainter::DrawPaletteAxis(), TGLLegoPainter::DrawPaletteAxis(), and TGLSurfacePainter::DrawPaletteAxis().
void Rgl::DrawQuadFilled | ( | const TGLVertex3 & | v0, |
const TGLVertex3 & | v1, | ||
const TGLVertex3 & | v2, | ||
const TGLVertex3 & | v3, | ||
const TGLVector3 & | normal | ||
) |
Draw quad face.
Definition at line 2920 of file TGLUtil.cxx.
Referenced by TGLPlotBox::DrawBack(), TGLPlotBox::DrawBackPlane(), TGLH2PolyPainter::DrawExtrusion(), and TGLPlotPainter::DrawSections().
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 2935 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 2906 of file TGLUtil.cxx.
Referenced by TGLPlotBox::DrawBackPlane(), TGLPlotBox::DrawFront(), and TGLSurfacePainter::DrawPlot().
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 3184 of file TGLUtil.cxx.
Referenced by TGLPadPainter::DrawGradient().
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 2950 of file TGLUtil.cxx.
Referenced by TGLSurfacePainter::DrawPlot().
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 3242 of file TGLUtil.cxx.
Referenced by TGLBoxPainter::DrawPlot(), TGLTH3CompositionPainter::DrawPlot(), TGLUtil::DrawReferenceMarker(), and TGLUtil::DrawSimpleAxes().
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 3024 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 3315 of file TGLUtil.cxx.
Referenced by TGLLegoPainter::DrawLegoCylindrical(), TGLLegoPainter::DrawLegoPolar(), and TGLLegoPainter::DrawLegoSpherical().
Definition at line 3558 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 3385 of file TGLUtil.cxx.
Referenced by TGLLegoPainter::DrawLegoPolar(), and TGLLegoPainter::DrawLegoSpherical().
Definition at line 3616 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 3462 of file TGLUtil.cxx.
Referenced by TGLLegoPainter::DrawLegoCylindrical().
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 3844 of file TGLUtil.cxx.
Referenced by TGLParametricPlot::InitColors().
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.
Referenced by DrawMapleMesh().
Object id encoded as rgb triplet.
Definition at line 2858 of file TGLUtil.cxx.
Referenced by TGLPlotBox::DrawBack(), TGLBoxCut::DrawBox(), TGLH2PolyPainter::DrawCap(), TGLH2PolyPainter::DrawExtrusion(), TGLLegoPainter::DrawLegoCartesian(), TGLLegoPainter::DrawLegoCylindrical(), TGLLegoPainter::DrawLegoPolar(), TGLLegoPainter::DrawLegoSpherical(), TGLIsoPainter::DrawMesh(), TGL5DPainter::DrawMesh(), TGLVoxelPainter::DrawPlot(), TGLBoxPainter::DrawPlot(), TGLSurfacePainter::DrawPlot(), TGLParametricPlot::DrawPlot(), TGLPlotPainter::DrawSections(), and TGLTF3Painter::DrawToSelectionBuffer().
void Rgl::SetZLevels | ( | TAxis * | zAxis, |
Double_t | zMin, | ||
Double_t | zMax, | ||
Double_t | zScale, | ||
std::vector< Double_t > & | zLevels | ||
) |
Definition at line 3787 of file TGLUtil.cxx.
Referenced by TGLLegoPainter::InitGeometryCartesian(), and TGLSurfacePainter::InitGeometryCartesian().
Definition at line 3526 of file TGLUtil.cxx.
Referenced by DrawTrapezoid(), and DrawTrapezoidTextured().
Definition at line 3542 of file TGLUtil.cxx.
Referenced by DrawTrapezoid(), and DrawTrapezoidTextured().
const Int_t Rgl::gAxisType[][2] = {{1, 0}, {0, 1}, {1, 0}, {0, 1}} |
Definition at line 3719 of file TGLUtil.cxx.
Definition at line 2810 of file TGLUtil.cxx.
Referenced by TGLPlotPainter::DrawSections().
const Double_t Rgl::gBoxBackNormals[][3] = {{0., -1., 0.}, {-1., 0., 0.}, {0., 1., 0.}, {1., 0., 0.}} |
Definition at line 2968 of file TGLUtil.cxx.
const Int_t Rgl::gBoxBackPlanes[][2] = {{0, 1}, {3, 0}, {2, 3}, {1, 2}} |
Definition at line 2969 of file TGLUtil.cxx.
const Int_t Rgl::gBoxBackQuads[][4] = {{7, 1, 2, 6}, {4, 7, 6, 5}, {0, 4, 5, 3}, {0, 3, 2, 1}} |
Definition at line 2967 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 2964 of file TGLUtil.cxx.
const Int_t Rgl::gBoxFrontPlanes[][2] = {{0, 1}, {1, 2}, {2, 3}, {3, 0}} |
Definition at line 2965 of file TGLUtil.cxx.
const Int_t Rgl::gBoxFrontQuads[][4] = {{0, 1, 2, 3}, {4, 0, 3, 5}, {4, 5, 6, 7}, {7, 6, 2, 1}} |
Definition at line 2963 of file TGLUtil.cxx.
const Int_t Rgl::gFramePoints[][2] = {{3, 1}, {0, 2}, {1, 3}, {2, 0}} |
Definition at line 3717 of file TGLUtil.cxx.
const Float_t Rgl::gGrayEmission = {0.3f,0.3f, 0.3f,1.f} |
Definition at line 2813 of file TGLUtil.cxx.
Definition at line 2809 of file TGLUtil.cxx.
Referenced by TGLPlotBox::DrawBack().
const Double_t Rgl::gH2PolyScaleXY = 1.2 |
Definition at line 2264 of file TGLPlotPainter.cxx.
Referenced by TGLH2PolyPainter::InitGeometry(), and TGLPlotCoordinates::SetRanges().
Definition at line 2814 of file TGLUtil.cxx.
Referenced by TGLPlotBox::DrawBack(), TGLH2PolyPainter::DrawCap(), TGLH2PolyPainter::DrawExtrusion(), TGLLegoPainter::DrawLegoCartesian(), TGLLegoPainter::DrawLegoCylindrical(), TGLLegoPainter::DrawLegoPolar(), TGLLegoPainter::DrawLegoSpherical(), TGLVoxelPainter::DrawPlot(), TGLBoxPainter::DrawPlot(), and TGLPlotPainter::DrawSections().
Definition at line 2811 of file TGLUtil.cxx.
Referenced by TGLH2PolyPainter::DrawCap(), TGLH2PolyPainter::DrawExtrusion(), TGLLegoPainter::DrawLegoCartesian(), TGLLegoPainter::DrawLegoCylindrical(), TGLLegoPainter::DrawLegoPolar(), TGLLegoPainter::DrawLegoSpherical(), TGLVoxelPainter::DrawPlot(), and TGLBoxPainter::DrawPlot().
Definition at line 2808 of file TGLUtil.cxx.
Referenced by TGLPlotBox::DrawBack().