Support Forum G3D Web Page |
Inherits G3D::XR.
Classes | |
class | EmulatedHMD |
class | EmulatedXRController |
class | Specification |
Public Member Functions | |
virtual const String & | className () const override |
Which subclass of XR is this? More... | |
virtual void | cleanup () override |
const Array< shared_ptr< HMD > > & | hmdArray () const |
virtual shared_ptr< Event > | nextEvent () |
Returns nullptr when out of events. More... | |
const Array< shared_ptr< Object > > & | objectArray () const |
All tracked objects, including HMDs. More... | |
virtual void | postGraphicsInit (const Settings &settings) override |
virtual void | preGraphicsInit (const Settings &settings) override |
void | setHMDManipulator (const shared_ptr< class Manipulator > &manipulator) |
const TrackedVolume & | trackedVolume () const |
virtual void | updateTrackingData () override |
Call once per frame. More... | |
Specification::View & | view (int i) |
Allows direct mutation of a View. More... | |
Static Public Member Functions | |
static shared_ptr< EmulatedXR > | create (const Specification &specification=Specification()) |
static void | setFrame (const shared_ptr< Object > &t, const CFrame &f, const CFrame &p) |
Allows XR subclasses to access protected variables inside a tracked object. More... | |
Protected Member Functions | |
EmulatedXR (const Specification &specification) | |
Static Protected Member Functions | |
template<class T , class ... ArgTypes> | |
static shared_ptr< T > | createShared (ArgTypes &&... args) |
Like std::make_shared, but works for protected constructors. More... | |
Protected Attributes | |
Array< shared_ptr< EmulatedXRController > > | m_controllerArray |
Queue< shared_ptr< XR::Event > > | m_eventQueue |
shared_ptr< EmulatedHMD > | m_hmd |
Array< shared_ptr< HMD > > | m_hmdArray |
shared_ptr< EmulatedXRController > | m_leftHand |
shared_ptr< class Manipulator > | m_manipulator |
Array< shared_ptr< Object > > | m_objectArray |
shared_ptr< EmulatedXRController > | m_rightHand |
Specification | m_specification |
TrackedVolume | m_trackedVolume |
UserInput * | m_userInput |
|
inlineprotected |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from G3D::XR.
|
inlinestatic |
|
inlinestaticprotectedinherited |
Like std::make_shared, but works for protected constructors.
Call as createShared<myclass>.
|
inlinevirtualinherited |
Returns nullptr when out of events.
All tracked objects, including HMDs.
|
inlineoverridevirtual |
Reimplemented from G3D::XR.
|
inlineoverridevirtual |
Reimplemented from G3D::XR.
|
staticinherited |
Allows XR subclasses to access protected variables inside a tracked object.
|
inline |
|
inlineinherited |
|
overridevirtual |
Call once per frame.
Implements G3D::XR.
|
inline |
Allows direct mutation of a View.
|
protected |
Referenced by G3D::XR::nextEvent().
|
protected |
Referenced by G3D::XR::hmdArray().
|
protected |
|
protected |
Referenced by setHMDManipulator().
Referenced by G3D::XR::objectArray().
|
protected |
|
protected |
Referenced by view().
|
protectedinherited |
Referenced by G3D::XR::trackedVolume().
|
protected |
Referenced by preGraphicsInit().