#include <HSIColorTableToolDlgBar.h>
Inheritance diagram for CHSIColorTableToolDlgBar:
Definition at line 21 of file HSIColorTableToolDlgBar.h.
anonymous enum |
CHSIColorTableToolDlgBar::CHSIColorTableToolDlgBar | ( | ) |
Constructor
Definition at line 13 of file HSIColorTableToolDlgBar.cpp.
void CHSIColorTableToolDlgBar::captureImageInPlace | ( | int | index | ) |
Stores the actual image from the queue to the specified place in the toolcore.
index | The index of the place in the toolcore. |
Definition at line 278 of file HSIColorTableToolDlgBar.cpp.
References m_hsiToolCore, and HSIColorTableToolCore::setImageToPlace().
Referenced by OnHsicolortabletoolCaptureButton1(), OnHsicolortabletoolCaptureButton2(), OnHsicolortabletoolCaptureButton3(), and OnHsicolortabletoolCaptureButton4().
CHSIColorTableToolDlgBar::DECLARE_MESSAGE_MAP | ( | ) | [protected] |
Reimplemented from CDynamicBarDlg.
void CHSIColorTableToolDlgBar::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 21 of file HSIColorTableToolDlgBar.cpp.
References IDC_HSICOLORTABLETOOL_CAPTURE_BUTTON1, IDC_HSICOLORTABLETOOL_COLORCHOOSER, IDC_HSICOLORTABLETOOL_HMAX_SLIDER, IDC_HSICOLORTABLETOOL_HMAX_VALUE, IDC_HSICOLORTABLETOOL_HMIN_SLIDER, IDC_HSICOLORTABLETOOL_HMIN_VALUE, IDC_HSICOLORTABLETOOL_HPALETTE_BITMAP_STATIC, IDC_HSICOLORTABLETOOL_IMAX_SLIDER, IDC_HSICOLORTABLETOOL_IMAX_VALUE, IDC_HSICOLORTABLETOOL_IMIN_SLIDER, IDC_HSICOLORTABLETOOL_IMIN_VALUE, IDC_HSICOLORTABLETOOL_SMAX_SLIDER, IDC_HSICOLORTABLETOOL_SMAX_VALUE, IDC_HSICOLORTABLETOOL_SMIN_SLIDER, IDC_HSICOLORTABLETOOL_SMIN_VALUE, IDC_HSICOLORTABLETOOL_UPDATE_CHECK, m_captureButton1, m_HmaxSlider, m_HmaxValue, m_HminSlider, m_HminValue, m_HPaletteBitmapFrame, m_hsiColorChooser, m_ImaxSlider, m_ImaxValue, m_IminSlider, m_IminValue, m_SmaxSlider, m_SmaxValue, m_SminSlider, m_SminValue, and m_updateImageFromQueue.
bool CHSIColorTableToolDlgBar::handleMessage | ( | InMessage & | message | ) | [virtual] |
Called from a MessageQueue to distribute messages
message | The message that can be read. |
Reimplemented from CRobotControlDialogBar.
Definition at line 285 of file HSIColorTableToolDlgBar.cpp.
References InMessage::bin, InMessage::getMessageID(), idImage, and m_rawYUVImage.
void CHSIColorTableToolDlgBar::OnHScroll | ( | UINT | nSBCode, | |
UINT | nPos, | |||
CScrollBar * | pScrollBar | |||
) | [protected] |
Definition at line 227 of file HSIColorTableToolDlgBar.cpp.
References HSIColorTable::colorClasses, HSIColorTableToolCore::doImageSegmentation(), HSIColorRange::H_min, HSIColorTableToolCore::hsiColorTable, HSIColorRange::I_max, HSIColorRange::I_min, IDC_HSICOLORTABLETOOL_HMAX_SLIDER, IDC_HSICOLORTABLETOOL_HMIN_SLIDER, IDC_HSICOLORTABLETOOL_IMAX_SLIDER, IDC_HSICOLORTABLETOOL_IMIN_SLIDER, IDC_HSICOLORTABLETOOL_SMAX_SLIDER, IDC_HSICOLORTABLETOOL_SMIN_SLIDER, m_choosenColor, m_HmaxSlider, m_HmaxValue, m_HminSlider, m_HminValue, m_hsiToolCore, m_ImaxSlider, m_ImaxValue, m_IminSlider, m_IminValue, m_SmaxSlider, m_SmaxValue, m_SminSlider, m_SminValue, HSIColorRange::S_max, and HSIColorRange::S_min.
void CHSIColorTableToolDlgBar::OnHsicolortabletoolCaptureButton1 | ( | ) | [protected] |
void CHSIColorTableToolDlgBar::OnHsicolortabletoolCaptureButton2 | ( | ) | [protected] |
void CHSIColorTableToolDlgBar::OnHsicolortabletoolCaptureButton3 | ( | ) | [protected] |
void CHSIColorTableToolDlgBar::OnHsicolortabletoolCaptureButton4 | ( | ) | [protected] |
void CHSIColorTableToolDlgBar::OnHsicolortabletoolLoadcolortableButton | ( | ) | [protected] |
Definition at line 130 of file HSIColorTableToolDlgBar.cpp.
References HSIColorTableToolCore::doImageSegmentation(), File::getGTDir(), HSIColorTableToolCore::loadHSIColorTableFromFile(), m_choosenColor, m_hsiColorChooser, m_hsiToolCore, setSlidersForColorClass(), and TRUE.
void CHSIColorTableToolDlgBar::OnHsicolortabletoolSavecolortableButton | ( | ) | [protected] |
Definition at line 159 of file HSIColorTableToolDlgBar.cpp.
References FALSE, File::getGTDir(), m_hsiToolCore, and HSIColorTableToolCore::saveHSIColorTableToFile().
void CHSIColorTableToolDlgBar::OnHsicolortabletoolUpdateCheck | ( | ) | [protected] |
BOOL CHSIColorTableToolDlgBar::OnInitDialog | ( | ) | [protected, virtual] |
Reimplemented from CDynamicDialog.
Definition at line 62 of file HSIColorTableToolDlgBar.cpp.
References IDB_HSICOLORTABLETOOL_HPALETTE_BITMAP, CDynamicDialog::OnInitDialog(), and TRUE.
void CHSIColorTableToolDlgBar::OnLButtonDown | ( | UINT | nFlags, | |
CPoint | point | |||
) | [protected] |
Definition at line 323 of file HSIColorTableToolDlgBar.cpp.
References IDD_DIALOG_HSICOLORTABLETOOL_ZOOM, HSIColorTableToolZoomDlg::m_colorChooser, m_hsiToolZoomDialog, HSIColorTableToolZoomDlg::m_indexOfZoomedImage, and HSIColorTableToolZoomDlg::setHSIToolCore().
void CHSIColorTableToolDlgBar::OnPaint | ( | ) | [protected] |
Definition at line 106 of file HSIColorTableToolDlgBar.cpp.
References HSIColorTableToolCore::NUMBER_OF_IMAGES, ImageMethods::paintColorClassImage2CDC(), and ImageMethods::paintImage2CDCAsYUV().
void CHSIColorTableToolDlgBar::OnSelchangeHsicolortabletoolColorchooser | ( | ) | [protected] |
Definition at line 205 of file HSIColorTableToolDlgBar.cpp.
References m_choosenColor, m_hsiColorChooser, and setSlidersForColorClass().
void CHSIColorTableToolDlgBar::setSlidersForColorClass | ( | int | colorClass | ) |
This sets the sliders and the value text in the dialog for the specified color class.
colorClass | The color class. |
Definition at line 298 of file HSIColorTableToolDlgBar.cpp.
References HSIColorTable::colorClasses, HSIColorRange::H_max, HSIColorRange::H_min, HSIColorTableToolCore::hsiColorTable, HSIColorRange::I_max, HSIColorRange::I_min, m_HmaxSlider, m_HmaxValue, m_HminSlider, m_HminValue, m_hsiToolCore, m_ImaxSlider, m_ImaxValue, m_IminSlider, m_IminValue, m_SmaxSlider, m_SmaxValue, m_SminSlider, m_SminValue, HSIColorRange::S_max, and HSIColorRange::S_min.
Referenced by OnHsicolortabletoolLoadcolortableButton(), and OnSelchangeHsicolortabletoolColorchooser().
Definition at line 61 of file HSIColorTableToolDlgBar.h.
Referenced by DoDataExchange(), and OnHsicolortabletoolUpdateCheck().
The actual chosen color.
Definition at line 50 of file HSIColorTableToolDlgBar.h.
Referenced by OnHScroll(), OnHsicolortabletoolLoadcolortableButton(), and OnSelchangeHsicolortabletoolColorchooser().
CSliderCtrl CHSIColorTableToolDlgBar::m_HmaxSlider |
Definition at line 75 of file HSIColorTableToolDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), and setSlidersForColorClass().
Definition at line 69 of file HSIColorTableToolDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), and setSlidersForColorClass().
CSliderCtrl CHSIColorTableToolDlgBar::m_HminSlider |
Definition at line 74 of file HSIColorTableToolDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), and setSlidersForColorClass().
Definition at line 68 of file HSIColorTableToolDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), and setSlidersForColorClass().
Definition at line 63 of file HSIColorTableToolDlgBar.h.
Referenced by DoDataExchange(), OnHsicolortabletoolLoadcolortableButton(), and OnSelchangeHsicolortabletoolColorchooser().
The HSI colortable toolcore for this dialog.
Definition at line 44 of file HSIColorTableToolDlgBar.h.
Referenced by captureImageInPlace(), OnHScroll(), OnHsicolortabletoolLoadcolortableButton(), OnHsicolortabletoolSavecolortableButton(), and setSlidersForColorClass().
The zoom dialog of this tool.
Definition at line 25 of file HSIColorTableToolDlgBar.h.
Referenced by OnLButtonDown().
The height of the painted rgb images.
Definition at line 29 of file HSIColorTableToolDlgBar.h.
The width of the painted rgb images.
Definition at line 27 of file HSIColorTableToolDlgBar.h.
CSliderCtrl CHSIColorTableToolDlgBar::m_ImaxSlider |
Definition at line 71 of file HSIColorTableToolDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), and setSlidersForColorClass().
Definition at line 65 of file HSIColorTableToolDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), and setSlidersForColorClass().
CSliderCtrl CHSIColorTableToolDlgBar::m_IminSlider |
Definition at line 70 of file HSIColorTableToolDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), and setSlidersForColorClass().
Definition at line 64 of file HSIColorTableToolDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), and setSlidersForColorClass().
The upper left corners where the RGB images should be painted.
Definition at line 54 of file HSIColorTableToolDlgBar.h.
The upper left corners where the segmented images should be painted.
Definition at line 52 of file HSIColorTableToolDlgBar.h.
CSliderCtrl CHSIColorTableToolDlgBar::m_SmaxSlider |
Definition at line 73 of file HSIColorTableToolDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), and setSlidersForColorClass().
Definition at line 67 of file HSIColorTableToolDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), and setSlidersForColorClass().
CSliderCtrl CHSIColorTableToolDlgBar::m_SminSlider |
Definition at line 72 of file HSIColorTableToolDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), and setSlidersForColorClass().
Definition at line 66 of file HSIColorTableToolDlgBar.h.
Referenced by DoDataExchange(), OnHScroll(), and setSlidersForColorClass().