37 BOOLEAN_SENSOR_BIT = 4,
38 ENABLE_MASSPROPERTIES = 5
45 bool shouldCollide()
const;
48 bool enableMassProperties()
const;
49 bool booleanSensor()
const;
50 bool sensorAndBooleanSensor()
const;
53 friend class Geometry;
55 void setEnabled(
bool flag);
56 void setRemoved(
bool flag);
57 void setEnableMassProperties(
bool flag);
58 void setShouldCollide(
bool flag);
59 void setSensor(
bool flag);
60 void setBooleanSensor(
bool flag);
75 return this->test(ENABLE_BIT);
80 return this->test(REMOVED_BIT);
85 return this->test(CAN_COLLIDE_BIT);
88 inline bool GeometryState::sensor()
const
90 return this->test(SENSOR_BIT);
93 inline bool GeometryState::booleanSensor()
const
95 return this->test(BOOLEAN_SENSOR_BIT);
98 inline bool GeometryState::enableMassProperties()
const
100 return this->test(ENABLE_MASSPROPERTIES);
103 inline bool GeometryState::sensorAndBooleanSensor()
const
105 return this->sensor() && this->booleanSensor();
110 this->set(ENABLE_BIT,flag);
115 this->set(REMOVED_BIT,flag);
120 this->set(ENABLE_MASSPROPERTIES, flag);
125 this->set(CAN_COLLIDE_BIT,flag);
128 inline void GeometryState::setSensor(
bool flag)
130 this->set(SENSOR_BIT, flag);
133 inline void GeometryState::setBooleanSensor(
bool flag)
135 this->set(BOOLEAN_SENSOR_BIT, flag);
#define AGX_TYPE_BINDING(_Type, _Name)
Special class for small bitset, because minimum bitset size in clang/gcc is 8 bytes,...
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
This namespace consists of a set of classes for handling geometric intersection tests including boole...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.