29 #ifndef __STEREOINFO_H__
30 #define __STEREOINFO_H__
55 Inst< SFNode > _metadata = 0,
56 Inst< SFTime > _bindTime = 0,
57 Inst< SFBool > _isBound = 0,
58 Inst< SFFloat > _interocularDistance = 0,
59 Inst< SFFloat > _focalDistance = 0,
60 Inst< SFRotation > _headTilt = 0,
61 Inst< SFFloat > _matrixViewShift = 0,
62 Inst< SFFloat > _matrixProjShift = 0,
63 Inst< SFBool > _swapEyes = 0 );
114 void updateViewShift(
float _matrixViewShift );
116 void updateProjShift(
float _matrixProjShift );
Contains the SFFloat field class.
Contains the SFRotation field class.
Header file for X3DBindableNode, X3D scene-graph node.
The StereoInfo nis a bindable node that contains information used when rendering the scene in stereo.
Definition: StereoInfo.h:51
H3DUniquePtr< SFFloat > matrixProjShift
The matrixViewShift field specifies the projection matrix stereo shift.
Definition: StereoInfo.h:103
static StereoInfo * getActive()
Convenience function to get the top of the StereoInfo stack.
Definition: StereoInfo.h:66
H3DUniquePtr< SFRotation > headTilt
The headTilt field specifies how the head is oriented in relation to to the current X3DViewpointNode ...
Definition: StereoInfo.h:91
H3DUniquePtr< SFBool > swapEyes
The swapEyes field specifies if the eyes should be swapped in the current stereo mode.
Definition: StereoInfo.h:111
H3DUniquePtr< SFFloat > interocularDistance
The interocularDistance field specifies eye separation distance in metres, e.g.
Definition: StereoInfo.h:75
H3DUniquePtr< SFFloat > focalDistance
The focalDistance field specifies the distance in meters at which objects in the scene will appear to...
Definition: StereoInfo.h:82
H3DUniquePtr< SFFloat > matrixViewShift
The matrixViewShift field specifies the view matrix stereo shift.
Definition: StereoInfo.h:97
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: StereoInfo.h:119
X3DBindableNode is the abstract base type for all bindable children nodes, including Background,...
Definition: X3DBindableNode.h:108
static X3DBindableNode * getActive(const string &bindable_stack_name)
Returns the active bindable instance, i.e.
Definition: X3DBindableNode.h:149
H3D API namespace.
Definition: Anchor.h:38
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194