RobWorkProject  23.9.11-
Public Member Functions | List of all members
CurvatureThresFilter Class Referenceabstract

tests if a grasp is valid in respect to the curvature of the object surface in and around the contact points. More...

#include <CurvatureThresFilter.hpp>

Inherits GraspValidateFilter, and ContactValidateFilter.

Public Member Functions

 CurvatureThresFilter (double minCurvature, double maxCurvature)
 constructor More...
 
virtual ~CurvatureThresFilter ()
 destructor
 
virtual bool isValid (const Grasp3D &grasp)=0
 tests if a grasp grasp is valid in regard to the criterias of the class that implements this function. More...
 
virtual bool isValid (const rw::sensor::Contact3D &contact)=0
 test if a contact contact is valid in regard to the criterias of the class that implements this function. More...
 
- Public Member Functions inherited from GraspValidateFilter
 GraspValidateFilter ()
 Constructor.
 
virtual ~GraspValidateFilter ()
 destructor
 
- Public Member Functions inherited from ContactValidateFilter
 ContactValidateFilter ()
 Constructor.
 
virtual ~ContactValidateFilter ()
 destructor
 

Detailed Description

tests if a grasp is valid in respect to the curvature of the object surface in and around the contact points.

This class requires that the face in which the contact point is extracted is registered in the Contact3D data.

Constructor & Destructor Documentation

◆ CurvatureThresFilter()

CurvatureThresFilter ( double  minCurvature,
double  maxCurvature 
)
inline

constructor

Parameters
minCurvature[in] minimum curvature
maxCurvature[in] maximum curvature
Returns

Member Function Documentation

◆ isValid() [1/2]

virtual bool isValid ( const Grasp3D grasp)
pure virtual

tests if a grasp grasp is valid in regard to the criterias of the class that implements this function.

Parameters
grasp
Returns

Implements GraspValidateFilter.

◆ isValid() [2/2]

virtual bool isValid ( const rw::sensor::Contact3D contact)
pure virtual

test if a contact contact is valid in regard to the criterias of the class that implements this function.

Parameters
contact[in] 3d contact
Returns
true if valid, false otherwise

Implements ContactValidateFilter.


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