|
gaze
0.1.0
Perform gaze tracking with common webcams.
|
Abstract base class for Visualizeable to allow generic pointers. More...
#include "gaze/gui/visualizeable.h"
Public Member Functions | |
| virtual | ~VisualizeableBase ()=default |
| virtual std::shared_ptr < dlib::drawable > | init (dlib::drawable_window &parent, int width, int height, std::string text="No visualization.")=0 |
| virtual void | remove_widget () |
| virtual void | visualize (util::Data &data)=0 |
Abstract base class for Visualizeable to allow generic pointers.
This class defines an interface which is readily implemented by Visualizeable. Since Visualizeable is a template class, generic pointers and collections containing different Visualizeables must instead use VisualizeableBase.
Definition at line 170 of file visualizeable.h.
|
virtualdefault |
Override this method if you need more destruction control.
|
pure virtual |
Initializes the widget by creating a widget and adjusting it.
| parent | The parent window. |
| width | The widget width |
| height | The widget height |
| text | The widget text |
Implemented in gaze::gui::Visualizeable< widget_type >.
|
inlinevirtual |
Removes the widget or disables it.
Reimplemented in gaze::gui::Visualizeable< widget_type >.
Definition at line 198 of file visualizeable.h.
|
pure virtual |
Visualizes the data object by updating the widget.
The data object is not const to allow for certain non-const actions, but it should be highly discouraged to modify it.
| data | The data object to be visualized. |
Implemented in gaze::pipeline::GazePointCalculation, gaze::pipeline::PupilLocalization, gaze::pipeline::HeadPoseEstimation, gaze::pipeline::SourceCapture, gaze::pipeline::GazeCapture, gaze::pipeline::FaceLandmarks, gaze::pipeline::FallbackStep, and gaze::pipeline::EyeLike.
1.8.6