The OFKT node is contains multiple trasformation which are described below. More...
#include <ofkt_node.h>

Public Types | |
| using | ConstPtr = std::shared_ptr< const OFKTNode > |
| using | Ptr = std::shared_ptr< OFKTNode > |
| using | UPtr = std::unique_ptr< OFKTNode > |
Public Member Functions | |
| virtual void | addChild (OFKTNode *node)=0 |
| Add a child node. More... | |
| virtual void | computeAndStoreLocalTransformation ()=0 |
| Compute and save the local transformation 'L = S * J(Joint Value)'. More... | |
| virtual void | computeAndStoreWorldTransformation ()=0 |
| Compute and store the nodes world transformation. More... | |
| virtual Eigen::Isometry3d | computeLocalTransformation (double joint_value) const =0 |
| Compute the local tranformation but do not save. More... | |
| virtual const std::vector< const OFKTNode * > & | getChildren () const =0 |
| Get a vector of child nodes associated with this node (Const) More... | |
| virtual std::vector< OFKTNode * > & | getChildren ()=0 |
| Get a vector of child nodes associated with this node. More... | |
| virtual const std::string & | getJointName () const =0 |
| Get the joint name associated with the node. More... | |
| virtual double | getJointValue () const =0 |
| Get the current joint value. More... | |
| virtual const std::string & | getLinkName () const =0 |
| Get the link name associated with the node. More... | |
| virtual const Eigen::Isometry3d & | getLocalTransformation () const =0 |
| Get the local transformation: 'L = S * J'. More... | |
| virtual Eigen::Matrix< double, 6, 1 > | getLocalTwist () const =0 |
| Return the twist of the node in its local frame. More... | |
| virtual const OFKTNode * | getParent () const =0 |
| Get the parent node (const) More... | |
| virtual OFKTNode * | getParent ()=0 |
| Get the parent node. More... | |
| virtual const Eigen::Isometry3d & | getStaticTransformation () const =0 |
| Get the nodes static transformation. More... | |
| virtual JointType | getType () const =0 |
| Get the type of joint associated with the node. More... | |
| virtual const Eigen::Isometry3d & | getWorldTransformation () const =0 |
| Get the nodes world transformation. More... | |
| virtual bool | hasJointValueChanged () const =0 |
| Indicates that the joint value has changed and that local and world transformation need to be recomputed. More... | |
| OFKTNode ()=default | |
| OFKTNode (const OFKTNode &)=delete | |
| OFKTNode (OFKTNode &&)=delete | |
| OFKTNode & | operator= (const OFKTNode &)=delete |
| OFKTNode & | operator= (OFKTNode &&)=delete |
| virtual void | removeChild (const OFKTNode *node)=0 |
| Remove a child node assiciated with this node. More... | |
| virtual void | setParent (OFKTNode *parent)=0 |
| Set the parent node. More... | |
| virtual void | setStaticTransformation (const Eigen::Isometry3d &static_tf)=0 |
| Set the static transformation. More... | |
| virtual void | storeJointValue (double joint_value)=0 |
| Set the nodes joint value if it has one. More... | |
| virtual bool | updateWorldTransformationRequired () const =0 |
| Indicates if an update of the world transformation is required. More... | |
| virtual | ~OFKTNode ()=default |
The OFKT node is contains multiple trasformation which are described below.
Definition at line 55 of file ofkt_node.h.
| using tesseract_scene_graph::OFKTNode::ConstPtr = std::shared_ptr<const OFKTNode> |
Definition at line 64 of file ofkt_node.h.
| using tesseract_scene_graph::OFKTNode::Ptr = std::shared_ptr<OFKTNode> |
Definition at line 63 of file ofkt_node.h.
| using tesseract_scene_graph::OFKTNode::UPtr = std::unique_ptr<OFKTNode> |
Definition at line 62 of file ofkt_node.h.
|
default |
|
virtualdefault |
|
delete |
|
delete |
|
pure virtual |
Add a child node.
| node | The node which is a child of this node |
Implemented in tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Compute and save the local transformation 'L = S * J(Joint Value)'.
This should reset the flag such that hasJointValueChanged() returns false
Implemented in tesseract_scene_graph::OFKTPrismaticNode, tesseract_scene_graph::OFKTContinuousNode, tesseract_scene_graph::OFKTRevoluteNode, tesseract_scene_graph::OFKTFloatingNode, tesseract_scene_graph::OFKTFixedNode, and tesseract_scene_graph::OFKTRootNode.
|
pure virtual |
Compute and store the nodes world transformation.
This should reset the flag such that updateWorldTransformationRequired() returns false
Implemented in tesseract_scene_graph::OFKTRootNode, and tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Compute the local tranformation but do not save.
This provides a const method for computing the local transform.
| joint_value | The joint value for calculating the local transformation |
Implemented in tesseract_scene_graph::OFKTPrismaticNode, tesseract_scene_graph::OFKTContinuousNode, tesseract_scene_graph::OFKTRevoluteNode, tesseract_scene_graph::OFKTFloatingNode, tesseract_scene_graph::OFKTFixedNode, tesseract_scene_graph::OFKTRootNode, and tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Get a vector of child nodes associated with this node (Const)
Implemented in tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Get a vector of child nodes associated with this node.
Implemented in tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Get the joint name associated with the node.
Implemented in tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Get the current joint value.
Implemented in tesseract_scene_graph::OFKTFloatingNode, tesseract_scene_graph::OFKTFixedNode, and tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Get the link name associated with the node.
Implemented in tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Get the local transformation: 'L = S * J'.
Implemented in tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Return the twist of the node in its local frame.
Implemented in tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Get the parent node (const)
Implemented in tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
|
pure virtual |
Get the nodes static transformation.
Implemented in tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Get the type of joint associated with the node.
Implemented in tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Get the nodes world transformation.
Implemented in tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Indicates that the joint value has changed and that local and world transformation need to be recomputed.
Implemented in tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Remove a child node assiciated with this node.
| node | The child node to be removed |
Implemented in tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Set the parent node.
This should indicate that updateWorldTransformationRequired() = true
| parent | The parent node |
Implemented in tesseract_scene_graph::OFKTRootNode, and tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Set the static transformation.
This should recompute the local transformation and updateWorldTransformationRequired() = true.
| static_tf | The new static transformation |
Implemented in tesseract_scene_graph::OFKTFloatingNode, tesseract_scene_graph::OFKTFixedNode, tesseract_scene_graph::OFKTRootNode, and tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Set the nodes joint value if it has one.
This should indicate hasJointValueChanged() = true
| joint_value | The joint value |
Implemented in tesseract_scene_graph::OFKTRevoluteNode, tesseract_scene_graph::OFKTFloatingNode, tesseract_scene_graph::OFKTFixedNode, tesseract_scene_graph::OFKTRootNode, and tesseract_scene_graph::OFKTBaseNode.
|
pure virtual |
Indicates if an update of the world transformation is required.
This should get set to true when either of the following happen.
Note: setJointValue() is not handle here because that is captured by hasJointValueChanged()
Implemented in tesseract_scene_graph::OFKTRootNode, and tesseract_scene_graph::OFKTBaseNode.