17 #ifndef AGXCONTROL_MEASUREMENTSENSOR_H 18 #define AGXCONTROL_MEASUREMENTSENSOR_H 52 ALL = MASS | MASSFLOW | VOLUME
113 agx::Real getTotalParticleMassFlow()
const;
119 agx::Real getTotalParticleVolume()
const;
122 agx::Real getParticlePackingFraction()
const;
128 agx::Real getTotalRigidBodyMassFlow()
const;
131 agx::Real getTotalRigidBodyVolume()
const;
134 agx::Real getTotalRigidBodyPackingFraction()
const;
137 void setEnableDataFilter(
bool enable);
140 bool getEnableDataFilter()
const;
143 void setFilterPeriodTime(
agx::Real periodTime);
149 void setFilterSamplingTime(
agx::Real samplingTime);
161 void initOperations();
166 void updateMeasurementOperationsFromBitState();
MeasurementBitState m_measurementState
agxControl::CalculateTotalRigidBodyDEMMassFlowRef m_totalRigidBodyMassFlow
MeasurementSensor::MeasurementState operator|(MeasurementSensor::MeasurementState lhs, MeasurementSensor::MeasurementState rhs)
agx::BitState< MeasurementState, agx::Int32 > MeasurementBitState
agx::QuadraticProbingHashTable< agx::Name, agxControl::MeasurementSensorOperation * > OperationMap
void setEnableDataFilter(bool enable)
Set if the measurement sensor should use exponential filters to smooth data from the measurements...
#define AGXPHYSICS_EXPORT
agxControl::RigidBodyDEMVolumeCalculatorRef m_totalRigidBodyVolume
#define AGX_DECLARE_POINTER_TYPES(type)
agxControl::CalculateTotalMassRef m_totalMassOperation
Representation of a name string.
This is a sensor class that can be attached to an geometry in the simulation.
The geometry representation used by the collision detection engine.
Vector containing 'raw' data.
agx::Real m_filterPeriodTime
OperationMap m_operationMap
This namespace contains general operation and action classes which can be used to control a agxSDK::S...
MeasurementState
Enumeration specifying what should be recorded in a measurement sensor, expressed as a bit field...
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
agx::Real m_filterSamplingTime
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
agxControl::CalculateTotalMassFlowRef m_totalMassFlowOperation
#define AGX_DECLARE_VECTOR_TYPES(type)
bool getEnableDataFilter() const
Get if the measurement sensor should use exponential filters to smooth data from the measurements...
agxControl::CalculateTotalRigidBodyDEMMassRef m_totalRigidBodyMass
agxControl::VolumeCalculatorRef m_totalVolumeOperation