AGX Dynamics  2.38.0.2
SuctionGripper.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2024. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or having been
9 advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10 valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 #pragma once
18 
19 #include <agxModel/export.h>
20 
21 #include <agx/Real.h>
22 #include <agx/Frame.h>
23 #include <agx/Vec2.h>
24 #include <agx/Constraint.h>
25 #include <agx/Referenced.h>
26 #include <agxUtil/agxUtil.h>
28 #include <agxStream/Serializable.h>
29 #include <agxSDK/Assembly.h>
30 #include <agxCollide/Line.h>
31 #include <agxCollide/Sphere.h>
32 #include <agxCollide/Mesh.h>
33 #include <agx/LockJoint.h>
34 
35 namespace agxSDK
36 {
37  class Simulation;
38 }
39 
40 
41 namespace agxModel
42 {
43 
44 
53  {
54  public:
55 
57  {}
58 
60  {
62  }
63 
65  {
66  return m_collisionGeometries;
67  }
68 
70  virtual bool match(const agxCollide::Geometry* g0, const agxCollide::Geometry* g1) const override
71  {
72  const agxCollide::Geometry* geos[] = { g0, g1 };
73 
74  for (size_t j = 0; j < 2; ++j)
75  {
76  for (size_t i = 0; i < m_collisionGeometries.size(); ++i)
77  {
78  if (geos[j] == m_collisionGeometries[i])
79  return true;
80  }
81  }
82  return false;
83  }
84 
85  using ExecuteFilter::match;
86 
87  protected:
89  {
91  };
92 
93 
94  protected:
97  };
98 
99 
100 
103 
106 
120  {
121  public:
127 
128 
132  size_t getSealCount() const;
133 
137  bool getCentered() const;
138 
144  agx::Real getCenterDistance() const;
145 
151  agx::Vec3 getCenterNormalWorld() const;
152 
158  agx::Real getCalculatedScalarForce() const;
159 
165  agx::Vec3 getCalculatedForce() const;
166 
172  agx::Vec3 getFoundSurfacePositionWorld() const;
173 
177  agx::RigidBody* getRigidBody();
178 
182  agx::Vec3 getCurrentFrictionForce() const;
183 
187  agx::Vec3 getCurrentContactNormalForce() const;
188 
192  agx::Real getCurrentRelativeVelocity() const;
193 
194 
195  protected:
196  virtual ~SuctionCupInteraction();
197 
198  friend class SuctionCup;
199  friend class SuctionGripper;
200 
201  /*
202  Update the latest position found for where to apply the cvacuum force
203  */
204  void setFoundSurfacePositionWorld(agx::Vec3 worldPosition);
205 
209  void setRigidBody(agx::RigidBody* body);
210 
216  void updateEstimatedForcePosition(const SuctionCup* cup, agx::Real depth);
217 
222  void setCenterDistance(agx::Real distance);
223 
228  void setCenterNormalWorld(agx::Vec3 normal);
229 
230  void updateInteractedSeals(size_t sealIndex, agx::Real depth);
231 
232  void setCalculatedForce(agx::Vec3 force);
233  void setCalculatedScalarForce(agx::Real scalarForce);
234 
235  agx::Real getSealDepth(size_t sealIndex) const;
236 
237  bool hasSealInteraction(size_t sealIndex) const;
238 
246  virtual bool updateVacuumForce(const SuctionCup* cup, const VacuumSystem* vacuumSystem, agx::Real fraction);
247 
248  void reset();
249 
250  void addTemporaryGeometryContact(agxCollide::GeometryContact* gc);
251 
252  void renderInteraction(const SuctionCup* cup);
253 
264  };
265 
266 
269 
280  {
281  public:
290  VacuumSystem(agx::Real desiredVacuum);
291 
296  agx::Real calculateMaximumSuctionForce(SuctionCup* cup) const;
297 
302  virtual agx::Real calculateAvailableVacuumForce(SuctionCup* cup) const;
303 
309  virtual void step(agx::Real dt, const SuctionGripper* gripper);
310 
314  void setEnablePump(const bool& enable);
315 
319  bool getEnablePump() const;
320 
324  agx::Real getCurrentVacuum() const;
325 
331  void setDesiredVacuum(agx::Real vacuumLevel);
332 
336  agx::Real getDesiredVacuum() const;
337 
341  void setOutsidePressure(agx::Real pressure);
342 
346  agx::Real getOutsidePressure() const;
347 
351  agx::Real calculateGasSpeedAtLip(const SuctionCup* cup) const;
352 
356  void setOutsideGasDensity(agx::Real density);
357 
361  agx::Real getOutsideGasDensity() const;
362 
364 
365  protected:
366  virtual ~VacuumSystem();
367  VacuumSystem();
372  void setCurrentVacuum(agx::Real vacuum);
380  };
381 
382 
418  class AGXMODEL_EXPORT SuctionCup : public virtual agx::Referenced, public virtual agxStream::Serializable
419  {
420  public:
432  SuctionCup(agx::RigidBody* cupBody,
433  agx::Real lipRadius = agx::Real(0.025),
434  agx::Real lipHeight = agx::Real(0.01),
435  size_t sealResolution = size_t(0),
436  agx::Vec3 localLineSensorVector = agx::Vec3(0,0,-0.1),
437  agx::Real sealSensorReach = agx::Real(0.01));
438 
439 
443  agx::Vec3 getNormal() const;
444 
449  agx::Real getArea() const;
450 
454  const agx::RigidBody* getRigidBody() const;
455 
459  agx::RigidBody* getRigidBody();
460 
464  agx::Real getLipRadius() const;
465 
472  void setMountingRadius(agx::Real radius);
473 
477  agx::Real getMountingRadius() const;
478 
482  bool isValid() const;
483 
487  agx::Real getCurrentLeakageArea() const;
488 
492  size_t getSealResolution() const;
493 
497  agx::Real getSensorDistance() const;
498 
502  SuctionCupSensorFilter* getSensorFilter();
503 
511  agx::Real getAvailableVacuumForce() const;
512 
516  const agxCollide::GeometryRefSetVector& getSealSensors() const;
517 
522  agx::Vector < agxModel::SuctionCupInteraction*> getActiveInteractionsVector() const;
523 
528  virtual void updateLeakageArea();
529 
533  void applyVacuumForces(const VacuumSystem* vacuumSystem);
534 
535 
542  void updateVacuumForces(const VacuumSystem* vacuumSystem);
543 
544 
546 
547  protected:
548  SuctionCup();
549 
550  virtual ~SuctionCup();
551 
552  // Contact events.
554 
555  friend class SuctionGripper;
556 
557  void invalidateInteractions();
558 
562  agx::RigidBody* createDefaultCupBody();
563 
564  const agx::HashVector<agx::RigidBody*, SuctionCupInteractionRef>& getActiveInteractions() const;
565 
566  const SuctionCupInteractionRefVector& getDisabledInteractions() const;
567 
574  virtual agxModel::SuctionCupInteraction* createInteraction();
575 
581  void addNotification(agxSDK::Simulation* simulation);
582  void removeNotification(agxSDK::Simulation* simulation);
583 
584 
585  friend class SuctionGripper;
586 
589 
592 
593  void separation(
595 
598 
599  agx::Vec3 calculateLineP2() const;
600  void createLineSensor();
601  agxCollide::Geometry* createSealSensor(agx::RigidBody* body, agx::Vec3 bodyLocalPosition);
602  void createCupSealSensors();
603 
604  agx::Vec3 findSurfaceNormal(agxCollide::Shape* collidedShape,
605  agx::Vec3 pointAtSurface,
606  bool& success);
607 
608  SuctionCupInteraction* getActiveInteraction(agx::RigidBody* rigidBody);
609 
610  void collectCollisionGeometries();
611 
612  protected:
630  // Implementation dependent temporary variables, only valid per time step.
633 
634  };
635 
653  {
654  public:
661  SuctionGripper( agx::RigidBody* holderBody );
662 
666  bool setHolderRigidBody(agx::RigidBody* holderBody);
667 
671  agx::RigidBody* getHolderRigidBody();
672 
676  const agx::RigidBody* getHolderRigidBody() const;
677 
681  const SuctionCupRefVector& getSuctionCups() const;
682 
686  SuctionCupRefVector& getSuctionCups();
687 
693  void addSuctionCup(SuctionCup* cup);
694 
696  bool isValid() const;
697 
701  agx::Real getCurrentLeakage() const;
702 
706  const VacuumSystem* getVacuumSystem() const;
707 
711  VacuumSystem* getVacuumSystem();
712 
716  void setVacuumSystem(VacuumSystem* vacuumSystem);
717 
718  static agx::LockJoint* positionAndLockSuctionCup( agxModel::SuctionGripper* gripper,
720  agx::Vec3 holderLocalTranslate,
721  agx::Vec3 cupLocalTranslate);
722 
724 
725  protected:
726  SuctionGripper();
727 
728  virtual void updateValid();
729 
730  virtual ~SuctionGripper();
731 
732  // Adding to/removing from simulation.
733  virtual void addNotification( agxSDK::Simulation* simulation ) override;
734 
736 
737  virtual void removeNotification( agxSDK::Simulation* simulation )override;
738 
740 
741 
742  // Step events.
744 
745  virtual void preCollide(const agx::TimeStamp&);
746  virtual void pre(const agx::TimeStamp&);
747  virtual void post(const agx::TimeStamp&);
748  virtual void last(const agx::TimeStamp&);
749 
750 
751 
752  protected:
753  // More persistent variables, will be serialized.
755  bool m_valid;
759 
760  };
761 
765  {
766  public:
786  SingleCupSuctionGripper(size_t sealResolution,
787  agx::Real gripperRadius = agx::Real(0.025),
788  agx::Real gripperHeight = agx::Real(0.01),
789  agx::Real cupHeight = agx::Real(0.05),
790  agx::Real lipHeight = agx::Real(0.01),
791  agxCollide::Trimesh* deformableMesh = nullptr,
792  agx::Material* cupMaterial = nullptr,
793  agx::RigidBody* holderBody = nullptr,
794  agx::RigidBody* cupBody = nullptr);
795 
799  agx::LockJoint* getLockJoint() const;
800 
804  agxCollide::Geometry* getTrimeshGeometry() const;
805 
809  agxCollide::Trimesh* getDeformableTrimesh() const;
810 
814  agxUtil::TrimeshDeformer* getTrimeshDeformer() const;
815 
817 
818  protected:
819  agx::RigidBody* createDefaultHolderBody(agx::Real radius, agx::Real height) const;
820  void setupDeformableTrimesh(SuctionCup* cup, agx::Frame* holderFrame);
821 
823  virtual ~SingleCupSuctionGripper();
824 
829 
830  };
831 }
832 
agxModel::SingleCupSuctionGripper::m_lock
agx::ref_ptr< agx::LockJoint > m_lock
Definition: SuctionGripper.h:825
agxModel::VacuumSystem::m_desiredVacuum
agx::Real m_desiredVacuum
Definition: SuctionGripper.h:373
agxModel::SuctionCup::m_currentLeakageArea
agx::Real m_currentLeakageArea
Definition: SuctionGripper.h:617
agxUtil::TrimeshDeformer
Definition: TrimeshDeformer.h:74
Referenced.h
agxModel::SuctionGripper::m_holderBody
agx::RigidBodyRef m_holderBody
Definition: SuctionGripper.h:754
agxSDK::StepEventListener::pre
virtual void pre(const agx::TimeStamp &time)
Called before a step is taken in the simulation Implement this method in the derived class to get cal...
Definition: StepEventListener.h:106
agxModel::SuctionCupSensorFilter::m_collisionGeometries
agxCollide::GeometryRefVector m_collisionGeometries
Definition: SuctionGripper.h:96
agxModel::SuctionCupSensorFilter
Class for filtering objects of interest nearby a suction cup.
Definition: SuctionGripper.h:52
agxModel::SuctionCup::m_lipRadius
agx::Real m_lipRadius
Definition: SuctionGripper.h:614
agxModel::SuctionCup::m_body
agx::RigidBodyRef m_body
Definition: SuctionGripper.h:613
agx::Real
double Real
Definition: Real.h:42
Sphere.h
agxModel
Contain classes for higher level modeling primitives, such as Tree, Terrain etc.
Definition: FlowUnit.h:36
agxData::GeometryPair
agx::SymmetricPair< agx::Physics::GeometryPtr > GeometryPair
Definition: Geometry.h:65
agxUtil::GeneralStepListener
Utility class to get step event callbacks to any class having the methods implemented.
Definition: agxUtil.h:524
agxModel::SuctionCup::m_sealSensors
agxCollide::GeometryRefSetVector m_sealSensors
Definition: SuctionGripper.h:627
agxModel::VacuumSystem::m_timeOfPumpStateToggled
agx::Real m_timeOfPumpStateToggled
Definition: SuctionGripper.h:376
agx::Vector< agx::ref_ptr< Geometry > >
agxModel::SuctionCup::m_calculatedAvailableVacuumForce
agx::Real m_calculatedAvailableVacuumForce
Definition: SuctionGripper.h:626
agxModel::VacuumSystem::m_outsideGasDensity
agx::Real m_outsideGasDensity
Definition: SuctionGripper.h:379
agx::Container::size
size_t size() const
Definition: Container.h:134
agx::RigidBody
The rigid body class, combining a geometric model and a frame of reference.
Definition: RigidBody.h:51
agxStream::Serializable
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
Definition: Serializable.h:44
agxModel::SuctionCup::m_line
agx::ref_ptr< agxCollide::Line > m_line
Definition: SuctionGripper.h:621
agxModel::SuctionCup::m_sealDepthMeasurements
agx::RealVector m_sealDepthMeasurements
Definition: SuctionGripper.h:628
agxModel::SuctionCup::m_miniSphereTransform
agx::AffineMatrix4x4 m_miniSphereTransform
Definition: SuctionGripper.h:622
export.h
agxModel::SuctionCupSensorFilter::~SuctionCupSensorFilter
virtual ~SuctionCupSensorFilter()
Definition: SuctionGripper.h:88
agxModel::SuctionCupInteraction
Definition: SuctionGripper.h:119
agxModel::SuctionCup::m_sealSensorReach
agx::Real m_sealSensorReach
Definition: SuctionGripper.h:620
Constraint.h
agx::AffineMatrix4x4T< Real >
agxSDK::ExecuteFilter
Abstract base class that implements a filter that selects which events should trigger a Listener.
Definition: ExecuteFilter.h:33
agxSDK::StepEventListener::post
virtual void post(const agx::TimeStamp &time)
Called after a step is taken in the simulation Implement this method in the derived class to get call...
Definition: StepEventListener.h:107
agxModel::SuctionCupSensorFilter::SuctionCupSensorFilter
SuctionCupSensorFilter()
Definition: SuctionGripper.h:56
Assembly.h
agxModel::SingleCupSuctionGripper::m_trimeshDeformer
agxUtil::TrimeshDeformerRef m_trimeshDeformer
Definition: SuctionGripper.h:828
agxModel::SuctionCupInteraction::m_interactedSealDepth
agx::HashVector< size_t, agx::Real > m_interactedSealDepth
Definition: SuctionGripper.h:262
agxModel::SuctionCup::m_activeInteractions
agx::HashVector< agx::RigidBody *, SuctionCupInteractionRef > m_activeInteractions
Definition: SuctionGripper.h:631
agxModel::SuctionCup::m_lipHeight
agx::Real m_lipHeight
Definition: SuctionGripper.h:615
AGXSTREAM_DECLARE_SERIALIZABLE
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Definition: Serializable.h:207
agxModel::SingleCupSuctionGripper::m_trimeshGeometry
agxCollide::GeometryRef m_trimeshGeometry
Definition: SuctionGripper.h:827
agx::VectorPOD< GeometryContact * >
agxUtil::GeneralContactEventListener
Utility class to get contact event callbacks to any class having the methods implemented.
Definition: agxUtil.h:572
agx::observer_ptr< RigidBody >
agxModel::VacuumSystem::m_currentTime
agx::Real m_currentTime
Definition: SuctionGripper.h:377
agxSDK::StepEventListener::last
virtual void last(const agx::TimeStamp &time)
Called after a step is taken in the simulation Implement this method in the derived class to get call...
Definition: StepEventListener.h:108
agxModel::SuctionCupInteraction::m_calculatedForcePosition
agx::Vec3 m_calculatedForcePosition
Definition: SuctionGripper.h:260
agxModel::SuctionGripper
This should be considered a template class used as a base for Suction Gripper simulation models.
Definition: SuctionGripper.h:652
agxModel::SuctionGripper::m_valid
bool m_valid
Definition: SuctionGripper.h:755
AGX_DECLARE_VECTOR_TYPES
#define AGX_DECLARE_VECTOR_TYPES(type)
Definition: Vector.h:34
Vec2.h
agxModel::SuctionCupInteraction::m_body
agx::RigidBodyObserver m_body
Definition: SuctionGripper.h:261
agxSDK::Assembly
An assembly is a collection of basic simulation objects, such as rigid bodies, constraints,...
Definition: Assembly.h:67
agx::Vector::clear
void clear(ClearPolicy policy=SHRINK_BUFFER_AVERAGED)
Remove all elements, optionally with maintained buffer allocation.
Definition: Vector.h:491
agxModel::SuctionCupInteraction::m_foundSurfacePosition
agx::Vec3 m_foundSurfacePosition
Definition: SuctionGripper.h:257
agx::ref_ptr< RigidBody >
agxModel::SuctionCupSensorFilter::match
virtual bool match(const agxCollide::Geometry *g0, const agxCollide::Geometry *g1) const override
Inherited from agxSDK::ExecuteFilter.
Definition: SuctionGripper.h:70
agxModel::SuctionCup::m_sealResolution
size_t m_sealResolution
Definition: SuctionGripper.h:618
agxSDK::Simulation
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Definition: Simulation.h:125
agxModel::SuctionCup::m_contactCallback
agx::ref_ptr< agxUtil::GeneralContactEventListener< SuctionCup > > m_contactCallback
Definition: SuctionGripper.h:629
agxCollide::Shape
Base class for a shape.
Definition: Shape.h:53
Line.h
agx::SetVector< agx::ref_ptr< agxCollide::Geometry > >
agxModel::SuctionCupInteraction::m_centerNormalWorld
agx::Vec3 m_centerNormalWorld
Definition: SuctionGripper.h:256
agxModel::SingleCupSuctionGripper::m_trimesh
agxCollide::TrimeshRef m_trimesh
Definition: SuctionGripper.h:826
agxModel::SuctionCupSensorFilter::addGeometry
void addGeometry(agxCollide::Geometry *geometry)
Definition: SuctionGripper.h:59
agxSDK::ContactEventListener::KeepContactPolicy
KeepContactPolicy
Defines whether contact should be kept or removed after contact/impact methods returns.
Definition: ContactEventListener.h:59
agxModel::SuctionCupInteraction::m_centerDistance
agx::Real m_centerDistance
Definition: SuctionGripper.h:255
TrimeshDeformer.h
agxModel::VacuumSystem::m_pumpEnabled
bool m_pumpEnabled
Definition: SuctionGripper.h:375
agxModel::SingleCupSuctionGripper
Definition: SuctionGripper.h:764
agxModel::VacuumSystem::m_outsidePressure
agx::Real m_outsidePressure
Definition: SuctionGripper.h:378
agxCollide::Geometry
The geometry representation used by the collision detection engine.
Definition: Geometry.h:91
agxModel::SuctionCup::m_collisionFilter
SuctionCupSensorFilterRef m_collisionFilter
Definition: SuctionGripper.h:625
agxModel::SuctionCupInteraction::m_centered
bool m_centered
Definition: SuctionGripper.h:254
agx::LockJoint
Constraint that removes all 6 DOF between two bodies, or one body and the world.
Definition: LockJoint.h:30
Frame.h
agxModel::SuctionCup::m_lineSensor
agxCollide::GeometryRef m_lineSensor
Definition: SuctionGripper.h:624
LockJoint.h
Serializable.h
agx::HashSet
Inheritance with partial specialization due to bug with ref_ptr containers.
Definition: HashSet.h:669
agxModel::VacuumSystem::m_currentVacuum
agx::Real m_currentVacuum
Definition: SuctionGripper.h:374
agxModel::SuctionCup::m_mountingRadius
agx::Real m_mountingRadius
Definition: SuctionGripper.h:616
Mesh.h
agx::Referenced
Base class providing referencing counted objects.
Definition: Referenced.h:119
AGX_DECLARE_POINTER_TYPES
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:254
agxCollide::GeometryContact
A contact between two geometries.
Definition: Contacts.h:270
agxModel::SuctionCupInteraction::m_calculatedForce
agx::Vec3 m_calculatedForce
Definition: SuctionGripper.h:259
agx::TimeStamp
agx::Real TimeStamp
Definition: TimeStamp.h:26
agxModel::SuctionCup::m_miniSphere
agxCollide::SphereRef m_miniSphere
Definition: SuctionGripper.h:623
agxModel::SuctionCup::m_localLineSensorVector
agx::Vec3 m_localLineSensorVector
Definition: SuctionGripper.h:619
agxModel::SuctionGripper::m_vacuumSystem
VacuumSystemRef m_vacuumSystem
Definition: SuctionGripper.h:756
AGXMODEL_EXPORT
#define AGXMODEL_EXPORT
Definition: agxModel/export.h:42
agxSDK
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
Definition: Constraint.h:30
agxModel::SuctionCupSensorFilter::getGeometries
const agxCollide::GeometryRefVector & getGeometries() const
Definition: SuctionGripper.h:64
agxModel::SuctionCupInteraction::m_calculatedScalarForce
agx::Real m_calculatedScalarForce
Definition: SuctionGripper.h:258
agx::Material
Main material class which acts as a holder of a Surface Material and a Bulk material.
Definition: Material.h:375
agx::Vec3T< Real >
agxModel::SuctionGripper::m_suctionCups
agxModel::SuctionCupRefVector m_suctionCups
Definition: SuctionGripper.h:758
agxCollide::Trimesh
Triangle mesh for geometric intersection tests.
Definition: Trimesh.h:42
Real.h
agxModel::SuctionCupInteraction::m_tempContacts
agxCollide::GeometryContactPtrVector m_tempContacts
Definition: SuctionGripper.h:263
agxModel::VacuumSystem
Basic model for a vacuum system used by a SuctionGripper.
Definition: SuctionGripper.h:279
agxModel::SuctionCupSensorFilter::m_sensors
agxCollide::GeometryRefVector m_sensors
Definition: SuctionGripper.h:91
agxModel::SuctionCup
Definition: SuctionGripper.h:418
agx::Frame
The object defining a frame of reference and providing transformations operations.
Definition: Frame.h:67
agxModel::SuctionGripper::m_stepCallback
agx::ref_ptr< agxUtil::GeneralStepListener< SuctionGripper > > m_stepCallback
Definition: SuctionGripper.h:757
agxModel::SuctionCupRefSet
agx::HashSet< SuctionCupRef > SuctionCupRefSet
The SuctionCup model owns a body which is mean to be attached somewhere on a SuctionGripper holder.
Definition: SuctionGripper.h:417
agx::HashVector< size_t, agx::Real >
agxSDK::Assembly::removeNotification
virtual void removeNotification(agxSDK::Simulation *)
Called when this assembly is removed from a simulation.
Definition: Assembly.h:657
agxSDK::StepEventListener::preCollide
virtual void preCollide(const agx::TimeStamp &time)
Called before collision detection is performed in the simulation Implement this method in the derived...
Definition: StepEventListener.h:105
agxModel::SuctionCup::m_interactionsPool
SuctionCupInteractionRefVector m_interactionsPool
Definition: SuctionGripper.h:632
agxUtil.h
agx::Vector::push_back
void push_back(const T2 &value)
Definition: Vector.h:715
agxSDK::Assembly::addNotification
virtual void addNotification(agxSDK::Simulation *)
Called when this assembly is added to a simulation (given that it not already is in the simulation).
Definition: Assembly.h:652