 |
AGXDynamics
2.35.0.2
|
Go to the documentation of this file.
17 #ifndef AGXCONTROL_RECORDPARTICLESOPERATIONS_H
18 #define AGXCONTROL_RECORDPARTICLESOPERATIONS_H
52 virtual void addNotification(
EventSensor * sensor)
override;
61 agx::Physics::ParticleGeometryContactInstance ,
62 agx::Physics::ParticleData& ,
63 agx::Physics::GeometryData& ,
80 void copyContactingParticlesToStorage(
EventSensor * sensor);
104 void addNotification(
EventSensor * sensor)
override;
113 agx::Physics::ParticleGeometryContactInstance ,
114 agx::Physics::ParticleData& ,
115 agx::Physics::GeometryData& ,
145 virtual void addNotification(
EventSensor * sensor)
override;
154 agx::Physics::ParticleGeometryContactInstance ,
155 agx::Physics::ParticleData& ,
156 agx::Physics::GeometryData& ,
190 void addNotification(
EventSensor * sensor)
override;
199 agx::Physics::ParticleGeometryContactInstance ,
200 agx::Physics::ParticleData& ,
201 agx::Physics::GeometryData& ,
214 bool loadParticleStorageFromSimulation(
EventSensor * sensor);
216 void loadParticlesFromStorage(
EventSensor * sensor);
246 virtual void addNotification(
EventSensor * sensor )
override;
255 agx::Physics::ParticleGeometryContactInstance,
256 agx::Physics::ParticleData&,
257 agx::Physics::GeometryData&,
294 void addNotification(
EventSensor * sensor )
override;
303 agx::Physics::ParticleGeometryContactInstance ,
304 agx::Physics::ParticleData& ,
305 agx::Physics::GeometryData& ,
316 void loadParticlesFromFile(
EventSensor * sensor );
agx::FrameRef m_targetOffsetFrame
bool m_shouldAttachJournalOnContact
Loads particle data from an external journal file into a simulation relative to the coupled sensor ob...
This namespace contains general operation and action classes which can be used to control a agxSDK::S...
virtual void triggerParticleEvent(const agx::TimeStamp &, agxSDK::Simulation *, agx::Physics::ParticleGeometryContactInstance, agx::Physics::ParticleData &, agx::Physics::GeometryData &, agxControl::EventSensor *) override
Triggers the sensor event by passing particle contact information.
A specific type of sensor event that triggers a change in the simulation when activated by a contact.
virtual void postContactHandling(agxSDK::Simulation *, EventSensor *) override
Post function that will be triggered for the event after all the contacts have handled in the operati...
agxData::EntityStorageRef m_particleStorage
agx::JournalRef m_journal
agx::String m_journalPath
agxData::EntityStorageRef m_particleStorage
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
#define AGXPHYSICS_EXPORT
agx::Material * m_startMaterial
This is a sensor class that can be attached to an geometry in the simulation.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
agx::JournalRef m_journal
virtual void triggerEvent(const agx::TimeStamp &, agxSDK::Simulation *, agxCollide::GeometryContact *, agxControl::EventSensor *) override
Triggers the sensor event by passing contact information.
Class that stores particle data from a continuous flow in the coupled sensor to a separate specified ...
virtual void triggerParticleEvent(const agx::TimeStamp &, agxSDK::Simulation *, agx::Physics::ParticleGeometryContactInstance, agx::Physics::ParticleData &, agx::Physics::GeometryData &, agxControl::EventSensor *) override
Triggers the sensor event by passing particle contact information.
void triggerParticleEvent(const agx::TimeStamp &, agxSDK::Simulation *, agx::Physics::ParticleGeometryContactInstance, agx::Physics::ParticleData &, agx::Physics::GeometryData &, agxControl::EventSensor *) override
Triggers the sensor event by passing particle contact information.
Loads particle data from an external agx file into a simulation relative to the coupled sensor object...
Class that stores particles in contact with the sensor to an binary .agx file.
Representation of a name string.
Class that stores a single frame of the current particle configuration in the coupled sensor.
Base virtual class for storing particle states to an external journal file.
agx::String m_journalPath
agx::FrameRef m_sourceOffsetFrame
virtual void triggerEvent(const agx::TimeStamp &, agxSDK::Simulation *, agxCollide::GeometryContact *, agxControl::EventSensor *) override
Triggers the sensor event by passing contact information.
Main material class which acts as a holder of a Surface Material and a Bulk material.
agx::HashSet< agx::UInt32 > m_previousContactingParticleIds
A UUID, or Universally unique identifier, is intended to uniquely identify information in a distribut...
agx::FrameRef m_sourceOffsetFrame
The object defining a frame of reference and providing transformations operations.
void triggerEvent(const agx::TimeStamp &, agxSDK::Simulation *, agxCollide::GeometryContact *, agxControl::EventSensor *) override
Triggers the sensor event by passing contact information.
agx::Material * m_startMaterial
agx::FrameRef m_targetOffsetFrame