X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_ManagerContour_NDimensions%2F__wxContourEventHandler.cxx__;h=a78be789d7753f4053e8dcd6a0cae7553a24965b;hb=c7aa7286e02028ade712c1284fea9439d0d3c61c;hp=0a2ad3bc8c943eae716e651df392ca25ee2c6d7e;hpb=89db06fc8f04c54d2cee1b07a5abe3ac7ee6cf65;p=creaContours.git diff --git a/lib/Interface_ManagerContour_NDimensions/__wxContourEventHandler.cxx__ b/lib/Interface_ManagerContour_NDimensions/__wxContourEventHandler.cxx__ index 0a2ad3b..a78be78 100644 --- a/lib/Interface_ManagerContour_NDimensions/__wxContourEventHandler.cxx__ +++ b/lib/Interface_ManagerContour_NDimensions/__wxContourEventHandler.cxx__ @@ -84,7 +84,7 @@ digraph example_0 { // Includes //------------------------------------------------------------------------------------------------------------ -#include "wxContour_ActionCommandsID.h" +#include "wxContour_ActionCommnadsID.h" #include "NameWrapper.h" #include "ConceptDataWrap.h" #include "OutlineGroup.h" @@ -1791,7 +1791,7 @@ myfile.close(); std::vector tempVector; _instantPanel->getInstant( tempVector ); _performingOperation->reset(); - _performingOperation->setStartCommand( (char)wxContour_ActionCommandsID::COPY_TOOL ); + _performingOperation->setStartCommand( (char)wxContour_ActionCommnadsID::COPY_TOOL ); _performingOperation->setStartOperationInstantVector( tempVector ); _performingOperation->setKeyNamesOperationElems( keyNamesVector ); @@ -1800,7 +1800,7 @@ myfile.close(); void wxContourEventHandler :: onPasteOutlines( ) { char theStartCommand = _performingOperation->getStartCommand(); - if ( theStartCommand == wxContour_ActionCommandsID::COPY_TOOL ) + if ( theStartCommand == wxContour_ActionCommnadsID::COPY_TOOL ) { std::vector tempVector; _instantPanel->getInstant( tempVector ); @@ -2638,35 +2638,35 @@ void wxContourEventHandler::OnInterpolation(wxCommandEvent& event) { std::vector currentSelection = _sceneManager->getSelectedObjects(); int elementsSelected = currentSelection.size(); - if( toolCommand == (wxContour_ActionCommandsID::CREATE_TOOL) ) + if( toolCommand == (wxContour_ActionCommnadsID::CREATE_TOOL) ) { onCreateContourFrame(); } - if( toolCommand == (wxContour_ActionCommandsID::CREATE_CONTOUR_KEY) ) + if( toolCommand == (wxContour_ActionCommnadsID::CREATE_CONTOUR_KEY) ) { createContour(); } - else if( toolCommand == wxContour_ActionCommandsID::DELETE_TOOL ) + else if( toolCommand == wxContour_ActionCommnadsID::DELETE_TOOL ) { onDeleteFrame( ); } - else if( toolCommand == wxContour_ActionCommandsID::DELETE_KEY ) + else if( toolCommand == wxContour_ActionCommnadsID::DELETE_KEY ) { deleteContours( currentSelection ); } - else if( toolCommand == wxContour_ActionCommandsID::SAVE_TOOL ) + else if( toolCommand == wxContour_ActionCommnadsID::SAVE_TOOL ) { saveFileWithContours( ); } - else if( toolCommand == wxContour_ActionCommandsID::SAVE_KEY ) + else if( toolCommand == wxContour_ActionCommnadsID::SAVE_KEY ) { saveFileWithContoursAutomatique( ); } - else if( toolCommand == wxContour_ActionCommandsID::OPEN_TOOL ) + else if( toolCommand == wxContour_ActionCommnadsID::OPEN_TOOL ) { openFileWithContours( ); } - else if( toolCommand == wxContour_ActionCommandsID::CHANGE_TOOL ) + else if( toolCommand == wxContour_ActionCommnadsID::CHANGE_TOOL ) { if ( elementsSelected >= 1 ) { @@ -2674,69 +2674,69 @@ void wxContourEventHandler::OnInterpolation(wxCommandEvent& event) } } - else if( toolCommand == wxContour_ActionCommandsID::HIDE_TOOL ) + else if( toolCommand == wxContour_ActionCommnadsID::HIDE_TOOL ) { if ( elementsSelected >= 1 ) { onHideOutlines( currentSelection ); } } - else if( toolCommand == wxContour_ActionCommandsID::SHOW_TOOL ) + else if( toolCommand == wxContour_ActionCommnadsID::SHOW_TOOL ) { if ( elementsSelected >= 1 ) { onShowOutlines( currentSelection ); } } - else if( toolCommand == wxContour_ActionCommandsID::COPY_TOOL ) + else if( toolCommand == wxContour_ActionCommnadsID::COPY_TOOL ) { if ( elementsSelected >= 1 ) { onCopyOutlines( currentSelection ); } } - else if( toolCommand == wxContour_ActionCommandsID::PASTE_TOOL ) + else if( toolCommand == wxContour_ActionCommnadsID::PASTE_TOOL ) { onPasteOutlines( ); } - else if( toolCommand == wxContour_ActionCommandsID::SPREAD_TOOL ) + else if( toolCommand == wxContour_ActionCommnadsID::SPREAD_TOOL ) { onSpread(); } - else if( toolCommand == wxContour_ActionCommandsID::AUTOMATIQUESEGMENTATION_TOOL ) + else if( toolCommand == wxContour_ActionCommnadsID::AUTOMATIQUESEGMENTATION_TOOL ) { onAutomatiqueSegmentation( ); } - else if( toolCommand == wxContour_ActionCommandsID::SELECT_TOOL ) + else if( toolCommand == wxContour_ActionCommnadsID::SELECT_TOOL ) { onSelectOutlines( currentSelection ); } - else if( toolCommand == wxContour_ActionCommandsID::EDIT_TOOL ) + else if( toolCommand == wxContour_ActionCommnadsID::EDIT_TOOL ) { if ( elementsSelected >= 1 ) { onEditOutlines( currentSelection ); } } - else if( toolCommand == wxContour_ActionCommandsID::UNDO_TOOL ) + else if( toolCommand == wxContour_ActionCommnadsID::UNDO_TOOL ) { onUNDO(); } - else if( toolCommand == wxContour_ActionCommandsID::REDO_TOOL ) + else if( toolCommand == wxContour_ActionCommnadsID::REDO_TOOL ) { onREDO(); } - else if( toolCommand == wxContour_ActionCommandsID::INFORMATIONCONTOUR_TOOL ) + else if( toolCommand == wxContour_ActionCommnadsID::INFORMATIONCONTOUR_TOOL ) { onInformationContourFrame(); } - else if( toolCommand == wxContour_ActionCommandsID::INTERFACECONFIGURATION_TOOL ) + else if( toolCommand == wxContour_ActionCommnadsID::INTERFACECONFIGURATION_TOOL ) { onInterfaceConfigurationFrame(); } - else if( toolCommand == wxContour_ActionCommandsID::TEST_TOOL ) + else if( toolCommand == wxContour_ActionCommnadsID::TEST_TOOL ) { onInterfaceTestFrame(); }