Computer Assisted Medical Intervention Tool Kit version 6.0
 
Loading...
Searching...
No Matches
ComponentExplorerExtension Class Reference

Manage the Explorer viewer, instantiate and register the default "Component Explorer" instance. More...

#include <ComponentExplorerExtension.h>

+ Inheritance diagram for ComponentExplorerExtension:
+ Collaboration diagram for ComponentExplorerExtension:

Public Member Functions

 ComponentExplorerExtension ()=default
 Constructor.
 
virtual QString getDescription () const override
 Method returning the viewer extension description.
 
virtual QString getName () const override
 Method returning the viewer extension name.
 
virtual void init () override
 initialize all the viewers
 
virtual ~ComponentExplorerExtension ()=default
 Destructor.
 
- Public Member Functions inherited from camitk::ViewerExtension
QString getLocation () const
 get the file path (location of the .dll/.so/.dylib) of this plugin
 
ViewergetNewInstance (QString name)
 factory: create a new viewer instance and register it
 
QString getViewerClassName () const
 get the class name of the viewer managed by this extension
 
const ViewerListgetViewers ()
 get the list of viewer instances registered by this extension
 
void initResources ()
 Load, for the selected langage (asked to the Application), the associated .qm file.
 
void setLocation (const QString loc)
 set the file path (once loaded as a dynamic library) = where this extension was loaded
 
 ~ViewerExtension () override
 destructor
 

Additional Inherited Members

- Protected Member Functions inherited from camitk::ViewerExtension
bool registerViewer (Viewer *)
 register an viewer instance The first call will also register the managed viewer class name in viewerClassName and its static meta object in
 
void setManagedMetaObject (const QMetaObject *)
 The first time this method is called, it sets the static meta object.
 
 ViewerExtension ()
 constructor
 
- Protected Attributes inherited from camitk::ViewerExtension
ViewerList viewers
 the list of viewers
 

Detailed Description

Manage the Explorer viewer, instantiate and register the default "Component Explorer" instance.

Constructor & Destructor Documentation

◆ ComponentExplorerExtension()

ComponentExplorerExtension::ComponentExplorerExtension ( )
default

Constructor.

◆ ~ComponentExplorerExtension()

virtual ComponentExplorerExtension::~ComponentExplorerExtension ( )
virtualdefault

Destructor.

Member Function Documentation

◆ getDescription()

virtual QString ComponentExplorerExtension::getDescription ( ) const
inlineoverridevirtual

Method returning the viewer extension description.

Implements camitk::ViewerExtension.

◆ getName()

virtual QString ComponentExplorerExtension::getName ( ) const
inlineoverridevirtual

Method returning the viewer extension name.

Implements camitk::ViewerExtension.

◆ init()

void ComponentExplorerExtension::init ( )
overridevirtual

initialize all the viewers

Implements camitk::ViewerExtension.

References registerDefaultViewer.


The documentation for this class was generated from the following files: