Base data transport class for observers.
More...
#include <observer.h>
|
typedef LeafVisitor< O > | Visitor |
| The observer visitor type. More...
|
|
enum | DirtyBits {
DIRTY_NAME = Serializable::DIRTY_CUSTOM << 0,
DIRTY_USERDATA = Serializable::DIRTY_CUSTOM << 1,
DIRTY_ERROR = Serializable::DIRTY_CUSTOM << 2,
DIRTY_TASKS = Serializable::DIRTY_CUSTOM << 3,
DIRTY_REMOVED = Serializable::DIRTY_CUSTOM << 4,
DIRTY_SERIAL = Serializable::DIRTY_CUSTOM << 5,
DIRTY_CUSTOM = Serializable::DIRTY_CUSTOM << 6,
DIRTY_OBJECT_BITS = DIRTY_NAME | DIRTY_USERDATA | DIRTY_ERROR
} |
| The changed parts of the object since the last pack(). More...
|
|
|
enum | DirtyBits {
DIRTY_EYE_POSITION = Object::DIRTY_CUSTOM << 0,
DIRTY_HEAD = Object::DIRTY_CUSTOM << 1,
DIRTY_FOCUS = Object::DIRTY_CUSTOM << 2,
DIRTY_TRACKER = Object::DIRTY_CUSTOM << 3,
DIRTY_OBSERVER_BITS
} |
|
|
EQFABRIC_INL | Observer (C *config) |
|
virtual void | serialize (co::DataOStream &os, const uint64_t dirtyBits) |
|
virtual void | deserialize (co::DataIStream &is, const uint64_t dirtyBits) |
|
virtual void | setDirty (const uint64_t bits) |
|
virtual uint64_t | getRedistributableBits () const |
|
| Object () |
| Construct a new Object. More...
|
|
virtual | ~Object () |
| Destruct the object. More...
|
|
virtual bool | hasMasterUserData () |
|
virtual uint32_t | getUserDataLatency () const |
|
void | setTasks (const uint32_t tasks) |
|
virtual void | notifyDetach () |
|
void | postRemove (Object *child) |
|
virtual void | removeChild (const UUID &) |
|
template<class C , class S > |
void | commitChild (C *child, S *sender, uint32_t cmd, const uint32_t incarnation) |
|
template<class C > |
void | commitChild (C *child, const uint32_t incarnation) |
|
template<class C , class S > |
void | commitChildren (const std::vector< C * > &children, S *sender, uint32_t cmd, const uint32_t incarnation) |
|
template<class C > |
void | commitChildren (const std::vector< C * > &children, uint32_t cmd, const uint32_t incarnation) |
|
template<class C > |
void | commitChildren (const std::vector< C * > &children, const uint32_t incarnation) |
|
template<class C > |
void | syncChildren (const std::vector< C * > &children) |
|
template<class P , class C > |
void | releaseChildren (const std::vector< C * > &children) |
|
bool | _cmdSync (co::ICommand &command) |
|
template<class C, class O>
class eq::fabric::Observer< C, O >
Base data transport class for observers.
- See Also
- eq::Observer
Definition at line 34 of file fabric/observer.h.
template<class C, class O>
template<class C, class O>
Traverse this observer using a observer visitor.
- Parameters
-
- Returns
- the result of the visitor traversal.
- Version
- 1.0
template<class C, class O>
template<class C, class O>
- Returns
- the parent config of this observer.
- Version
- 1.0
Definition at line 106 of file fabric/observer.h.
template<class C, class O>
- Returns
- the parent config of this observer.
- Version
- 1.0
Definition at line 109 of file fabric/observer.h.
template<class C, class O>
- Returns
- the position of the given eye.
- Version
- 1.5.2
template<class C, class O>
template<class C, class O>
template<class C, class O>
template<class C, class O>
- Returns
- the current OpenCV camera.
- Version
- 1.5.2
Definition at line 97 of file fabric/observer.h.
template<class C, class O>
- Returns
- the current VRPN tracker device name.
- Version
- 1.5.2
Definition at line 103 of file fabric/observer.h.
template<class C, class O>
Set the position of the given eye relative to the observer.
A standard symmetric eye setup uses (+-eyeBase/2, 0, 0).
- Parameters
-
eye | the eye to update. |
pos | the new eye position. |
- Version
- 1.5.2
template<class C, class O>
template<class C, class O>
Set the focal mode.
- Version
- 1.1
template<class C, class O>
Set the head matrix.
The head matrix specifies the transformation origin->observer. Together with the eye separation, this determines the eye positions in the global coordinate system. The eye position and wall or projection description define the shape of the frustum and the channel's head transformation during rendering.
- Parameters
-
- Returns
- true if the matrix was changed, false otherwise.
- Version
- 1.0
template<class C, class O>
Set the index of the OpenCV camera for tracking.
- Version
- 1.5.2
template<class C, class O>
Set the VRPN tracker device.
- Version
- 1.5.2
The documentation for this class was generated from the following file: