33 #ifndef DART_DYNAMICS_SHAPEFRAME_HPP_
34 #define DART_DYNAMICS_SHAPEFRAME_HPP_
36 #include <Eigen/Dense>
52 detail::VisualAspectProperties,
67 void setRGBA(
const Eigen::Vector4d& color);
115 detail::CollisionAspectProperties,
127 bool isCollidable()
const;
133 detail::DynamicsAspectProperties,
147 void setFrictionCoeff(
const double& value);
149 double getFrictionCoeff()
const;
152 void setPrimaryFrictionCoeff(
const double& value);
153 const double& getPrimaryFrictionCoeff()
const;
177 void setFirstFrictionDirectionFrame(const
Frame* value);
180 const
Frame* getFirstFrictionDirectionFrame() const;
203 const Eigen::Isometry3d& oldTransform,
204 const Eigen::Isometry3d& newTransform)>;
221 void setShape(
const ShapePtr& shape);
239 const
ShapeFrame* asShapeFrame() const override;
242 bool isShapeNode() const;
253 virtual const
ShapeNode* asShapeNode() const;
275 common::Connection mConnectionForShapeVersionChange;
283 onRelativeTransformUpdated;
#define DART_COMMON_SET_GET_ASPECT_PROPERTY(Type, Name)
Definition: Aspect.hpp:209
#define DART_COMMON_GET_ASPECT_PROPERTY(Type, Name)
Definition: Aspect.hpp:202
#define DART_DECLARE_CLASS_WITH_VIRTUAL_BASE_END
Definition: ClassWithVirtualBase.hpp:44
#define DART_DECLARE_CLASS_WITH_VIRTUAL_BASE_BEGIN
Definition: ClassWithVirtualBase.hpp:43
BodyPropPtr properties
Definition: SdfParser.cpp:80
typename Impl::AspectProperties AspectProperties
Definition: EmbeddedAspect.hpp:245
AspectWithProtectedProperties generates implementations of the Property managing functions for an Asp...
Definition: AspectWithVersion.hpp:109
PropertiesDataT PropertiesData
Definition: AspectWithVersion.hpp:113
const Aspect::Properties * getAspectProperties() const override final
Definition: AspectWithVersion.hpp:339
void setAspectProperties(const Aspect::Properties &someProperties) override final
Definition: AspectWithVersion.hpp:321
AspectWithVersionedProperties(const AspectWithVersionedProperties &)=delete
void setProperties(const PropertiesData &properties)
Set the Properties of this Aspect.
Definition: AspectWithVersion.hpp:356
BaseT Base
Definition: AspectWithVersion.hpp:111
BodyNode class represents a single node of the skeleton.
Definition: BodyNode.hpp:79
Definition: ShapeFrame.hpp:117
CollisionAspect(const CollisionAspect &)=delete
Definition: ShapeFrame.hpp:135
DynamicsAspect(const DynamicsAspect &)=delete
The Frame class serves as the backbone of DART's kinematic tree structure.
Definition: Frame.hpp:58
Definition: ShapeFrame.hpp:192
AspectProperties UniqueProperties
Definition: ShapeFrame.hpp:206
UniqueProperties Properties
Definition: ShapeFrame.hpp:207
Definition: ShapeNode.hpp:49
Definition: ShapeFrame.hpp:54
void setColor(const Eigen::Vector3d &color)
Identical to setRGB(const Eigen::Vector3d&)
Definition: ShapeFrame.cpp:116
void setRGB(const Eigen::Vector3d &rgb)
Set RGB color components (leave alpha alone)
Definition: ShapeFrame.cpp:128
VisualAspect(const VisualAspect &)=delete
VisualAspect(const PropertiesData &properties=PropertiesData())
Constructor.
Definition: ShapeFrame.cpp:99
void hide()
Hide the ShapeNode.
Definition: ShapeFrame.cpp:165
double getAlpha() const
Get the transparency of the Shape.
Definition: ShapeFrame.cpp:159
Eigen::Vector3d getRGB() const
Get RGB color components.
Definition: ShapeFrame.cpp:153
Eigen::Vector3d getColor() const
Get color.
Definition: ShapeFrame.cpp:147
void setRGBA(const Eigen::Vector4d &color)
Set RGBA color.
Definition: ShapeFrame.cpp:106
void show()
Show the ShapeNode.
Definition: ShapeFrame.cpp:171
void setAlpha(const double alpha)
Set the transparency of the Shape.
Definition: ShapeFrame.cpp:137
bool isHidden() const
True iff the ShapeNode is set to be hidden.
Definition: ShapeFrame.cpp:177
#define DART_BAKE_SPECIALIZED_ASPECT(AspectName)
Definition: Composite.hpp:226
Definition: Random-impl.hpp:92
common::EmbedPropertiesOnTopOf< ShapeFrame, ShapeFrameProperties, common::SpecializedForAspect< VisualAspect, CollisionAspect, DynamicsAspect > > ShapeFrameCompositeBase
Definition: ShapeFrameAspect.hpp:162
std::shared_ptr< Shape > ShapePtr
Definition: SmartPointer.hpp:81
std::shared_ptr< const Shape > ConstShapePtr
Definition: SmartPointer.hpp:81
Definition: BulletCollisionDetector.cpp:65
Definition: SharedLibraryManager.hpp:46
Definition: ShapeFrameAspect.hpp:90
Definition: ShapeFrameAspect.hpp:52