|
VR-Engage
2.2
|
This class stores information about an observer view, including its name, whether it uses 2D projection, and whether it's the default view.
#include <vreChooseRolePage.h>
Public Member Functions | |
| DtObserverViewEntry () | |
| DtObserverViewEntry (const QString &observerName, const bool projection2D, const bool defaultView) | |
| QString | getObserverName () const |
| void | setObserverName (const QString &name) |
| bool | getProjectionIs2D () const |
| void | setProjectionIs2D (const bool is2D) |
| bool | getDefaultView () const |
| void | setDefaultView (const bool isDefaultView) |
Protected Attributes | |
| QString | myObserverName |
| bool | myProjectionIs2D |
| bool | myDefaultView |
| makVre::DtObserverViewEntry::DtObserverViewEntry | ( | ) |
Default constructor.
Creates an empty observer view entry.
| makVre::DtObserverViewEntry::DtObserverViewEntry | ( | const QString & | observerName, |
| const bool | projection2D, | ||
| const bool | defaultView ) |
Parameterized constructor.
| observerName | The name of the observer view |
| projection2D | Flag indicating if the view uses 2D projection |
| defaultView | Flag indicating if this is the default view |
Creates an observer view entry with the specified parameters.
| QString makVre::DtObserverViewEntry::getObserverName | ( | ) | const |
Gets the observer view name.
| void makVre::DtObserverViewEntry::setObserverName | ( | const QString & | name | ) |
Sets the observer view name.
| name | The new name to set |
| bool makVre::DtObserverViewEntry::getProjectionIs2D | ( | ) | const |
Checks if the view uses 2D projection.
| void makVre::DtObserverViewEntry::setProjectionIs2D | ( | const bool | is2D | ) |
Sets whether the view uses 2D projection.
| is2D | True if the view should use 2D projection, false otherwise |
| bool makVre::DtObserverViewEntry::getDefaultView | ( | ) | const |
Checks if this is the default view.
| void makVre::DtObserverViewEntry::setDefaultView | ( | const bool | isDefaultView | ) |
Sets whether this is the default view.
| isDefaultView | True if this should be the default view, false otherwise |
|
protected |
The name of the observer view.
|
protected |
Flag indicating if the view uses 2D projection.
|
protected |
Flag indicating if this is the default view.