14 std::shared_ptr<ObjectLines>
obj;
29 MRVIEWER_API
void make(
Object& parent,
const Contour3f& contour );
30 MRVIEWER_API
void make(
Object& parent,
const Contours3f& contours );
Definition MRCameraOrientationPlugin.h:8
Helper class to manage ancillary visual lines used by plugins.
Definition MRAncillaryLines.h:13
AncillaryLines(Object &parent, const Contours3f &contours)
Definition MRAncillaryLines.h:25
MRVIEWER_API void make(Object &parent, const Contour3f &contour)
AncillaryLines(Object &parent)
Make not-pickable ancillary object, link it to parent object, and set line geometry.
Definition MRAncillaryLines.h:23
AncillaryLines(Object &parent, const Contour3f &contour)
Definition MRAncillaryLines.h:24
std::shared_ptr< ObjectLines > obj
Definition MRAncillaryLines.h:14
AncillaryLines(AncillaryLines &&b) noexcept=default
since this uniquely owns an ancillary object, we provide only move operations, not copy
MRVIEWER_API void setDepthTest(bool depthTest)
Set depth test.
MRVIEWER_API void make(Object &parent, const Contours3f &contours)
MRVIEWER_API void resetContours()
Reset line geometry.
MRVIEWER_API void reset()
detach owned object from parent, stops owning it
MRVIEWER_API void setContours(const Contours3f &contours)
Set line geometry.
~AncillaryLines()
detach owned object from parent, stops owning it
Definition MRAncillaryLines.h:36
MRVIEWER_API void make(Object &parent)
Make not-pickable ancillary object, link it to parent object, and set line geometry.