#include <view.h>
Public Member Functions | |
void | onDataChanged () |
boost::signals::connection | registerKeyCallback (boost::function< void(wxKeyEvent &, Resource< RT > *)>) |
boost::signals::connection | registerMouseCallback (boost::function< void(wxMouseEvent &, Resource< RT > *)>) |
void | show () |
View (const std::string &name, Resource< RT > *r) | |
Protected Member Functions | |
void | refresh (ViewTypes::View2D) |
void | reloadData (ResourceTypes::Image, ViewTypes::Color) |
template<typename PT > | |
void | reloadData (ResourceTypes::OrganizedPointCloud< PT >, ViewTypes::Color) |
template<typename PT > | |
void | reloadData (ResourceTypes::OrganizedPointCloud< PT >, ViewTypes::Depth_Z) |
template<typename PT , size_t Channel> | |
void | reloadData (ResourceTypes::OrganizedPointCloud< PT >, ViewTypes::Normal< Channel >) |
void | show (ViewTypes::View2D) |
~View () | |
Protected Attributes | |
boost::signal< void(wxKeyEvent &, Resource< RT > *) | key_sig_ ) |
boost::signal< void(wxMouseEvent &, Resource< RT > *) | mouse_sig_ ) |
Resource< RT > * | r_ptr |
Friends | |
class | WindowManager |
void Gui::View< RT, VT >::onDataChanged | ( | ) | [inline, virtual] |
Implements Gui::ViewBase.
void Gui::View< RT, VT >::refresh | ( | ViewTypes::View2D | ) | [protected] |
boost::signals::connection Gui::View< RT, VT >::registerKeyCallback | ( | boost::function< void(wxKeyEvent &, Resource< RT > *)> | f | ) |
boost::signals::connection Gui::View< RT, VT >::registerMouseCallback | ( | boost::function< void(wxMouseEvent &, Resource< RT > *)> | f | ) |
void Gui::View< RT, VT >::reloadData | ( | ResourceTypes::Image | , |
ViewTypes::Color | |||
) | [protected] |
void Gui::View< RT, VT >::reloadData | ( | ResourceTypes::OrganizedPointCloud< PT > | , |
ViewTypes::Color | |||
) | [protected] |
void Gui::View< RT, VT >::reloadData | ( | ResourceTypes::OrganizedPointCloud< PT > | , |
ViewTypes::Depth_Z | |||
) | [protected] |
void Gui::View< RT, VT >::reloadData | ( | ResourceTypes::OrganizedPointCloud< PT > | , |
ViewTypes::Normal< Channel > | |||
) | [protected] |
Implements Gui::ViewBase.
void Gui::View< RT, VT >::show | ( | ViewTypes::View2D | ) | [protected] |
friend class WindowManager [friend] |
Reimplemented from Gui::ViewBase.
Reimplemented in Gui::TextView< RT, VT >, and Gui::ImageView< RT, VT >.
boost::signal<void (wxMouseEvent&, Resource<RT>*) Gui::View< RT, VT >::mouse_sig_) [protected] |