12#include "TGLIncludes.h" 
   40   fOrthographicMode(
kAxis),
 
   41   fPerspectiveMode(kPlaneIntersect),
 
   43   fAxisPainter(nullptr),
 
   49   fUseExternalRefPlane(
kFALSE)
 
 
  135      const char* 
txt = 
Form(
"(%f, %f, %f)", 
v[0], 
v[1], 
v[2]);
 
 
  249      for (TGLAxisPainter::LabVec_t::iterator i = 
labs.
begin(); i != 
labs.
end(); ++i) {
 
  325      for (TGLAxisPainter::LabVec_t::iterator i = 
labs.
begin(); i != 
labs.
end(); ++i) {
 
  346         val = 
labs[0].second;
 
 
  405   const char* 
txt = 
Form(
"%.*f", (exp < 0) ? -exp : 0, 
red);
 
 
  483   if (
cam.IsOrthographic())
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Double_t Dot(const TGLVector3 &v1, const TGLVector3 &v2)
 
std::pair< Bool_t, TGLLine3 > Intersection(const TGLPlane &p1, const TGLPlane &p2)
Find 3D line interestion of this plane with 'other'.
 
winID h TVirtualViewer3D TVirtualGLPainter p
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize fs
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char mx
 
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
 
const_iterator begin() const
 
const_iterator end() const
 
Manages histogram axis attributes.
 
virtual Int_t GetNdivisions() const
 
virtual Color_t GetAxisColor() const
 
virtual void SetAxisColor(Color_t color=1, Float_t alpha=1.)
Set color of the line axis and tick marks.
 
virtual void SetLabelSize(Float_t size=0.04)
Set size of axis labels.
 
virtual void SetLabelOffset(Float_t offset=0.005)
Set distance between the axis and the labels.
 
virtual Float_t GetLabelSize() const
 
virtual void SetTickLength(Float_t length=0.03)
Set tick mark length.
 
virtual void SetNdivisions(Int_t n=510, Bool_t optim=kTRUE)
Set the number of divisions for this axis.
 
virtual void SetLabelColor(Color_t color=1, Float_t alpha=1.)
Set color of labels.
 
Class to manage histogram axis.
 
virtual void SetLimits(Double_t xmin, Double_t xmax)
 
Utility class to paint axis in GL.
 
void RnrLabels() const
Render label reading prepared list ov value-pos pairs.
 
void RnrLines() const
Render axis main line and tick-marks.
 
void SetLabelAlign(TGLFont::ETextAlignH_e, TGLFont::ETextAlignV_e)
Set label align.
 
std::vector< Lab_t > LabVec_t
 
void SetUseAxisColors(Bool_t x)
 
void SetAttAxis(TAttAxis *a)
 
void SetLabelPixelFontSize(Int_t fs)
 
TGLVector3 & RefTMOff(Int_t i)
 
void SetFontMode(TGLFont::EMode m)
 
void PaintAxis(TGLRnrCtx &ctx, TAxis *ax)
GL render TAxis.
 
A GL overlay element which displays camera furstum.
 
void RenderAxis(TGLRnrCtx &rnrCtx, Bool_t drawGrid)
Draw axis on four edges and a transparent grid.
 
TGLAxisPainter * fAxisPainter
 
Bool_t fUseExternalRefPlane
 
TGLPlane fExternalRefPlane
 
void SetFrustum(TGLCamera &cam)
Set frustum values from given camera.
 
~TGLCameraOverlay() override
Destructor.
 
void RenderPlaneIntersect(TGLRnrCtx &rnrCtx)
Draw cross section coordinates in top right corner of screen.
 
TAttAxis * GetAttAxis()
Get axis attributes.
 
void Render(TGLRnrCtx &rnrCtx) override
Display coordinates info of current frustum.
 
TGLCameraOverlay(const TGLCameraOverlay &)=delete
 
void RenderBar(TGLRnrCtx &rnrCtx)
Show frustum size with fixed screen line length and printed value.
 
Abstract base camera class - concrete classes for orthographic and perspective cameras derive from it...
 
A wrapper class for FTFont.
 
void BBox(const char *txt, Float_t &llx, Float_t &lly, Float_t &llz, Float_t &urx, Float_t &ury, Float_t &urz) const
Get bounding box.
 
void Render(const char *txt, Double_t x, Double_t y, Double_t angle, Double_t mgn) const
 
3D space, fixed length, line class, with direction / length 'vector', passing through point 'vertex'.
 
16 component (4x4) transform matrix - column MAJOR as per GL.
 
3D plane class - of format Ax + By + Cz + D = 0
 
Viewport (pixel base) 2D rectangle class.
 
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
 
static void ColorTransparency(Color_t color_index, Char_t transparency=0)
Set color from color_index and ROOT-style transparency (default 0).
 
static void Color(const TGLColor &color)
Set color from TGLColor.
 
static Float_t LineWidth()
Get the line-width, taking the global scaling into account.
 
3 component (x/y/z) vector class.
 
3 component (x/y/z) vertex class.
 
static void Optimize(Double_t A1, Double_t A2, Int_t nold, Double_t &BinLow, Double_t &BinHigh, Int_t &nbins, Double_t &BWID, Option_t *option="")
Static function to compute reasonable axis limits.
 
Int_t Nint(T x)
Round to nearest integer. Rounds half integers to the nearest even integer.
 
Double_t Floor(Double_t x)
Rounds x downward, returning the largest integral value that is not greater than x.
 
Double_t Sqrt(Double_t x)
Returns the square root of x.
 
LongDouble_t Power(LongDouble_t x, LongDouble_t y)
Returns x raised to the power y.
 
Double_t Log10(Double_t x)
Returns the common (base-10) logarithm of x.
 
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.