#include <OrthographicView.h>

Public Member Functions | |
| virtual void | lockAspectRatio (bool bLock)=0 |
| virtual bool | isAspectRatioLocked () const =0 |
| virtual LocationType | getPixelSize () const =0 |
Static Public Member Functions | |
| static const std::string & | signalDisplayAreaChanged () |
Protected Member Functions | |
| virtual | ~OrthographicView () |
The orthographic view uses an orthonogal projection to draw its contents in two dimensions. The data can be stretched or skewed to fit a desired display area. The aspect ratio of the data is not preserved by default, but can be made to do so by calling lockAspectRatio().
This subclass of Subject will notify upon the following conditions:
Definition at line 30 of file OrthographicView.h.
| virtual OrthographicView::~OrthographicView | ( | ) | [protected, virtual] |
This should be destroyed by calling DesktopServices::deleteView.
Definition at line 78 of file OrthographicView.h.
| static const std::string& OrthographicView::signalDisplayAreaChanged | ( | ) | [static] |
| virtual void OrthographicView::lockAspectRatio | ( | bool | bLock | ) | [pure virtual] |
Locks the aspect ratio of the view.
This method toggles a lock of the view aspect ratio. When locked, the values in the X dimension are displayed equally to the values in the Y dimension. No distortion will occur when the viewport is resized.
| bLock | Set this value to TRUE to lock the aspect ratio. Set this value to FALSE to allow the view extents adjust freely with the view size. |
| virtual bool OrthographicView::isAspectRatioLocked | ( | ) | const [pure virtual] |
Queries whether the aspect ratio of the view is locked.
| virtual LocationType OrthographicView::getPixelSize | ( | ) | const [pure virtual] |
Returns the number of screen pixels that covers one data pixel.