17#include "TGLIncludes.h"
66 if (
mQ.fPlex.Size() > 0)
68 if (!
mQ.fSingleColor && !
mQ.fValueIsColor &&
mQ.fPalette ==
nullptr)
78 if ( !
rnrCtx.IsDrawPassOutlineLine())
125 switch (
mQ.fQuadType)
135 e1[0] =
p[3] -
p[0];
e1[1] =
p[4] -
p[1];
e1[2] =
p[5] -
p[2];
136 e2[0] =
p[6] -
p[0];
e2[1] =
p[7] -
p[1];
e2[2] =
p[8] -
p[2];
369 throw(
eH +
"unsupported quad-type.");
391 switch (
mQ.fQuadType)
429 throw(
eH +
"unsupported quad-type.");
458 switch (
mQ.fQuadType)
509 throw(
eH +
"unsupported quad-type.");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
winID h TVirtualViewer3D TVirtualGLPainter p
OpenGL renderer class for TEveDigitSet.
const std::set< Int_t > * fHighlightSet
void DrawFrameIfNeeded(TGLRnrCtx &rnrCtx) const
Make a decision if the frame should be drawn.
Bool_t SetupColor(const TEveDigitSet::DigitBase_t &q) const
Set color for rendering of the specified digit.
Exception class thrown by TEve classes and macros.
GL-renderer for TEveQuadSet class.
TEveQuadSetGL()
Constructor.
void RenderQuads(TGLRnrCtx &rnrCtx) const
GL rendering for free-quads and rectangles.
void RenderHexagons(TGLRnrCtx &rnrCtx) const
GL rendering for hexagons.
void RenderLines(TGLRnrCtx &rnrCtx) const
GL rendering for line-types.
void DirectDraw(TGLRnrCtx &rnrCtx) const override
Draw quad-set with GL.
Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr) override
Set model object.
Supports various internal formats that result in rendering of a set of planar (lines,...
@ kQT_RectangleXZFixedDimY
@ kQT_RectangleXYFixedDim
@ kQT_RectangleXYFixedDimZ
@ kQT_RectangleYZFixedDimX
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Mother of all ROOT objects.
Double_t Sqrt(Double_t x)
Returns the square root of x.
T * Cross(const T v1[3], const T v2[3], T out[3])
Calculates the Cross Product of two vectors: out = [v1 x v2].