return wxContourMainFrame::getInstance()->GetImageDataSizeZ();
}
-void interfMainPanel::GetImageDataRange(double *range){
- wxContourMainFrame::getInstance()->GetImageDataRange(range);
-}
-
void interfMainPanel::onSegmentationAllSlice(int minZ,int maxZ,int isovalue,int sampling,int method){
wxContourMainFrame::getInstance()->onSegmentationAllSlice(minZ, maxZ,isovalue,sampling,method);
}
void interfMainPanel::onInformationPressed(){
if(infoWin ==NULL){
- infoWin = new wxFrame (this, -1,_T(" Spread "), wxDefaultPosition, wxDefaultSize, wxFRAME_TOOL_WINDOW|wxSYSTEM_MENU | wxCAPTION | wxCLIP_CHILDREN |wxFRAME_FLOAT_ON_PARENT | wxRESIZE_BORDER );
- infoWin->SetSize( wxSize(500,450) );
+ infoWin = new wxFrame (this, -1,_T(" Statistics "), wxDefaultPosition, wxDefaultSize, wxFRAME_TOOL_WINDOW|wxSYSTEM_MENU | wxCAPTION | wxCLIP_CHILDREN |wxFRAME_FLOAT_ON_PARENT | wxRESIZE_BORDER );
+ infoWin->SetSize( wxSize(825,650) );
- wxSize sizepanel(200,300);
+ wxSize sizepanel(825,675);
informationPanel = new interfInformationPanel(infoWin);//contourevent->getInformationPanel(infoWin);
wxBoxSizer * sizerPanel = new wxBoxSizer(wxHORIZONTAL);
}
-void interfMainPanel::onSaveResults(std::string directory,std::string namefile, std::string filename, int typeContourGroup){
- wxContourMainFrame::getInstance()->onSaveResults(directory, namefile,filename, typeContourGroup);
+void interfMainPanel::onSaveResults(std::string directory,std::string namefile, std::string filename,
+ int typeContourGroup, bool XYZValues, bool contourImage, bool statistics)
+{
+ wxContourMainFrame::getInstance()->onSaveResults(directory, namefile, filename,
+ typeContourGroup, XYZValues, contourImage, statistics);
}
wxString interfMainPanel::getCellValue(int j,int i){
}
-void interfMainPanel::onThreshold(int minVal, int maxVal)
+void interfMainPanel::onThreshold()
{
- wxContourMainFrame::getInstance()->onThreshold(minVal, maxVal);
+ wxContourMainFrame::getInstance()->onThreshold();
}
-void interfMainPanel::onThresholdChange(int minVal, int maxVal)
+void interfMainPanel::onThresholdChange()
{
- wxContourMainFrame::getInstance()->onThresholdChange(minVal, maxVal);
+ wxContourMainFrame::getInstance()->onThresholdChange();
}
-void interfMainPanel::onThresholdInstantChange(int range[])
+void interfMainPanel::onThresholdInstantChange(double range[])
{
panelThreshold->onThresholdInstantChange(range);
}
showPanel(thresholdPanel);
}
+void interfMainPanel::ShowResultImages(int typeContourGroup)
+{
+ wxContourMainFrame::getInstance()->ShowResultImages(typeContourGroup);
+}
+
+