OMNeT++ Simulation Library  6.0.3
cOsgCanvas::Viewpoint Struct Reference

#include <cosgcanvas.h>

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.

Public Member Functions

Methods.
 Viewpoint ()
 
 Viewpoint (const Vec3d &eye, const Vec3d &center, const Vec3d &up)
 

Public Attributes

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

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.


The documentation for this struct was generated from the following file: