dart
Public Types | Public Member Functions | Protected Member Functions | Friends | List of all members
dart::dynamics::ShapeNode Class Reference
Inheritance diagram for dart::dynamics::ShapeNode:
Inheritance graph
[legend]
Collaboration diagram for dart::dynamics::ShapeNode:
Collaboration graph
[legend]

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.
 
ShapeNodeoperator= (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()
 
ShapeNodeasShapeNode () override
 
const ShapeNodeasShapeNode () 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::PropertiesgetNodeProperties () 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::StategetNodeState () 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.
 
NodecloneNode (BodyNode *parent) const override
 Create a clone of this ShapeNode. More...
 

Friends

class BodyNode
 

Member Function Documentation

◆ cloneNode()

Node * dart::dynamics::ShapeNode::cloneNode ( BodyNode parent) const
overrideprotected

Create a clone of this ShapeNode.

This may only be called by the Skeleton class.


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