]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx
Compilation problems corrections:
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxVtkSceneManager.cxx
index 543f88a7e294196bfc96232d400a19e761475068..ab0ef4e76d5a65f6e69cae0748be3c4bcef30c99 100644 (file)
 
 #include "wxVtkSceneManager.h"
 
-
 #include <vtkPolygon.h>
 #include <vtkUnstructuredGrid.h>
 
-
 namespace bbtk {
 
-cvs 
 //=========================================================================
 wxVtkSceneManager::wxVtkSceneManager(wxGEditorTabPanel *parent,
                wxVtk3DBaseView *baseView, int idManager) {
@@ -62,13 +59,11 @@ wxVtkSceneManager::wxVtkSceneManager(wxGEditorTabPanel *parent,
        if (_baseView != NULL) {
                //EED02JUIN2010
                printf(
-               "RaC-EED 21-06-2010 %p wxVtkSceneManager::wxVtkSceneManager If you comment this line, the drag and drop functionnality is not initialized.\n", this);
-
-               #ifdef __APPLE__
-
+                               "RaC-EED 21-06-2010 %p wxVtkSceneManager::wxVtkSceneManager If you comment this line, the drag and drop functionnality is not initialized.\n",
+                               this);
+#ifdef __APPLE__
                _baseView->GetWxVTKRenderWindowInteractor()->SetDropTarget((wxDropTarget*)parent);
-
-               #endif
+#endif
 
                configureBaseView();
                _worldState = NOTHING_HAPPENS;
@@ -535,17 +530,7 @@ int wxVtkSceneManager::createGConnector(GPortModel* startPort) {
        manContourView->SetColorNormalContour(0, 0, 1);
        manContourView->SetColorEditContour(0.5, 0.5, 0.5);
        manContourView->SetColorSelectContour(1, 0.8, 0);
-       
-       
-      /**
-         * JGRR AND CM
-         * Width increased from 2 to 5, it simplifies line handling and spline control :P
-         * @param WidthLine  
-         */
-        
-        manContourView->SetWidthLine( 5 ) ;
-
-
+       manContourView->SetWidthLine(1);
        manContourView->SetShowText(false);
 
        manContourControl->SetModelView(manContourModel, manContourView);
@@ -1961,6 +1946,7 @@ void wxVtkSceneManager::loadDiagram(stringstream &inputStream) {
                                std::string value(result);
 
                                bbmod->setValueToInput(name, value);
+
                                getline(inputStream, line);//PORT o FIN_BOX
                                port = line.substr(0, 4);
                        } // while
@@ -2570,7 +2556,6 @@ void wxVtkSceneManager::SetCbPackageName(std::string packagename) {
        }
 }
 
-
 //=========================================================================
 std::string wxVtkSceneManager::GetCbPackageName() {
        return _cbPackageName;
@@ -2610,7 +2595,6 @@ void wxVtkSceneManager::SetDescription(std::string description) {
        }
 }
 
-
 //=========================================================================
 std::string wxVtkSceneManager::GetDescription() {
        return _Description;
@@ -2621,4 +2605,5 @@ std::string wxVtkSceneManager::GetDescription() {
 
 } // EO namespace bbtk
 
-// EOF 
+// EOF
+