- lstOptOperation[0]=_T("By Dimension");
- lstOptOperation[1]=_T("By Spacing");
- lstOptOperation[2]=_T("By Pixel");
- wxRadioBox * radioOpts = new wxRadioBox(dial, -1, _T("Type of Transformation"), wxDefaultPosition, wxSize(270,45), 3 , lstOptOperation, 3, wxRA_SPECIFY_COLS);
-
- dialSizer->Add( new wxStaticText(dial,-1,message) , 0, wxGROW );
- dialSizer->Add( new wxStaticText(dial,-1,_T(" ")) , 0, wxGROW );
+// lstOptOperation[0]=_T("By Dimension");
+// lstOptOperation[1]=_T("By Spacing");
+// lstOptOperation[2]=_T("By Pixel");
+
+ lstOptOperation[0]=_T("Adapt spacing of the Layer Image");
+ lstOptOperation[1]=_T("Keep the spacing of the Layer Image");
+ lstOptOperation[2]=_T("Use the same spacing of the Base Image");
+
+
+
+ wxRadioBox * radioOpts = new wxRadioBox(dial, -1, _T("Type of spacing transformation"), wxDefaultPosition, wxSize(250,160), 3 , lstOptOperation, 1, wxRA_SPECIFY_COLS);
+
+ wxString str;
+ wxString strBaseSpc(str);
+ wxString strLayerSpc;
+ wxString strBaseDim;
+ wxString strLayerDim;
+
+ strBaseSpc.Printf(wxT("Base spacing: %f %f %f") , baseSpc[0],baseSpc[1],baseSpc[2] );
+ strLayerSpc.Printf(wxT("Layer spacing: %f %f %f") , layerSpc[0],layerSpc[1],layerSpc[2] );
+ strBaseDim.Printf(wxT("Base dimension: %d %d %d") , baseDim[0],baseDim[1],baseDim[2] );
+ strLayerDim.Printf(wxT("Layer dimension: %d %d %d") , layerDim[0],layerDim[1],layerDim[2] );
+
+ dialSizer->Add( new wxStaticText(dial,-1,_T(" ") ) , 0, wxGROW );
+ dialSizer->Add( new wxStaticText(dial,-1, strBaseSpc ) , 0, wxGROW );
+ dialSizer->Add( new wxStaticText(dial,-1, strLayerSpc ) , 0, wxGROW );
+ dialSizer->Add( new wxStaticText(dial,-1,_T(" ") ) , 0, wxGROW );
+ dialSizer->Add( new wxStaticText(dial,-1, strBaseDim ) , 0, wxGROW );
+ dialSizer->Add( new wxStaticText(dial,-1, strLayerDim ) , 0, wxGROW );
+ dialSizer->Add( new wxStaticText(dial,-1,_T(" ") ) , 0, wxGROW );
+ dialSizer->Add( new wxStaticText(dial,-1,message ) , 0, wxGROW );
+ dialSizer->Add( new wxStaticText(dial,-1,_T(" ") ) , 0, wxGROW );