]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbcreaMaracasVisuSetPosition.cxx
#3466 FixAxis in SetPosition box
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuSetPosition.cxx
index 1a45b0c63eda11167ab4f8f9a0b8436c717b377f..c83106922cc2a71e468d8e89af92aac48e4e09a7 100644 (file)
@@ -41,6 +41,7 @@ void SetPosition::Process()
                        vtkmprbasedata->SetX( bbGetInputPoint()[0] );
                        vtkmprbasedata->SetY( bbGetInputPoint()[1] );
                        vtkmprbasedata->SetZ( bbGetInputPoint()[2] );
+                       vtkmprbasedata->SetFixAxis2D( bbGetInputFixAxis2D() );
                        wxCommandEvent newevent(wxEVT_COMMAND_MENU_SELECTED,12121);  // Refresh
 //EED 2017-09-16 Migration wxWidgets 2.8 to 3.0
 #if wxMAJOR_VERSION <= 2
@@ -60,6 +61,7 @@ void SetPosition::bbUserSetDefaultValues()
 //  SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX 
 //    Here we initialize the input 'In' to 0
    bbSetInputwxVtkBaseView( NULL ) ;
+   bbSetInputFixAxis2D( false ) ;
 }
 //===== 
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)