33 #ifndef DART_DYNAMICS_DETAIL_TRANSLATIONALJOINT2DASPECT_HPP_
34 #define DART_DYNAMICS_DETAIL_TRANSLATIONALJOINT2DASPECT_HPP_
38 #include <Eigen/Dense>
46 class TranslationalJoint2D;
62 const Eigen::Matrix<double, 3, 2>& transAxes);
67 const Eigen::Vector3d& transAxis1,
const Eigen::Vector3d& transAxis2);
89 const Eigen::Vector3d& transAxis1,
const Eigen::Vector3d& transAxis2);
#define DART_DEFINE_ALIGNED_SHARED_OBJECT_CREATOR(class_name)
Definition: Memory.hpp:148
This is an alternative to EmbedProperties which allows your class to also inherit other Composite obj...
Definition: EmbeddedAspect.hpp:248
Definition: GenericJoint.hpp:49
TranslationalJoint2D represents a 2-dof joint, which has two orthogonal translational axes.
Definition: TranslationalJoint2D.hpp:48
Definition: TranslationalJoint2DAspect.hpp:52
const Eigen::Matrix< double, 3, 2 > & getTranslationalAxes() const
Returns first and second translational axes.
Definition: TranslationalJoint2DAspect.cpp:160
Eigen::Matrix< double, 3, 2 > mTransAxes
First and second translational axes.
Definition: TranslationalJoint2DAspect.hpp:108
void setArbitraryPlane(const Eigen::Matrix< double, 3, 2 > &transAxes)
Sets plane type as arbitrary plane with two orthogonal translational axes.
Definition: TranslationalJoint2DAspect.cpp:120
void setYZPlane()
Sets plane type as YZ-plane.
Definition: TranslationalJoint2DAspect.cpp:104
void setZXPlane()
Sets plane type as ZX-plane.
Definition: TranslationalJoint2DAspect.cpp:112
PlaneType getPlaneType() const
Returns plane type.
Definition: TranslationalJoint2DAspect.cpp:180
Eigen::Vector3d getTranslationalAxis1() const
Returns first translational axis.
Definition: TranslationalJoint2DAspect.cpp:166
Eigen::Vector3d getTranslationalAxis2() const
Returns second translational axis.
Definition: TranslationalJoint2DAspect.cpp:173
virtual ~TranslationalJoint2DUniqueProperties()=default
void setXYPlane()
Sets plane type as XY-plane.
Definition: TranslationalJoint2DAspect.cpp:96
PlaneType mPlaneType
Plane type.
Definition: TranslationalJoint2DAspect.hpp:105
TranslationalJoint2DUniqueProperties(PlaneType planeType=PlaneType::XY)
Constructor for pre-defined plane types.
Definition: TranslationalJoint2DAspect.cpp:40
PlaneType
Plane type.
Definition: PlanarJointAspect.hpp:50
Definition: BulletCollisionDetector.cpp:63
Definition: GenericJointAspect.hpp:178
Definition: TranslationalJoint2DAspect.hpp:114
virtual ~TranslationalJoint2DProperties()=default
TranslationalJoint2DProperties(const GenericJoint< math::R2Space >::Properties &genericJointProperties=GenericJoint< math::R2Space >::Properties(), const TranslationalJoint2DUniqueProperties &universalProperties=TranslationalJoint2DUniqueProperties())
Definition: TranslationalJoint2DAspect.cpp:186