33 #ifndef DART_DYNAMICS_DETAIL_SHAPEFRAMEASPECT_HPP_
34 #define DART_DYNAMICS_DETAIL_SHAPEFRAMEASPECT_HPP_
45 class CollisionAspect;
66 const Eigen::Vector4d& color = Eigen::Vector4d(0.5, 0.5, 1.0, 1.0),
67 const bool hidden =
false,
68 const bool shadowed =
true);
74 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
99 const double restitutionCoeff = 0.0);
This is an alternative to EmbedProperties which allows your class to also inherit other Composite obj...
Definition: EmbeddedAspect.hpp:248
Declaration of the variadic template.
Definition: SpecializedForAspect.hpp:46
Definition: ShapeFrame.hpp:119
Definition: ShapeFrame.hpp:140
Definition: ShapeFrame.hpp:164
Definition: ShapeFrame.hpp:55
std::shared_ptr< Shape > ShapePtr
Definition: SmartPointer.hpp:81
Definition: BulletCollisionDetector.cpp:63
Definition: ShapeFrameAspect.hpp:78
virtual ~CollisionAspectProperties()=default
Destructor.
bool mCollidable
This object is collidable if true.
Definition: ShapeFrameAspect.hpp:80
CollisionAspectProperties(const bool collidable=true)
Constructor.
Definition: ShapeFrame.cpp:52
Definition: ShapeFrameAspect.hpp:90
virtual ~DynamicsAspectProperties()=default
Destructor.
double mRestitutionCoeff
Coefficient of restitution.
Definition: ShapeFrameAspect.hpp:95
double mFrictionCoeff
Coefficient of friction.
Definition: ShapeFrameAspect.hpp:92
DynamicsAspectProperties(const double frictionCoeff=1.0, const double restitutionCoeff=0.0)
Constructor.
Definition: ShapeFrame.cpp:60
Definition: ShapeFrameAspect.hpp:106
ShapePtr mShape
Pointer to a shape.
Definition: ShapeFrameAspect.hpp:108
ShapeFrameProperties(const ShapePtr &shape=nullptr)
Constructor.
Definition: ShapeFrame.cpp:71
virtual ~ShapeFrameProperties()=default
Virtual destructor.
Definition: ShapeFrameAspect.hpp:52
Eigen::Vector4d mRGBA
Color for the primitive shape.
Definition: ShapeFrameAspect.hpp:54
virtual ~VisualAspectProperties()=default
Destructor.
bool mShadowed
True if this shape node should be shadowed.
Definition: ShapeFrameAspect.hpp:62
VisualAspectProperties(const Eigen::Vector4d &color=Eigen::Vector4d(0.5, 0.5, 1.0, 1.0), const bool hidden=false, const bool shadowed=true)
Constructor.
Definition: ShapeFrame.cpp:41
bool mHidden
True if this shape node should be kept from rendering.
Definition: ShapeFrameAspect.hpp:59
bool mUseDefaultColor
Definition: ShapeFrameAspect.hpp:56