//------------------------------------------------------------------------------------------------------------
// Constructors & Destructors
//------------------------------------------------------------------------------------------------------------
-
+ wxContour_ActionCommandsID();
+ ~wxContour_ActionCommandsID();
//------------------------------------------------------------------------------------------------------------
// Attributtes
//------------------------------------------------------------------------------------------------------------
- const static char CREATE_TOOL = 'A'; //Manual contour
- const static char CREATE_CONTOUR_KEY = 'B'; //Manual contour
- const static char DELETE_TOOL = 'C';
- const static char DELETE_KEY = 'D';
- const static char HIDE_TOOL = 'E';
- const static char SHOW_TOOL = 'F';
- const static char COPY_TOOL = 'G';
- const static char PASTE_TOOL = 'H';
- const static char CHANGE_TOOL = 'I';
- const static char SPREAD_TOOL = 'J';
- const static char SELECT_TOOL = 'K';
- const static char EDIT_TOOL = 'L';
- const static char UNDO_TOOL = 'M';
- const static char REDO_TOOL = 'N';
- const static char CREATE_PREDEFINED_4SIDED = 'O';
- const static char SAVE_TOOL = 'P';
- const static char SAVE_KEY = 'Q';
- const static char OPEN_TOOL = 'R';
- const static char AUTOMATIQUESEGMENTATION_TOOL = 'S';
- const static char INFORMATIONCONTOUR_TOOL = 'T';
- const static char INTERFACECONFIGURATION_TOOL = 'U';
- const static char TEST_TOOL = 'V';
+ const static char CREATE_TOOL; //Manual contour
+ const static char CREATE_CONTOUR_KEY; //Manual contour
+ const static char DELETE_TOOL;
+ const static char DELETE_KEY ;
+ const static char HIDE_TOOL ;
+ const static char SHOW_TOOL ;
+ const static char COPY_TOOL ;
+ const static char PASTE_TOOL ;
+ const static char CHANGE_TOOL;
+ const static char SPREAD_TOOL;
+ const static char SELECT_TOOL;
+ const static char EDIT_TOOL ;
+ const static char UNDO_TOOL ;
+ const static char REDO_TOOL ;
+ const static char CREATE_PREDEFINED_4SIDED;
+ const static char SAVE_TOOL ;
+ const static char SAVE_KEY ;
+ const static char OPEN_TOOL ;
+ const static char AUTOMATIQUESEGMENTATION_TOOL;
+ const static char INFORMATIONCONTOUR_TOOL ;
+ const static char INTERFACECONFIGURATION_TOOL;
+ const static char TEST_TOOL ;
const static char * TOOL_CODES[];
};
+
+
#endif // __wxContour_ActionCommandsID_HEADER_FILE__
{
int x1, x2, y1, y2, z1, z2;
sourceImage ->GetExtent( x1, x2, y1, y2, z1, z2);
- int retVal[2] = {x1, x2};
+ int* retVal = new int[2];
+ retVal[0]= x1;
+ retVal[1]= x2;
return retVal;
}
{
int x1, x2, y1, y2, z1, z2;
sourceImage ->GetExtent( x1, x2, y1, y2, z1, z2);
- int retVal[2] = {y1, y2};
+ int* retVal = new int[2];
+ retVal[0]= y1;
+ retVal[1]= y2;
return retVal;
+
}
/**
{
int x1, x2, y1, y2, z1, z2;
sourceImage ->GetExtent( x1, x2, y1, y2, z1, z2);
- int retVal[2] = {z1, z2};
+ int* retVal = new int[2];
+ retVal[0]= z1;
+ retVal[1]= z2;
return retVal;
+
+
}