![]() |
Tesseract 0.28.4
|
The ContactRequest struct. More...
#include <types.h>
Public Member Functions | |
| ContactRequest (ContactTestType type=ContactTestType::ALL) | |
| bool | operator== (const ContactRequest &rhs) const |
| bool | operator!= (const ContactRequest &rhs) const |
Public Attributes | |
| ContactTestType | type = ContactTestType::ALL |
| This controls the exit condition for the contact test type. | |
| bool | calculate_penetration = true |
| This enables the calculation of penetration contact data if two objects are in collision. | |
| bool | calculate_distance = true |
| This enables the calculation of distance data if two objects are within the contact threshold. | |
| long | contact_limit = 0 |
| This is used if the ContactTestType is set to LIMITED, where the test will exit when number of contacts reach this limit. | |
| std::shared_ptr< const ContactResultValidator > | is_valid |
| This provides a user defined function approve/reject contact results. | |
The ContactRequest struct.