change -> Modified(); //important
change -> Update(); //important
SetImage( change->GetOutput() );
+ _colorLayerImageViewManager->onThreshold();
+ RefreshView();
}
//----------------------------------------------------------------------------
if (_thresholdGo)
{
_colorLayerImageViewManager->onThresholdChange();
- RefreshView();
+ RefreshView();
//std::cout<< "Valor Min: " << minVal << " & Valor Max: " << maxVal << std::endl;
} // _thresholdGo
}
void SetFittingMode(int fitting_mode);
int GetFittingMode();
void SetActive(bool active);
+ void RefreshView();
private:
bool _active;
void onChangeOpacity(wxScrollEvent& event);
void onSliceFixDinamic(wxCommandEvent& event);
void onSliceImage(wxScrollEvent& event);
- void RefreshView();
};
#endif