MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::AncillaryLines Struct Reference

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
 
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)
 
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< ObjectLinesobj
 

Detailed Description

Helper class to manage ancillary visual lines used by plugins.


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