Public Member Functions
|Viewpoint (Inst< SFSetBind > _set_bind=0, Inst< SFVec3f > _centerOfRotation=0, Inst< SFString > _description=0, Inst< SFFloat > _fieldOfView=0, Inst< SFBool > _jump=0, Inst< SFNode > _metadata=0, Inst< SFOrientation > _orientation=0, Inst< SFPosition > _position=0, Inst< SFBool > _retainUserOffsets=0, Inst< SFTime > _bindTime=0, Inst< SFBool > _isBound=0, Inst< SFMatrix4f > _accForwardMatrix=0, Inst< SFMatrix4f > _accInverseMatrix=0)|
|auto_ptr< SFFloat >||fieldOfView|
|The fieldOfView field specifies a preferred minimum viewing angle from this viewpoint in radians. |
Static Public Attributes
|The H3DNodedatabase for this node. |
A perspective view is one in which all projectors are coalesce at position.
The fieldOfView field specifies a preferred minimum viewing angle from this viewpoint in radians. A small field of view roughly corresponds to a telephoto lens; a large field of view roughly corresponds to a wide-angle lens. The field of view shall be greater than zero and smaller than pi. The value of fieldOfView represents the minimum viewing angle in any direction axis perpendicular to the view. A browser with a rectangular viewing projection has the following relationship: display width tan(FOVhorizontal/2)
-------------- = -------------------
display height tan(FOVvertical/2)
where the smaller of display width or display height determines which angle equals the fieldOfView (the larger angle is computed using the relationship described above). The larger angle shall not exceed pi and may force the smaller angle to be less than fieldOfView in order to sustain the aspect ratio.
The fieldOfView field specifies a preferred minimum viewing angle from this viewpoint in radians.
Access type: inputOutput
Default value: pi/4
Value range: (0,pi)
Referenced by Viewpoint().