16#include "TGLIncludes.h"
41 fVertices(buffer.fPnts, buffer.fPnts + 3 * buffer.NbPnts()),
58 Info(
"TGLPolyMarker::DirectDraw",
"this %zd (class %s) LOD %d", (
size_t)
this,
IsA()->GetName(),
rnrCtx.ShapeLOD());
74 case 4:
case 8:
case 20:
case 24:
77 glTranslated(vertices[i], vertices[i + 1], vertices[i + 2]);
88 glTranslated(vertices[i], vertices[i + 1], vertices[i + 2]);
96 glTranslated(vertices[i], vertices[i + 1], vertices[i + 2]);
102 case 3:
case 2:
case 5:
111 case 1:
case 9:
case 10:
case 11:
default:
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Generic 3D primitive description class.
Abstract logical shape - a GL 'drawable' - base for all shapes - faceset sphere etc.
To draw a 3D polymarker in a GL window.
void DirectDraw(TGLRnrCtx &rnrCtx) const override
Debug tracing.
std::vector< Double_t > fVertices
TClass * IsA() const override
TGLPolyMarker(const TBuffer3D &buffer)
TAttMarker is not TObject descendant, so I need dynamic_cast.
void DrawStars() const
Draw stars.
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
static Float_t PointSize()
Get the point-size, taking the global scaling into account.
Double_t Sqrt(Double_t x)
Returns the square root of x.