Viewpoint Struct Reference

API: cOsgCanvas::Viewpoint Struct Reference
API
cOsgCanvas::Viewpoint Struct Reference

Public Attributes

Data members.
Vec3d eye
 Specifies the position of the eye point.
Vec3d center
 Specifies the position of the reference point.
Vec3d up
 Specifies the direction of the up vector.
bool valid
 The validity of the data. If this is false, the vector members should not be read.

Description

Defines a viewpoint in the 3D space.

The Viewpoint is defined by the position of the eye, the point to look at, and the "up" direction. See OpenGL gluLookAt() for details.

Member Data Documentation

◆ eye

Vec3d eye

Specifies the position of the eye point.

◆ center

Vec3d center

Specifies the position of the reference point.

◆ up

Vec3d up

Specifies the direction of the up vector.

◆ valid

bool valid

The validity of the data. If this is false, the vector members should not be read.