15#include "TGLIncludes.h"
39 fVertices(buffer.fPnts, buffer.fPnts + 3 * buffer.NbPnts()),
53 Info(
"TGLPolyLine::DirectDraw",
"this %zd (class %s) LOD %d", (
size_t)
this,
IsA()->GetName(), rnrCtx.
ShapeLOD());
60 glGetDoublev(GL_LINE_WIDTH, &oldWidth);
71 glLineWidth(oldWidth);
void Info(const char *location, const char *msgfmt,...)
Use this function for informational messages.
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.
void DirectDraw(TGLRnrCtx &rnrCtx) const override
Debug tracing.
TClass * IsA() const override
std::vector< Double_t > fVertices
TGLPolyLine(const TBuffer3D &buffer)
constructor dynamic_cast because of multiple inheritance.
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.