Classes | Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
SvmToyWindow Class Reference
Inheritance diagram for SvmToyWindow:
Inheritance graph
[legend]

Classes

struct  point
 

Public Member Functions

 SvmToyWindow ()
 
 ~SvmToyWindow ()
 

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *)
 
virtual void paintEvent (QPaintEvent *)
 

Private Slots

void button_change_icon_clicked ()
 
void button_clear_clicked ()
 
void button_load_clicked ()
 
void button_run_clicked ()
 
void button_save_clicked ()
 

Private Member Functions

const QPixmap & choose_icon (int v)
 
void clear_all ()
 
void draw_all_points ()
 
void draw_point (const point &p)
 

Private Attributes

QPixmap buffer
 
QPainter buffer_painter
 
QPushButton button_change_icon
 
QPushButton button_clear
 
QPushButton button_load
 
QPushButton button_run
 
QPushButton button_save
 
int current_value
 
QPixmap icon1
 
QPixmap icon2
 
QPixmap icon3
 
QLineEdit input_line
 
list< pointpoint_list
 

Detailed Description

Definition at line 25 of file qt/svm-toy.cpp.

Constructor & Destructor Documentation

SvmToyWindow::SvmToyWindow ( )

Definition at line 354 of file qt/svm-toy.cpp.

SvmToyWindow::~SvmToyWindow ( )

Definition at line 413 of file qt/svm-toy.cpp.

Member Function Documentation

void SvmToyWindow::button_change_icon_clicked ( )
inlineprivateslot

Definition at line 80 of file qt/svm-toy.cpp.

void SvmToyWindow::button_clear_clicked ( )
inlineprivateslot

Definition at line 284 of file qt/svm-toy.cpp.

void SvmToyWindow::button_load_clicked ( )
inlineprivateslot

Definition at line 317 of file qt/svm-toy.cpp.

void SvmToyWindow::button_run_clicked ( )
inlineprivateslot

Definition at line 86 of file qt/svm-toy.cpp.

void SvmToyWindow::button_save_clicked ( )
inlineprivateslot

Definition at line 288 of file qt/svm-toy.cpp.

const QPixmap& SvmToyWindow::choose_icon ( int  v)
inlineprivate

Definition at line 56 of file qt/svm-toy.cpp.

void SvmToyWindow::clear_all ( )
inlineprivate

Definition at line 62 of file qt/svm-toy.cpp.

void SvmToyWindow::draw_all_points ( )
inlineprivate

Definition at line 74 of file qt/svm-toy.cpp.

void SvmToyWindow::draw_point ( const point p)
inlineprivate

Definition at line 68 of file qt/svm-toy.cpp.

void SvmToyWindow::mousePressEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 418 of file qt/svm-toy.cpp.

void SvmToyWindow::paintEvent ( QPaintEvent *  )
protectedvirtual

Definition at line 425 of file qt/svm-toy.cpp.

Member Data Documentation

QPixmap SvmToyWindow::buffer
private

Definition at line 38 of file qt/svm-toy.cpp.

QPainter SvmToyWindow::buffer_painter
private

Definition at line 48 of file qt/svm-toy.cpp.

QPushButton SvmToyWindow::button_change_icon
private

Definition at line 42 of file qt/svm-toy.cpp.

QPushButton SvmToyWindow::button_clear
private

Definition at line 44 of file qt/svm-toy.cpp.

QPushButton SvmToyWindow::button_load
private

Definition at line 46 of file qt/svm-toy.cpp.

QPushButton SvmToyWindow::button_run
private

Definition at line 43 of file qt/svm-toy.cpp.

QPushButton SvmToyWindow::button_save
private

Definition at line 45 of file qt/svm-toy.cpp.

int SvmToyWindow::current_value
private

Definition at line 55 of file qt/svm-toy.cpp.

QPixmap SvmToyWindow::icon1
private

Definition at line 39 of file qt/svm-toy.cpp.

QPixmap SvmToyWindow::icon2
private

Definition at line 40 of file qt/svm-toy.cpp.

QPixmap SvmToyWindow::icon3
private

Definition at line 41 of file qt/svm-toy.cpp.

QLineEdit SvmToyWindow::input_line
private

Definition at line 47 of file qt/svm-toy.cpp.

list<point> SvmToyWindow::point_list
private

Definition at line 54 of file qt/svm-toy.cpp.


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


ml_classifiers
Author(s): Scott Niekum , Joshua Whitley
autogenerated on Sun Dec 15 2019 03:53:50