libmoldeo (Moldeo 1.0 Core)
1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
|
Objeto para la rotación esférica de la vista 3d. More...
#include <moArcBall.h>
Public Member Functions | |
ArcBall_t () | |
ArcBall_t (GLfloat NewWidth, GLfloat NewHeight) | |
~ArcBall_t () | |
void | setBounds (GLfloat NewWidth, GLfloat NewHeight) |
void | click (const Point2fT *NewPt) |
void | drag (const Point2fT *NewPt, Quat4fT *NewRot) |
Protected Member Functions | |
void | _mapToSphere (const Point2fT *NewPt, Vector3fT *NewVec) const |
Protected Attributes | |
Vector3fT | StVec |
Vector3fT | EnVec |
GLfloat | AdjustWidth |
GLfloat | AdjustHeight |
Objeto para la rotación esférica de la vista 3d.
Al arrastrar el mouse alrededor del objeto, simula una esfera que es rotada con el objeto dentro.
Definition at line 439 of file moArcBall.h.
ArcBall_t::ArcBall_t | ( | ) |
Definition at line 70 of file moArcBall.cpp.
ArcBall_t::ArcBall_t | ( | GLfloat | NewWidth, |
GLfloat | NewHeight | ||
) |
Definition at line 84 of file moArcBall.cpp.
|
inline |
Definition at line 449 of file moArcBall.h.
KempoApi: The Turloc Toolkit * * ** ** Filename: ArcBall.cpp ** Version: Common ** Arcball class for mouse manipulation. (C) 1999-2003 Tatewake.com History: 08/17/2003 -(TJG) - Creation 09/23/2003 -(TJG) - Bug fix and optimization 09/25/2003 -(TJG) - Version for NeHe Basecode users
Definition at line 32 of file moArcBall.cpp.
void ArcBall_t::click | ( | const Point2fT * | NewPt | ) |
Definition at line 100 of file moArcBall.cpp.
Definition at line 107 of file moArcBall.cpp.
|
inline |
Definition at line 453 of file moArcBall.h.
|
protected |
Definition at line 472 of file moArcBall.h.
|
protected |
Definition at line 471 of file moArcBall.h.
|
protected |
Definition at line 470 of file moArcBall.h.
|
protected |
Definition at line 469 of file moArcBall.h.