]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorView.h
Updated Version with the moving of the objects updated and the background doesn't...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / GConnectorView.h
index 3cd5c11011a0d328b10fa2a6b25a2e711345e76e..b5d4dc851259c247de89f9e3158c5fce0fe03ee4 100644 (file)
@@ -44,11 +44,12 @@ Version:   $Revision$
 #define __GConnectorView_h__
 
 //Includes same project
+#include "vtkGObjectView.h"
+#include "GConnectorModel.h"
 
 //Includes creaMaracasVisu
 #include <manualViewContour.h>
 
-
 //Includes std
 #include <iostream>
 
@@ -56,7 +57,7 @@ Version:   $Revision$
 namespace bbtk
 {
 
-       class GConnectorView : public manualViewContour
+       class GConnectorView : public vtkGObjectView
        {
 
        public: 
@@ -65,13 +66,15 @@ namespace bbtk
                GConnectorView();
                ~GConnectorView();
                
-               //Public methods                
-               virtual void TransfromCoordViewWorld(double &X, double &Y, double &Z, int type=2);
+               //Public methods
+               void setManualContourView(manualViewContour* viewContour);
+               manualViewContour* getManualContourView();
+               void updateStartEndPoints();
 
        private:
 
                //Attributes
-               
+               manualViewContour* manViewContour;
 
                //Private Methods