]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/ManualPaintPanel.cpp
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / manualPaint / ManualPaintPanel.cpp
index 78114ccac381bee8ceec0b4bdac60bb30a8e9428..ecb7243e42430733a42ac77f48a932532ccce2f3 100644 (file)
@@ -43,3 +43,37 @@ void ManualPaintPanel::SetGrayLevel( double graylevel )
     }
 }
 
+//---------------------------------------------------------------------------
+void ManualPaintPanel::SetBrushTool(int brushtool)
+{
+    if (_manualPaintModel!=NULL)
+    {
+        _manualPaintModel->SetBrushTool( brushtool );
+    } else {
+       printf("ERROR  in  ManualPaintPanel  _manualPaintModel not set.\n");
+    }
+}
+
+//---------------------------------------------------------------------------
+void ManualPaintPanel::Set2D3D(int dim2D3D)
+{
+    if (_manualPaintModel!=NULL)
+    {
+        _manualPaintModel->Set2D3D( dim2D3D );
+    } else {
+       printf("ERROR  in  ManualPaintPanel  _manualPaintModel not set.\n");
+    }
+}
+
+//---------------------------------------------------------------------------
+void ManualPaintPanel::SetBrushForm(int brushform)
+{
+    if (_manualPaintModel!=NULL)
+    {
+        _manualPaintModel->SetBrushForm( brushform );
+    } else {
+       printf("ERROR  in  ManualPaintPanel  _manualPaintModel not set.\n");
+    }
+}
+
+