This class is a storage component for storing collision/contact data information.  
 More...
#include <ContactDataMap.hpp>
This class is a storage component for storing collision/contact data information. 
◆ add()
  
  | 
        
          | void add | ( | const std::string & | name, |  
          |  |  | const std::string & | desc |  
          |  | ) |  |  |  | inline | 
 
add an object type to the contact data map and associates it with a description. 
- Parameters
- 
  
    | name | [in] the name of the object type |  | desc | [in] the description of the object type |  
 
 
 
◆ getChatterjeeData()
      
        
          | const ChatterjeeData& getChatterjeeData | ( | const std::string & | nameA, | 
        
          |  |  | const std::string | nameB | 
        
          |  | ) |  | const | 
      
 
Get Chatterjee data for a pair of object types. 
- Parameters
- 
  
    | nameA | [in] name of first type. |  | nameB | [in] name of second type. |  
 
- Returns
- the Chatterjee data. 
 
 
◆ getDataID()
      
        
          | int getDataID | ( | const std::string & | objType | ) | const | 
      
 
converts a string of object type name to an int identifier. 
- Parameters
- 
  
    | objType | [in] name of object type. |  
 
- Returns
- integer id. 
 
 
◆ getDesctiption()
  
  | 
        
          | std::string getDesctiption | ( | const std::string & | matId | ) |  |  | inline | 
 
Get Object Description. 
- Parameters
- 
  
  
- Returns
- a string Description of the Material 
 
 
◆ getMaxID()
Get the maximum id. 
- Returns
- the maximum id. 
 
 
◆ getNewtonData() [1/2]
      
        
          | const NewtonData& getNewtonData | ( | const std::string & | nameA, | 
        
          |  |  | const std::string & | nameB | 
        
          |  | ) |  | const | 
      
 
Get Newton data for a pair of object types. 
- Parameters
- 
  
    | nameA | [in] name of first type. |  | nameB | [in] name of second type. |  
 
- Returns
- the NewtonData. 
 
 
◆ getNewtonData() [2/2]
      
        
          | const NewtonData& getNewtonData | ( | int | idA, | 
        
          |  |  | int | idB | 
        
          |  | ) |  | const | 
      
 
Get Newton data for a pair of object type ids. 
- Parameters
- 
  
    | idA | [in] id of first type. |  | idB | [in] id of second type. |  
 
- Returns
- the NewtonData. 
 
 
◆ getObjectTypeName()
  
  | 
        
          | const std::string& getObjectTypeName | ( | int | id | ) | const |  | inline | 
 
Get name of object type with id. 
- Parameters
- 
  
  
- Returns
- the name of the object type. 
 
 
◆ getObjectTypes()
  
  | 
        
          | const std::vector<std::string>& getObjectTypes | ( |  | ) |  |  | inline | 
 
Get a list of all object types. 
- Returns
- vector of names. 
 
 
The documentation for this class was generated from the following file: