]> Creatis software - bbtkGEditor.git/commitdiff
Chango from GConnectorView to vtkGConnectorView ... The historique will be lost,...
authorcorredor <>
Wed, 12 May 2010 08:10:36 +0000 (08:10 +0000)
committercorredor <>
Wed, 12 May 2010 08:10:36 +0000 (08:10 +0000)
lib/EditorGraphicBBS/bbsKernelEditorGraphic/wxVtkSceneManager.cxx
lib/EditorGraphicBBS/bbsKernelEditorGraphic/wxVtkSceneManager.h

index c32ed022a3ca8d7e545d4330644609bc08634d59..3678d64f5b6e1b26891b48a13563adc4f61d42ef 100644 (file)
@@ -263,7 +263,7 @@ namespace bbtk
 
                GConnectorController* connectorcontroller = new GConnectorController();                         
                GConnectorModel* connectorModel = new GConnectorModel();
-               GConnectorView* connectorView = new GConnectorView();
+               vtkvtkGConnectorView* connectorView = new vtkGConnectorView();
                connectorModel->setGObjectType(type);
 
                manContourModel->SetCloseContour(false);
@@ -483,7 +483,7 @@ namespace bbtk
                                GObjectController *desc = it->second;
                                if(desc->getGObjectType()==GCONNECTOR)
                                {
-                                       GConnectorView* vconn = (GConnectorView*)desc->getView();
+                                       vtkGConnectorView* vconn = (vtkGConnectorView*)desc->getView();
                                        vconn->updateStartEndPoints();
                                }
                        }
@@ -1115,7 +1115,7 @@ namespace bbtk
                                }
                                                        
                                //----------
-                               getline(inputStream,line);//PORT o #FIN_BOX
+                               getline(inputStream,line);//PORT o FIN_BOX
                                std::string port=line.substr(0,4);
                                while(port=="PORT")
                                {
@@ -1188,7 +1188,7 @@ namespace bbtk
                                GConnectorController *tempp = (GConnectorController*)_controllers[idCon]; 
 
                                GConnectorModel *conMod = (GConnectorModel*)tempp->getModel();
-                               GConnectorView *conView = (GConnectorView*)tempp->getView();
+                               vtkGConnectorView *conView = (vtkGConnectorView*)tempp->getView();
                                tempp->endContourCreation();
                                conMod->setEndPort(endP);                                       
                                conView->updateStartEndPoints();
index 5fb1a869d6a53a6a36762b34b899fd6edf2b1424..36a2168b5fb62139c311b7c5328d3066886bf6b1 100644 (file)
@@ -47,7 +47,7 @@ Version:   $Revision$
 #include "GObjectsMVCFactory.h"
 #include "Observer.h"
 #include "GPortModel.h"
-#include "GConnectorView.h"
+#include "vtkGConnectorView.h"
 #include "GConnectorModel.h"
 #include "GConnectorController.h"
 #include "vtkGPortView.h"