Computer Assited Medical Intervention Tool Kit  version 5.0
InteractiveGeometryViewerExtension Class Reference

Manage the InteractiveGeometryViewer viewer, instanciates and register the default "3D Viewer" instance. More...

#include <InteractiveGeometryViewerExtension.h>

+ Inheritance diagram for InteractiveGeometryViewerExtension:
+ Collaboration diagram for InteractiveGeometryViewerExtension:

Public Member Functions

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

Private Member Functions

 Q_INTERFACES (camitk::ViewerExtension)
 

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 More...
 
void setManagedMetaObject (const QMetaObject *)
 The first time this method is called, it sets the static meta object. More...
 
 ViewerExtension ()
 constructor More...
 
- Protected Attributes inherited from camitk::ViewerExtension
ViewerList viewers
 the list of viewers More...
 

Detailed Description

Manage the InteractiveGeometryViewer viewer, instanciates and register the default "3D Viewer" instance.

Constructor & Destructor Documentation

◆ InteractiveGeometryViewerExtension()

InteractiveGeometryViewerExtension::InteractiveGeometryViewerExtension ( )
default

Constructor.

◆ ~InteractiveGeometryViewerExtension()

virtual InteractiveGeometryViewerExtension::~InteractiveGeometryViewerExtension ( )
virtualdefault

Destructor.

Member Function Documentation

◆ getDescription()

virtual QString InteractiveGeometryViewerExtension::getDescription ( )
inlineoverridevirtual

Method returning the viewer extension description.

Implements camitk::ViewerExtension.

◆ getName()

virtual QString InteractiveGeometryViewerExtension::getName ( )
inlineoverridevirtual

Method returning the viewer extension name.

Implements camitk::ViewerExtension.

◆ init()

void InteractiveGeometryViewerExtension::init ( )
overridevirtual

initialize all the viewers

Implements camitk::ViewerExtension.

References registerNewViewer.

◆ Q_INTERFACES()

InteractiveGeometryViewerExtension::Q_INTERFACES ( camitk::ViewerExtension  )
private

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