cherish
Utilities Member List

This is the complete list of members for Utilities, including all inherited members.

areStrokesProjectable(const std::vector< entity::Stroke *> &strokes, entity::Canvas *source, entity::Canvas *target, osg::Camera *camera)Utilitiesstatic
distanceTwoPoints(const osg::Vec3f &P1, const osg::Vec3f &P2)Utilitiesstatic
getAnchorLineSegment(const osg::Vec3f &P0, const osg::Vec3f &P1)Utilitiesstatic
getAngleTwoVectors(const osg::Vec2f &p1, const osg::Vec2f &p2, const osg::Vec2f &p3, const osg::Vec2f &p4)Utilitiesstatic
getCameraPosition(entity::SVMData *svm, osg::Vec3f &eye, osg::Vec3f &center, osg::Vec3f &up)Utilitiesstatic
getCanvasesIntersection(entity::Canvas *current, entity::Canvas *previous, osg::Vec3f &p1, osg::Vec3f &p2, osg::Vec3f &p3, osg::Vec3f &p4)Utilitiesstatic
getCursorFromMode(cher::MOUSE_MODE mode)Utilitiesstatic
getFarNear(double x, double y, const osg::Matrix &invVPW, osg::Vec3f &near, osg::Vec3f &far)Utilitiesstatic
getGlobalFromLocal(const osg::Vec3f &p, const osg::Matrix &M, osg::Vec3f &P)Utilitiesstatic
getLinesIntersection(const osg::Vec3f &La1, const osg::Vec3f &La2, const osg::Vec3f &Lb1, const osg::Vec3f &Lb2, osg::Vec3f &intersection)Utilitiesstatic
getLocalFromGlobal(const osg::Vec3f &P, const osg::Matrix &invM, osg::Vec3f &p)Utilitiesstatic
getModel(entity::Canvas *canvas, osg::Matrix &M, osg::Matrix &invM)Utilitiesstatic
getOsgColor(const QColor &color)Utilitiesstatic
getPlanesIntersection(entity::Canvas *canvas1, entity::Canvas *canvas2, osg::Vec3f &iP, osg::Vec3f &u)Utilitiesstatic
getQColor(const osg::Vec4f &color)Utilitiesstatic
getRayPlaneIntersection(const osg::Plane &plane, const osg::Vec3f &center, const osg::Vec3f &nearPoint, const osg::Vec3f &farPoint, osg::Vec3f &P, bool isLine=false)Utilitiesstatic
getSkewLinesDistance(const osg::Vec3d &r1, const osg::Vec3d &r2, const osg::Vec3d &v1, const osg::Vec3d &v2)Utilitiesstatic
getSkewLinesProjection(const osg::Vec3f &center, const osg::Vec3f &farPoint, const osg::Vec3f &nearPoint, const osg::Vec3f &normal, osg::Vec3f &X1)Utilitiesstatic
getViewProjectionWorld(osgGA::GUIActionAdapter &aa, osg::Matrix &VPW, osg::Matrix &invVPW)Utilitiesstatic
projectPointOnLine(const osg::Vec3f &iP, const osg::Vec3f &u, const osg::Vec3f &P)Utilitiesstatic
rotate2DPointAround(const osg::Vec3f &center, float theta, const osg::Vec3f &original)Utilitiesstatic