TBTK
TBTK::ImagePanel Class Reference
Inheritance diagram for TBTK::ImagePanel:

Public Member Functions

 ImagePanel (wxWindow *parent)
 
 ~ImagePanel ()
 
void setImage (wxString file, wxBitmapType format)
 
void setImage (const cv::Mat &image)
 
void onPaintEvent (wxPaintEvent &event)
 
void onSizeEvent (wxSizeEvent &event)
 
void paintNow ()
 
void render (wxDC &dc)
 

Protected Member Functions

 DECLARE_EVENT_TABLE ()
 

Constructor & Destructor Documentation

TBTK::ImagePanel::ImagePanel ( wxWindow *  parent)

Constructor.

TBTK::ImagePanel::~ImagePanel ( )

Destructor.

Member Function Documentation

void TBTK::ImagePanel::onPaintEvent ( wxPaintEvent &  event)

On paint event.

void TBTK::ImagePanel::onSizeEvent ( wxSizeEvent &  event)

On size event.

void TBTK::ImagePanel::paintNow ( )

Paint.

void TBTK::ImagePanel::render ( wxDC &  dc)

Render.

void TBTK::ImagePanel::setImage ( wxString  file,
wxBitmapType  format 
)

Set image.

void TBTK::ImagePanel::setImage ( const cv::Mat &  image)
inline

Set image.


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