From: perez Date: Fri, 16 Oct 2009 14:40:37 +0000 (+0000) Subject: bbcreaMaracasVisuIRMViewer was eliminated X-Git-Tag: CREATOOLS.2-0-3~137 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=232ec9b6d385d293bd7fd4c70de521f25906fe39;p=creaMaracasVisu.git bbcreaMaracasVisuIRMViewer was eliminated --- diff --git a/bbtk/src/bbcreaMaracasVisuIRMViewer.cxx b/bbtk/src/bbcreaMaracasVisuIRMViewer.cxx deleted file mode 100644 index 2feba98..0000000 --- a/bbtk/src/bbcreaMaracasVisuIRMViewer.cxx +++ /dev/null @@ -1,80 +0,0 @@ -#include "bbcreaMaracasVisuIRMViewer.h" -#include "bbcreaMaracasVisuPackage.h" - - -#include "wxMaracasIRMView.h" - -namespace bbcreaMaracasVisu -{ - -BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,IRMViewer) -BBTK_BLACK_BOX_IMPLEMENTATION(IRMViewer,bbtk::WxBlackBox); -void IRMViewer::Process() -{ - - wxMaracasIRMView* irmview = wxMaracasIRMView::getInstance(); - std::vector tempvect; - int i; - - if(irmview != NULL){ - vtkRenderer* renderer = bbGetInputRenderer(); - irmview->setRenderer(renderer); - vtkProp3D* prop3D; - tempvect.push_back(bbGetInputIn0()); - tempvect.push_back(bbGetInputIn1()); - tempvect.push_back(bbGetInputIn2()); - tempvect.push_back(bbGetInputIn3()); - tempvect.push_back(bbGetInputIn4()); - - for(i = 0; i < tempvect.size();i++){ - prop3D = tempvect[i]; - if(prop3D != NULL&&renderer != NULL){ - irmview->addProp3D(prop3D); - } - } - } -} -void IRMViewer::CreateWidget(wxWindow* parent) -{ - - - //std::cout << "Your application's directory is: " << path; - - wxMaracasIRMView* irmview = wxMaracasIRMView::getInstance(parent); - //GetDllDirectory(_MAX_PATH, currentPath); - //std::cout << "Your application's directory is: " << GetDllDirectory(_MAX_PATH, currentPath)<