X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FwxVtkSceneManager.cxx;h=afaa01b68be3a006d4ae539e6be8285583ec1239;hb=567028f33d052a54225024906cce14dc1558162f;hp=e4bb7ef8b11233a3cfa956dd7b4cdb012f724d6f;hpb=febe66ddb87e98b56f8bb7aa14800d7d477d34a5;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx index e4bb7ef..afaa01b 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx @@ -819,7 +819,7 @@ bool wxVtkSceneManager::OnMouseMove() // FillPortText px = px - 33; - py = py; + //py = py; _fillObjectActor->SetScale(1); _fillObjectActor->GetProperty()->SetOpacity(0.50); _fillObjectActor->SetPosition(px, py, 1); @@ -1754,7 +1754,6 @@ void wxVtkSceneManager::getCleanLine(stringstream &inputStream, std::string &lin { getline(inputStream, line,'\n'); int size = line.length(); -printf(" wxVtkSceneManager::getCleanLine Start %d %s\n",size, line.c_str() ); if (size>0) { if ( line[ size-1 ]==13 ) @@ -1762,29 +1761,24 @@ printf(" wxVtkSceneManager::getCleanLine Start %d %s\n",size, line.c_str() ); line.erase(size-1,1); } // if line } // if size -printf(" wxVtkSceneManager::getCleanLine End\n", line.c_str() ); } //========================================================================= void wxVtkSceneManager::loadDiagram(stringstream &inputStream) { - printf("wxVtkSceneManager::loadDiagram Start\n"); int size; std::string version = ""; std::string line = ""; char delims[] = ":"; char *result = NULL; - printf("wxVtkSceneManager::loadDiagram 1\n"); getCleanLine(inputStream, line); - printf("wxVtkSceneManager::loadDiagram 2 %s\n",line.c_str()); bool start = false; while (!inputStream.eof()) { if (line == "" || line[0] == '#') { line=""; getCleanLine(inputStream, line); - printf("wxVtkSceneManager::loadDiagram line> %s\n",line.c_str()); if (line == "# - BBTKGEditor v 1.0 BBG BlackBox Diagram file") { version = line.substr(18, 3); @@ -2147,7 +2141,6 @@ void wxVtkSceneManager::loadDiagram(stringstream &inputStream) } // start -printf("wxVtkSceneManager::loadDiagram End\n"); } //=========================================================================