RobWorkProject
24.12.4-
|
A plane obstacle for a beam. More...
#include <BeamObstaclePlane.hpp>
Public Member Functions | |
BeamObstaclePlane (const rw::geometry::Plane &plane, const rw::math::Transform3D<> &trans) | |
Constructor. More... | |
rw::math::Transform3D | getTransform (void) const |
returns the world to plane transformation More... | |
void | setTransform (const rw::math::Transform3D<> &trans) |
sets the world to plane transformation More... | |
double | get_yTCP (const rw::math::Transform3D<> &planeTbeam) const |
given the plane to beam tranformation, returns yTCP More... | |
double | get_thetaTCP (const rw::math::Transform3D<> &planeTbeam) const |
given the plane to beam transformation, returns thetaTCP More... | |
rw::math::Transform3D | compute_planeTbeam (const rw::math::Transform3D<> &Tbeam) |
computes the plane to beam transformation, given the world to beam transformation More... | |
rw::geometry::Plane::Ptr | getPlane (void) const |
returns the plane More... | |
rw::geometry::Geometry::Ptr | getPlaneGeometry (void) const |
returns the geometry of the plane More... | |
A plane obstacle for a beam.
BeamObstaclePlane | ( | const rw::geometry::Plane & | plane, |
const rw::math::Transform3D<> & | trans | ||
) |
Constructor.
plane | the plane defining the obstacle |
trans | the world to plane transformation |
rw::math::Transform3D compute_planeTbeam | ( | const rw::math::Transform3D<> & | Tbeam | ) |
computes the plane to beam transformation, given the world to beam transformation
Tbeam | world to beam transformation |
double get_thetaTCP | ( | const rw::math::Transform3D<> & | planeTbeam | ) | const |
given the plane to beam transformation, returns thetaTCP
planeTbeam | the transformation from the plane to the beam |
double get_yTCP | ( | const rw::math::Transform3D<> & | planeTbeam | ) | const |
given the plane to beam tranformation, returns yTCP
planeTbeam | the transformation from the plane to the beam.. |
rw::geometry::Plane::Ptr getPlane | ( | void | ) | const |
returns the plane
rw::geometry::Geometry::Ptr getPlaneGeometry | ( | void | ) | const |
returns the geometry of the plane
rw::math::Transform3D getTransform | ( | void | ) | const |
returns the world to plane transformation
void setTransform | ( | const rw::math::Transform3D<> & | trans | ) |
sets the world to plane transformation
trans | world to plane transformation |