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
VtkMeshComponentExtension Class Reference

This Vtk ComponentExtension allows you to manipulate VTK files (unstructured grid and polydata files) More...

#include <VtkMeshComponentExtension.h>

+ Inheritance diagram for VtkMeshComponentExtension:

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
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 MeshComponent to Vtk (does not have to be top-level).
 VtkMeshComponentExtension ()
 the constructor (do nothing really)

Protected Member Functions

virtual ~VtkMeshComponentExtension ()
 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 Vtk ComponentExtension allows you to manipulate VTK files (unstructured grid and polydata files)

Constructor & Destructor Documentation

VtkMeshComponentExtension::VtkMeshComponentExtension ( )
inline

the constructor (do nothing really)

virtual VtkMeshComponentExtension::~VtkMeshComponentExtension ( )
inlineprotectedvirtual

the destructor

Member Function Documentation

QString VtkMeshComponentExtension::getDescription ( ) const
virtual

get the plugin description (can be html)

Reimplemented from camitk::MeshComponentExtension.

QStringList VtkMeshComponentExtension::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 VtkMeshComponentExtension::getName ( ) const
virtual

get the plugin name

Reimplemented from camitk::MeshComponentExtension.

Component * VtkMeshComponentExtension::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 VtkMeshComponentExtension::save ( Component component) const
virtual

save a MeshComponent to Vtk (does not have to be top-level).

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

Reimplemented from camitk::ComponentExtension.

References camitk::Component::getFileName(), camitk::Component::getName(), camitk::Component::getPointSet(), VtkMeshUtil::savePointSetToFile(), and camitk::Component::setModified().


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