Helper class to manage ancillary visual points used by plugins. More...
#include <MRAncillaryPoints.h>
Public Member Functions | |
| AncillaryPoints ()=default | |
| AncillaryPoints (AncillaryPoints &&b) noexcept=default | |
| since this uniquely owns an ancillary object, we provide only move operations, not copy | |
| AncillaryPoints & | operator= (AncillaryPoints &&b) |
| AncillaryPoints (Object &parent) | |
| Make not-pickable object, link it to parent object. | |
| MRVIEWER_API void | make (Object &parent) |
| Make not-pickable object, link it to parent object. | |
| MRVIEWER_API void | reset () |
| detach owned object from parent, stops owning it | |
| ~AncillaryPoints () | |
| detach owned object from parent, stops owning it | |
| MRVIEWER_API void | addPoint (const Vector3f &point) |
| add ancillary point | |
| MRVIEWER_API void | addPoint (const Vector3f &point, const Color &color) |
| add ancillary point with color | |
| MRVIEWER_API void | addPoints (const std::vector< Vector3f > &points) |
| add vector of ancillary points | |
| MRVIEWER_API void | addPoints (const std::vector< Vector3f > &points, const std::vector< Vector4f > &colors) |
| add vector of ancillary points with colors | |
| MRVIEWER_API void | setDepthTest (bool depthTest) |
| Set depth test. | |
Public Attributes | |
| std::shared_ptr< ObjectPoints > | obj |
Helper class to manage ancillary visual points used by plugins.