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

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

#include <MRViewer/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
AncillaryLinesoperator= (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)
void make (Object &parent)
 Make not-pickable ancillary object, link it to parent object, and set line geometry.
void make (Object &parent, const Contour3f &contour)
void make (Object &parent, const Contours3f &contours)
void colorizeAxes ()
 Assign an axis' color from the color theme to each line collinear with the axis.
void reset ()
 detach owned object from parent, stops owning it
 ~AncillaryLines ()
 detach owned object from parent, stops owning it
void setContours (const Contours3f &contours)
 Set line geometry.
void resetContours ()
 Reset line geometry.
void setDepthTest (bool depthTest)
 Set depth test.

Public Attributes

std::shared_ptr< ObjectLinesobj

Detailed Description

Helper class to manage ancillary visual lines used by plugins.


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