1 #ifndef MARLINMT_GEOMETRYPLUGIN_h 2 #define MARLINMT_GEOMETRYPLUGIN_h 1 14 class GeometryManager ;
48 virtual const void *
handle()
const = 0 ;
59 virtual std::type_index
typeIndex()
const = 0 ;
GeometryPlugin & operator=(const GeometryPlugin &)=delete
void print() const
Print the complete geometry plugin description.
virtual void dumpGeometry() const =0
Dump the geometry in the console.
virtual void initialize() override
Init the geometry plugin.
virtual void loadGeometry()=0
Load the geometry.
virtual void destroy()=0
Cleanup geometry.
virtual const void * handle() const =0
Get a handle on the geometry instance.
GeometryPlugin class Responsible for loading geometry in Marlin and providing access to it through th...
BoolParameter _dumpGeometry
Whether to dump the geometry on creation.
virtual std::type_index typeIndex() const =0
Get a type index object from the geometry handle.
virtual ~GeometryPlugin()=default