MeshLib C++ Docs
Loading...
Searching...
No Matches

Helper class to manage ancillary visual points used by plugins. More...

#include <MRViewer/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
AncillaryPointsoperator= (AncillaryPoints &&b)
 AncillaryPoints (Object &parent)
 Make not-pickable object, link it to parent object.
void make (Object &parent)
 Make not-pickable object, link it to parent object.
void reset ()
 detach owned object from parent, stops owning it
 ~AncillaryPoints ()
 detach owned object from parent, stops owning it
void addPoint (const Vector3f &point)
 add ancillary point
void addPoint (const Vector3f &point, const Color &color)
 add ancillary point with color
void addPoints (const std::vector< Vector3f > &points)
 add vector of ancillary points
void addPoints (const std::vector< Vector3f > &points, const std::vector< Vector4f > &colors)
 add vector of ancillary points with colors
void setDepthTest (bool depthTest)
 Set depth test.

Public Attributes

std::shared_ptr< ObjectPointsobj

Detailed Description

Helper class to manage ancillary visual points used by plugins.


The documentation for this struct was generated from the following file: