]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorView.cxx
Updated Version with the moving of the objects updated and the background doesn't...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / GConnectorView.cxx
index ee86d3d2d9694078e2c289a5fdefb944d9c8b492..574de5b2cc303a0f7402b5130f760db259a4b44d 100644 (file)
@@ -41,19 +41,38 @@ namespace bbtk
 
 
        //=========================================================================
+       
        GConnectorView::GConnectorView()
        {               
        }
 
        //=========================================================================
+       
        GConnectorView::~GConnectorView()
        {
        }
+       
        //=========================================================================
+       
+       void GConnectorView::setManualContourView(manualViewContour *viewContour)
+       {
+               manViewContour = viewContour;
+       }
 
-       void GConnectorView::TransfromCoordViewWorld(double &X, double &Y, double &Z, int type)
+       //=========================================================================
+       
+       manualViewContour* GConnectorView::getManualContourView()
+       {
+               return manViewContour;
+       }
+
+       //=========================================================================
+       
+       void GConnectorView::updateStartEndPoints()
        {
-               _wxvtkbaseview->TransCoordScreenToWorld(X,Y,Z,type);
+               GConnectorModel* mod=(GConnectorModel*)_model;
+               mod->updateStartEndPoints();
+               manViewContour->RefreshContour();
        }
 
 }  // EO namespace bbtk