Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
LinkComponent Class Referencethese let you build the link from a series of model and material settings instead of one static model/material for the whole link More...
Inheritance diagram for LinkComponent:
Detailed Descriptionthese let you build the link from a series of model and material settings instead of one static model/material for the whole link note recursive structure... in this case, each is relative to its recursive parent instead of preceeding item in the array (as is done for KinematicJoint's serialization) Definition at line 22 of file KinematicJoint.h.
Constructor & Destructor Documentation
constructor Definition at line 27 of file KinematicJoint.h.
explicit copy constructor needed to set bbLowListener and bbHighListener (which aren't copied) Definition at line 42 of file KinematicJoint.h.
Definition at line 78 of file KinematicJoint.h. Member Function Documentation
clone implementation for Dictionary implements the clone function for dictionary Reimplemented from plist::DictionaryOf< PO, Alloc >. Reimplemented in KinematicJoint. Definition at line 12 of file KinematicJoint.cc.
Definition at line 677 of file KinematicJoint.cc. Referenced by getBB2D(), and getOwnBB2D().
Definition at line 596 of file KinematicJoint.cc. Referenced by KinematicJoint::getOwnAABB(), and updateBB().
sets bbDirty to true to cause it to be recomputed on next getAABB() call Reimplemented in KinematicJoint. Definition at line 590 of file KinematicJoint.cc.
Returns the axis-aligned bounding box (relative to link frame) of this component and any subcomponents. Definition at line 108 of file KinematicJoint.h. Referenced by getBB2D(), getBB3D(), and getOwnAABB().
Computes a 2D rectangle for this link and its subcomponents (writing the result into ro). will be in the world coordinates, projecting the link collision model down the world's Z into its XY plane. The rectangle will be aligned to the link axis (i.e. this is getAABB() projected into the world.) Definition at line 655 of file KinematicJoint.cc. Referenced by RRTNode2DR< N >::CollisionChecker::LinkObstacle::setObstacle(), and RRTNode2DR< N >::CollisionChecker::JointObstacle::setObstacle().
Computes a 3D box for this link and its subcomponents (writing the result into bo). will be in the world coordinates. The rectangle will be aligned to the link axis (i.e. this is getAABB() projected into the world.) Definition at line 665 of file KinematicJoint.cc. Referenced by RRTNode3DR< N >::CollisionChecker::LinkObstacle::setupObstacle(), and RRTNode3DR< N >::CollisionChecker::JointObstacle::setupObstacle().
returns the model rotation and offset members as a fmat::Transform Definition at line 155 of file KinematicJoint.h. Referenced by getOwnBB2D(), and getOwnBB3D().
converts the collision model rotation and offset members into the supplied fmat::Transform Definition at line 533 of file KinematicJoint.cc. Referenced by ShapeSpaceCollisionCheckerBase< 3 >::createBodyObstacle().
return the center of mass of this component, ONLY, as a homogenous scaled vector The last element (homogeneous scale factor) is left as the total mass, so divide by this value to normalize. Otherwise, just access centerOfMass directly. Definition at line 131 of file KinematicJoint.h. Referenced by XWalkMC::sendLoadPredictions(), sumLinkCenterOfMass(), and KinematicJoint::sumLinkCenterOfMass().
returns the model rotation and offset members as a fmat::Transform Definition at line 147 of file KinematicJoint.h.
converts the model rotation and offset members into the supplied fmat::Transform Definition at line 528 of file KinematicJoint.cc.
returns the next mobile ancestor joint in the kinematic chain Definition at line 538 of file KinematicJoint.cc. Referenced by RRTNode3DR< N >::CollisionChecker::CollisionChecker(), RRTNode2DR< N >::CollisionChecker::CollisionChecker(), ShapeSpacePlanner2DR< N >::ShapeSpacePlanner2DR(), and ShapeSpacePlanner3DR< N >::ShapeSpacePlanner3DR().
Returns a 2D planner obstacle of this component's collision object, or NULL if no collision model is specified. This is a new allocation, caller is responsible for deallocation. Definition at line 548 of file KinematicJoint.cc. Referenced by getObstacles().
Inserts 2D projections of this link's collision components into obs, if recurse is set, recurses on branches. Reimplemented in KinematicJoint. Definition at line 571 of file KinematicJoint.cc.
Returns the axis-aligned bounding box (relative to link frame) of this component only (i.e. for KinematicJoint, ignores subcomponents). Reimplemented in KinematicJoint. Definition at line 105 of file KinematicJoint.h.
Computes the tightest-fitting 2D rectangle for this link (writing the result into ro). will be in the world coordinates, projecting the link collision model down the world's Z into its XY plane. Definition at line 633 of file KinematicJoint.cc. Referenced by ShapeSpaceCollisionCheckerBase< 2 >::addDisplayRobotObstacles(), ShapeSpaceCollisionCheckerBase< 2 >::addRobotObstacles(), ShapeSpacePlanner2DR< N >::getBoxes(), getObstacle(), RRTNode2DR< N >::CollisionChecker::LinkObstacle::setObstacle(), and RRTNode2DR< N >::CollisionChecker::JointObstacle::setObstacle().
Computes a 3D box for this link (writing the result into bo). will be in the world coordinates Definition at line 643 of file KinematicJoint.cc. Referenced by ShapeSpaceCollisionCheckerBase< 3 >::createBodyObstacle(), ShapeSpacePlanner3DR< N >::getBoxes(), ShapeSpacePlanner3DR< N >::plotPath(), RRTNode3DR< N >::CollisionChecker::LinkObstacle::setupObstacle(), and RRTNode3DR< N >::CollisionChecker::JointObstacle::setupObstacle().
returns parent joint, or NULL if this is the first joint, see addBranch()/removeBranch() Definition at line 160 of file KinematicJoint.h. Referenced by Grasper::checkGoalCandidate(), IKCalliope::closestSolution(), IKThreeLink::computeFirstLinkPrismatic(), IKThreeLink::computeFirstLinkRevolute(), IKThreeLink::computeSecondLinkPrismatic(), IKThreeLink::computeSecondLinkRevolute(), IKThreeLink::computeThirdLinkPrismatic(), IKThreeLink::computeThirdLinkRevolute(), ArmController::doStart(), Grasper::getCurrentState(), getNextMobileAncestor(), IKCalliope::gradientSolve(), IKCalliope::IKCalliope(), HeadPointerMC::lookAtPoint(), HeadPointerMC::lookInDirection(), ArmMC::moveOffsetToPoint(), ArmMC::moveOffsetToPointWithOrientation(), ArmController::pointPicked(), XWalkMC::sendLoadPredictions(), ArmController::sendReachablePoints(), IKThreeLink::setLinks(), IKGradientSolver::solve(), IKCalliope::solve(), XWalkMC::solveIK(), GaitedFootstepMC::solveIK(), PostureEngine::solveLink(), PostureEngine::solveLinkOrientation(), PostureEngine::solveLinkPosition(), IKGradientSolver::step(), and XWalkMC::stop().
returns true if mass is greater than zero, of if this is a KinematicJoint, if any of the components have mass greater than zero Reimplemented in KinematicJoint. Definition at line 141 of file KinematicJoint.h.
Definition at line 178 of file KinematicJoint.h. Referenced by LinkComponent().
assignment, except for parent Definition at line 57 of file KinematicJoint.h.
returns the unnormalized center of mass of this link only, not including any branches; if this is actually a KinematicJoint, will include subcomponents The last element (homogeneous scale factor) is left as the total mass, so divide by this value to normalize. Reimplemented in KinematicJoint. Definition at line 138 of file KinematicJoint.h. Referenced by sumLinkCenterOfMass().
returns the center of mass of this link only, not including any branches; if this is actually a KinematicJoint, will include subcomponents Definition at line 298 of file KinematicJoint.cc.
recomputes boundingBoxLow and boundingBoxHigh based on collision model parameters Reimplemented in KinematicJoint. Definition at line 619 of file KinematicJoint.cc. Referenced by getAABB(). Friends And Related Function Documentation
Definition at line 23 of file KinematicJoint.h. Member Data Documentation
indicates bounding boxes need to be recomputed Definition at line 170 of file KinematicJoint.h. Referenced by KinematicJoint::dirtyBB(), dirtyBB(), getAABB(), operator=(), and updateBB().
bounding box of this link (including subcomponents, but not child links) Definition at line 171 of file KinematicJoint.h. Referenced by getAABB(), operator=(), KinematicJoint::updateBB(), and updateBB(). the center of mass of this component Definition at line 81 of file KinematicJoint.h. Referenced by getMassVector(), init(), and operator=().
name of an OGRE mesh file, or one of a set of primitives (Cube, Cylinder, Sphere) Definition at line 92 of file KinematicJoint.h. Referenced by ShapeSpaceCollisionCheckerBase< 2 >::addDisplayRobotObstacles(), ShapeSpaceCollisionCheckerBase< 2 >::addRobotObstacles(), computeOwnAABB(), ShapeSpaceCollisionCheckerBase< 3 >::createBodyObstacle(), PhysicsBody::getModel(), PhysicsBody::ComponentListener::getModel(), getObstacle(), getOwnBB2D(), getOwnBB3D(), init(), and operator=(). if going from empty string to non-empty string, indicates bounding box values need to be rebuilt Definition at line 195 of file KinematicJoint.h. a translation to apply to collisionModel Definition at line 95 of file KinematicJoint.h. Referenced by computeOwnAABB(), getCollisionModelTransform(), init(), and operator=().
indicates bounding box values need to be rebuilt Definition at line 198 of file KinematicJoint.h. rotation to apply to collisionModel (specifies axis component of quaternion, e.g. from axis/angle: axis * sin(angle/2) ) Definition at line 94 of file KinematicJoint.h. Referenced by computeOwnAABB(), getCollisionModelTransform(), getObstacle(), init(), and operator=().
indicates bounding box values need to be rebuilt Definition at line 197 of file KinematicJoint.h. scaling factor to apply to collisionModel Definition at line 93 of file KinematicJoint.h. Referenced by computeOwnAABB(), ShapeSpaceCollisionCheckerBase< 3 >::createBodyObstacle(), getOwnBB2D(), getOwnBB3D(), init(), and operator=().
indicates bounding box values need to be rebuilt Definition at line 196 of file KinematicJoint.h. the mass of the component in kilograms Definition at line 80 of file KinematicJoint.h. Referenced by getMassVector(), hasMass(), KinematicJoint::hasMass(), init(), and operator=().
mesh files specify "default" textures, but this can override with a different material Definition at line 85 of file KinematicJoint.h. Referenced by init(), and operator=().
name of an OGRE mesh file; if set to "CollisionModel" will display collisionModel (and apply values from collisionModelScale, collisionModelRotation, and collisionModelOffset) Definition at line 87 of file KinematicJoint.h. Referenced by ShapeSpaceCollisionCheckerBase< 2 >::addDisplayRobotObstacles(), ShapeSpaceCollisionCheckerBase< 2 >::addRobotObstacles(), ShapeSpaceCollisionCheckerBase< 3 >::createBodyObstacle(), PhysicsBody::getModel(), PhysicsBody::ComponentListener::getModel(), and operator=(). a translation to apply to model Definition at line 90 of file KinematicJoint.h. Referenced by getModelTransform(), init(), and operator=(). rotation to apply to model (specifies axis component of quaternion, e.g. from axis/angle: axis * sin(angle/2) ) Definition at line 89 of file KinematicJoint.h. Referenced by getModelTransform(), init(), and operator=(). scaling factor to apply to model Definition at line 88 of file KinematicJoint.h. Referenced by init(), and operator=().
if non-NULL, the parent joint to which this one is attached Definition at line 165 of file KinematicJoint.h. Referenced by KinematicJoint::addBranch(), KinematicJoint::cloneBranch(), dirtyBB(), KinematicJoint::getFullJacobian(), KinematicJoint::getFullT(), KinematicJoint::getMobileJacobian(), getNextMobileAncestor(), getParent(), KinematicJoint::getPath(), KinematicJoint::getQuaternion(), KinematicJoint::getRoot(), KinematicJoint::getT(), KinematicJoint::pullAncestorsQFromArray(), KinematicJoint::pushAncestorsQIntoArray(), KinematicJoint::removeBranch(), KinematicJoint::setParent(), KinematicJoint::unsetParent(), and KinematicJoint::updateDepth(). if false, will only be shown in the Mirage host's flying camera Definition at line 83 of file KinematicJoint.h. Referenced by init(), and operator=(). The documentation for this class was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:12 2016 by Doxygen 1.6.3 |