moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
collision_detection::BodyDecomposition Class Reference

#include <collision_distance_field_types.hpp>

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW BodyDecomposition (const shapes::ShapeConstPtr &shape, double resolution, double padding=0.01)
 BodyDecomposition (const std::vector< shapes::ShapeConstPtr > &shapes, const EigenSTL::vector_Isometry3d &poses, double resolution, double padding)
 ~BodyDecomposition ()
void replaceCollisionSpheres (const std::vector< CollisionSphere > &new_collision_spheres, const Eigen::Isometry3d &new_relative_cylinder_pose)
const std::vector< CollisionSphere > & getCollisionSpheres () const
const std::vector< double > & getSphereRadii () const
const EigenSTL::vector_Vector3d & getCollisionPoints () const
const bodies::Body * getBody (unsigned int i) const
unsigned int getBodiesCount ()
Eigen::Isometry3d getRelativeCylinderPose () const
const bodies::BoundingSphere & getRelativeBoundingSphere () const

Public Attributes

Eigen::Isometry3d relative_cylinder_pose_

Protected Member Functions

void init (const std::vector< shapes::ShapeConstPtr > &shapes, const EigenSTL::vector_Isometry3d &poses, double resolution, double padding)

Protected Attributes

bodies::BodyVector bodies_
bodies::BoundingSphere relative_bounding_sphere_
std::vector< double > sphere_radii_
std::vector< CollisionSpherecollision_spheres_
EigenSTL::vector_Vector3d relative_collision_points_

Friends

class BodyDecompositionVector

Detailed Description

Definition at line 228 of file collision_distance_field_types.hpp.

Constructor & Destructor Documentation

◆ BodyDecomposition() [1/2]

collision_detection::BodyDecomposition::BodyDecomposition ( const shapes::ShapeConstPtr & shape,
double resolution,
double padding = 0.01 )

BodyDecomposition

Definition at line 277 of file collision_distance_field_types.cpp.

Here is the call graph for this function:

◆ BodyDecomposition() [2/2]

collision_detection::BodyDecomposition::BodyDecomposition ( const std::vector< shapes::ShapeConstPtr > & shapes,
const EigenSTL::vector_Isometry3d & poses,
double resolution,
double padding )

Definition at line 286 of file collision_distance_field_types.cpp.

Here is the call graph for this function:

◆ ~BodyDecomposition()

collision_detection::BodyDecomposition::~BodyDecomposition ( )

Definition at line 337 of file collision_distance_field_types.cpp.

Member Function Documentation

◆ getBodiesCount()

unsigned int collision_detection::BodyDecomposition::getBodiesCount ( )
inline

Definition at line 273 of file collision_distance_field_types.hpp.

◆ getBody()

const bodies::Body * collision_detection::BodyDecomposition::getBody ( unsigned int i) const
inline

Definition at line 268 of file collision_distance_field_types.hpp.

◆ getCollisionPoints()

const EigenSTL::vector_Vector3d & collision_detection::BodyDecomposition::getCollisionPoints ( ) const
inline

Definition at line 263 of file collision_distance_field_types.hpp.

◆ getCollisionSpheres()

const std::vector< CollisionSphere > & collision_detection::BodyDecomposition::getCollisionSpheres ( ) const
inline

Definition at line 253 of file collision_distance_field_types.hpp.

◆ getRelativeBoundingSphere()

const bodies::BoundingSphere & collision_detection::BodyDecomposition::getRelativeBoundingSphere ( ) const
inline

Definition at line 283 of file collision_distance_field_types.hpp.

◆ getRelativeCylinderPose()

Eigen::Isometry3d collision_detection::BodyDecomposition::getRelativeCylinderPose ( ) const
inline

Definition at line 278 of file collision_distance_field_types.hpp.

◆ getSphereRadii()

const std::vector< double > & collision_detection::BodyDecomposition::getSphereRadii ( ) const
inline

Definition at line 258 of file collision_distance_field_types.hpp.

◆ init()

void collision_detection::BodyDecomposition::init ( const std::vector< shapes::ShapeConstPtr > & shapes,
const EigenSTL::vector_Isometry3d & poses,
double resolution,
double padding )
protected

Definition at line 292 of file collision_distance_field_types.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ replaceCollisionSpheres()

void collision_detection::BodyDecomposition::replaceCollisionSpheres ( const std::vector< CollisionSphere > & new_collision_spheres,
const Eigen::Isometry3d & new_relative_cylinder_pose )
inline

Definition at line 244 of file collision_distance_field_types.hpp.

◆ BodyDecompositionVector

friend class BodyDecompositionVector
friend

Definition at line 230 of file collision_distance_field_types.hpp.

Member Data Documentation

◆ bodies_

bodies::BodyVector collision_detection::BodyDecomposition::bodies_
protected

Definition at line 293 of file collision_distance_field_types.hpp.

◆ collision_spheres_

std::vector<CollisionSphere> collision_detection::BodyDecomposition::collision_spheres_
protected

Definition at line 297 of file collision_distance_field_types.hpp.

◆ relative_bounding_sphere_

bodies::BoundingSphere collision_detection::BodyDecomposition::relative_bounding_sphere_
protected

Definition at line 295 of file collision_distance_field_types.hpp.

◆ relative_collision_points_

EigenSTL::vector_Vector3d collision_detection::BodyDecomposition::relative_collision_points_
protected

Definition at line 298 of file collision_distance_field_types.hpp.

◆ relative_cylinder_pose_

Eigen::Isometry3d collision_detection::BodyDecomposition::relative_cylinder_pose_

Definition at line 242 of file collision_distance_field_types.hpp.

◆ sphere_radii_

std::vector<double> collision_detection::BodyDecomposition::sphere_radii_
protected

Definition at line 296 of file collision_distance_field_types.hpp.


The documentation for this class was generated from the following files: