Orfeo Toolbox  3.16
otbImageViewer.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ORFEO Toolbox
4  Language: C++
5  Date: $Date$
6  Version: $Revision$
7 
8 
9  Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
10  See OTBCopyright.txt for details.
11 
12 
13  This software is distributed WITHOUT ANY WARRANTY; without even
14  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  PURPOSE. See the above copyright notices for more information.
16 
17 =========================================================================*/
18 #ifndef __otbImageViewer_h
19 #define __otbImageViewer_h
20 
21 #include "vcl_deprecated_header.h"
22 
23 #include "otbImageViewerBase.h"
24 #include <FL/Fl_Multiline_Output.H>
25 
26 namespace otb
27 {
56 template <class TPixel, class TLabel = double>
58  : public ImageViewerBase<TPixel, TLabel>
59 {
60 public:
62  typedef ImageViewer Self;
66 
68 
70  itkNewMacro(Self);
72  itkTypeMacro(ImageViewer, ImageViewerBase);
73 
75  virtual void Show(void);
77  virtual void Hide(void);
79  virtual void Build(void);
81  virtual void Update(void);
82 
83 protected:
85  ImageViewer();
87  virtual ~ImageViewer();
88 
89 private:
90  ImageViewer(const Self &); //purposely not implemented
91  void operator =(const Self&); //purposely not implemented
92 
94  Fl_Window * m_FullWindow;
95  Fl_Window * m_ScrollWindow;
96  Fl_Window * m_ZoomWindow;
97  Fl_Window * m_PixLocWindow;
98  Fl_Window * m_HistogramWindow;
99  Fl_Multiline_Output * m_PixLocOutput;
100 };
101 } // end namespace otb
102 #ifndef OTB_MANUAL_INSTANTIATION
103 #include "otbImageViewer.txx"
104 #endif
105 #endif

Generated at Sun Feb 3 2013 00:30:57 for Orfeo Toolbox with doxygen 1.8.1.1