Go to the documentation of this file.
9 #ifndef __hog2_glut__MotionCaptureMovement__
10 #define __hog2_glut__MotionCaptureMovement__
25 return ((abs(l1.
x-l2.
x)<0.01) &&
26 (abs(l1.
y-l2.
y)<0.01) &&
33 out <<
"{ (" <<
loc.
x <<
", " <<
loc.
y <<
") - " <<
loc.heading <<
"}";
82 bool GetOpenGLCoord(
float x_,
float y_, GLdouble &x, GLdouble &y, GLdouble &z, GLdouble &radius)
const;
virtual void ApplyAction(mcMovementState &s, mcMovementAction a) const
virtual double HCost(const mcMovementState &node) const
Heuristic value between node and the stored goal.
virtual uint64_t GetStateHash(const mcMovementState &node) const
virtual void OpenGLDraw() const
virtual void GetNextState(const mcMovementState &, mcMovementAction, mcMovementState &) const
virtual mcMovementAction GetAction(const mcMovementState &s1, const mcMovementState &s2) const
virtual void GetActions(const mcMovementState &nodeID, std::vector< mcMovementAction > &actions) const
virtual uint64_t GetActionHash(mcMovementAction act) const
virtual void GetSuccessors(const mcMovementState &nodeID, std::vector< mcMovementState > &neighbors) const
void GLDrawLine(const mcMovementState &a, const mcMovementState &b) const
mcMovementState searchGoal
virtual bool GoalTest(const mcMovementState &node) const
Goal Test if the goal is stored.
virtual bool InvertAction(mcMovementAction &a) const
virtual bool GoalTest(const mcMovementState &node, const mcMovementState &goal) const
static std::ostream & operator<<(std::ostream &out, const mcMovementState &loc)
virtual double HCost(const mcMovementState &node1, const mcMovementState &node2) const
Heuristic value between two arbitrary nodes.
bool GetOpenGLCoord(float x_, float y_, GLdouble &x, GLdouble &y, GLdouble &z, GLdouble &radius) const
static bool operator==(const mcMovementState &l1, const mcMovementState &l2)
virtual double GCost(const mcMovementState &node1, const mcMovementState &node2) const
double distance(const mcMovementState &n1, const mcMovementState &n2) const
Nodes to be stored within a Graph.