Public Member Functions | Private Types | Private Attributes | List of all members
ColorGuiFrame Class Reference

#include <color_gui.h>

Inheritance diagram for ColorGuiFrame:
Inheritance graph
[legend]

Public Member Functions

 ColorGuiFrame ()
 Constructor. More...
 
void DrawImage (const sensor_msgs::ImageConstPtr &msg)
 Draw an image frame. More...
 
void OnClick (wxMouseEvent &event)
 On image click callback. More...
 
void OnMouseWheel (wxMouseEvent &event)
 Callback for zooming. More...
 
void OnQuit (wxCommandEvent &event)
 Quit callback. More...
 
void OnReset (wxCommandEvent &event)
 Reset callback. More...
 

Private Types

enum  { ID_Reset =1 }
 

Private Attributes

wxTextCtrl * abText_
 
int height_
 
wxPanel * image_panel_
 
unsigned char * lab_image_
 
unsigned char * rgb_image_
 
wxTextCtrl * rgbText_
 
float scale_
 
int scale_pos_x_
 
int scale_pos_y_
 
CMVisionvision_
 
int width_
 

Detailed Description

Author
Nate Koenig and Peter Pastor

Definition at line 39 of file color_gui.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
ID_Reset 

Definition at line 68 of file color_gui.h.

Constructor & Destructor Documentation

◆ ColorGuiFrame()

ColorGuiFrame::ColorGuiFrame ( )

Constructor.

Definition at line 72 of file color_gui.cpp.

Member Function Documentation

◆ DrawImage()

void ColorGuiFrame::DrawImage ( const sensor_msgs::ImageConstPtr &  msg)

Draw an image frame.

Definition at line 140 of file color_gui.cpp.

◆ OnClick()

void ColorGuiFrame::OnClick ( wxMouseEvent &  event)

On image click callback.

Definition at line 241 of file color_gui.cpp.

◆ OnMouseWheel()

void ColorGuiFrame::OnMouseWheel ( wxMouseEvent &  event)

Callback for zooming.

Definition at line 290 of file color_gui.cpp.

◆ OnQuit()

void ColorGuiFrame::OnQuit ( wxCommandEvent &  event)

Quit callback.

Definition at line 135 of file color_gui.cpp.

◆ OnReset()

void ColorGuiFrame::OnReset ( wxCommandEvent &  event)

Reset callback.

Definition at line 234 of file color_gui.cpp.

Member Data Documentation

◆ abText_

wxTextCtrl* ColorGuiFrame::abText_
private

Definition at line 89 of file color_gui.h.

◆ height_

int ColorGuiFrame::height_
private

Definition at line 88 of file color_gui.h.

◆ image_panel_

wxPanel* ColorGuiFrame::image_panel_
private

Definition at line 91 of file color_gui.h.

◆ lab_image_

unsigned char* ColorGuiFrame::lab_image_
private

Definition at line 94 of file color_gui.h.

◆ rgb_image_

unsigned char* ColorGuiFrame::rgb_image_
private

Definition at line 93 of file color_gui.h.

◆ rgbText_

wxTextCtrl* ColorGuiFrame::rgbText_
private

Definition at line 90 of file color_gui.h.

◆ scale_

float ColorGuiFrame::scale_
private

Definition at line 97 of file color_gui.h.

◆ scale_pos_x_

int ColorGuiFrame::scale_pos_x_
private

Definition at line 96 of file color_gui.h.

◆ scale_pos_y_

int ColorGuiFrame::scale_pos_y_
private

Definition at line 96 of file color_gui.h.

◆ vision_

CMVision* ColorGuiFrame::vision_
private

Definition at line 99 of file color_gui.h.

◆ width_

int ColorGuiFrame::width_
private

Definition at line 88 of file color_gui.h.


The documentation for this class was generated from the following files:


cmvision
Author(s): Nate Koenig, Nate Koenig
autogenerated on Wed Mar 2 2022 00:03:25