13 std::shared_ptr<ObjectPoints>
obj;
34 MRVIEWER_API
void addPoint(
const Vector3f& point );
37 MRVIEWER_API
void addPoint(
const Vector3f& point,
const Color& color );
40 MRVIEWER_API
void addPoints(
const std::vector<Vector3f>& points );
43 MRVIEWER_API
void addPoints(
const std::vector<Vector3f>& points,
const std::vector<Vector4f>& colors );
named object in the data model
Definition MRObject.h:60
Definition MRCameraOrientationPlugin.h:8
Helper class to manage ancillary visual points used by plugins.
Definition MRAncillaryPoints.h:12
MRVIEWER_API void addPoint(const Vector3f &point, const Color &color)
add ancillary point with color
AncillaryPoints(Object &parent)
Make not-pickable object, link it to parent object.
Definition MRAncillaryPoints.h:22
MRVIEWER_API void addPoints(const std::vector< Vector3f > &points, const std::vector< Vector4f > &colors)
add vector of ancillary points with colors
MRVIEWER_API void reset()
detach owned object from parent, stops owning it
~AncillaryPoints()
detach owned object from parent, stops owning it
Definition MRAncillaryPoints.h:31
AncillaryPoints(AncillaryPoints &&b) noexcept
since this uniquely owns an ancillary object, we provide only move operations, not copy
Definition MRAncillaryPoints.h:18
MRVIEWER_API void addPoints(const std::vector< Vector3f > &points)
add vector of ancillary points
MRVIEWER_API void setDepthTest(bool depthTest)
Set depth test.
MRVIEWER_API void addPoint(const Vector3f &point)
add ancillary point
MRVIEWER_API void make(Object &parent)
Make not-pickable object, link it to parent object.
std::shared_ptr< ObjectPoints > obj
Definition MRAncillaryPoints.h:13
AncillaryPoints()=default