AGX Dynamics  2.35.0.1
BeamModelProperties.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 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/Referenced.h>
22 
23 #include <agxStream/Serializable.h>
24 
25 namespace agxModel
26 {
28 
60  {
61  public:
67 
74  BeamModelProperties( agx::Real youngsModulus, agx::Real poissonsRatio );
75 
80  void setYoungsModulus( agx::Real youngsModulus );
81 
86 
91  void setPoissonsRatio( agx::Real poissonsRatio );
92 
97 
101  void setDampingTime( agx::Real dampingTime );
102 
107 
108  public:
110 
112 
113  protected:
114  virtual ~BeamModelProperties();
115 
117 
118  private:
119  agx::Real m_youngsModulus;
120  agx::Real m_poissonsRatio;
121  agx::Real m_dampingTime;
122  };
123 }
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:248
#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
#define AGXMODEL_EXPORT
Bulk beam model properties present in all agxModel::BeamModel instances, which in turn propagates the...
void setDampingTime(agx::Real dampingTime)
Assigns new damping time parameter.
agx::Real getPoissonsRatio() const
void setPoissonsRatio(agx::Real poissonsRatio)
Assigns new Poisson's ratio parameter.
BeamModelProperties()
Default constructor setting Young's modulus to 200.0E9, Poisson's ratio to 0.3333 and damping time to...
agx::Real getYoungsModulus() const
agx::Real getDampingTime() const
BeamModelProperties(agx::Real youngsModulus, agx::Real poissonsRatio)
Construct given Young's modulus and Poisson's ratio.
void setYoungsModulus(agx::Real youngsModulus)
Assigns new Young's modulus parameter.
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
Definition: Serializable.h:45
Base class providing referencing counted objects.
Definition: Referenced.h:114
#define DOXYGEN_END_INTERNAL_BLOCK()
Definition: macros.h:97
#define DOXYGEN_START_INTERNAL_BLOCK()
Definition: macros.h:96
Contain classes for higher level modeling primitives, such as Tree, Terrain etc.
Definition: FlowUnit.h:37
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
double Real
Definition: Real.h:42