dart
|
Public Types | |
using | ShapeUpdatedSignal = common::Signal< void(const ShapeNode *thisShapeNode, const ShapePtr &oldShape, const ShapePtr &newShape)> |
using | RelativeTransformUpdatedSignal = common::Signal< void(const ShapeNode *thisShapeNode, const Eigen::Isometry3d &oldTransform, const Eigen::Isometry3d &newTransform)> |
using | BasicProperties = common::Composite::MakeProperties< NameAspect, FixedFrame, ShapeFrame > |
using | Properties = common::Composite::Properties |
Public Types inherited from dart::dynamics::CompositePropertiesNode< CompositeStateNode< Base > > | |
using | Properties = Node::MakeProperties< common::Composite::Properties > |
Public Types inherited from dart::dynamics::CompositeStateNode< Base > | |
using | State = Node::MakeState< common::Composite::State > |
Public Member Functions | |
virtual | ~ShapeNode ()=default |
Destructor. | |
void | setProperties (const Properties &properties) |
Set the Properties of this ShapeNode. | |
const Properties | getShapeNodeProperties () const |
Get the Properties of this ShapeNode. | |
void | copy (const ShapeNode &other) |
Copy the properties of another ShapeNode. | |
void | copy (const ShapeNode *other) |
Copy the properties of another ShapeNode. | |
ShapeNode & | operator= (const ShapeNode &other) |
Same as copy(const ShapeNode&) | |
void | setRelativeTransform (const Eigen::Isometry3d &transform) override |
Set transformation of this shape node relative to the parent frame. | |
void | setRelativeRotation (const Eigen::Matrix3d &rotation) |
Set rotation of this shape node relative to the parent frame. | |
Eigen::Matrix3d | getRelativeRotation () const |
Get rotation of this shape node relative to the parent frame. | |
void | setRelativeTranslation (const Eigen::Vector3d &translation) |
Set translation of this shape node relative to the parent frame. | |
void | setOffset (const Eigen::Vector3d &offset) |
Same as setRelativeTranslation(offset) | |
Eigen::Vector3d | getRelativeTranslation () const |
Get translation of this shape node relative to the parent frame. | |
Eigen::Vector3d | getOffset () const |
Same as getRelativeTranslation() | |
ShapeNode * | asShapeNode () override |
const ShapeNode * | asShapeNode () const override |
Public Member Functions inherited from dart::dynamics::CompositeNode< Base > | |
template<typename... Args> | |
CompositeNode (Args &&... args) | |
Forwarding constructor. | |
Public Member Functions inherited from dart::dynamics::CompositePropertiesNode< CompositeStateNode< Base > > | |
CompositePropertiesNode (Args &&... args) | |
Forwarding constructor. | |
void | setNodeProperties (const Node::Properties &otherProperties) override final |
std::unique_ptr< Node::Properties > | getNodeProperties () const override final |
void | copyNodePropertiesTo (std::unique_ptr< Node::Properties > &outputProperties) const override final |
Public Member Functions inherited from dart::dynamics::CompositeStateNode< Base > | |
template<typename... Args> | |
CompositeStateNode (Args &&... args) | |
Forwarding constructor. | |
void | setNodeState (const Node::State &otherState) override final |
std::unique_ptr< Node::State > | getNodeState () const override final |
void | copyNodeStateTo (std::unique_ptr< Node::State > &outputState) const override final |
Protected Member Functions | |
ShapeNode (BodyNode *bodyNode, const BasicProperties &properties) | |
Constructor used by the Skeleton class. | |
ShapeNode (BodyNode *bodyNode, const ShapePtr &shape, const std::string &name="ShapeNode") | |
Constructor used by the Skeleton class. | |
Node * | cloneNode (BodyNode *parent) const override |
Create a clone of this ShapeNode. More... | |
Friends | |
class | BodyNode |