# Cinder

# cinder::Arcball Class Reference

`#include <Arcball.h>`

List of all members.

## 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)

## Constructor & Destructor Documentation

cinder::Arcball::Arcball | ( |  | ) |

cinder::Arcball::Arcball | ( | const Vec2i & | aScreenSize | ) |

## Member Function Documentation

void cinder::Arcball::mouseDown | ( | const Vec2i & | mousePos | ) |

void cinder::Arcball::mouseDrag | ( | const Vec2i & | mousePos | ) |

void cinder::Arcball::resetQuat | ( |  | ) |

Quatf cinder::Arcball::getQuat | ( |  | ) |

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 | ) |

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

- include/cinder/Arcball.h