27 int faceIndicesSize_{ 0 };
31 typedef unsigned int GLuint;
33 GLuint labelArrayObjId_{ 0 };
34 GlBuffer vertPosBuffer_;
35 GlBuffer facesIndicesBuffer_;
37 GLuint srcArrayObjId_{ 0 };
38 GlBuffer srcVertPosBuffer_;
39 GlBuffer srcIndicesBuffer_;
40 GlTexture2 srcIndicesSelectionTex_;
42 GLuint bgArrayObjId_{ 0 };
43 GlBuffer bgVertPosBuffer_;
44 GlBuffer bgFacesIndicesBuffer_;
46 GLuint llineArrayObjId_{ 0 };
47 GlBuffer llineVertPosBuffer_;
48 GlBuffer llineEdgesIndicesBuffer_;
50 void renderSourcePoint_(
const ModelRenderParams& renderParams );
51 void renderBackground_(
const ModelRenderParams& renderParams );
52 void renderLeaderLine_(
const ModelRenderParams& renderParams );
70 Vector2f pivotPointState_;
71 float backgroundPaddingState_;
Box given by its min- and max- corners.
Definition MRBox3.h:8
Definition MRIRenderObject.h:133
Definition MRObjectLabel.h:25
Definition MRRenderHelpers.h:16
Definition MRRenderLabelObject.h:11
virtual void forceBindAll() override
binds all data for this render object, not to bind ever again (until object becomes dirty)
virtual size_t glBytes() const override
returns the amount of memory this object allocated in OpenGL
RenderLabelObject(const VisualObject &visObj)
virtual size_t heapBytes() const override
returns the amount of memory this object occupies on heap
virtual void renderPicker(const ModelBaseRenderParams ¶ms, unsigned geomId) override
virtual bool render(const ModelRenderParams ¶ms) override
Visual Object.
Definition MRVisualObject.h:131
represents a 3-dimentional float-typed vector
Definition MRDotNet/MRVector3.h:8
Definition MRCameraOrientationPlugin.h:7
Definition MRIRenderObject.h:42
Mesh rendering parameters for primary rendering (as opposed to the picker).
Definition MRIRenderObject.h:50