15#include "TGLIncludes.h"
39 fVertices(buffer.fPnts, buffer.fPnts + 3 * buffer.NbPnts()),
53 Info(
"TGLPolyLine::DirectDraw",
"this %ld (class %s) LOD %d", (
Long_t)
this, IsA()->GetName(), rnrCtx.
ShapeLOD());
60 glGetDoublev(GL_LINE_WIDTH, &oldWidth);
71 glLineWidth(oldWidth);
void Info(const char *location, const char *msgfmt,...)
Generic 3D primitive description class.
Abstract logical shape - a GL 'drawable' - base for all shapes - faceset sphere etc.
To draw a 3D polyline in a GL window.
std::vector< Double_t > fVertices
TGLPolyLine(const TBuffer3D &buffer)
constructor dynamic_cast because of multiple inheritance.
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Debug tracing.
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
static Float_t LineWidth()
Get the line-width, taking the global scaling into account.