Helper class to manage ancillary visual lines used by plugins.
More...
#include <MRAncillaryLines.h>
|
| AncillaryLines ()=default |
|
| AncillaryLines (AncillaryLines &&b) noexcept |
| since this uniquely owns an ancillary object, we provide only move operations, not copy
|
|
AncillaryLines & | operator= (AncillaryLines &&b) |
|
| AncillaryLines (AncillaryLines &b)=default |
|
| AncillaryLines (Object &parent, const Contours3f &contours={}) |
| Make not-pickable ancillary object, link it to parent object, and set line geometry.
|
|
MRVIEWER_API void | make (Object &parent, const Contours3f &contours={}) |
| Make not-pickable ancillary object, link it to parent object, and set line geometry.
|
|
MRVIEWER_API void | reset () |
| detach owned object from parent, stops owning it
|
|
| ~AncillaryLines () |
| detach owned object from parent, stops owning it
|
|
MRVIEWER_API void | setContours (const Contours3f &contours) |
| Set line geometry.
|
|
MRVIEWER_API void | resetContours () |
| Reset line geometry.
|
|
MRVIEWER_API void | setDepthTest (bool depthTest) |
| Set depth test.
|
|
Helper class to manage ancillary visual lines used by plugins.
◆ AncillaryLines() [1/4]
MR::AncillaryLines::AncillaryLines |
( |
| ) |
|
|
default |
◆ AncillaryLines() [2/4]
since this uniquely owns an ancillary object, we provide only move operations, not copy
◆ AncillaryLines() [3/4]
◆ AncillaryLines() [4/4]
MR::AncillaryLines::AncillaryLines |
( |
Object & | parent, |
|
|
const Contours3f & | contours = {} ) |
|
inlineexplicit |
Make not-pickable ancillary object, link it to parent object, and set line geometry.
◆ ~AncillaryLines()
MR::AncillaryLines::~AncillaryLines |
( |
| ) |
|
|
inline |
detach owned object from parent, stops owning it
◆ make()
MRVIEWER_API void MR::AncillaryLines::make |
( |
Object & | parent, |
|
|
const Contours3f & | contours = {} ) |
Make not-pickable ancillary object, link it to parent object, and set line geometry.
◆ operator=()
◆ reset()
MRVIEWER_API void MR::AncillaryLines::reset |
( |
| ) |
|
detach owned object from parent, stops owning it
◆ resetContours()
MRVIEWER_API void MR::AncillaryLines::resetContours |
( |
| ) |
|
◆ setContours()
MRVIEWER_API void MR::AncillaryLines::setContours |
( |
const Contours3f & | contours | ) |
|
◆ setDepthTest()
MRVIEWER_API void MR::AncillaryLines::setDepthTest |
( |
bool | depthTest | ) |
|
◆ obj
The documentation for this struct was generated from the following file: