../lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour
../lib/maracasVisuLib/src/CutModule/interface
../lib/maracasVisuLib/src/CutModule/kernel
- ../lib/maracasVisuLib/src/CutModule2/interface
- ../lib/maracasVisuLib/src/CutModule2/kernel
### ${MaracasSrcDir}/ILPD/src/wxInterface
)
#===========================================================================
creaMaracasVisu
creaMaracasVisu_CutModule_interface
creaMaracasVisu_CutModule_kernel
- creaMaracasVisu_CutModule2_interface
- creaMaracasVisu_CutModule2_kernel
### ILPDModel.lib
### ILPDInterface
### ILPDcontrolerInterface
Program: wxMaracas
Module: $RCSfile: CutModel2MainPanel.cxx,v $
Language: C++
- Date: $Date: 2009/11/19 16:34:43 $
- Version: $Revision: 1.3 $
+ Date: $Date: 2009/11/19 17:00:27 $
+ Version: $Revision: 1.4 $
Copyright: (c) 2002, 2003
License:
try{
checkInvariant();
cutmanager->setImageData(img);
- }catch(CutModel2Exception e){
+ }catch(CutModelException e){
showErrorDialog(e.getCause());
}
}
try{
checkInvariant();
cutmanager->setRenderer(renderer);
- }catch(CutModel2Exception e){
+ }catch(CutModelException e){
showErrorDialog(e.getCause());
}
}
cutmanager->RemoveActor(id);
- }catch(CutModel2Exception e){
+ }catch(CutModelException e){
showErrorDialog(e.getCause());
}
}
ShowCurrentPanel(id);
- }catch(CutModel2Exception e){
+ }catch(CutModelException e){
showErrorDialog(e.getCause());
}
}
}
-CutModel2View* CutModel2MainPanel::getModelView(int id)throw( CutModel2Exception){
+CutModelView* CutModel2MainPanel::getModelView(int id)throw( CutModelException){
CutModelView* current = NULL;
for(int i = 0; i < viewpanels.size();i++){
}
if(current == NULL){
std::string s = "Id not found";
- throw CutModel2Exception(s);
+ throw CutModelException(s);
}
return current;
}
checkInvariant();
cutmanager->changeColor(id, r, g, b);
- }catch(CutModel2Exception e){
+ }catch(CutModelException e){
showErrorDialog(e.getCause());
}
cutmanager->ChangeShape(id, selection);
- }catch(CutModel2Exception e){
+ }catch(CutModelException e){
showErrorDialog(e.getCause());
}
}
cutmanager->updateActorDirection(id);
- }catch(CutModel2Exception e){
+ }catch(CutModelException e){
showErrorDialog(e.getCause());
}
}
try{
checkInvariant();
return cutmanager->GetResultImage();
- }catch(CutModel2Exception e){
+ }catch(CutModelException e){
showErrorDialog(e.getCause());
}
return NULL;
Program: wxMaracas
Module: $RCSfile: CutModel2MainPanel.h,v $
Language: C++
- Date: $Date: 2009/11/19 16:34:43 $
- Version: $Revision: 1.3 $
+ Date: $Date: 2009/11/19 17:00:27 $
+ Version: $Revision: 1.4 $
Copyright: (c) 2002, 2003
License:
#include "marTypes.h"
-#include "CutModel2Manager.h"
-#include "CutModel2Exception.h"
-#include "CutModel2View.h"
+#include "CutModelManager.h"
+#include "CutModelException.h"
+#include "CutModelView.h"
#include "vtkImageData.h"
#include "vtkRenderWindowInteractor.h"
void LoadCutModel2Data(std::string filename);
- std::vector<CutModel2View*> viewpanels;
+ std::vector<CutModelView*> viewpanels;
wxAuiManager* _wxauimanager;
- int addNewViewPanel()throw( CutModel2Exception);
+ int addNewViewPanel()throw( CutModelException);
CutModelView* getModelView(int id)throw( CutModelException);