]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/kernel/marParameters.cpp
Diego Caceres: creaButtonContainer and creaPanelButtonContainer has been added to...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / kernel / marParameters.cpp
index 9bb6641c089064ee609f019e18d43e36714a3377..51a529ca968edcdf6009ecaaee2df7e5355687b2 100644 (file)
@@ -3,8 +3,8 @@
  Program:   wxMaracas
  Module:    $RCSfile: marParameters.cpp,v $
  Language:  C++
- Date:      $Date: 2009/05/14 13:54:43 $
- Version:   $Revision: 1.2 $
+ Date:      $Date: 2010/04/20 14:42:44 $
+ Version:   $Revision: 1.3 $
  
   Copyright: (c) 2002, 2003
   License:
@@ -19,7 +19,7 @@
 #include <math.h>
 #include <wx/log.h>
 
-static char* BoolParamNames[] = {
+static const char* BoolParamNames[] = {
        // PS ->     "e_debug_window_visible"  ,
        // PS ->        "e_debug_console_visible"     ,
        // PS ->        "e_calculate_mip_default"    ,
@@ -31,7 +31,8 @@ static char* BoolParamNames[] = {
        // PS ->        "e_show_cell"                 ,
        // PS ->        "e_show_int_cell"
 };
-static char* DoubleParamNames[] = {
+
+static const char* DoubleParamNames[] = {
     "e_gravity_distance"              ,
        "e_axis_discret_step"             ,
        "e_distance_to_maximum_intensity" ,
@@ -58,7 +59,8 @@ static char* DoubleParamNames[] = {
     "e_RescaleIntercept"          ,
     "e_RescaleSlope"              ,
 };
-static char* IntParamNames[] = {
+
+static const char* IntParamNames[] = {
     "e_roi_dimension"                     ,
        "e_step"                                  ,
        "e_step_coeficient"                       ,
@@ -73,7 +75,8 @@ static char* IntParamNames[] = {
        "e_voxel_type"                            ,
        // PS ->        "e_coef_cell_max_int"
 };
-static char* StringParamNames[] = {
+
+static const char* StringParamNames[] = {
        "e_installation_directory" ,
        "e_dicom_images_directory"
 };
@@ -197,7 +200,7 @@ void marParameters::reset( )
     _doubleValues[ e_voxel_y_dimension ]             = 1.0;
     _doubleValues[ e_voxel_z_dimension ]             = 1.0;
     _doubleValues[ e_scale ]                         = 4.0;
-       // PS ->     _doubleValues[ e_sampling ]                      = 4.0;
+       // PS ->     _doubleValues[ e_sampling ]         = 4.0;
     _doubleValues[ e_threshold_isocontour ]          = 40.0;
     _doubleValues[ e_threshold_snake_isocontour ]    = 40.0;
     _doubleValues[ e_sigma ]                         = 0.1;