An indexed eye that can be rendered.
More...
#include <Eye.hh>
|
size_t | idx |
| The index of the specific eye, starting at zero (0). More...
|
|
size_t | count |
| The total count of eyes of which the specified eye is one. More...
|
|
|
static const Eye | MONO = { 0, 1 } |
| Pre-defined Eye for monoscopic rendering. More...
|
|
static const Eye | LEFT = { 0, 2 } |
| Pre-defined left Eye for stereoscopic rendering. More...
|
|
static const Eye | RIGHT = { 1, 2 } |
| Pre-defined right Eye for stereoscopic rendering. More...
|
|
An indexed eye that can be rendered.
- See also
- StereoscopicView
-
StereoscopicMultiplexer
-
Camera
◆ operator<()
Less than operator, returns true if this has lower count or lower idx than the other.
◆ operator==()
Equals operator, returns true if this is identical to the other.
◆ valid()
bool gramods::gmGraphics::Eye::valid |
( |
| ) |
|
|
inline |
Returns true iff idx is smaller than count.
◆ validate()
void gramods::gmGraphics::Eye::validate |
( |
| ) |
|
|
inline |
Check if the internal states are valid and throw exception if idx is not smaller than count.
This may be called by any method that takes an Eye as an argument.
◆ count
size_t gramods::gmGraphics::Eye::count |
The total count of eyes of which the specified eye is one.
◆ idx
size_t gramods::gmGraphics::Eye::idx |
The index of the specific eye, starting at zero (0).
◆ LEFT
const Eye gramods::gmGraphics::Eye::LEFT = { 0, 2 } |
|
static |
Pre-defined left Eye for stereoscopic rendering.
◆ MONO
const Eye gramods::gmGraphics::Eye::MONO = { 0, 1 } |
|
static |
Pre-defined Eye for monoscopic rendering.
◆ RIGHT
const Eye gramods::gmGraphics::Eye::RIGHT = { 1, 2 } |
|
static |
Pre-defined right Eye for stereoscopic rendering.
The documentation for this struct was generated from the following files:
- /home/karlu/private/program/gramods/modules/gmGraphics/include/gmGraphics/Eye.hh
- /home/karlu/private/program/gramods/modules/gmGraphics/src/Eye.cpp