Class responsible for the correct visualization of the elements on screen.
More...
#include <Camera.h>
|
void | SetScale (wxPoint2DDouble screenPoint, double delta) |
|
void | SetScale (double scale) |
|
void | SetTranslation (wxPoint2DDouble screenPoint) |
|
void | StartTranslation (wxPoint2DDouble startPoint) |
|
void | UpdateMousePosition (wxPoint2DDouble mousePosition) |
|
double | GetScale () const |
|
wxPoint2DDouble | GetTranslation () const |
|
wxPoint2DDouble | GetMousePosition (bool worldCoords=true) const |
|
wxPoint2DDouble | ScreenToWorld (wxPoint2DDouble screenCoords) const |
|
double | GetZoomMin () const |
|
double | GetZoomMax () const |
|
|
wxPoint2DDouble | m_translation |
|
wxPoint2DDouble | m_translationStartPt |
|
double | m_scale |
|
wxPoint2DDouble | m_mousePosition |
|
double | m_zoomMin = 0.01 |
|
double | m_zoomMax = 3.0 |
|
Class responsible for the correct visualization of the elements on screen.
- Author
- Thales Lima Oliveira thale.nosp@m.s@uf.nosp@m.u.br
- Date
- 05/10/2017
The documentation for this class was generated from the following files:
- Project/utils/Camera.h
- Project/utils/Camera.cpp