#include <Arcball.h>
Public Member Functions | |
Arcball () | |
Arcball (const Vec2i &aScreenSize) | |
void | mouseDown (const Vec2i &mousePos) |
void | mouseDrag (const Vec2i &mousePos) |
void | resetQuat () |
Quatf | getQuat () |
void | setQuat (const Quatf &quat) |
void | setWindowSize (const Vec2i &aWindowSize) |
void | setCenter (const Vec2f &aCenter) |
Vec2f | getCenter () const |
void | setRadius (float aRadius) |
float | getRadius () const |
void | setConstraintAxis (const Vec3f &aConstraintAxis) |
void | setNoConstraintAxis () |
bool | isUsingConstraint () const |
Vec3f | getConstraintAxis () const |
Vec3f | mouseOnSphere (const Vec2i &point) |
cinder::Arcball::Arcball | ( | const Vec2i & | aScreenSize | ) |
void cinder::Arcball::mouseDown | ( | const Vec2i & | mousePos | ) |
void cinder::Arcball::mouseDrag | ( | const Vec2i & | mousePos | ) |
void cinder::Arcball::resetQuat | ( | ) |
void cinder::Arcball::setQuat | ( | const Quatf & | quat | ) |
void cinder::Arcball::setWindowSize | ( | const Vec2i & | aWindowSize | ) |
void cinder::Arcball::setCenter | ( | const Vec2f & | aCenter | ) |
Vec2f cinder::Arcball::getCenter | ( | ) | const |
void cinder::Arcball::setRadius | ( | float | aRadius | ) |
float cinder::Arcball::getRadius | ( | ) | const |
void cinder::Arcball::setConstraintAxis | ( | const Vec3f & | aConstraintAxis | ) |
void cinder::Arcball::setNoConstraintAxis | ( | ) |
bool cinder::Arcball::isUsingConstraint | ( | ) | const |
Vec3f cinder::Arcball::getConstraintAxis | ( | ) | const |
Vec3f cinder::Arcball::mouseOnSphere | ( | const Vec2i & | point | ) |