DART
6.7.3
|
#include <ShapeFrame.hpp>
Public Types | |
using | ShapeUpdatedSignal = common::Signal< void(const ShapeFrame *thisShapeFrame, const ShapePtr &oldShape, const ShapePtr &newShape)> |
using | RelativeTransformUpdatedSignal = common::Signal< void(const ShapeFrame *thisShapeFrame, const Eigen::Isometry3d &oldTransform, const Eigen::Isometry3d &newTransform)> |
using | UniqueProperties = AspectProperties |
using | Properties = UniqueProperties |
using | Impl = EmbedProperties< DerivedT, PropertiesDataT > |
using | Derived = typename Impl::Derived |
using | AspectPropertiesData = typename Impl::AspectPropertiesData |
using | AspectProperties = typename Impl::AspectProperties |
using | Aspect = typename Impl::Aspect |
using | Base = CompositeJoiner< Impl, CompositeBases... > |
using | EntitySignal = common::Signal< void(const Entity *)> |
using | FrameChangedSignal = common::Signal< void(const Entity *, const Frame *_oldFrame, const Frame *_newFrame)> |
using | NameChangedSignal = common::Signal< void(const Entity *, const std::string &_oldName, const std::string &_newName)> |
Public Member Functions | |
virtual | ~ShapeFrame () override |
Destructor. More... | |
void | setProperties (const UniqueProperties &properties) |
Set the UniqueProperties of this ShapeFrame. More... | |
void | setAspectProperties (const AspectProperties &properties) |
Set the AspectProperties of this ShapeFrame. More... | |
const AspectProperties & | getAspectProperties () const |
void | setShape (const ShapePtr &shape) |
Set shape. More... | |
ShapePtr | getShape () |
Return shape. More... | |
ConstShapePtr | getShape () const |
Return (const) shape. More... | |
bool | hasVisualAspect () const |
Check if this Composite currently has VisualAspect . More... | |
VisualAspect * | getVisualAspect () |
Get a(an) VisualAspect from this Composite. More... | |
const VisualAspect * | getVisualAspect () const |
Get a(an) VisualAspect from this Composite. More... | |
VisualAspect * | getVisualAspect (const bool createIfNull) |
Get a(an) VisualAspect from this Composite. More... | |
void | setVisualAspect (const VisualAspect *aspect) |
Make a clone of VisualAspect and place the clone into this Composite. More... | |
void | setVisualAspect (std::unique_ptr< VisualAspect > &&aspect) |
Use move semantics to place VisualAspect into this Composite. More... | |
template<typename ... Args> | |
VisualAspect * | createVisualAspect (Args &&... args) |
Construct a(an) VisualAspect inside of this Composite. More... | |
void | removeVisualAspect () |
Remove a(an) VisualAspect from this Composite. More... | |
std::unique_ptr< VisualAspect > | releaseVisualAspect () |
Remove a(an) VisualAspect from this Composite, but return its unique_ptr instead of letting it be deleted. More... | |
bool | hasCollisionAspect () const |
Check if this Composite currently has CollisionAspect . More... | |
CollisionAspect * | getCollisionAspect () |
Get a(an) CollisionAspect from this Composite. More... | |
const CollisionAspect * | getCollisionAspect () const |
Get a(an) CollisionAspect from this Composite. More... | |
CollisionAspect * | getCollisionAspect (const bool createIfNull) |
Get a(an) CollisionAspect from this Composite. More... | |
void | setCollisionAspect (const CollisionAspect *aspect) |
Make a clone of CollisionAspect and place the clone into this Composite. More... | |
void | setCollisionAspect (std::unique_ptr< CollisionAspect > &&aspect) |
Use move semantics to place CollisionAspect into this Composite. More... | |
template<typename ... Args> | |
CollisionAspect * | createCollisionAspect (Args &&... args) |
Construct a(an) CollisionAspect inside of this Composite. More... | |
void | removeCollisionAspect () |
Remove a(an) CollisionAspect from this Composite. More... | |
std::unique_ptr< CollisionAspect > | releaseCollisionAspect () |
Remove a(an) CollisionAspect from this Composite, but return its unique_ptr instead of letting it be deleted. More... | |
bool | hasDynamicsAspect () const |
Check if this Composite currently has DynamicsAspect . More... | |
DynamicsAspect * | getDynamicsAspect () |
Get a(an) DynamicsAspect from this Composite. More... | |
const DynamicsAspect * | getDynamicsAspect () const |
Get a(an) DynamicsAspect from this Composite. More... | |
DynamicsAspect * | getDynamicsAspect (const bool createIfNull) |
Get a(an) DynamicsAspect from this Composite. More... | |
void | setDynamicsAspect (const DynamicsAspect *aspect) |
Make a clone of DynamicsAspect and place the clone into this Composite. More... | |
void | setDynamicsAspect (std::unique_ptr< DynamicsAspect > &&aspect) |
Use move semantics to place DynamicsAspect into this Composite. More... | |
template<typename ... Args> | |
DynamicsAspect * | createDynamicsAspect (Args &&... args) |
Construct a(an) DynamicsAspect inside of this Composite. More... | |
void | removeDynamicsAspect () |
Remove a(an) DynamicsAspect from this Composite. More... | |
std::unique_ptr< DynamicsAspect > | releaseDynamicsAspect () |
Remove a(an) DynamicsAspect from this Composite, but return its unique_ptr instead of letting it be deleted. More... | |
ShapeFrame * | asShapeFrame () override |
Convert 'this' into a ShapeFrame pointer if Frame is a ShapeFrame, otherwise return nullptr. More... | |
const ShapeFrame * | asShapeFrame () const override |
Convert 'const this' into a ShapeFrame pointer if Frame is a ShapeFrame, otherwise return nullptr. More... | |
bool | isShapeNode () const |
Returns true if this Frame is a ShapeNode. More... | |
virtual ShapeNode * | asShapeNode () |
Convert 'this' into a ShapeNode pointer if ShapeFrame is a ShapeNode, otherwise return nullptr. More... | |
virtual const ShapeNode * | asShapeNode () const |
Convert 'const this' into a ShapeNode pointer if ShapeFrame is a ShapeNode, otherwise return nullptr. More... | |
virtual std::size_t | incrementVersion () |
Increment the version for this object. More... | |
virtual std::size_t | getVersion () const |
Get the version number of this object. More... | |
const AspectProperties & | getAspectProperties () const |
virtual const Eigen::Isometry3d & | getRelativeTransform () const =0 |
Get the transform of this Frame with respect to its parent Frame. More... | |
const Eigen::Isometry3d & | getWorldTransform () const |
Get the transform of this Frame with respect to the World Frame. More... | |
Eigen::Isometry3d | getTransform (const Frame *_withRespectTo=Frame::World()) const |
Get the transform of this Frame with respect to some other Frame. More... | |
Eigen::Isometry3d | getTransform (const Frame *withRespectTo, const Frame *inCoordinatesOf) const |
Get the transform of this Frame with respect to some other Frame. More... | |
virtual const Eigen::Vector6d & | getRelativeSpatialVelocity () const =0 |
Get the spatial velocity of this Frame relative to its parent Frame, in its own coordinates. More... | |
const Eigen::Vector6d & | getSpatialVelocity () const |
Get the total spatial velocity of this Frame in the coordinates of this Frame. More... | |
Eigen::Vector6d | getSpatialVelocity (const Frame *_relativeTo, const Frame *_inCoordinatesOf) const |
Get the spatial velocity of this Frame relative to some other Frame. More... | |
Eigen::Vector6d | getSpatialVelocity (const Eigen::Vector3d &_offset) const |
Get the spatial velocity of a fixed point in this Frame. More... | |
Eigen::Vector6d | getSpatialVelocity (const Eigen::Vector3d &_offset, const Frame *_relativeTo, const Frame *_inCoordinatesOf) const |
Get the spatial velocity of a fixed point in this Frame. More... | |
Eigen::Vector3d | getLinearVelocity (const Frame *_relativeTo=Frame::World(), const Frame *_inCoordinatesOf=Frame::World()) const |
Get the linear portion of classical velocity of this Frame relative to some other Frame. More... | |
Eigen::Vector3d | getLinearVelocity (const Eigen::Vector3d &_offset, const Frame *_relativeTo=Frame::World(), const Frame *_inCoordinatesOf=Frame::World()) const |
Get the linear velocity of a point that is fixed in this Frame. More... | |
Eigen::Vector3d | getAngularVelocity (const Frame *_relativeTo=Frame::World(), const Frame *_inCoordinatesOf=Frame::World()) const |
Get the angular portion of classical velocity of this Frame relative to some other Frame. More... | |
virtual const Eigen::Vector6d & | getRelativeSpatialAcceleration () const =0 |
Get the spatial acceleration of this Frame relative to its parent Frame, in the coordinates of this Frame. More... | |
virtual const Eigen::Vector6d & | getPrimaryRelativeAcceleration () const =0 |
The Featherstone ABI algorithm exploits a component of the spatial acceleration which we refer to as the partial acceleration, accessible by getPartialAcceleration(). More... | |
virtual const Eigen::Vector6d & | getPartialAcceleration () const =0 |
The Featherstone ABI algorithm exploits a component of the spatial acceleration which we refer to as the partial acceleration. More... | |
const Eigen::Vector6d & | getSpatialAcceleration () const |
Get the total spatial acceleration of this Frame in the coordinates of this Frame. More... | |
Eigen::Vector6d | getSpatialAcceleration (const Frame *_relativeTo, const Frame *_inCoordinatesOf) const |
Get the spatial acceleration of this Frame relative to some other Frame. More... | |
Eigen::Vector6d | getSpatialAcceleration (const Eigen::Vector3d &_offset) const |
Get the spatial acceleration of a fixed point in this Frame. More... | |
Eigen::Vector6d | getSpatialAcceleration (const Eigen::Vector3d &_offset, const Frame *_relativeTo, const Frame *_inCoordinatesOf) const |
Get the spatial acceleration of a fixed point in this Frame. More... | |
Eigen::Vector3d | getLinearAcceleration (const Frame *_relativeTo=Frame::World(), const Frame *_inCoordinatesOf=Frame::World()) const |
Get the linear portion of classical acceleration of this Frame relative to some other Frame. More... | |
Eigen::Vector3d | getLinearAcceleration (const Eigen::Vector3d &_offset, const Frame *_relativeTo=Frame::World(), const Frame *_inCoordinatesOf=Frame::World()) const |
Eigen::Vector3d | getAngularAcceleration (const Frame *_relativeTo=Frame::World(), const Frame *_inCoordinatesOf=Frame::World()) const |
Get the angular portion of classical acceleration of this Frame relative to some other Frame. More... | |
const std::set< Entity * > & | getChildEntities () |
Get a container with the Entities that are children of this Frame. More... | |
const std::set< const Entity * > | getChildEntities () const |
Get a container with the Entities that are children of this Frame. More... | |
std::size_t | getNumChildEntities () const |
Get the number of Entities that are currently children of this Frame. More... | |
const std::set< Frame * > & | getChildFrames () |
Get a container with the Frames that are children of this Frame. More... | |
std::set< const Frame * > | getChildFrames () const |
Get a container with the Frames that are children of this Frame. More... | |
std::size_t | getNumChildFrames () const |
Get the number of Frames that are currently children of this Frame. More... | |
bool | isShapeFrame () const |
Returns true if this Frame is a ShapeFrame. More... | |
bool | isWorld () const |
Returns true if this Frame is the World Frame. More... | |
virtual void | dirtyTransform () override |
Notify the transformation updates of this Frame and all its children are needed. More... | |
virtual void | dirtyVelocity () override |
Notify the velocity updates of this Frame and all its children are needed. More... | |
virtual void | dirtyAcceleration () override |
Notify the acceleration updates of this Frame and all its children are needed. More... | |
virtual const std::string & | setName (const std::string &_name)=0 |
Set name. More... | |
virtual const std::string & | getName () const =0 |
Return the name of this Entity. More... | |
Frame * | getParentFrame () |
Get the parent (reference) frame of this Entity. More... | |
const Frame * | getParentFrame () const |
Get the parent (reference) frame of this Entity. More... | |
bool | descendsFrom (const Frame *_someFrame) const |
True if and only if this Entity depends on (i.e. More... | |
bool | isFrame () const |
True iff this Entity is also a Frame. More... | |
bool | isQuiet () const |
Returns true if this Entity is set to be quiet. More... | |
virtual void | notifyTransformUpdate () |
Notify the transformation update of this Entity that its parent Frame's pose is needed. More... | |
bool | needsTransformUpdate () const |
Returns true iff a transform update is needed for this Entity. More... | |
virtual void | notifyVelocityUpdate () |
Notify the velocity update of this Entity that its parent Frame's velocity is needed. More... | |
bool | needsVelocityUpdate () const |
Returns true iff a velocity update is needed for this Entity. More... | |
virtual void | notifyAccelerationUpdate () |
Notify the acceleration of this Entity that its parent Frame's acceleration is needed. More... | |
bool | needsAccelerationUpdate () const |
Returns true iff an acceleration update is needed for this Entity. More... | |
Static Public Member Functions | |
static Frame * | World () |
Public Attributes | |
common::SlotRegister< ShapeUpdatedSignal > | onShapeUpdated |
Slot register for shape updated signal. More... | |
common::SlotRegister< RelativeTransformUpdatedSignal > | onRelativeTransformUpdated |
Slot register for relative transformation updated signal. More... | |
Protected Types | |
enum | ConstructAbstractTag { ConstructAbstract } |
Used when constructing a pure abstract class, because calling the Frame constructor is just a formality. More... | |
enum | ConstructFrameTag { ConstructFrame } |
Used when constructing a Frame class, because the Frame constructor will take care of setting up the parameters you pass into it. More... | |
Protected Member Functions | |
ShapeFrame (Frame *parent, const Properties &properties) | |
Constructor. More... | |
ShapeFrame (Frame *parent, const ShapePtr &shape=nullptr) | |
Constructor. More... | |
ShapeFrame (const std::tuple< Frame *, Properties > &args) | |
Delegating constructor. More... | |
void | setVersionDependentObject (VersionCounter *dependent) |
virtual void | changeParentFrame (Frame *_newParentFrame) override |
Used by derived classes to change their parent frames. More... | |
virtual void | processNewEntity (Entity *_newChildEntity) |
Called during a parent Frame change to allow extensions of the Frame class to handle new children in customized ways. More... | |
virtual void | processRemovedEntity (Entity *_oldChildEntity) |
Called when a child Entity is removed from its parent Frame. More... | |
void | sendDestructionNotification () const |
Send a destruction notification to all Observers. More... | |
void | addObserver (Observer *_observer) const |
Add an Observer to the list of Observers. More... | |
void | removeObserver (Observer *_observer) const |
Remove an Observer from the list of Observers. More... | |
Protected Attributes | |
bool | mAmShapeNode |
Contains whether or not this is a ShapeNode. More... | |
ShapeUpdatedSignal | mShapeUpdatedSignal |
Shape updated signal. More... | |
RelativeTransformUpdatedSignal | mRelativeTransformUpdatedSignal |
Relative transformation updated signal. More... | |
common::Connection | mConnectionForShapeVersionChange |
Connect to changes in the Shape version. More... | |
std::size_t | mVersion |
AspectProperties | mAspectProperties |
Aspect::Properties data, directly accessible to your derived class. More... | |
Eigen::Isometry3d | mWorldTransform |
World transform of this Frame. More... | |
Eigen::Vector6d | mVelocity |
Total velocity of this Frame, in the coordinates of this Frame. More... | |
Eigen::Vector6d | mAcceleration |
Total acceleration of this Frame, in the coordinates of this Frame. More... | |
std::set< Frame * > | mChildFrames |
Container of this Frame's child Frames. More... | |
std::set< Entity * > | mChildEntities |
Container of this Frame's child Entities. More... | |
Frame * | mParentFrame |
Parent frame of this Entity. More... | |
bool | mNeedTransformUpdate |
Does this Entity need a Transform update. More... | |
bool | mNeedVelocityUpdate |
Does this Entity need a Velocity update. More... | |
bool | mNeedAccelerationUpdate |
Does this Entity need an Acceleration update. More... | |
FrameChangedSignal | mFrameChangedSignal |
Frame changed signal. More... | |
NameChangedSignal | mNameChangedSignal |
Name changed signal. More... | |
EntitySignal | mTransformUpdatedSignal |
Transform changed signal. More... | |
EntitySignal | mVelocityChangedSignal |
Velocity changed signal. More... | |
EntitySignal | mAccelerationChangedSignal |
Acceleration changed signal. More... | |
std::set< Observer * > | mObservers |
List of current Observers. More... | |
Private Types | |
enum | ConstructWorldTag { ConstructWorld } |
Used when constructing the World. More... | |
Private Attributes | |
VersionCounter * | mDependent |
const bool | mAmWorld |
Contains whether or not this is the World Frame. More... | |
bool | mAmShapeFrame |
Contains whether or not this is a ShapeFrame. More... | |
Friends | |
class | BodyNode |
Slot registers | |
common::SlotRegister< FrameChangedSignal > | onFrameChanged |
Slot register for frame changed signal. More... | |
common::SlotRegister< NameChangedSignal > | onNameChanged |
Slot register for name changed signal. More... | |
common::SlotRegister< EntitySignal > | onTransformUpdated |
Slot register for transform updated signal. More... | |
common::SlotRegister< EntitySignal > | onVelocityChanged |
Slot register for velocity updated signal. More... | |
common::SlotRegister< EntitySignal > | onAccelerationChanged |
Slot register for acceleration updated signal. More... | |
const bool | mAmQuiet |
Whether or not this Entity is set to be quiet. More... | |
bool | mAmFrame |
Whether or not this Entity is a Frame. More... | |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
using dart::dynamics::ShapeFrame::RelativeTransformUpdatedSignal = common::Signal<void(const ShapeFrame* thisShapeFrame, const Eigen::Isometry3d& oldTransform, const Eigen::Isometry3d& newTransform)> |
using dart::dynamics::ShapeFrame::ShapeUpdatedSignal = common::Signal<void(const ShapeFrame* thisShapeFrame, const ShapePtr& oldShape, const ShapePtr& newShape)> |
|
protectedinherited |
Used when constructing a pure abstract class, because calling the Frame constructor is just a formality.
Enumerator | |
---|---|
ConstructAbstract |
|
protectedinherited |
|
privateinherited |
|
overridevirtual |
Destructor.
|
protected |
Constructor.
|
protected |
Constructor.
|
protected |
Delegating constructor.
|
protectedinherited |
Add an Observer to the list of Observers.
|
overridevirtual |
Convert 'const this' into a ShapeFrame pointer if Frame is a ShapeFrame, otherwise return nullptr.
Reimplemented from dart::dynamics::Frame.
|
overridevirtual |
Convert 'this' into a ShapeFrame pointer if Frame is a ShapeFrame, otherwise return nullptr.
Reimplemented from dart::dynamics::Frame.
|
virtual |
Convert 'this' into a ShapeNode pointer if ShapeFrame is a ShapeNode, otherwise return nullptr.
|
virtual |
Convert 'const this' into a ShapeNode pointer if ShapeFrame is a ShapeNode, otherwise return nullptr.
This should be preferred over performing a dynamic_cast when you want to cast a ShapeFrame into a ShapeNode, because this method costs less.
|
overrideprotectedvirtualinherited |
Used by derived classes to change their parent frames.
Reimplemented from dart::dynamics::Entity.
|
inline |
Construct a(an) CollisionAspect inside of this Composite.
|
inline |
Construct a(an) DynamicsAspect inside of this Composite.
|
inline |
Construct a(an) VisualAspect inside of this Composite.
|
inherited |
|
overridevirtualinherited |
Notify the acceleration updates of this Frame and all its children are needed.
Reimplemented from dart::dynamics::Entity.
Reimplemented in dart::dynamics::BodyNode.
|
overridevirtualinherited |
Notify the transformation updates of this Frame and all its children are needed.
Reimplemented from dart::dynamics::Entity.
Reimplemented in dart::dynamics::BodyNode.
|
overridevirtualinherited |
Notify the velocity updates of this Frame and all its children are needed.
Reimplemented from dart::dynamics::Entity.
Reimplemented in dart::dynamics::BodyNode.
|
inherited |
|
inherited |
|
inlineinherited |
const ShapeFrame::AspectProperties & dart::dynamics::ShapeFrame::getAspectProperties | ( | ) | const |
|
inherited |
|
inherited |
Get a container with the Entities that are children of this Frame.
Note that this is version is slightly less efficient than the non-const version because it needs to rebuild a set where each pointer is converted to be a const pointer.
|
inherited |
|
inherited |
Get a container with the Frames that are children of this Frame.
Note that this version is less efficient than the non-const version because it needs to rebuild a set so that the entries are const.
|
inline |
Get a(an) CollisionAspect from this Composite.
|
inline |
Get a(an) CollisionAspect from this Composite.
|
inline |
Get a(an) CollisionAspect from this Composite.
If _createIfNull is true, then a(an) CollisionAspect will be generated if one does not already exist.
|
inline |
Get a(an) DynamicsAspect from this Composite.
|
inline |
Get a(an) DynamicsAspect from this Composite.
|
inline |
Get a(an) DynamicsAspect from this Composite.
If _createIfNull is true, then a(an) DynamicsAspect will be generated if one does not already exist.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
pure virtualinherited |
Return the name of this Entity.
Implemented in dart::dynamics::WorldFrame, dart::dynamics::SimpleFrame, dart::dynamics::PointMassNotifier, and dart::dynamics::BodyNode.
|
inherited |
Get the number of Entities that are currently children of this Frame.
|
inherited |
Get the number of Frames that are currently children of this Frame.
|
inherited |
Get the parent (reference) frame of this Entity.
|
inherited |
Get the parent (reference) frame of this Entity.
|
pure virtualinherited |
The Featherstone ABI algorithm exploits a component of the spatial acceleration which we refer to as the partial acceleration.
This function returns that component of acceleration.
Implemented in dart::dynamics::WorldFrame, dart::dynamics::SimpleFrame, dart::dynamics::FixedFrame, and dart::dynamics::BodyNode.
|
pure virtualinherited |
The Featherstone ABI algorithm exploits a component of the spatial acceleration which we refer to as the partial acceleration, accessible by getPartialAcceleration().
We save operations during our forward kinematics by computing and storing the partial acceleration separately from the rest of the Frame's acceleration. getPrimaryRelativeAcceleration() will return the portion of the relative spatial acceleration that is not contained in the partial acceleration. To get the full spatial acceleration of this Frame relative to its parent Frame, use getRelativeSpatialAcceleration(). To get the full spatial acceleration of this Frame relative to the World Frame, use getSpatialAcceleration().
Implemented in dart::dynamics::WorldFrame, dart::dynamics::SimpleFrame, dart::dynamics::FixedFrame, and dart::dynamics::BodyNode.
|
pure virtualinherited |
Get the spatial acceleration of this Frame relative to its parent Frame, in the coordinates of this Frame.
Implemented in dart::dynamics::WorldFrame, dart::dynamics::SimpleFrame, dart::dynamics::FixedFrame, and dart::dynamics::BodyNode.
|
pure virtualinherited |
Get the spatial velocity of this Frame relative to its parent Frame, in its own coordinates.
Implemented in dart::dynamics::WorldFrame, dart::dynamics::SimpleFrame, dart::dynamics::FixedFrame, and dart::dynamics::BodyNode.
|
pure virtualinherited |
Get the transform of this Frame with respect to its parent Frame.
Implemented in dart::dynamics::WorldFrame, dart::dynamics::SimpleFrame, dart::dynamics::FixedFrame, and dart::dynamics::BodyNode.
ShapePtr dart::dynamics::ShapeFrame::getShape | ( | ) |
Return shape.
ConstShapePtr dart::dynamics::ShapeFrame::getShape | ( | ) | const |
Return (const) shape.
|
inherited |
|
inherited |
|
inherited |
Get the spatial acceleration of a fixed point in this Frame.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Get the spatial velocity of a fixed point in this Frame.
|
inherited |
|
inherited |
|
virtualinherited |
Get the version number of this object.
|
inline |
Get a(an) VisualAspect from this Composite.
|
inline |
Get a(an) VisualAspect from this Composite.
|
inline |
Get a(an) VisualAspect from this Composite.
If _createIfNull is true, then a(an) VisualAspect will be generated if one does not already exist.
|
inherited |
|
inline |
Check if this Composite currently has CollisionAspect .
|
inline |
Check if this Composite currently has DynamicsAspect .
|
inline |
Check if this Composite currently has VisualAspect .
|
virtualinherited |
Increment the version for this object.
Reimplemented in dart::dynamics::Shape.
|
inherited |
Returns true if this Entity is set to be quiet.
A quiet entity is unknown to its parent Frame. It will not be tracked by its parent; it will not receive notifications from its parent, and it will not be rendered. The advantage to a quiet Entity is that it has less overhead when constructing and deconstructing, which makes it more suitable for temporary objects.
|
inherited |
Returns true if this Frame is a ShapeFrame.
|
inherited |
|
inherited |
Returns true iff an acceleration update is needed for this Entity.
|
inherited |
Returns true iff a transform update is needed for this Entity.
|
inherited |
Returns true iff a velocity update is needed for this Entity.
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
protectedvirtualinherited |
Called during a parent Frame change to allow extensions of the Frame class to handle new children in customized ways.
This function is a no op unless an inheriting class (such as BodyNode) overrides it.
Reimplemented in dart::dynamics::BodyNode.
|
protectedvirtualinherited |
Called when a child Entity is removed from its parent Frame.
This allows special post-processing to be performed for extensions of the Frame class.
Reimplemented in dart::dynamics::BodyNode.
|
inline |
Remove a(an) CollisionAspect from this Composite, but return its unique_ptr instead of letting it be deleted.
This allows you to safely use move semantics to transfer a(an) CollisionAspect between two Composites.
|
inline |
Remove a(an) DynamicsAspect from this Composite, but return its unique_ptr instead of letting it be deleted.
This allows you to safely use move semantics to transfer a(an) DynamicsAspect between two Composites.
|
inline |
Remove a(an) VisualAspect from this Composite, but return its unique_ptr instead of letting it be deleted.
This allows you to safely use move semantics to transfer a(an) VisualAspect between two Composites.
|
inline |
Remove a(an) CollisionAspect from this Composite.
|
inline |
Remove a(an) DynamicsAspect from this Composite.
|
protectedinherited |
Remove an Observer from the list of Observers.
|
inline |
Remove a(an) VisualAspect from this Composite.
|
protectedinherited |
Send a destruction notification to all Observers.
This will cause all Observers to behave as if this Subject has been permanently deleted, so it should only be called when that behavior is desired.
void dart::dynamics::ShapeFrame::setAspectProperties | ( | const AspectProperties & | properties | ) |
Set the AspectProperties of this ShapeFrame.
|
inline |
Make a clone of CollisionAspect and place the clone into this Composite.
If a(an) CollisionAspect already exists in this Composite, the existing CollisionAspect will be destroyed.
|
inline |
Use move semantics to place CollisionAspect into this Composite.
If a(an) CollisionAspect already exists in this Composite, the existing CollisionAspect will be destroyed.
|
inline |
Make a clone of DynamicsAspect and place the clone into this Composite.
If a(an) DynamicsAspect already exists in this Composite, the existing DynamicsAspect will be destroyed.
|
inline |
Use move semantics to place DynamicsAspect into this Composite.
If a(an) DynamicsAspect already exists in this Composite, the existing DynamicsAspect will be destroyed.
|
pure virtualinherited |
Set name.
Some implementations of Entity may make alterations to the name that gets passed in. The final name that this entity will use gets passed back in the return of this function.
Implemented in dart::dynamics::WorldFrame, dart::dynamics::SimpleFrame, dart::dynamics::PointMassNotifier, and dart::dynamics::BodyNode.
void dart::dynamics::ShapeFrame::setProperties | ( | const UniqueProperties & | properties | ) |
Set the UniqueProperties of this ShapeFrame.
void dart::dynamics::ShapeFrame::setShape | ( | const ShapePtr & | shape | ) |
Set shape.
|
protectedinherited |
|
inline |
Make a clone of VisualAspect and place the clone into this Composite.
If a(an) VisualAspect already exists in this Composite, the existing VisualAspect will be destroyed.
|
inline |
Use move semantics to place VisualAspect into this Composite.
If a(an) VisualAspect already exists in this Composite, the existing VisualAspect will be destroyed.
|
staticinherited |
|
friend |
|
mutableprotectedinherited |
Total acceleration of this Frame, in the coordinates of this Frame.
Do not use directly! Use getSpatialAcceleration() to access this quantity
|
protectedinherited |
Acceleration changed signal.
|
privateinherited |
Whether or not this Entity is set to be quiet.
|
privateinherited |
Contains whether or not this is a ShapeFrame.
|
protected |
Contains whether or not this is a ShapeNode.
|
privateinherited |
Contains whether or not this is the World Frame.
|
protectedinherited |
Aspect::Properties data, directly accessible to your derived class.
|
protectedinherited |
Container of this Frame's child Entities.
|
protectedinherited |
Container of this Frame's child Frames.
|
protected |
Connect to changes in the Shape version.
|
privateinherited |
|
protectedinherited |
Frame changed signal.
|
protectedinherited |
Name changed signal.
|
mutableprotectedinherited |
Does this Entity need an Acceleration update.
|
mutableprotectedinherited |
Does this Entity need a Transform update.
|
mutableprotectedinherited |
Does this Entity need a Velocity update.
|
mutableprotectedinherited |
List of current Observers.
|
protected |
Relative transformation updated signal.
|
protected |
Shape updated signal.
|
protectedinherited |
Transform changed signal.
|
mutableprotectedinherited |
Total velocity of this Frame, in the coordinates of this Frame.
Do not use directly! Use getSpatialVelocity() to access this quantity
|
protectedinherited |
Velocity changed signal.
|
protectedinherited |
|
mutableprotectedinherited |
World transform of this Frame.
This object is mutable to enable auto-updating to happen in the const member getWorldTransform() function
Do not use directly! Use getWorldTransform() to access this quantity
|
inherited |
Slot register for acceleration updated signal.
|
inherited |
Slot register for frame changed signal.
|
inherited |
Slot register for name changed signal.
common::SlotRegister<RelativeTransformUpdatedSignal> dart::dynamics::ShapeFrame::onRelativeTransformUpdated |
Slot register for relative transformation updated signal.
common::SlotRegister<ShapeUpdatedSignal> dart::dynamics::ShapeFrame::onShapeUpdated |
Slot register for shape updated signal.
|
inherited |
Slot register for transform updated signal.
|
inherited |
Slot register for velocity updated signal.