![]() |
vrecko
virtual reality framework
|
Classes | |
class | ConstrainedObjectMovement |
class | ConstraintArea |
class | ConstraintDescription |
Typedefs | |
typedef vector< osg::Vec3 > | Vecs3 |
typedef vector< ConstraintArea * > | ConstraintAreas |
typedef set< int > | EnvironmentObjectIDs |
Functions | |
double | vectorAngle (osg::Vec3 vector1, osg::Vec3 vector2) |
float | area (osg::Vec3 &point1, osg::Vec3 &point2, osg::Vec3 &point3) |
osg::Vec3 | centroid (Vecs3 polygon) |
int | orientation (float x1, float y1, float x2, float y2, float px, float py) |
bool | convexPolygon (Vecs3 polygon) |
double | calcAngleSum (osg::Vec3 q, Vecs3 &p) |
Variables | |
vector< int > | watchedObjectIDs |
typedef vector<ConstraintArea*> APConstrainedMovement::ConstraintAreas |
typedef set<int> APConstrainedMovement::EnvironmentObjectIDs |
typedef vector< osg::Vec3 > APConstrainedMovement::Vecs3 |
float APConstrainedMovement::area | ( | osg::Vec3 & | point1, |
osg::Vec3 & | point2, | ||
osg::Vec3 & | point3 | ||
) |
double APConstrainedMovement::calcAngleSum | ( | osg::Vec3 | q, |
Vecs3 & | p | ||
) |
Calculates the sum of angles from a given point to given polygon points
osg::Vec3 APConstrainedMovement::centroid | ( | Vecs3 | polygon | ) |
bool APConstrainedMovement::convexPolygon | ( | Vecs3 | polygon | ) |
int APConstrainedMovement::orientation | ( | float | x1, |
float | y1, | ||
float | x2, | ||
float | y2, | ||
float | px, | ||
float | py | ||
) |
double APConstrainedMovement::vectorAngle | ( | osg::Vec3 | vector1, |
osg::Vec3 | vector2 | ||
) |
Returns the angle between two vectors
vector<int> APConstrainedMovement::watchedObjectIDs |
Functions and variables for efficiency testing and evaluation purposes