38 BOOLEAN_SENSOR_BIT = 4,
39 ENABLE_MASSPROPERTIES = 5
46 bool shouldCollide()
const;
49 bool enableMassProperties()
const;
50 bool booleanSensor()
const;
51 bool sensorAndBooleanSensor()
const;
54 friend class Geometry;
56 void setEnabled(
bool flag);
57 void setRemoved(
bool flag);
58 void setEnableMassProperties(
bool flag);
59 void setShouldCollide(
bool flag);
60 void setSensor(
bool flag);
61 void setBooleanSensor(
bool flag);
76 return this->test(ENABLE_BIT);
81 return this->test(REMOVED_BIT);
86 return this->test(CAN_COLLIDE_BIT);
89 inline bool GeometryState::sensor()
const 91 return this->test(SENSOR_BIT);
94 inline bool GeometryState::booleanSensor()
const 96 return this->test(BOOLEAN_SENSOR_BIT);
99 inline bool GeometryState::enableMassProperties()
const 101 return this->test(ENABLE_MASSPROPERTIES);
104 inline bool GeometryState::sensorAndBooleanSensor()
const 106 return this->sensor() && this->booleanSensor();
111 this->
set(ENABLE_BIT,flag);
116 this->
set(REMOVED_BIT,flag);
121 this->
set(ENABLE_MASSPROPERTIES, flag);
126 this->
set(CAN_COLLIDE_BIT,flag);
129 inline void GeometryState::setSensor(
bool flag)
131 this->
set(SENSOR_BIT, flag);
134 inline void GeometryState::setBooleanSensor(
bool flag)
136 this->
set(BOOLEAN_SENSOR_BIT, flag);
This namespace consists of a set of classes for handling geometric intersection tests including boole...
#define AGX_TYPE_BINDING(_Type, _Name)
Special class for small bitset, because minimum bitset size in clang/gcc is 8 bytes, and we only need 4.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()