4#include "MRMesh/MRMeshFwd.h"
16 std::shared_ptr<ObjectPoints>
obj;
37 MRVIEWER_API
void addPoint(
const Vector3f& point );
40 MRVIEWER_API
void addPoint(
const Vector3f& point,
const Color& color );
43 MRVIEWER_API
void addPoints(
const std::vector<Vector3f>& points );
46 MRVIEWER_API
void addPoints(
const std::vector<Vector3f>& points,
const std::vector<Vector4f>& colors );
named object in the data model
Definition MRObject.h:62
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:25
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:34
AncillaryPoints(AncillaryPoints &&b) noexcept=default
since this uniquely owns an ancillary object, we provide only move operations, not copy
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:16
AncillaryPoints()=default
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Helper class to manage ancillary visual points used by plugins.
Definition MRAncillaryPoints.h:15