Helper class to manage ancillary visual points used by plugins.
More...
#include <MRAncillaryPoints.h>
|
| | 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.
|
| |
Helper class to manage ancillary visual points used by plugins.
◆ AncillaryPoints() [1/3]
| MR::AncillaryPoints::AncillaryPoints |
( |
| ) |
|
|
default |
◆ AncillaryPoints() [2/3]
since this uniquely owns an ancillary object, we provide only move operations, not copy
◆ AncillaryPoints() [3/3]
| MR::AncillaryPoints::AncillaryPoints |
( |
Object & | parent | ) |
|
|
inlineexplicit |
Make not-pickable object, link it to parent object.
◆ ~AncillaryPoints()
| MR::AncillaryPoints::~AncillaryPoints |
( |
| ) |
|
|
inline |
detach owned object from parent, stops owning it
◆ addPoint() [1/2]
| MRVIEWER_API void MR::AncillaryPoints::addPoint |
( |
const Vector3f & | point | ) |
|
◆ addPoint() [2/2]
| MRVIEWER_API void MR::AncillaryPoints::addPoint |
( |
const Vector3f & | point, |
|
|
const Color & | color ) |
add ancillary point with color
◆ addPoints() [1/2]
| MRVIEWER_API void MR::AncillaryPoints::addPoints |
( |
const std::vector< Vector3f > & | points | ) |
|
add vector of ancillary points
◆ addPoints() [2/2]
| MRVIEWER_API void MR::AncillaryPoints::addPoints |
( |
const std::vector< Vector3f > & | points, |
|
|
const std::vector< Vector4f > & | colors ) |
add vector of ancillary points with colors
◆ make()
| MRVIEWER_API void MR::AncillaryPoints::make |
( |
Object & | parent | ) |
|
Make not-pickable object, link it to parent object.
◆ operator=()
◆ reset()
| MRVIEWER_API void MR::AncillaryPoints::reset |
( |
| ) |
|
detach owned object from parent, stops owning it
◆ setDepthTest()
| MRVIEWER_API void MR::AncillaryPoints::setDepthTest |
( |
bool | depthTest | ) |
|
◆ obj
The documentation for this struct was generated from the following file: