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

This simple MSH Component allows you to manipulate .msh legacy files (gmsh). More...

#include <MshExtension.h>

+ Inheritance diagram for MshExtension:

Public Member Functions

virtual QString getDescription () const
 get the plugin description (can be html)
virtual QStringList getFileExtensions () const
 get the list of managed extensions (each file with an extension in the list can be loaded by this Extension
virtual QString getName () const
 get the plugin name
 MshExtension ()
 the constructor (do nothing really)
virtual Componentopen (const QString &) throw (AbortException)
 get a new instance from data stored in a file (this is the most important method to redefine in your subclass)
virtual bool save (Component *component) const
 save a MshComponent

Protected Member Functions

virtual ~MshExtension ()
 the destructor
- Protected Member Functions inherited from camitk::MeshComponentExtension
 MeshComponentExtension ()
 Constructor protected because the class is virtual.
virtual ~MeshComponentExtension ()
 the destructor
- Protected Member Functions inherited from camitk::ComponentExtension
 ComponentExtension ()
 protected constructor,

Detailed Description

This simple MSH Component allows you to manipulate .msh legacy files (gmsh).

See www.geuz.org/gmsh/doc/texinfo/gmsh.html for more information about this format

Author
Mathieu BAUILET

Constructor & Destructor Documentation

MshExtension::MshExtension ( )
inline

the constructor (do nothing really)

virtual MshExtension::~MshExtension ( )
inlineprotectedvirtual

the destructor

Member Function Documentation

QString MshExtension::getDescription ( ) const
virtual

get the plugin description (can be html)

Reimplemented from camitk::MeshComponentExtension.

QStringList MshExtension::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.

QString MshExtension::getName ( ) const
virtual

get the plugin name

Reimplemented from camitk::MeshComponentExtension.

Component * MshExtension::open ( const QString &  fileName) throw (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::MeshComponentExtension.

bool MshExtension::save ( Component component) const
virtual

save a MshComponent

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

Reimplemented from camitk::ComponentExtension.

References CAMITK_ERROR, camitk::Component::getFileName(), and camitk::Component::getPointSet().


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