MeshLib Documentation
Loading...
Searching...
No Matches
MR::AncillaryMesh Struct Reference

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

#include <MRAncillaryMesh.h>

Public Member Functions

 AncillaryMesh ()=default
 
 AncillaryMesh (AncillaryMesh &&b) noexcept
 since this uniquely owns an ancillary object, we provide only move operations, not copy
 
AncillaryMeshoperator= (AncillaryMesh &&b)
 
 AncillaryMesh (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
 
 ~AncillaryMesh ()
 detach owned object from parent, stops owning it
 

Public Attributes

std::shared_ptr< ObjectMeshobj
 

Detailed Description

Helper class to manage ancillary visual mesh used by plugins.

Constructor & Destructor Documentation

◆ AncillaryMesh() [1/3]

MR::AncillaryMesh::AncillaryMesh ( )
default

◆ AncillaryMesh() [2/3]

MR::AncillaryMesh::AncillaryMesh ( AncillaryMesh && b)
inlinenoexcept

since this uniquely owns an ancillary object, we provide only move operations, not copy

◆ AncillaryMesh() [3/3]

MR::AncillaryMesh::AncillaryMesh ( Object & parent)
inlineexplicit

Make not-pickable object, link it to parent object.

◆ ~AncillaryMesh()

MR::AncillaryMesh::~AncillaryMesh ( )
inline

detach owned object from parent, stops owning it

Member Function Documentation

◆ make()

MRVIEWER_API void MR::AncillaryMesh::make ( Object & parent)

Make not-pickable object, link it to parent object.

◆ operator=()

AncillaryMesh & MR::AncillaryMesh::operator= ( AncillaryMesh && b)
inline

◆ reset()

MRVIEWER_API void MR::AncillaryMesh::reset ( )

detach owned object from parent, stops owning it

Member Data Documentation

◆ obj

std::shared_ptr<ObjectMesh> MR::AncillaryMesh::obj

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