H3D::OrthoViewpoint Class Reference
[X3D node classes.]

The OrthoViewpoint node defines a viewpoint that provides an orthographic view of the scene. More...

#include <H3D/OrthoViewpoint.h>

Inheritance diagram for H3D::OrthoViewpoint:

Inheritance graph

List of all members.

Public Member Functions

 OrthoViewpoint (Inst< SFSetBind > _set_bind=0, Inst< SFVec3f > _centerOfRotation=0, Inst< SFString > _description=0, Inst< MFFloat > _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)
 Constructor.

Public Attributes

auto_ptr< MFFloatfieldOfView
 The fieldOfView field specifies minimum and maximum extents of the view in units of the local coordinate system.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodedatabase for this node.


Detailed Description

The OrthoViewpoint node defines a viewpoint that provides an orthographic view of the scene.

An orthographic view is one in which all projectors are parallel to the projector from centerOfRotation to position.

The fieldOfView field specifies minimum and maximum extents of the view in units of the local coordinate system. A small field of view roughly corresponds to a telephoto lens; a large field of view roughly corresponds to a wide-angle lens. The minimum an maximum values in each direction of the field of view shall have the relationship minimum < maximum. The value of fieldOfView represents the minimum viewing extent in any direction axis perpendicular to the view.

A browser with a rectangular viewing projection has the following relationship:

(display width) / (display height) = (maximum_x - minimum_x) / (maximum_y - minimum_y)


Member Data Documentation

The fieldOfView field specifies minimum and maximum extents of the view in units of the local coordinate system.

The minimum an maximum values in each direction of the field of view shall have the relationship minimum < maximum.

Access type: inputOutput
Default value: -1, -1, 1, 1

Referenced by OrthoViewpoint().


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

Generated on Fri Nov 7 10:30:41 2008 for H3D API by  doxygen 1.5.7