Helper class to manage ancillary visual lines used by plugins. More...
#include <MRAncillaryLines.h>
Public Member Functions | |
| AncillaryLines ()=default | |
| AncillaryLines (AncillaryLines &&b) noexcept=default | |
| since this uniquely owns an ancillary object, we provide only move operations, not copy | |
| AncillaryLines & | operator= (AncillaryLines &&b) |
| AncillaryLines (Object &parent) | |
| Make not-pickable ancillary object, link it to parent object, and set line geometry. | |
| AncillaryLines (Object &parent, const Contour3f &contour) | |
| AncillaryLines (Object &parent, const Contours3f &contours) | |
| MRVIEWER_API void | make (Object &parent) |
| Make not-pickable ancillary object, link it to parent object, and set line geometry. | |
| MRVIEWER_API void | make (Object &parent, const Contour3f &contour) |
| MRVIEWER_API void | make (Object &parent, const Contours3f &contours) |
| MRVIEWER_API void | colorizeAxes () |
| Assign an axis' color from the color theme to each line collinear with the axis. | |
| 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. | |
Public Attributes | |
| std::shared_ptr< ObjectLines > | obj |
Helper class to manage ancillary visual lines used by plugins.