Computer Assited Medical Intervention Tool Kit  version 3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
StlExtension Class Reference

Manage the STL extension. More...

#include <StlExtension.h>

+ Inheritance diagram for StlExtension:

Public Member Functions

virtual QString getDescription () const
 Method returning the component extension description. More...
 
virtual QStringList getFileExtensions () const
 Get the list of managed extensions (each file with an extension in the list can be loaded by this extension) More...
 
virtual QString getName () const
 Method returning the component extension name. More...
 
camitk::Componentopen (const QString &) throw (camitk::AbortException)
 Get a new instance from data stored in a file (this is the most important method to redefine in your subclass) More...
 
bool save (camitk::Component *component) const
 Save a given Component (does not have to be top-level) into one of the currently managed format. More...
 
 StlExtension ()
 Constructor. More...
 
- Public Member Functions inherited from camitk::ComponentExtension
virtual ~ComponentExtension ()
 protected destructor, More...
 
virtual bool hasDataDirectory () const
 return true if this component manages directory instead of individual files (e.g. Dicom series are stored in directories, not files) More...
 
QString getLocation () const
 get the file path (location of the .dll/.so/.dylib) of this plugin More...
 
void setLocation (const QString loc)
 set the file path (once loaded as a dynamic library) More...
 

Protected Member Functions

virtual ~StlExtension ()
 Destructor. More...
 
- Protected Member Functions inherited from camitk::ComponentExtension
 ComponentExtension ()
 protected constructor, More...
 

Private Member Functions

 Q_INTERFACES (camitk::ComponentExtension)
 

Detailed Description

Manage the STL extension.

Exporting to STL is supported very simply thanks to vtkSTLWriter.

Constructor & Destructor Documentation

StlExtension::StlExtension ( )
inline

Constructor.

virtual StlExtension::~StlExtension ( )
inlineprotectedvirtual

Destructor.

Member Function Documentation

virtual QString StlExtension::getDescription ( ) const
virtual

Method returning the component extension description.

Implements camitk::ComponentExtension.

virtual QStringList StlExtension::getFileExtensions ( ) const
virtual

Get the list of managed extensions (each file with an extension in the list can be loaded by this extension)

Implements camitk::ComponentExtension.

virtual QString StlExtension::getName ( ) const
virtual

Method returning the component extension name.

Implements camitk::ComponentExtension.

camitk::Component* StlExtension::open ( const QString &  )
throw (camitk::AbortException
)
virtual

Get a new instance from data stored in a file (this is the most important method to redefine in your subclass)

Implements camitk::ComponentExtension.

StlExtension::Q_INTERFACES ( camitk::ComponentExtension  )
private
bool StlExtension::save ( camitk::Component component) const
virtual

Save a given Component (does not have to be top-level) into one of the currently managed format.

Returns
false if the operation was not performed properly or not performed at all.

Reimplemented from camitk::ComponentExtension.


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