The generic/default application. More...
#include <Application.h>
Public Types | |
enum | TargetPositionningPolicy { SAME_TRANSFORMATION , NO_TRANSFORMATION , SUBFRAME } |
: Policy to determine how a newly instantiated component's frame should be initialized regarding of its parent's component. More... | |
Public Member Functions | |
Application (QString name, int &argc, char **argv, bool autoloadExtension=true, bool registerFileExtension=false) | |
Initializes the window system and constructs a CamiTK application object with argc command line arguments in argv. | |
~Application () override | |
destructor | |
Static Public Member Functions | |
Component instances management | |
static Component * | open (const QString &) |
load the filename and returns the corresponding top level Component (returns nullptr if an error occurs) | |
static Component * | openDirectory (const QString &dirName, const QString &pluginName) |
load a directory and returns the corresponding Component (returns nullptr if an error occurs) | |
static bool | close (Component *component) |
Close a Component: if it has been changed, ask the user for more information, then if everything is ok, delete it. | |
static bool | save (Component *component) |
save a component to its file (as given by component->getFileName()). | |
static const ComponentList & | getTopLevelComponents () |
get the current application wide list of instantiated top-level Components. | |
static const ComponentList & | getAllComponents () |
get the current application wide list of all Components. | |
static bool | isAlive (Component *) |
does this Component still exists? | |
static bool | hasModified () |
Return true if at least one of the opened components has been modified, false otherwise. | |
Selection management | |
static const ComponentList & | getSelectedComponents () |
get the currently selected Components. | |
static void | clearSelectedComponents () |
clear all the selection, i.e call setSelected(false) for all the previously selected components and clear the list. | |
Action instances management | |
static Action * | getAction (QString) |
get a registered action given its name | |
static const ActionList | getActions () |
get all the actions registered in the application (note: the returned ActionList is guaranteed to be sorted by action name and to contain no duplicates) | |
static ActionList | getActions (Component *) |
get all the actions that can be applied on a given component (note: the returned ActionList is guaranteed to be sorted by action name and to contain no duplicates) | |
static ActionList | getActions (ComponentList) |
Get all the actions that can be applied on any components of the given list of components (note: the returned ActionList is guaranteed to be sorted by action name and to contain no duplicates) | |
static ActionList | getActions (ComponentList, QString) |
get all the actions that of a given tag (note: the returned ActionList is guaranteed to be sorted by action name and to contain no duplicates) | |
static int | registerAllActions (ActionExtension *) |
register all actions from the given ActionExtension | |
static int | unregisterAllActions (ActionExtension *) |
unregister all actions from the given ActionExtension | |
static void | setTriggeredAction (Action *action) |
set the currently triggered action This is used by Action::trigger(..) to refresh all the viewer (the viewers interested by the fact an action was triggered can then update what they need to) | |
static Action * | getTriggeredAction () |
get the currently triggered action | |
Application resources management | |
static QString | getSelectedLanguage () |
Returns for the current CamiTK application, the selected language (stored in its .ini configuration file) | |
Protected Member Functions | |
bool | eventFilter (QObject *object, QEvent *event) override |
Event filter of this class instance to watch its properties instances. | |
Friends | |
Friend class | |
class | Component |
Property management | |
static PropertyObject * | getPropertyObject () |
Get the property object of the application. | |
Application specific | |
bool | notify (QObject *, QEvent *) override |
reimplemented from QApplication to catch all exception from external libs used in CEP (e.g. from ITK) and avoid crashes... | |
static QString | getName () |
get the application name | |
static QSettings & | getSettings () |
Get the Core wide settings. | |
static int | exec () |
Overriden from QApplication: Enters the main event loop and waits until exit() is called, then returns the value that was set to exit() (which is 0 if exit() is called via quit()). | |
static const QDir | getLastUsedDirectory () |
Get the last used directory (e.g. | |
static void | setLastUsedDirectory (QDir) |
set (force) the last used directory | |
static void | addRecentDocument (QFileInfo) |
Add a document to the list of recent documents (e.g. | |
static const QList< QFileInfo > | getRecentDocuments () |
Get the list of recent documents. | |
static const int | getMaxRecentDocuments () |
get the maximal number of recent documents stored | |
Main Window management | |
void | setMainWindow (MainWindow *mw) |
set the main window. | |
static MainWindow * | getMainWindow () |
get the main window | |
static void | refresh () |
refresh the main window (this will call the refresh method of all viewers) | |
static void | showStatusBarMessage (QString msg, int timeout=0) |
Set a message to the status bar. | |
static void | resetProgressBar () |
Resets the progress bar if it exists. | |
static void | setProgressBarValue (int) |
set the progress bar value, value should be in [0..100]. | |
static void | vtkProgressFunction (vtkObject *caller, long unsigned int, void *, void *) |
Observer function to be called by vtkFilters and to update progress bar Example of use: | |
Viewer management | |
static Viewer * | getViewer (QString name) |
get the pointer to a registered viewer given its name | |
static Viewer * | getNewViewer (QString name, QString className) |
instantiate a new viewer of the given name and given class name (Viewer inheriting class). | |
static const ViewerList | getViewers () |
get all the viewers registered in the application (note: the returned ViewerList is guaranteed to be sorted by viewer name and to not contain any duplicate) | |
static ViewerList | getViewers (Component *) |
get the viewers that can manage/display the given component (note: the returned ViewerList is guaranteed to be sorted by viewer name and to contain no duplicates) | |
static bool | registerViewer (Viewer *) |
register a viewer in the viewer list (therefore allowing it to be refreshed by the main window automatically | |
static int | registerAllViewers (ViewerExtension *) |
register all viewers from the given ViewerExtension | |
static int | unregisterAllViewers (ViewerExtension *) |
unregister all viewers from the given ViewerExtension | |
Actions pipeline history | |
static void | addHistoryItem (HistoryItem item) |
Add the history item to the application history. | |
static HistoryItem | removeLastHistoryItem () |
Remove the last pushed actions in the history of the current pipeline. | |
static void | saveHistoryAsSXML () |
Save the history as an SCXML file, stored using. | |
The generic/default application.
Once this class is instantiated in the main, everything is setup. The constructor can take the command line arguments. It can also be asked not to load the extensions automatically,see Application().
If you do not have a specific MainWindow extension, then the default CamiTK MainWindow is used, see setMainWindow().
This class manages all application-level instances, structures and all. This explains the number of static methods in this class.
It manages:
: Policy to determine how a newly instantiated component's frame should be initialized regarding of its parent's component.
camitk::Application::Application | ( | QString | name, |
int & | argc, | ||
char ** | argv, | ||
bool | autoloadExtension = true , |
||
bool | registerFileExtension = false |
||
) |
Initializes the window system and constructs a CamiTK application object with argc command line arguments in argv.
The first parameter is the name of the application (used as a identifier in the settings, for example)
The second and third parameters comes from the command line (see QApplication API documentation). This constructor inits all the CamiTK context:
name | the name of the application, it will be used to save specific configuration for example. |
argc | the number of command line arguments |
argv | the values of the command line arguments |
autoloadExtension | if true, all the plugins are loaded |
registerFileExtension | if true, the application will prompt the user at first run if he wants to register file formats handled by loaded components with this application for opening. |
References camitk::ExtensionManager::autoload(), CAMITK_INFO, eventFilter(), camitk::ExtensionManager::getFileExtensions(), getName(), camitk::Core::getTestDataDir(), initIcons(), camitk::PropertyObject::loadFromSettings(), and camitk::ExtensionManager::registerFileExtension().
|
override |
destructor
References CAMITK_INFO.
|
static |
Add the history item to the application history.
The item is added to the history stack of actions used in a pipeline
item | the item to add to the history |
|
static |
Add a document to the list of recent documents (e.g.
when a document was opened) and update lastUsedDirectory
Referenced by open().
|
static |
clear all the selection, i.e call setSelected(false) for all the previously selected components and clear the list.
References camitk::Component::setSelected().
Referenced by ClearSelectionAction::apply(), and CloseAllAction::apply().
|
static |
Close a Component: if it has been changed, ask the user for more information, then if everything is ok, delete it.
component | the Component to close. |
References camitk::Component::getModified(), camitk::Component::getName(), refresh(), save(), and showStatusBarMessage().
Referenced by CloseAction::apply(), CloseAllAction::apply(), main(), and ActionTransition::onTransition().
|
overrideprotected |
Event filter of this class instance to watch its properties instances.
Each time a property has dynamically changed, this method is called.
References getName(), and camitk::PropertyObject::saveToSettings().
Referenced by Application().
|
static |
Overriden from QApplication: Enters the main event loop and waits until exit() is called, then returns the value that was set to exit() (which is 0 if exit() is called via quit()).
It is necessary to call this function to start event handling. The main event loop receives events from the window system and dispatches these to the application widgets.
Generally, no user interaction can take place before calling exec(). As a special case, modal widgets like QMessageBox can be used before calling exec(), because modal widgets call exec() to start a local event loop.
To make your application perform idle processing, i.e., executing a special function whenever there are no pending events, use a QTimer with 0 timeout. More advanced idle processing schemes can be achieved using processEvents().
References camitk::MainWindow::aboutToShow(), CAMITK_ERROR_ALT, setMainWindow(), and camitk::MainWindow::show().
Referenced by main().
|
static |
get a registered action given its name
Referenced by QuitAction::apply(), ActionViewer::changeName(), camitk::MainWindow::closeEvent(), MedicalImageViewer::getMenu(), ImpMainWindow::initActions(), camitk::InteractiveViewer::initActions(), camitk::MainWindow::MainWindow(), registerAllActions(), save(), SaveActionState::SaveActionState(), saveHistoryAsSXML(), MMLComponent::setSelected(), PMLComponent::setSelected(), and camitk::MainWindow::show().
|
static |
get all the actions registered in the application (note: the returned ActionList is guaranteed to be sorted by action name and to contain no duplicates)
Referenced by camitk::Component::getActionMenu(), getActions(), getActions(), getActions(), main(), and ImpMainWindow::updateActionStates().
|
static |
get all the actions that can be applied on a given component (note: the returned ActionList is guaranteed to be sorted by action name and to contain no duplicates)
References getActions(), camitk::Action::getComponentClassName(), and camitk::Component::getHierarchy().
|
static |
Get all the actions that can be applied on any components of the given list of components (note: the returned ActionList is guaranteed to be sorted by action name and to contain no duplicates)
References getActions().
|
static |
get all the actions that of a given tag (note: the returned ActionList is guaranteed to be sorted by action name and to contain no duplicates)
References camitk::actionLessThan(), getActions(), and camitk::Action::getTag().
|
static |
get the current application wide list of all Components.
This is the public method (return a const, the component list is private and cannot be modified externally).
Referenced by RemoveLastInstantiatedAction::apply(), SelectLastInstantiatedAction::apply(), MeshClipping::apply(), SaveActionState::applyAction(), MeshProjection::getWidget(), isAlive(), ActionState::onEntry(), ActionTransition::onTransition(), refresh(), Explorer::refresh(), camitk::InteractiveViewer::refresh(), and FrameExplorer::refresh().
|
static |
Get the last used directory (e.g.
the directory of the last opened document)
Referenced by OpenAction::apply(), ImpMainWindow::openDataDirectory(), and OpenFile::selectFile().
|
static |
get the main window
References setMainWindow().
Referenced by ToggleConsoleAction::apply(), BitmapViewer::getToolBar(), and ToggleConsoleAction::getWidget().
|
static |
get the maximal number of recent documents stored
Referenced by ImpMainWindow::initActions(), and ImpMainWindow::updateRecentDocumentsMenu().
|
static |
get the application name
Referenced by ActionStateMachine::ActionStateMachine(), Application(), AboutAction::apply(), ChangeLanguage::apply(), camitk::InteractiveViewer::cameraOrientationChanged(), ChangeLanguage::ChangeLanguage(), camitk::MainWindow::closeEvent(), eventFilter(), camitk::InteractiveViewer::eventFilter(), camitk::Core::getGlobalInstallDir(), getSelectedLanguage(), camitk::MainWindow::initSettings(), camitk::InteractiveViewer::initSettings(), camitk::MainWindow::setCentralViewer(), and camitk::InteractiveViewer::setHighlightMode().
|
static |
instantiate a new viewer of the given name and given class name (Viewer inheriting class).
References CAMITK_ERROR_ALT, camitk::ViewerExtension::getNewInstance(), and camitk::ExtensionManager::getViewerExtensionsList().
|
static |
Get the property object of the application.
Note that every time a property is changed, the Application is notified, update its settings and take the new property values into account.
Referenced by ImpMainWindow::aboutToShow(), and camitk::Action::applyTargetPosition().
|
static |
Get the list of recent documents.
Referenced by ImpMainWindow::aboutToShow(), and ImpMainWindow::updateRecentDocumentsMenu().
|
static |
get the currently selected Components.
This is the public method (return a const, the selected component list is private and cannot be modified externally).
Referenced by SaveAsAction::apply(), camitk::MeshComponent::changeSelectedSelection(), Explorer::getMenu(), camitk::InteractiveViewer::keyPressEvent(), Explorer::refresh(), PropertyExplorer::refresh(), camitk::InteractiveViewer::refresh(), camitk::InteractiveViewer::renderingActorsChanged(), camitk::InteractiveViewer::setGlyph(), camitk::InteractiveViewer::setLabel(), camitk::InteractiveViewer::updateActions(), ImpMainWindow::updateActionStates(), and camitk::Action::updateTargets().
|
static |
Returns for the current CamiTK application, the selected language (stored in its .ini configuration file)
References getName(), and getSettings().
Referenced by camitk::ActionExtension::initResources(), camitk::ComponentExtension::initResources(), and camitk::ViewerExtension::initResources().
|
static |
Get the Core wide settings.
This is the preferred methods for accessing and writing the settings for your specific needs, although you can use any kind of settings you like, using this allow you to store all settings in one place for all Core needs. This settings are stored in the user scope, using the INI format (i.e. no registers !), the organisation name is TIMC-IMAG and the application name is equal to Core::version. Check the QSettings API documentation to know exactly where is the settings file or call Application::getSettings().fileName()
The recommended method is to use one section for each Core area. Use the beginGroup("my area")/endGroup() to define specific settings area.
Referenced by ChangeLanguage::apply(), camitk::ExtensionManager::autoload(), camitk::InteractiveViewer::cameraOrientationChanged(), ChangeLanguage::ChangeLanguage(), camitk::MainWindow::closeEvent(), camitk::InteractiveViewer::eventFilter(), getSelectedLanguage(), camitk::Core::getUserInstallDir(), PropertyExplorer::getWidget(), camitk::MainWindow::initSettings(), camitk::InteractiveViewer::initSettings(), camitk::PropertyObject::loadFromSettings(), camitk::PropertyObject::saveToSettings(), camitk::MainWindow::setCentralViewer(), and camitk::InteractiveViewer::setHighlightMode().
|
static |
get the current application wide list of instantiated top-level Components.
This is the public method (return a const, the top-level component list is private and cannot be modified externally).
Referenced by CloseAllAction::apply(), SaveAllAction::apply(), hasModified(), Explorer::refresh(), camitk::InteractiveViewer::refresh(), MedicalImageViewer::refresh(), and ImpMainWindow::updateActionStates().
|
static |
get the currently triggered action
Referenced by camitk::MainWindow::refresh(), and ActionViewer::refresh().
|
static |
get the pointer to a registered viewer given its name
Referenced by PixelColorChanger::apply(), Show3DViewer::apply(), ShowAllViewers::apply(), ShowArbitraryViewer::apply(), ShowAxialViewer::apply(), ShowCoronalViewer::apply(), ShowSagittalViewer::apply(), camitk::Frame::getFrameVisibility(), MedicalImageViewer::getPropertyObject(), BitmapViewer::getToolBar(), AnglesAndTranslationAction::getWidget(), PixelColorChanger::getWidget(), MeshPicking::getWidget(), MeshClipping::getWidget(), ShowFrame::getWidget(), MedicalImageViewer::getWidget(), ImpMainWindow::ImpMainWindow(), ActionStateMachine::initMainWindow(), camitk::MainWindow::initSettings(), ActionTransition::onTransition(), ActionStateMachine::parseSCXMLTree(), camitk::Component::refresh(), ImpMainWindow::resetWindows(), VRMLComponentExtension::save(), camitk::MeshComponent::setDataRepresentationOff(), camitk::Frame::setFrameVisibility(), and camitk::Component::setVisibility().
|
static |
get all the viewers registered in the application (note: the returned ViewerList is guaranteed to be sorted by viewer name and to not contain any duplicate)
Referenced by camitk::Component::getActionMenu(), getViewers(), and ImpMainWindow::updateViewMenu().
|
static |
get the viewers that can manage/display the given component (note: the returned ViewerList is guaranteed to be sorted by viewer name and to contain no duplicates)
References camitk::Viewer::getComponentClassNames(), camitk::Component::getHierarchy(), and getViewers().
|
static |
Return true if at least one of the opened components has been modified, false otherwise.
References getTopLevelComponents().
|
static |
does this Component still exists?
References getAllComponents().
Referenced by camitk::Component::deleteChildren(), and camitk::InteractiveViewer::refresh().
|
override |
reimplemented from QApplication to catch all exception from external libs used in CEP (e.g. from ITK) and avoid crashes...
References CAMITK_ERROR.
|
static |
load the filename and returns the corresponding top level Component (returns nullptr if an error occurs)
References addRecentDocument(), CAMITK_ERROR_ALT, CAMITK_WARNING_IF_ALT, camitk::Core::getComponentDirectories(), camitk::ExtensionManager::getComponentExtension(), camitk::ComponentExtension::getName(), camitk::Component::isTopLevel(), camitk::ComponentExtension::open(), refresh(), resetProgressBar(), showStatusBarMessage(), and camitk::AbortException::what().
Referenced by ImpMainWindow::aboutToShow(), OpenAction::apply(), OpenFile::apply(), camitk::MainWindow::dropEvent(), and main().
|
static |
load a directory and returns the corresponding Component (returns nullptr if an error occurs)
dirName | the name of the directory to open |
pluginName | the name of the plugin to use |
References CAMITK_ERROR_ALT, camitk::Core::getComponentDirectories(), camitk::ExtensionManager::getDataDirectoryComponentExtension(), camitk::ComponentExtension::getName(), camitk::ComponentExtension::open(), refresh(), resetProgressBar(), showStatusBarMessage(), and camitk::AbortException::what().
Referenced by ImpMainWindow::openDataDirectory().
|
static |
refresh the main window (this will call the refresh method of all viewers)
References getAllComponents(), and camitk::MainWindow::refresh().
Referenced by ConnectedComponents::apply(), OtsuFilter::apply(), CreateSC::apply(), ClearSelectionAction::apply(), RemoveLastInstantiatedAction::apply(), SelectLastInstantiatedAction::apply(), ChangeParent::apply(), PixelColorChanger::apply(), ImageReconstructionAction::apply(), Show3DViewer::apply(), ShowAllViewers::apply(), ShowArbitraryViewer::apply(), ShowAxialViewer::apply(), ShowCoronalViewer::apply(), ShowSagittalViewer::apply(), ComputeNormals::apply(), ExtractSelection::apply(), GridTopology::apply(), SphereTopology::apply(), AppendMeshes::apply(), CleanPolyData::apply(), ComputeCurvatures::apply(), Decimation::apply(), ExtractEdges::apply(), ExtractSurface::apply(), FillWithPoints::apply(), ICPRegistration::apply(), MergeMeshs::apply(), MeshClipping::apply(), WarpOut::apply(), MeshProjection::apply(), ShowArbitrarySliceIn3D::apply(), ShowAxialSliceIn3D::apply(), ShowCoronalSliceIn3D::apply(), ShowImageIn3D::apply(), ShowSagittalSliceIn3D::apply(), VolumeRenderingAction::apply(), CenterMesh::apply(), ActionState::applyAction(), SaveActionState::applyAction(), close(), MeshProjection::event(), ShowFrame::event(), camitk::Component::getActionMenu(), MultiPickingWidget::manuallyModified(), open(), openDirectory(), MultiPickingWidget::removePixelFromTable(), MultiPickingWidget::removeSeedNumber(), FrameEditor::rotate(), FrameEditor::setRotation(), FrameEditor::setTransformation(), FrameEditor::setTranslation(), FrameEditor::translate(), and camitk::Action::trigger().
|
static |
register all actions from the given ActionExtension
References CAMITK_ERROR_ALT, getAction(), camitk::ActionExtension::getActions(), camitk::Action::getDescription(), camitk::Action::getExtensionName(), camitk::Action::getFamily(), and camitk::Action::getName().
Referenced by camitk::ExtensionManager::loadExtension().
|
static |
register all viewers from the given ViewerExtension
References camitk::ViewerExtension::getViewers(), and registerViewer().
Referenced by ActionStateMachine::ActionStateMachine(), and camitk::ExtensionManager::loadExtension().
|
static |
register a viewer in the viewer list (therefore allowing it to be refreshed by the main window automatically
References CAMITK_ERROR_ALT, camitk::Viewer::getDescription(), camitk::Viewer::getName(), and camitk::ViewerExtension::getName().
Referenced by registerAllViewers().
|
static |
Remove the last pushed actions in the history of the current pipeline.
|
static |
Resets the progress bar if it exists.
See example of use for ProgressFunction for more detailed explanation.
References camitk::MainWindow::getProgressBar().
Referenced by CreateSC::apply(), ComputeNormals::apply(), ExtractSelection::apply(), GridTopology::apply(), SphereTopology::apply(), AppendMeshes::apply(), CleanPolyData::apply(), ComputeCurvatures::apply(), Decimation::apply(), ExtractEdges::apply(), ExtractSurface::apply(), FillWithPoints::apply(), ICPRegistration::apply(), MergeMeshs::apply(), WarpOut::apply(), CenterMesh::apply(), PMLComponent::init(), open(), PMLComponentExtension::open(), and openDirectory().
|
static |
save a component to its file (as given by component->getFileName()).
This method look for the proper loaded ComponentExtension, and call its save(Component*) method
References CAMITK_ERROR_ALT, getAction(), camitk::Core::getComponentDirectories(), camitk::ExtensionManager::getComponentExtension(), camitk::Component::getFileName(), camitk::Component::getName(), camitk::ComponentExtension::save(), setLastUsedDirectory(), showStatusBarMessage(), and camitk::Action::SUCCESS.
Referenced by GenerateModel::apply(), SaveAction::apply(), SaveAllAction::apply(), SaveAsAction::apply(), close(), and main().
|
static |
Save the history as an SCXML file, stored using.
References CAMITK_ERROR_ALT, CAMITK_WARNING_ALT, getAction(), camitk::Core::getCurrentWorkingDir(), camitk::Action::getDescription(), camitk::HistoryItem::getInputHistoryComponents(), camitk::HistoryItem::getName(), camitk::Action::getName(), camitk::HistoryComponent::getName(), camitk::HistoryItem::getOutputHistoryComponents(), camitk::HistoryComponent::getType(), camitk::HistoryComponent::IMAGE_COMPONENT, camitk::HistoryComponent::MESH_COMPONENT, and camitk::HistoryComponent::OTHER.
Referenced by ImpMainWindow::saveHistoryAsSCXML().
|
static |
set (force) the last used directory
Referenced by save().
void camitk::Application::setMainWindow | ( | MainWindow * | mw | ) |
set the main window.
You need to call this method in order to use a customized CamiTK MainWindow instead of the default one. This method has to be called after init().
It allows you to set the main window using your application extension instance.
mw | The instance of main window you want to use for your application (if NULL a new instance of the MainWindow class is created) |
References CAMITK_ERROR, and camitk::MainWindow::redirectToConsole().
Referenced by exec(), getMainWindow(), and ActionStateMachine::initMainWindow().
|
static |
set the progress bar value, value should be in [0..100].
Attempting to change the current value to one outside the minimum-maximum range has no effect on the current value.
Consider using vtkProgressFunction()
References camitk::MainWindow::getProgressBar().
Referenced by CenterMesh::apply(), camitk::ItkProgressObserver::Execute(), camitk::ItkProgressObserver::ItkProgressObserver(), MergeMeshs::removeDuplicateCells(), and camitk::ItkProgressObserver::Reset().
|
static |
set the currently triggered action This is used by Action::trigger(..) to refresh all the viewer (the viewers interested by the fact an action was triggered can then update what they need to)
Referenced by camitk::Action::trigger().
|
static |
Set a message to the status bar.
By default there is no timeout (default), i.e. the given message remains displayed until this method is called again (or the status bar is cleared otherwise).
msg | the message to display in the status bar. |
timeout | number of milli-seconds (timeout) before the status bar is cleared (default = 0, i.e. until next call) |
References CAMITK_INFO_ALT.
Referenced by CreateSC::apply(), CloseAllAction::apply(), OpenAction::apply(), OpenFile::apply(), SaveAllAction::apply(), SaveAsAction::apply(), ComputeNormals::apply(), ExtractSelection::apply(), GridTopology::apply(), SphereTopology::apply(), AppendMeshes::apply(), CleanPolyData::apply(), ComputeCurvatures::apply(), Decimation::apply(), ExtractEdges::apply(), ExtractSurface::apply(), FillWithPoints::apply(), ICPRegistration::apply(), WarpOut::apply(), CenterMesh::apply(), close(), MeshProjection::getWidget(), PMLComponent::init(), open(), PMLComponentExtension::open(), openDirectory(), camitk::InteractiveViewer::picked(), PMLComponent::PMLComponent(), and save().
|
static |
unregister all actions from the given ActionExtension
References camitk::ActionExtension::getActions(), and camitk::Action::getName().
Referenced by camitk::ExtensionManager::unloadActionExtension().
|
static |
unregister all viewers from the given ViewerExtension
References camitk::Viewer::getName(), and camitk::ViewerExtension::getViewers().
Referenced by camitk::ExtensionManager::unloadViewerExtension().
|
static |
Observer function to be called by vtkFilters and to update progress bar Example of use:
References camitk::MainWindow::getProgressBar().
Referenced by ComputeNormals::apply(), ExtractSelection::apply(), AppendMeshes::apply(), CleanPolyData::apply(), ComputeCurvatures::apply(), Decimation::apply(), ExtractEdges::apply(), ExtractSurface::apply(), FillWithPoints::apply(), ICPRegistration::apply(), MergeMeshs::apply(), and WarpOut::apply().
|
friend |