|
| AbstractViewerDrawer (uint width=1024, uint height=768) |
|
const DrawableObjectVector & | drawableObjectVector () const |
|
void | setDrawableObjectVector (const std::shared_ptr< DrawableObjectVector > &v) |
|
uint | pushDrawableObject (const DrawableObject &obj) |
|
uint | pushDrawableObject (DrawableObject &&obj) |
|
void | fitScene () |
|
virtual void | toggleAxisVisibility ()=0 |
|
virtual void | toggleTrackBallVisibility ()=0 |
|
void | onInit (uint) override |
|
void | onResize (unsigned int width, unsigned int height) override |
|
void | onKeyPress (Key::Enum key, const KeyModifiers &modifiers) override |
|
void | onKeyRelease (Key::Enum key, const KeyModifiers &modifiers) override |
|
void | onMouseMove (double x, double y, const KeyModifiers &modifiers) override |
|
void | onMousePress (MouseButton::Enum button, double x, double y, const KeyModifiers &modifiers) override |
|
void | onMouseRelease (MouseButton::Enum button, double x, double y, const KeyModifiers &modifiers) override |
|
void | onMouseScroll (double dx, double dy, const KeyModifiers &modifiers) override |
|
| DesktopTrackBall (uint width=1024, uint height=768) |
|
bool | isDragging () const |
|
MotionType | currentMotion () const |
|
DirectionalLight< float > | light () const |
|
const Camera< float > & | camera () const |
|
Matrix44< float > | viewMatrix () const |
|
Matrix44< float > | lightGizmoMatrix () const |
|
Matrix44< float > | gizmoMatrix () const |
|
Matrix44< float > | projectionMatrix () const |
|
void | resetTrackBall () |
|
void | setTrackBall (const Point3< float > ¢er, float radius) |
|
void | focus (const Point3< float > ¢er) |
|
void | resizeViewer (uint w, uint h) |
|
void | setKeyModifiers (KeyModifiers keys) |
|
void | moveMouse (int x, int y) |
|
void | pressMouse (MouseButton::Enum button) |
|
void | releaseMouse (MouseButton::Enum button) |
|
void | scroll (float pixelDeltaX, float pixelDeltaY) |
|
void | keyPress (Key::Enum key) |
|
void | keyRelease (Key::Enum key) |
|
| EventDrawer (uint, uint) |
|
virtual void | onMouseDoubleClick (MouseButton::Enum button, double x, double y, const KeyModifiers &modifiers) |
|
| PlainDrawer (uint, uint) |
|
virtual void | onResize (uint width, uint height) |
|
virtual void | onDraw (uint viewId) |
|
virtual void | onDrawContent (uint viewId) |
|
virtual void | onPostDraw () |
|
The AbstractViewerDrawer class is a base class for all viewer drawers implementations.
It provides all the common functionalities of a viewer, but not the core rendering functionalities. It is meant to be subclassed by a concrete viewer drawer implementation.