AGX Dynamics  2.35.0.1
ContactMaterialEntity.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2022. 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
9 having been advised so by Algoryx Simulation AB for a time limited evaluation,
10 or having purchased a 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 
18 // AUTOMATICALLY GENERATED ENTITY, DO NOT EDIT! //
20 
21 #ifndef GENERATED_AGX_PHYSICS_CONTACTMATERIAL_H_PLUGIN
22 #define GENERATED_AGX_PHYSICS_CONTACTMATERIAL_H_PLUGIN
23 
24 #define AGX_ENTITY_WRAPPER 1
25 
26 
27 #ifdef _MSC_VER
28 # pragma warning(push)
29 // warning C4505: 'agxData::VectorAttributeT<T>::print' : unreferenced local function has been removed
30 # pragma warning( disable : 4505 )
31 // warning C4251: 'X' : class 'Y' needs to have dll-interface to be used by clients of class 'Z'
32 # pragma warning( disable : 4251 )
33 // warning C4355: 'this' : used in base member initializer list
34 # pragma warning( disable : 4355 )
35 // marked as __forceinline not inlined
36 # pragma warning( disable: 4714 )
37 #endif
38 
39 #include <agxData/EntityModel.h>
40 #include <agxData/EntityStorage.h>
41 #include <agxData/EntityRef.h>
42 #include <agxData/EntityPtr.h>
43 #include <agxData/EntityInstance.h>
44 #include <agx/Integer.h>
45 #include <agx/Real.h>
46 #include <agx/macros.h>
47 #include <agx/ReferencedEntity.h>
48 #include <agx/Integer.h>
50 #include <agx/Vec3.h>
51 #include <agx/Real.h>
52 namespace agx { class ContactMaterial; }
53 
54 namespace agx { namespace Physics { class MaterialPtr; }}
55 namespace agx { namespace Physics { class MaterialPtr; }}
56 
57 namespace agx
58 {
59  namespace Physics
60  {
61 
62  class ContactMaterialModel;
63  class ContactMaterialData;
64  class ContactMaterialPtr;
65  class ContactMaterialInstance;
66  class ContactMaterialSemantics;
67 
68 
70 
75  {
76  public:
78 
79  ContactMaterialModel(const agx::String& name = "ContactMaterial");
80 
83 
86 
89 
91  virtual void shutdownCleanup() override;
92 
93 
94 
95  /* Attributes */
119 
120  protected:
122  virtual agxData::EntityData* createData(agxData::EntityStorage* storage) override;
123  virtual void configure(agx::TiXmlElement* eEntity) override;
124  virtual void initAttributeAccessors() override;
125  virtual void construct(agxData::EntityPtr instance) override;
127  };
128 
129 
131  #ifndef AGX_PHYSICS_CONTACTMATERIAL_DATA_SET_OVERRIDE
132  #define AGX_PHYSICS_CONTACTMATERIAL_DATA_SET
133  class AGXPHYSICS_EXPORT ContactMaterialData : public agx::ReferencedData
134  {
135  public:
136  ContactMaterialInstance operator[] (size_t index);
137 
138  public:
140  agxData::Array< agx::Bool > isExplicit;
143  agxData::Array< agx::Vec3 > restitution;
146  agxData::Array< agx::Real > adhesiveOverlap;
147  agxData::Array< agx::Vec3 > viscosity;
148  agxData::Array< agx::Bool > surfaceFrictionEnabled;
149  agxData::Array< agx::UInt8 > contactReductionMode;
150  agxData::Array< agx::UInt8 > contactReductionBinResolution;
151  agxData::Array< agx::Bool > useContactAreaApproach;
152  agxData::Array< agx::Vec3 > wireFriction;
153  agxData::Array< agx::Real > youngsModulus;
155  agxData::Array< agx::Real > minElasticRestLength;
156  agxData::Array< agx::Real > maxElasticRestLength;
157  agxData::Array< agx::Real > impactCompliance;
158  agxData::Array< agx::Real > rollingResistanceCoefficient;
159  agxData::Array< agx::Real > twistingResistanceCoefficient;
160  agxData::Array< agx::Real > rollingResistanceCompliance;
161  agxData::Array< agx::Real > twistingResistanceCompliance;
163 
164  public:
165  typedef agx::Bool isExplicitType;
166  typedef agx::Physics::MaterialPtr material1Type;
167  typedef agx::Physics::MaterialPtr material2Type;
168  typedef agx::Vec3 restitutionType;
169  typedef agx::Vec3 frictionType;
170  typedef agx::Real adhesionType;
171  typedef agx::Real adhesiveOverlapType;
172  typedef agx::Vec3 viscosityType;
173  typedef agx::Bool surfaceFrictionEnabledType;
174  typedef agx::UInt8 contactReductionModeType;
175  typedef agx::UInt8 contactReductionBinResolutionType;
176  typedef agx::Bool useContactAreaApproachType;
177  typedef agx::Vec3 wireFrictionType;
178  typedef agx::Real youngsModulusType;
179  typedef agx::Real dampingType;
180  typedef agx::Real minElasticRestLengthType;
181  typedef agx::Real maxElasticRestLengthType;
182  typedef agx::Real impactComplianceType;
183  typedef agx::Real rollingResistanceCoefficientType;
184  typedef agx::Real twistingResistanceCoefficientType;
185  typedef agx::Real rollingResistanceComplianceType;
186  typedef agx::Real twistingResistanceComplianceType;
187  typedef agx::ContactMaterial* modelType;
188 
189  public:
190  ContactMaterialData(agxData::EntityStorage* storage);
191  ContactMaterialData();
192 
193  protected:
194  virtual ~ContactMaterialData() {}
195  virtual void setNumElements(agx::Index numElements) override;
196 
197  private:
198  ContactMaterialData& operator= (const ContactMaterialData&) { return *this; }
199 
200  };
201  #endif
203 
204 
206  class AGXPHYSICS_EXPORT ContactMaterialSemantics : public agx::ReferencedSemantics
207  {
208  public:
209 
210  // Automatic getters
211  agx::Bool const& getIsExplicit() const;
212  agx::Physics::MaterialPtr const& getMaterial1() const;
213  agx::Physics::MaterialPtr const& getMaterial2() const;
214  agx::Vec3 const& getRestitution() const;
215  agx::Vec3 const& getFriction() const;
216  agx::Real const& getAdhesion() const;
217  agx::Real const& getAdhesiveOverlap() const;
218  agx::Vec3 const& getViscosity() const;
219  agx::Bool const& getSurfaceFrictionEnabled() const;
220  agx::UInt8 const& getContactReductionMode() const;
221  agx::UInt8 const& getContactReductionBinResolution() const;
222  agx::Bool const& getUseContactAreaApproach() const;
223  agx::Vec3 const& getWireFriction() const;
224  agx::Real const& getYoungsModulus() const;
225  agx::Real const& getDamping() const;
226  agx::Real const& getMinElasticRestLength() const;
227  agx::Real const& getMaxElasticRestLength() const;
228  agx::Real const& getImpactCompliance() const;
229  agx::Real const& getRollingResistanceCoefficient() const;
230  agx::Real const& getTwistingResistanceCoefficient() const;
231  agx::Real const& getRollingResistanceCompliance() const;
232  agx::Real const& getTwistingResistanceCompliance() const;
233  agx::ContactMaterial* const& getModel() const;
234 
235  // Semantics defined by explicit kernels
236 
237  // Automatic setters
238  void setIsExplicit(agx::Bool const& value);
239  void setMaterial1(agx::Physics::MaterialPtr const& value);
240  void setMaterial2(agx::Physics::MaterialPtr const& value);
241  void setRestitution(agx::Vec3 const& value);
242  void setFriction(agx::Vec3 const& value);
243  void setAdhesion(agx::Real const& value);
244  void setAdhesiveOverlap(agx::Real const& value);
245  void setViscosity(agx::Vec3 const& value);
246  void setSurfaceFrictionEnabled(agx::Bool const& value);
247  void setContactReductionMode(agx::UInt8 const& value);
248  void setContactReductionBinResolution(agx::UInt8 const& value);
249  void setUseContactAreaApproach(agx::Bool const& value);
250  void setWireFriction(agx::Vec3 const& value);
251  void setYoungsModulus(agx::Real const& value);
252  void setDamping(agx::Real const& value);
253  void setMinElasticRestLength(agx::Real const& value);
254  void setMaxElasticRestLength(agx::Real const& value);
255  void setImpactCompliance(agx::Real const& value);
256  void setRollingResistanceCoefficient(agx::Real const& value);
257  void setTwistingResistanceCoefficient(agx::Real const& value);
258  void setRollingResistanceCompliance(agx::Real const& value);
259  void setTwistingResistanceCompliance(agx::Real const& value);
260  void setModel(agx::ContactMaterial* const& value);
261 
262 
263  protected:
264  friend class ContactMaterialPtr;
265  friend class ContactMaterialInstance;
266  ContactMaterialSemantics();
267  };
269 
270 
271 
275  {
276  public:
278  typedef ContactMaterialData DataType;
279  typedef ContactMaterialInstance InstanceType;
280 
281  public:
288  AGXPHYSICS_EXPORT ContactMaterialInstance instance();
289  AGXPHYSICS_EXPORT const ContactMaterialInstance instance() const;
290 
291  AGXPHYSICS_EXPORT ContactMaterialSemantics* operator->();
292  AGXPHYSICS_EXPORT const ContactMaterialSemantics* operator->() const;
293 
294  ContactMaterialData* getData();
295  const ContactMaterialData* getData() const;
296 
297 
302 
307 
312 
317 
322 
327 
332 
337 
342 
347 
352 
357 
362 
367 
372 
377 
382 
387 
392 
397 
402 
407 
412 
414  // Only used by tolua!
415  #ifdef AGX_GENERATED_TOLUA_WRAPPER
416  inline agx::Bool const& getIsExplicit() const { return (*this)->getIsExplicit(); }
417  inline agx::Physics::MaterialPtr const& getMaterial1() const { return (*this)->getMaterial1(); }
418  inline agx::Physics::MaterialPtr const& getMaterial2() const { return (*this)->getMaterial2(); }
419  inline agx::Vec3 const& getRestitution() const { return (*this)->getRestitution(); }
420  inline agx::Vec3 const& getFriction() const { return (*this)->getFriction(); }
421  inline agx::Real const& getAdhesion() const { return (*this)->getAdhesion(); }
422  inline agx::Real const& getAdhesiveOverlap() const { return (*this)->getAdhesiveOverlap(); }
423  inline agx::Vec3 const& getViscosity() const { return (*this)->getViscosity(); }
424  inline agx::Bool const& getSurfaceFrictionEnabled() const { return (*this)->getSurfaceFrictionEnabled(); }
425  inline agx::UInt8 const& getContactReductionMode() const { return (*this)->getContactReductionMode(); }
426  inline agx::UInt8 const& getContactReductionBinResolution() const { return (*this)->getContactReductionBinResolution(); }
427  inline agx::Bool const& getUseContactAreaApproach() const { return (*this)->getUseContactAreaApproach(); }
428  inline agx::Vec3 const& getWireFriction() const { return (*this)->getWireFriction(); }
429  inline agx::Real const& getYoungsModulus() const { return (*this)->getYoungsModulus(); }
430  inline agx::Real const& getDamping() const { return (*this)->getDamping(); }
431  inline agx::Real const& getMinElasticRestLength() const { return (*this)->getMinElasticRestLength(); }
432  inline agx::Real const& getMaxElasticRestLength() const { return (*this)->getMaxElasticRestLength(); }
433  inline agx::Real const& getImpactCompliance() const { return (*this)->getImpactCompliance(); }
434  inline agx::Real const& getRollingResistanceCoefficient() const { return (*this)->getRollingResistanceCoefficient(); }
435  inline agx::Real const& getTwistingResistanceCoefficient() const { return (*this)->getTwistingResistanceCoefficient(); }
436  inline agx::Real const& getRollingResistanceCompliance() const { return (*this)->getRollingResistanceCompliance(); }
437  inline agx::Real const& getTwistingResistanceCompliance() const { return (*this)->getTwistingResistanceCompliance(); }
438  inline agx::ContactMaterial* const& getModel() const { return (*this)->getModel(); }
439 
440 
441  inline void setIsExplicit(agx::Bool const& value) { (*this)->setIsExplicit(value); }
442  inline void setMaterial1(agx::Physics::MaterialPtr const& value) { (*this)->setMaterial1(value); }
443  inline void setMaterial2(agx::Physics::MaterialPtr const& value) { (*this)->setMaterial2(value); }
444  inline void setRestitution(agx::Vec3 const& value) { (*this)->setRestitution(value); }
445  inline void setFriction(agx::Vec3 const& value) { (*this)->setFriction(value); }
446  inline void setAdhesion(agx::Real const& value) { (*this)->setAdhesion(value); }
447  inline void setAdhesiveOverlap(agx::Real const& value) { (*this)->setAdhesiveOverlap(value); }
448  inline void setViscosity(agx::Vec3 const& value) { (*this)->setViscosity(value); }
449  inline void setSurfaceFrictionEnabled(agx::Bool const& value) { (*this)->setSurfaceFrictionEnabled(value); }
450  inline void setContactReductionMode(agx::UInt8 const& value) { (*this)->setContactReductionMode(value); }
451  inline void setContactReductionBinResolution(agx::UInt8 const& value) { (*this)->setContactReductionBinResolution(value); }
452  inline void setUseContactAreaApproach(agx::Bool const& value) { (*this)->setUseContactAreaApproach(value); }
453  inline void setWireFriction(agx::Vec3 const& value) { (*this)->setWireFriction(value); }
454  inline void setYoungsModulus(agx::Real const& value) { (*this)->setYoungsModulus(value); }
455  inline void setDamping(agx::Real const& value) { (*this)->setDamping(value); }
456  inline void setMinElasticRestLength(agx::Real const& value) { (*this)->setMinElasticRestLength(value); }
457  inline void setMaxElasticRestLength(agx::Real const& value) { (*this)->setMaxElasticRestLength(value); }
458  inline void setImpactCompliance(agx::Real const& value) { (*this)->setImpactCompliance(value); }
459  inline void setRollingResistanceCoefficient(agx::Real const& value) { (*this)->setRollingResistanceCoefficient(value); }
460  inline void setTwistingResistanceCoefficient(agx::Real const& value) { (*this)->setTwistingResistanceCoefficient(value); }
461  inline void setRollingResistanceCompliance(agx::Real const& value) { (*this)->setRollingResistanceCompliance(value); }
462  inline void setTwistingResistanceCompliance(agx::Real const& value) { (*this)->setTwistingResistanceCompliance(value); }
463  inline void setModel(agx::ContactMaterial* const& value) { (*this)->setModel(value); }
464  #endif
466 
467  };
468 
469  // Entity is Referenced
471 
472 
474  class AGXPHYSICS_EXPORT ContactMaterialInstance : public agx::ReferencedInstance
475  {
476  public:
477  ContactMaterialInstance();
478  ContactMaterialInstance(ContactMaterialData* data, agx::Index index);
479  ContactMaterialInstance(agxData::EntityStorage *storage, agx::Index index);
480  ContactMaterialInstance(const agxData::EntityInstance& other);
481  ContactMaterialInstance(const agxData::EntityPtr& ptr);
482 
483  ContactMaterialData* getData();
484  const ContactMaterialData* getData() const;
485 
486  public:
488  agx::Bool& isExplicit();
490  agx::Bool const& isExplicit() const;
491 
493  agx::Physics::MaterialPtr& material1();
495  agx::Physics::MaterialPtr const& material1() const;
496 
498  agx::Physics::MaterialPtr& material2();
500  agx::Physics::MaterialPtr const& material2() const;
501 
503  agx::Vec3& restitution();
505  agx::Vec3 const& restitution() const;
506 
508  agx::Vec3& friction();
510  agx::Vec3 const& friction() const;
511 
513  agx::Real& adhesion();
515  agx::Real const& adhesion() const;
516 
518  agx::Real& adhesiveOverlap();
520  agx::Real const& adhesiveOverlap() const;
521 
523  agx::Vec3& viscosity();
525  agx::Vec3 const& viscosity() const;
526 
528  agx::Bool& surfaceFrictionEnabled();
530  agx::Bool const& surfaceFrictionEnabled() const;
531 
533  agx::UInt8& contactReductionMode();
535  agx::UInt8 const& contactReductionMode() const;
536 
538  agx::UInt8& contactReductionBinResolution();
540  agx::UInt8 const& contactReductionBinResolution() const;
541 
543  agx::Bool& useContactAreaApproach();
545  agx::Bool const& useContactAreaApproach() const;
546 
548  agx::Vec3& wireFriction();
550  agx::Vec3 const& wireFriction() const;
551 
553  agx::Real& youngsModulus();
555  agx::Real const& youngsModulus() const;
556 
558  agx::Real& damping();
560  agx::Real const& damping() const;
561 
563  agx::Real& minElasticRestLength();
565  agx::Real const& minElasticRestLength() const;
566 
568  agx::Real& maxElasticRestLength();
570  agx::Real const& maxElasticRestLength() const;
571 
573  agx::Real& impactCompliance();
575  agx::Real const& impactCompliance() const;
576 
578  agx::Real& rollingResistanceCoefficient();
580  agx::Real const& rollingResistanceCoefficient() const;
581 
583  agx::Real& twistingResistanceCoefficient();
585  agx::Real const& twistingResistanceCoefficient() const;
586 
588  agx::Real& rollingResistanceCompliance();
590  agx::Real const& rollingResistanceCompliance() const;
591 
593  agx::Real& twistingResistanceCompliance();
595  agx::Real const& twistingResistanceCompliance() const;
596 
598  agx::ContactMaterial*& model();
600  agx::ContactMaterial* const& model() const;
601 
602  };
604 
605 
606 
609 
610 
611 
613  /* Implementation */
614  //-----------------------------------------------------------------------------------------------------
615  //-----------------------------------------------------------------------------------------------------
616  inline ContactMaterialInstance agx::Physics::ContactMaterialData::operator[] (size_t index) { return ContactMaterialInstance(this, (agx::Index)index); }
617  //-----------------------------------------------------------------------------------------------------
620  AGX_FORCE_INLINE ContactMaterialPtr::ContactMaterialPtr(const agxData::EntityPtr& ptr) : agx::ReferencedPtr(ptr)
621  {
623  "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
625  }
626 
627  AGX_FORCE_INLINE ContactMaterialPtr::ContactMaterialPtr(const agxData::EntityInstance& instance) : agx::ReferencedPtr(instance)
628  {
629  agxAssertN(!instance || instance.isInstanceOf(ContactMaterialModel::instance()),
630  "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
632  }
633 
634  AGX_FORCE_INLINE ContactMaterialPtr& ContactMaterialPtr::operator= (const agxData::EntityPtr& ptr)
635  {
637  agxAssertN(!ptr || ptr.isInstanceOf(ContactMaterialModel::instance()),
638  "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
639  EntityPtr::getModel()->fullPath().c_str(), ContactMaterialModel::instance()->fullPath().c_str());
640  return *this;
641  }
642 
643  AGX_FORCE_INLINE ContactMaterialPtr& ContactMaterialPtr::operator= (const agxData::EntityInstance& instance)
644  {
646  agxAssertN(!instance || instance.isInstanceOf(ContactMaterialModel::instance()),
647  "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
648  EntityPtr::getModel()->fullPath().c_str(), ContactMaterialModel::instance()->fullPath().c_str());
649  return *this;
650  }
651 
652  inline ContactMaterialInstance ContactMaterialPtr::instance() { return agxData::EntityPtr::instance(); }
653  inline const ContactMaterialInstance ContactMaterialPtr::instance() const { return agxData::EntityPtr::instance(); }
654  AGX_FORCE_INLINE ContactMaterialSemantics* ContactMaterialPtr::operator->() { return (ContactMaterialSemantics* )this; }
655  AGX_FORCE_INLINE const ContactMaterialSemantics* ContactMaterialPtr::operator->() const { return (const ContactMaterialSemantics* )this; }
656  AGX_FORCE_INLINE ContactMaterialData* ContactMaterialPtr::getData() { return static_cast<ContactMaterialData* >(agxData::EntityPtr::getData()); }
657  AGX_FORCE_INLINE const ContactMaterialData* ContactMaterialPtr::getData() const { return static_cast<const ContactMaterialData* >(agxData::EntityPtr::getData()); }
658 
659  AGX_FORCE_INLINE agx::Bool& ContactMaterialPtr::isExplicit() { verifyIndex(); return getData()->isExplicit[calculateIndex()]; }
660  AGX_FORCE_INLINE agx::Bool const& ContactMaterialPtr::isExplicit() const { verifyIndex(); return getData()->isExplicit[calculateIndex()]; }
661 
662  AGX_FORCE_INLINE agx::Physics::MaterialPtr& ContactMaterialPtr::material1() { verifyIndex(); return getData()->material1[calculateIndex()]; }
663  AGX_FORCE_INLINE agx::Physics::MaterialPtr const& ContactMaterialPtr::material1() const { verifyIndex(); return getData()->material1[calculateIndex()]; }
664 
665  AGX_FORCE_INLINE agx::Physics::MaterialPtr& ContactMaterialPtr::material2() { verifyIndex(); return getData()->material2[calculateIndex()]; }
666  AGX_FORCE_INLINE agx::Physics::MaterialPtr const& ContactMaterialPtr::material2() const { verifyIndex(); return getData()->material2[calculateIndex()]; }
667 
668  AGX_FORCE_INLINE agx::Vec3& ContactMaterialPtr::restitution() { verifyIndex(); return getData()->restitution[calculateIndex()]; }
669  AGX_FORCE_INLINE agx::Vec3 const& ContactMaterialPtr::restitution() const { verifyIndex(); return getData()->restitution[calculateIndex()]; }
670 
671  AGX_FORCE_INLINE agx::Vec3& ContactMaterialPtr::friction() { verifyIndex(); return getData()->friction[calculateIndex()]; }
672  AGX_FORCE_INLINE agx::Vec3 const& ContactMaterialPtr::friction() const { verifyIndex(); return getData()->friction[calculateIndex()]; }
673 
674  AGX_FORCE_INLINE agx::Real& ContactMaterialPtr::adhesion() { verifyIndex(); return getData()->adhesion[calculateIndex()]; }
675  AGX_FORCE_INLINE agx::Real const& ContactMaterialPtr::adhesion() const { verifyIndex(); return getData()->adhesion[calculateIndex()]; }
676 
677  AGX_FORCE_INLINE agx::Real& ContactMaterialPtr::adhesiveOverlap() { verifyIndex(); return getData()->adhesiveOverlap[calculateIndex()]; }
678  AGX_FORCE_INLINE agx::Real const& ContactMaterialPtr::adhesiveOverlap() const { verifyIndex(); return getData()->adhesiveOverlap[calculateIndex()]; }
679 
680  AGX_FORCE_INLINE agx::Vec3& ContactMaterialPtr::viscosity() { verifyIndex(); return getData()->viscosity[calculateIndex()]; }
681  AGX_FORCE_INLINE agx::Vec3 const& ContactMaterialPtr::viscosity() const { verifyIndex(); return getData()->viscosity[calculateIndex()]; }
682 
683  AGX_FORCE_INLINE agx::Bool& ContactMaterialPtr::surfaceFrictionEnabled() { verifyIndex(); return getData()->surfaceFrictionEnabled[calculateIndex()]; }
684  AGX_FORCE_INLINE agx::Bool const& ContactMaterialPtr::surfaceFrictionEnabled() const { verifyIndex(); return getData()->surfaceFrictionEnabled[calculateIndex()]; }
685 
686  AGX_FORCE_INLINE agx::UInt8& ContactMaterialPtr::contactReductionMode() { verifyIndex(); return getData()->contactReductionMode[calculateIndex()]; }
687  AGX_FORCE_INLINE agx::UInt8 const& ContactMaterialPtr::contactReductionMode() const { verifyIndex(); return getData()->contactReductionMode[calculateIndex()]; }
688 
689  AGX_FORCE_INLINE agx::UInt8& ContactMaterialPtr::contactReductionBinResolution() { verifyIndex(); return getData()->contactReductionBinResolution[calculateIndex()]; }
690  AGX_FORCE_INLINE agx::UInt8 const& ContactMaterialPtr::contactReductionBinResolution() const { verifyIndex(); return getData()->contactReductionBinResolution[calculateIndex()]; }
691 
692  AGX_FORCE_INLINE agx::Bool& ContactMaterialPtr::useContactAreaApproach() { verifyIndex(); return getData()->useContactAreaApproach[calculateIndex()]; }
693  AGX_FORCE_INLINE agx::Bool const& ContactMaterialPtr::useContactAreaApproach() const { verifyIndex(); return getData()->useContactAreaApproach[calculateIndex()]; }
694 
695  AGX_FORCE_INLINE agx::Vec3& ContactMaterialPtr::wireFriction() { verifyIndex(); return getData()->wireFriction[calculateIndex()]; }
696  AGX_FORCE_INLINE agx::Vec3 const& ContactMaterialPtr::wireFriction() const { verifyIndex(); return getData()->wireFriction[calculateIndex()]; }
697 
698  AGX_FORCE_INLINE agx::Real& ContactMaterialPtr::youngsModulus() { verifyIndex(); return getData()->youngsModulus[calculateIndex()]; }
699  AGX_FORCE_INLINE agx::Real const& ContactMaterialPtr::youngsModulus() const { verifyIndex(); return getData()->youngsModulus[calculateIndex()]; }
700 
701  AGX_FORCE_INLINE agx::Real& ContactMaterialPtr::damping() { verifyIndex(); return getData()->damping[calculateIndex()]; }
702  AGX_FORCE_INLINE agx::Real const& ContactMaterialPtr::damping() const { verifyIndex(); return getData()->damping[calculateIndex()]; }
703 
704  AGX_FORCE_INLINE agx::Real& ContactMaterialPtr::minElasticRestLength() { verifyIndex(); return getData()->minElasticRestLength[calculateIndex()]; }
705  AGX_FORCE_INLINE agx::Real const& ContactMaterialPtr::minElasticRestLength() const { verifyIndex(); return getData()->minElasticRestLength[calculateIndex()]; }
706 
707  AGX_FORCE_INLINE agx::Real& ContactMaterialPtr::maxElasticRestLength() { verifyIndex(); return getData()->maxElasticRestLength[calculateIndex()]; }
708  AGX_FORCE_INLINE agx::Real const& ContactMaterialPtr::maxElasticRestLength() const { verifyIndex(); return getData()->maxElasticRestLength[calculateIndex()]; }
709 
710  AGX_FORCE_INLINE agx::Real& ContactMaterialPtr::impactCompliance() { verifyIndex(); return getData()->impactCompliance[calculateIndex()]; }
711  AGX_FORCE_INLINE agx::Real const& ContactMaterialPtr::impactCompliance() const { verifyIndex(); return getData()->impactCompliance[calculateIndex()]; }
712 
713  AGX_FORCE_INLINE agx::Real& ContactMaterialPtr::rollingResistanceCoefficient() { verifyIndex(); return getData()->rollingResistanceCoefficient[calculateIndex()]; }
714  AGX_FORCE_INLINE agx::Real const& ContactMaterialPtr::rollingResistanceCoefficient() const { verifyIndex(); return getData()->rollingResistanceCoefficient[calculateIndex()]; }
715 
716  AGX_FORCE_INLINE agx::Real& ContactMaterialPtr::twistingResistanceCoefficient() { verifyIndex(); return getData()->twistingResistanceCoefficient[calculateIndex()]; }
717  AGX_FORCE_INLINE agx::Real const& ContactMaterialPtr::twistingResistanceCoefficient() const { verifyIndex(); return getData()->twistingResistanceCoefficient[calculateIndex()]; }
718 
719  AGX_FORCE_INLINE agx::Real& ContactMaterialPtr::rollingResistanceCompliance() { verifyIndex(); return getData()->rollingResistanceCompliance[calculateIndex()]; }
720  AGX_FORCE_INLINE agx::Real const& ContactMaterialPtr::rollingResistanceCompliance() const { verifyIndex(); return getData()->rollingResistanceCompliance[calculateIndex()]; }
721 
722  AGX_FORCE_INLINE agx::Real& ContactMaterialPtr::twistingResistanceCompliance() { verifyIndex(); return getData()->twistingResistanceCompliance[calculateIndex()]; }
723  AGX_FORCE_INLINE agx::Real const& ContactMaterialPtr::twistingResistanceCompliance() const { verifyIndex(); return getData()->twistingResistanceCompliance[calculateIndex()]; }
724 
725  AGX_FORCE_INLINE agx::ContactMaterial*& ContactMaterialPtr::model() { verifyIndex(); return getData()->model[calculateIndex()]; }
726  AGX_FORCE_INLINE agx::ContactMaterial* const& ContactMaterialPtr::model() const { verifyIndex(); return getData()->model[calculateIndex()]; }
727 
728  //-----------------------------------------------------------------------------------------------------
729  AGX_FORCE_INLINE ContactMaterialInstance::ContactMaterialInstance() {}
730  AGX_FORCE_INLINE ContactMaterialInstance::ContactMaterialInstance(ContactMaterialData* data, agx::Index index) : agx::ReferencedInstance(data, index) {}
731  AGX_FORCE_INLINE ContactMaterialInstance::ContactMaterialInstance(agxData::EntityStorage* storage, agx::Index index) : agx::ReferencedInstance(storage, index) {}
732  AGX_FORCE_INLINE ContactMaterialInstance::ContactMaterialInstance(const agxData::EntityInstance& other) : agx::ReferencedInstance(other)
733  {
735  "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
737  }
738 
739  AGX_FORCE_INLINE ContactMaterialInstance::ContactMaterialInstance(const agxData::EntityPtr& ptr) : agx::ReferencedInstance(ptr)
740  {
742  "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
744  }
745 
746 
747  AGX_FORCE_INLINE ContactMaterialData* ContactMaterialInstance::getData() { return static_cast<ContactMaterialData* >(agxData::EntityInstance::getData()); }
748  AGX_FORCE_INLINE const ContactMaterialData* ContactMaterialInstance::getData() const { return static_cast<const ContactMaterialData* >(agxData::EntityInstance::getData()); }
749 
750  AGX_FORCE_INLINE agx::Bool& ContactMaterialInstance::isExplicit() { verifyIndex(); return getData()->isExplicit[getIndex()]; }
751  AGX_FORCE_INLINE agx::Bool const& ContactMaterialInstance::isExplicit() const { verifyIndex(); return getData()->isExplicit[getIndex()]; }
752 
753  AGX_FORCE_INLINE agx::Physics::MaterialPtr& ContactMaterialInstance::material1() { verifyIndex(); return getData()->material1[getIndex()]; }
754  AGX_FORCE_INLINE agx::Physics::MaterialPtr const& ContactMaterialInstance::material1() const { verifyIndex(); return getData()->material1[getIndex()]; }
755 
756  AGX_FORCE_INLINE agx::Physics::MaterialPtr& ContactMaterialInstance::material2() { verifyIndex(); return getData()->material2[getIndex()]; }
757  AGX_FORCE_INLINE agx::Physics::MaterialPtr const& ContactMaterialInstance::material2() const { verifyIndex(); return getData()->material2[getIndex()]; }
758 
759  AGX_FORCE_INLINE agx::Vec3& ContactMaterialInstance::restitution() { verifyIndex(); return getData()->restitution[getIndex()]; }
760  AGX_FORCE_INLINE agx::Vec3 const& ContactMaterialInstance::restitution() const { verifyIndex(); return getData()->restitution[getIndex()]; }
761 
762  AGX_FORCE_INLINE agx::Vec3& ContactMaterialInstance::friction() { verifyIndex(); return getData()->friction[getIndex()]; }
763  AGX_FORCE_INLINE agx::Vec3 const& ContactMaterialInstance::friction() const { verifyIndex(); return getData()->friction[getIndex()]; }
764 
765  AGX_FORCE_INLINE agx::Real& ContactMaterialInstance::adhesion() { verifyIndex(); return getData()->adhesion[getIndex()]; }
766  AGX_FORCE_INLINE agx::Real const& ContactMaterialInstance::adhesion() const { verifyIndex(); return getData()->adhesion[getIndex()]; }
767 
768  AGX_FORCE_INLINE agx::Real& ContactMaterialInstance::adhesiveOverlap() { verifyIndex(); return getData()->adhesiveOverlap[getIndex()]; }
769  AGX_FORCE_INLINE agx::Real const& ContactMaterialInstance::adhesiveOverlap() const { verifyIndex(); return getData()->adhesiveOverlap[getIndex()]; }
770 
771  AGX_FORCE_INLINE agx::Vec3& ContactMaterialInstance::viscosity() { verifyIndex(); return getData()->viscosity[getIndex()]; }
772  AGX_FORCE_INLINE agx::Vec3 const& ContactMaterialInstance::viscosity() const { verifyIndex(); return getData()->viscosity[getIndex()]; }
773 
774  AGX_FORCE_INLINE agx::Bool& ContactMaterialInstance::surfaceFrictionEnabled() { verifyIndex(); return getData()->surfaceFrictionEnabled[getIndex()]; }
775  AGX_FORCE_INLINE agx::Bool const& ContactMaterialInstance::surfaceFrictionEnabled() const { verifyIndex(); return getData()->surfaceFrictionEnabled[getIndex()]; }
776 
777  AGX_FORCE_INLINE agx::UInt8& ContactMaterialInstance::contactReductionMode() { verifyIndex(); return getData()->contactReductionMode[getIndex()]; }
778  AGX_FORCE_INLINE agx::UInt8 const& ContactMaterialInstance::contactReductionMode() const { verifyIndex(); return getData()->contactReductionMode[getIndex()]; }
779 
780  AGX_FORCE_INLINE agx::UInt8& ContactMaterialInstance::contactReductionBinResolution() { verifyIndex(); return getData()->contactReductionBinResolution[getIndex()]; }
781  AGX_FORCE_INLINE agx::UInt8 const& ContactMaterialInstance::contactReductionBinResolution() const { verifyIndex(); return getData()->contactReductionBinResolution[getIndex()]; }
782 
783  AGX_FORCE_INLINE agx::Bool& ContactMaterialInstance::useContactAreaApproach() { verifyIndex(); return getData()->useContactAreaApproach[getIndex()]; }
784  AGX_FORCE_INLINE agx::Bool const& ContactMaterialInstance::useContactAreaApproach() const { verifyIndex(); return getData()->useContactAreaApproach[getIndex()]; }
785 
786  AGX_FORCE_INLINE agx::Vec3& ContactMaterialInstance::wireFriction() { verifyIndex(); return getData()->wireFriction[getIndex()]; }
787  AGX_FORCE_INLINE agx::Vec3 const& ContactMaterialInstance::wireFriction() const { verifyIndex(); return getData()->wireFriction[getIndex()]; }
788 
789  AGX_FORCE_INLINE agx::Real& ContactMaterialInstance::youngsModulus() { verifyIndex(); return getData()->youngsModulus[getIndex()]; }
790  AGX_FORCE_INLINE agx::Real const& ContactMaterialInstance::youngsModulus() const { verifyIndex(); return getData()->youngsModulus[getIndex()]; }
791 
792  AGX_FORCE_INLINE agx::Real& ContactMaterialInstance::damping() { verifyIndex(); return getData()->damping[getIndex()]; }
793  AGX_FORCE_INLINE agx::Real const& ContactMaterialInstance::damping() const { verifyIndex(); return getData()->damping[getIndex()]; }
794 
795  AGX_FORCE_INLINE agx::Real& ContactMaterialInstance::minElasticRestLength() { verifyIndex(); return getData()->minElasticRestLength[getIndex()]; }
796  AGX_FORCE_INLINE agx::Real const& ContactMaterialInstance::minElasticRestLength() const { verifyIndex(); return getData()->minElasticRestLength[getIndex()]; }
797 
798  AGX_FORCE_INLINE agx::Real& ContactMaterialInstance::maxElasticRestLength() { verifyIndex(); return getData()->maxElasticRestLength[getIndex()]; }
799  AGX_FORCE_INLINE agx::Real const& ContactMaterialInstance::maxElasticRestLength() const { verifyIndex(); return getData()->maxElasticRestLength[getIndex()]; }
800 
801  AGX_FORCE_INLINE agx::Real& ContactMaterialInstance::impactCompliance() { verifyIndex(); return getData()->impactCompliance[getIndex()]; }
802  AGX_FORCE_INLINE agx::Real const& ContactMaterialInstance::impactCompliance() const { verifyIndex(); return getData()->impactCompliance[getIndex()]; }
803 
804  AGX_FORCE_INLINE agx::Real& ContactMaterialInstance::rollingResistanceCoefficient() { verifyIndex(); return getData()->rollingResistanceCoefficient[getIndex()]; }
805  AGX_FORCE_INLINE agx::Real const& ContactMaterialInstance::rollingResistanceCoefficient() const { verifyIndex(); return getData()->rollingResistanceCoefficient[getIndex()]; }
806 
807  AGX_FORCE_INLINE agx::Real& ContactMaterialInstance::twistingResistanceCoefficient() { verifyIndex(); return getData()->twistingResistanceCoefficient[getIndex()]; }
808  AGX_FORCE_INLINE agx::Real const& ContactMaterialInstance::twistingResistanceCoefficient() const { verifyIndex(); return getData()->twistingResistanceCoefficient[getIndex()]; }
809 
810  AGX_FORCE_INLINE agx::Real& ContactMaterialInstance::rollingResistanceCompliance() { verifyIndex(); return getData()->rollingResistanceCompliance[getIndex()]; }
811  AGX_FORCE_INLINE agx::Real const& ContactMaterialInstance::rollingResistanceCompliance() const { verifyIndex(); return getData()->rollingResistanceCompliance[getIndex()]; }
812 
813  AGX_FORCE_INLINE agx::Real& ContactMaterialInstance::twistingResistanceCompliance() { verifyIndex(); return getData()->twistingResistanceCompliance[getIndex()]; }
814  AGX_FORCE_INLINE agx::Real const& ContactMaterialInstance::twistingResistanceCompliance() const { verifyIndex(); return getData()->twistingResistanceCompliance[getIndex()]; }
815 
816  AGX_FORCE_INLINE agx::ContactMaterial*& ContactMaterialInstance::model() { verifyIndex(); return getData()->model[getIndex()]; }
817  AGX_FORCE_INLINE agx::ContactMaterial* const& ContactMaterialInstance::model() const { verifyIndex(); return getData()->model[getIndex()]; }
818 
819  //-----------------------------------------------------------------------------------------------------
820  AGX_FORCE_INLINE ContactMaterialSemantics::ContactMaterialSemantics() {}
821  //-----------------------------------------------------------------------------------------------------
823  }
824 }
825 
826 AGX_TYPE_BINDING(agx::Physics::ContactMaterialPtr, "Physics.ContactMaterialPtr")
827 AGX_TYPE_BINDING(agx::Physics::ContactMaterialInstance, "Physics.ContactMaterialInstance")
828 
829 #ifdef _MSC_VER
830 # pragma warning(pop)
831 #endif
832 
833 #undef AGX_ENTITY_WRAPPER
834 #undef AGX_ENTITY_NAMESPACE
835 #endif
836 
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:248
#define AGX_TYPE_BINDING(_Type, _Name)
Definition: Type.h:179
#define AGXPHYSICS_EXPORT
Type-specific Array used for fast access into the data held by a Buffer.
Definition: Array.h:107
Entity instance provides access to a single instance in an EntityStorage.
bool isInstanceOf(agxData::EntityModel *model) const
agxData::EntityData * getData()
Accessor to a entity instance stored in a EntityStorage, to allow SOA (structure of arrays) data to b...
Definition: EntityPtr.h:52
bool isInstanceOf(agxData::EntityModel *model) const
agxData::EntityData * getData()
agxData::EntityInstance instance()
Definition: EntityPtr.h:269
EntityPtr & operator=(const EntityPtr &other)=default
Data storage for a collection of entity instances of a specified EntityModel.
Definition: EntityStorage.h:73
This class store the combine material properties between two agx::Material's.
Definition: Material.h:528
agx::String fullPath() const
agx::Model * getModel()
Definition: Object.h:371
Abstract description of the data attributes for the Physics.ContactMaterial entity.
static agxData::ScalarAttributeT< agx::Vec3 > * viscosityAttribute
static agxData::ScalarAttributeT< agx::Real > * adhesiveOverlapAttribute
virtual agxData::EntityData * createData(agxData::EntityStorage *storage) override
static agxData::ScalarAttributeT< agx::Physics::MaterialPtr > * material2Attribute
static agxData::ScalarAttributeT< agx::Real > * rollingResistanceComplianceAttribute
virtual void configure(agx::TiXmlElement *eEntity) override
static agxData::ScalarAttributeT< agx::Real > * minElasticRestLengthAttribute
static agxData::ScalarAttributeT< agx::Bool > * useContactAreaApproachAttribute
static agxData::ScalarAttributeT< agx::Real > * dampingAttribute
static agxData::ScalarAttributeT< agx::Vec3 > * wireFrictionAttribute
static agxData::ScalarAttributeT< agx::Bool > * surfaceFrictionEnabledAttribute
static ContactMaterialModel * instance()
static agxData::PointerAttributeT< agx::ContactMaterial * > * modelAttribute
static agxData::ScalarAttributeT< agx::Vec3 > * frictionAttribute
static agxData::ScalarAttributeT< agx::Real > * twistingResistanceComplianceAttribute
static agxData::ScalarAttributeT< agx::Real > * youngsModulusAttribute
void construct(agx::Physics::ContactMaterialPtr contactMaterial)
static agxData::ScalarAttributeT< agx::Real > * impactComplianceAttribute
static agxData::ScalarAttributeT< agx::UInt8 > * contactReductionBinResolutionAttribute
static agxData::ScalarAttributeT< agx::Real > * rollingResistanceCoefficientAttribute
virtual void initAttributeAccessors() override
static agxData::ScalarAttributeT< agx::Real > * twistingResistanceCoefficientAttribute
virtual void construct(agxData::EntityPtr instance) override
static agxData::EntityStorage * defaultStorage()
static agxData::ScalarAttributeT< agx::Vec3 > * restitutionAttribute
static ContactMaterialPtr createInstance()
Create and return a pointer to a new instance in the default storage for this entity model.
static agxData::ScalarAttributeT< agx::Bool > * isExplicitAttribute
static agxData::ScalarAttributeT< agx::UInt8 > * contactReductionModeAttribute
virtual void shutdownCleanup() override
This is part of internal cleanup and should not be called by users.
static agxData::ScalarAttributeT< agx::Physics::MaterialPtr > * material1Attribute
static agxData::ScalarAttributeT< agx::Real > * adhesionAttribute
static agxData::ScalarAttributeT< agx::Real > * maxElasticRestLengthAttribute
ContactMaterialModel(const agx::String &name="ContactMaterial")
Pointer to a entity instance of type Physics.ContactMaterial.
AGXPHYSICS_EXPORT agx::Real & rollingResistanceCoefficient()
AGXPHYSICS_EXPORT agx::Real const & rollingResistanceCoefficient() const
AGXPHYSICS_EXPORT agx::Bool const & useContactAreaApproach() const
AGXPHYSICS_EXPORT agx::Physics::MaterialPtr & material1()
AGXPHYSICS_EXPORT agx::ContactMaterial *& model()
AGXPHYSICS_EXPORT agx::Bool const & surfaceFrictionEnabled() const
AGXPHYSICS_EXPORT agx::Real & minElasticRestLength()
AGXPHYSICS_EXPORT agx::Real & damping()
AGXPHYSICS_EXPORT agx::Vec3 & friction()
AGXPHYSICS_EXPORT agx::Real const & youngsModulus() const
AGXPHYSICS_EXPORT ContactMaterialPtr(const agxData::EntityInstance &instance)
AGXPHYSICS_EXPORT ContactMaterialInstance instance()
AGXPHYSICS_EXPORT agx::Vec3 & wireFriction()
AGXPHYSICS_EXPORT agx::Bool & isExplicit()
AGXPHYSICS_EXPORT agx::Vec3 & viscosity()
AGXPHYSICS_EXPORT agx::Real const & maxElasticRestLength() const
AGXPHYSICS_EXPORT agx::Real & twistingResistanceCoefficient()
AGXPHYSICS_EXPORT agx::Bool const & isExplicit() const
AGXPHYSICS_EXPORT agx::ContactMaterial *const & model() const
AGXPHYSICS_EXPORT const ContactMaterialInstance instance() const
AGXPHYSICS_EXPORT agx::UInt8 const & contactReductionBinResolution() const
AGXPHYSICS_EXPORT agx::Physics::MaterialPtr const & material1() const
AGXPHYSICS_EXPORT agx::Real const & rollingResistanceCompliance() const
AGXPHYSICS_EXPORT agx::Real & youngsModulus()
AGXPHYSICS_EXPORT agx::Real const & adhesion() const
AGXPHYSICS_EXPORT ContactMaterialPtr(const agxData::EntityPtr &ptr)
AGXPHYSICS_EXPORT agx::Bool & useContactAreaApproach()
AGXPHYSICS_EXPORT agx::Bool & surfaceFrictionEnabled()
AGXPHYSICS_EXPORT ContactMaterialSemantics * operator->()
AGXPHYSICS_EXPORT const ContactMaterialSemantics * operator->() const
AGXPHYSICS_EXPORT agx::Real & impactCompliance()
AGXPHYSICS_EXPORT ContactMaterialPtr(agxData::EntityStorage *storage, agx::Index id)
const ContactMaterialData * getData() const
AGXPHYSICS_EXPORT agx::Real & twistingResistanceCompliance()
AGXPHYSICS_EXPORT agx::Real & maxElasticRestLength()
AGXPHYSICS_EXPORT agx::Real & rollingResistanceCompliance()
AGXPHYSICS_EXPORT agx::Vec3 const & friction() const
AGXPHYSICS_EXPORT agx::Physics::MaterialPtr const & material2() const
AGXPHYSICS_EXPORT agx::Real const & impactCompliance() const
AGXPHYSICS_EXPORT agx::UInt8 const & contactReductionMode() const
AGXPHYSICS_EXPORT ContactMaterialPtr()
AGXPHYSICS_EXPORT agx::Real const & twistingResistanceCompliance() const
AGXPHYSICS_EXPORT agx::Real const & twistingResistanceCoefficient() const
AGXPHYSICS_EXPORT agx::Real & adhesion()
AGXPHYSICS_EXPORT agx::Vec3 & restitution()
AGXPHYSICS_EXPORT agx::UInt8 & contactReductionMode()
AGXPHYSICS_EXPORT agx::Real const & minElasticRestLength() const
AGXPHYSICS_EXPORT agx::Physics::MaterialPtr & material2()
AGXPHYSICS_EXPORT agx::Real const & adhesiveOverlap() const
AGXPHYSICS_EXPORT agx::Vec3 const & wireFriction() const
AGXPHYSICS_EXPORT agx::Vec3 const & restitution() const
ContactMaterialData * getData()
AGXPHYSICS_EXPORT agx::UInt8 & contactReductionBinResolution()
AGXPHYSICS_EXPORT agx::Vec3 const & viscosity() const
AGXPHYSICS_EXPORT agx::Real const & damping() const
AGXPHYSICS_EXPORT agx::Real & adhesiveOverlap()
Pointer to a entity instance of type Physics.Material.
Abstract description of the data attributes for the Referenced entity.
Pointer to a entity instance of type Referenced.
Vector containing 'raw' data.
Definition: agx/Vector.h:246
#define agxAssertN(expr, format,...)
Definition: debug.h:145
#define DOXYGEN_END_INTERNAL_BLOCK()
Definition: macros.h:97
#define CALLABLE
Definition: macros.h:72
#define DOXYGEN_START_INTERNAL_BLOCK()
Definition: macros.h:96
#define AGX_FORCE_INLINE
Definition: macros.h:58
Contains classes for low level data storage for AGX.
Definition: Container.h:23
AGXFMI_EXPORT InputVariable_Real * setDamping(agx::Constraint *constraint)
agxData::EntityRef< ContactMaterialPtr > ContactMaterialRef
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
bool Bool
Definition: Integer.h:48
double Real
Definition: Real.h:42
uint8_t UInt8
Definition: Integer.h:38
AGXCORE_EXPORT Model * getModel(const Path &path, const Path &_namespace=Path())
Definition: Object.h:364
UInt32 Index
Definition: Integer.h:52