H3D::DeviceInfo Class Reference
[H3D specific Node classes.]

DeviceInfo is a X3DBindableNode that contains the devices that are used with the API. More...

#include <H3D/DeviceInfo.h>

Inheritance diagram for H3D::DeviceInfo:

Inheritance graph

List of all members.

Public Member Functions

 DeviceInfo (Inst< SFSetBind > _set_bind=0, Inst< SFNode > _metadata=0, Inst< SFTime > _bindTime=0, Inst< SFBool > _isBound=0, Inst< MFDevice > _device=0)
 Construtor.
virtual void initialize ()
 If this is the stack top, initialize the devices in it.
virtual void toStackTop ()
 Move this instance to the stack top.
virtual void removeFromStack ()
 Remove the bindable node from the stack.
virtual void renderStyli ()
 Render the styli of all devices in the device field.

Static Public Member Functions

static DeviceInfogetActive ()
 Convenience function to get the top of the DeviceInfo stack.
static const DeviceInfoList & getAllDeviceInfos ()
 Returns a list of all current DeviceInfo instances.

Public Attributes

auto_ptr< MFDevicedevice
 Contains the devices in this DeviceInfo instance.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodedatabase for this node.


Detailed Description

DeviceInfo is a X3DBindableNode that contains the devices that are used with the API.

It contains e.g. all H3DHapticsDevice nodes that are used for haptic rendering, Mouse and Magellan devices.


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Fri Nov 7 10:29:44 2008 for H3D API by  doxygen 1.5.7