25 #ifndef __BVWXMainFrame_HH
26 #define __BVWXMainFrame_HH
28 #include <Base/Common/W32Compat.hh>
31 #include <wx/spinctrl.h>
36 #include <Gui/ImageCanvas.hh>
37 #include <Gui/ScaledImageCanvas.hh>
38 #include <Base/Image/ImageConvert.hh>
39 #include <Gui/ConsoleRedirectIO.hh>
40 #include <Gui/StringConv.hh>
41 #include <Base/Image/ImageIO.hh>
42 #include <Base/Common/FileHandling.hh>
43 #include <Image/Camera.hh>
44 #include <Utils/Param.hh>
45 #include <Gui/FilterDialogBase.hh>
68 void SetFileList(
const std::vector<std::string>& fileNames);
145 void OnLoad(wxCommandEvent& event);
148 void OnInfo(wxCommandEvent& event);
150 void OnExit(wxCommandEvent& event);
152 void OnAbout(wxCommandEvent& event);
161 void OnSaveAs(wxCommandEvent& event);
172 void OnPrint(wxCommandEvent& event);
177 void OnNext(wxCommandEvent& event);
178 void OnPrev(wxCommandEvent& event);
180 void OnRun(wxCommandEvent& event);
181 void OnStop(wxCommandEvent& event);
188 void OnDelay(wxSpinEvent& event);
189 void OnFit(wxCommandEvent& event);
210 void OnTimer(wxTimerEvent& event);
211 void OnIdle(wxIdleEvent& event);
212 void OnSize(wxSizeEvent& event);
285 DECLARE_EVENT_TABLE()
290 #endif // __BVWXMainFrame_HH
void OnFilterSave(wxCommandEvent &event)
void OnImageValues(wxCommandEvent &event)
wxCheckBox * _FitCheckBox
void OnSaveCurrent(wxCommandEvent &event)
Save current displayed image with original dimension and .mip as default.
void PrintConversionError(const int errorNo, wxString fname)
void OnFilterMean(wxCommandEvent &WXUNUSED(event))
void OnSaveAs(wxCommandEvent &event)
void OnSize(wxSizeEvent &event)
void OnPrintCurrent(wxCommandEvent &event)
Print current image.
void OnChangeChannel_2(wxCommandEvent &event)
wxPoint _ValueBarPosition
void FitSizetIfTooSmall()
fits the frame size if it is too small for curent image
void OnFilterGradientSobel3x3(wxCommandEvent &event)
void OnKeepScrollPosition(wxCommandEvent &event)
void OnTimer(wxTimerEvent &event)
void OnRun(wxCommandEvent &event)
void ShowImageValueBar(ImageBase &image)
wxCheckBox * _KeepScrollPositionCheckBox
void OnRunStop(wxCommandEvent &event)
void OnFilterMedian(wxCommandEvent &event)
display image in wx application, provides zoom and investigation functionality
wxMenuItem * _ValueBarCheckItem
void OnPrev(wxCommandEvent &event)
void SetFileList(const std::vector< std::string > &fileNames)
void OnFilterRescale(wxCommandEvent &event)
wxButton * _ValueBarButton
void OnIdle(wxIdleEvent &event)
void OnRemoveAllButCurrent(wxCommandEvent &event)
void OnChangeChannel_7(wxCommandEvent &event)
wxButton * _HistogrammButton
void OnHistogramm(wxCommandEvent &event)
wxCheckBox * _ReverseCheckBox
void OnStop(wxCommandEvent &event)
void OnAbout(wxCommandEvent &event)
ImageCanvas * _ImageCanvasUC
void OnToolEnter(wxCommandEvent &event)
unsigned int _SelectedChannel
void OnLoad(wxCommandEvent &event)
void OnMetaData(wxCommandEvent &event)
void OnChangeChannel_8(wxCommandEvent &event)
void OnSaveList(wxCommandEvent &event)
save all filenames to disk
void OnNext(wxCommandEvent &event)
std::vector< std::string > _FileNames
ScaledImageCanvas * _ImageCanvasFloat
wxButton * _PreviousButton
wxMenuItem * _DrawROICheckItem
void OnChangeChannel_4(wxCommandEvent &event)
void RefitClients()
workaround adapting client canvases size
void OnExit(wxCommandEvent &event)
void OnImageValueBar(wxCommandEvent &event)
void OnChangeChannel_5(wxCommandEvent &event)
void OnSaveAsMovie(wxCommandEvent &event)
void AddInfo(const BIAS::ImageBase &image, std::stringstream &info)
print info such as dim, video format ro info stream.
void PrintNoImageToFilter()
void PrintSavingError(const int errorNo, wxString fname)
void OnPrint(wxCommandEvent &event)
Print multiple images.
void OnChangeChannel_ALL(wxCommandEvent &event)
void OnRemoveCurrent(wxCommandEvent &event)
void OnChangeChannel_1(wxCommandEvent &event)
void OnKeyInfo(wxCommandEvent &event)
void OnFilterCannyEdge(wxCommandEvent &event)
void ShowHistogramm(ImageBase &image)
wxToolBarToolBase * _RunTool
void UncompressImage(BIAS::ImageBase &image)
some compressed images display size is bigger then original size e.b.
void OnChangeChannel_6(wxCommandEvent &event)
void LoadImages(const wxArrayString &paths)
display float images in wx application, provides zoom, scale, shift and investigation functionality ...
BVWXMainFrame(const wxString &title, const wxPoint &pos, const wxSize &size)
void OnDelay(wxSpinEvent &event)
void LoadImageFromList(int index)
void OnDrawROI(wxCommandEvent &event)
wxButton * _RunStopButton
wxMenuItem * _HistogramCheckItem
int ConvertFLtoUC(ImageBase &img)
This is the base class for images in BIAS.
void OnInfo(wxCommandEvent &event)
void OnFit(wxCommandEvent &event)
void OnFilterGauss(wxCommandEvent &event)
void OnChangeChannel_3(wxCommandEvent &event)