 |
AGXDynamics
2.35.0.2
|
Go to the documentation of this file.
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();
MeasurementSensor::MeasurementState operator|(MeasurementSensor::MeasurementState lhs, MeasurementSensor::MeasurementState rhs)
agx::QuadraticProbingHashTable< agx::Name, agxControl::MeasurementSensorOperation * > OperationMap
agxControl::CalculateTotalRigidBodyDEMMassFlowRef m_totalRigidBodyMassFlow
agxControl::CalculateTotalRigidBodyDEMMassRef m_totalRigidBodyMass
agxControl::CalculateTotalMassFlowRef m_totalMassFlowOperation
This namespace contains general operation and action classes which can be used to control a agxSDK::S...
bool getEnableDataFilter() const
Get if the measurement sensor should use exponential filters to smooth data from the measurements.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Vector containing 'raw' data.
agxControl::CalculateTotalMassRef m_totalMassOperation
#define AGXPHYSICS_EXPORT
This is a sensor class that can be attached to an geometry in the simulation.
#define AGX_DECLARE_VECTOR_TYPES(type)
agxControl::RigidBodyDEMVolumeCalculatorRef m_totalRigidBodyVolume
MeasurementState
Enumeration specifying what should be recorded in a measurement sensor, expressed as a bit field.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
void setEnableDataFilter(bool enable)
Set if the measurement sensor should use exponential filters to smooth data from the measurements.
OperationMap m_operationMap
The geometry representation used by the collision detection engine.
Representation of a name string.
agx::Real m_filterSamplingTime
#define AGX_DECLARE_POINTER_TYPES(type)
agx::Real m_filterPeriodTime
agxControl::VolumeCalculatorRef m_totalVolumeOperation
MeasurementBitState m_measurementState
agx::BitState< MeasurementState, agx::Int32 > MeasurementBitState