|  | RobWorkProject
    23.9.11-
    | 
Generic contact model for strategies that find contacts between two different types of geometry. More...
#include <ContactModelGeometry.hpp>
Inherits ContactModel.
| Classes | |
| struct | GeometryModel | 
| Model for each geometry.  More... | |
| Public Types | |
| typedef rw::core::Ptr< ContactModelGeometry< A, B > > | Ptr | 
| smart pointer type to this class | |
| typedef GeometryModel< A > | TypeA | 
| The type of GeometryModel for geometry A. | |
| typedef GeometryModel< B > | TypeB | 
| The type of GeometryModel for geometry B. | |
|  Public Types inherited from ContactModel | |
| typedef rw::core::Ptr< ContactModel > | Ptr | 
| smart pointer type to this class | |
|  Public Types inherited from ProximityModel | |
| typedef rw::core::Ptr< ProximityModel > | Ptr | 
| smart pointer type to this class | |
| Public Member Functions | |
| ContactModelGeometry (ContactStrategy *owner) | |
| Construct new model for contacts between geometries.  More... | |
| virtual | ~ContactModelGeometry () | 
| Destructor. | |
| virtual std::string | getName () const | 
| Get name of model as a string.  More... | |
|  Public Member Functions inherited from ContactModel | |
| ContactModel (rw::proximity::ProximityStrategy *pOwner) | |
| Construct new contact model.  More... | |
| virtual | ~ContactModel () | 
| Destruct the model. | |
|  Public Member Functions inherited from ProximityModel | |
| ProximityModel (ProximityStrategy *pOwner) | |
| Constructor.  More... | |
| std::vector< std::string > | getGeometryIDs () | 
| return vector of names for the geometries added to this ProximityModel | |
| std::vector< rw::core::Ptr< rw::geometry::Geometry > > | getGeometries () | 
| get the associated Geometries  More... | |
| bool | addGeometry (const rw::geometry::Geometry &geom) | 
| adds geometry  More... | |
| bool | addGeometry (rw::core::Ptr< rw::geometry::Geometry > geom, bool forceCopy=false) | 
| adds geometry using pointer  More... | |
| bool | removeGeometry (const std::string &geoid) | 
| removes a geometry from the ProximityModel  More... | |
| rw::kinematics::Frame * | getFrame () | 
| return pointer to the associated frame | |
| void | setFrame (rw::core::Ptr< rw::kinematics::Frame > frame) | 
| sets the associated frame  More... | |
| Public Attributes | |
| std::vector< GeometryModel< A > > | modelsA | 
| List of geometry models belonging to this model. | |
| std::vector< GeometryModel< B > > | modelsB | 
| List of hole models belonging to this model. | |
|  Public Attributes inherited from ProximityModel | |
| ProximityStrategy * | owner | 
Generic contact model for strategies that find contacts between two different types of geometry.
| 
 | inline | 
Construct new model for contacts between geometries.
| owner | [in] the strategy that owns this model. | 
| 
 | inlinevirtual |