Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

Iunctus Class Reference

#include <Iunctus.h>

Inheritance diagram for Iunctus:

ArticulatedAgentQuasistatic ArticulatedAgentBase ArticulatedComponent ComposedPhysicalObject PhysicalObject GraphicalObject List of all members.

Public Member Functions

Public Attributes


Constructor & Destructor Documentation

Iunctus::Iunctus real  x = 2.0,
real  y = 0.8,
std::string  label = "Iunctus"
 

Definition at line 15 of file Iunctus.cpp.

References build(), controller, and eye.

Iunctus::~Iunctus  )  [virtual]
 

Definition at line 22 of file Iunctus.cpp.


Member Function Documentation

void Iunctus::build real  x = 2.0,
real  y = 0.8
 

Definition at line 27 of file Iunctus.cpp.

References ArticulatedAgentBase::addLimb(), ComposedPhysicalObject::addObject(), ArticulatedLimb::addOneObjectLink(), ArticulatedComponent::computeIStar0(), ComposedPhysicalObject::computeMemberPositions(), degrees, eye, ArticulatedAgentQuasistatic::forwardKinematics(), ArticulatedLink::k, M_PI, myBody, real, ArticulatedAgentBase::setFillColor(), ArticulatedAgentBase::setOutlineColor(), Vector2::setXY(), ArticulatedLink::theta0, ArticulatedLink::theta0Max, and ArticulatedLink::theta0Min.

Referenced by Iunctus().

void Iunctus::controll  )  [virtual]
 

Transmits perceptual information to the controller and gets motor information from it. To be overridden by agents or other objects with self-generated movement.

Reimplemented from PhysicalObject.

Definition at line 143 of file Iunctus.cpp.

References RandomController::advanceTime(), controller, Controller::getOutput(), ArticulatedLimb::links, myBody, Circle::R, real, ArticulatedLink::theta0, ArticulatedLink::theta0Max, ArticulatedLink::theta0Min, Vector3::x, Vector3::y, and Vector3::z.

virtual void Iunctus::deleteContacts  )  [inline, virtual]
 

Delete the contacts of the object.

Reimplemented from ArticulatedAgentBase.

Definition at line 26 of file Iunctus.h.

References PhysicalObject::deleteContacts(), ArticulatedAgentBase::deleteContacts(), and eye.

void Iunctus::draw GUI gui  )  [virtual]
 

Calls the draw methods for the body and the limbs.

Reimplemented from ArticulatedAgentBase.

Definition at line 191 of file Iunctus.cpp.

References PhysicalObject::alpha, ArticulatedAgentBase::draw(), GUI::drawLine(), M_PI, myBody, Circle::R, PhysicalObject::r, real, Vector2::x, and Vector2::y.

void Iunctus::proprioception  ) 
 

Definition at line 123 of file Iunctus.cpp.

References controller, ArticulatedLimb::links, Controller::setInput(), ArticulatedLink::theta, ArticulatedLink::theta0Max, and ArticulatedLink::theta0Min.


Member Data Documentation

RandomController* Iunctus::controller
 

Definition at line 35 of file Iunctus.h.

Referenced by controll(), Iunctus(), and proprioception().

VisualSensor* Iunctus::eye
 

Definition at line 20 of file Iunctus.h.

Referenced by build(), deleteContacts(), IunctusSimulator::detectContacts(), and Iunctus().

Circle* Iunctus::myBody
 

Definition at line 19 of file Iunctus.h.

Referenced by build(), controll(), and draw().


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

Thyrix homepageUsers' guide

(C) Arxia 2004-2005