 |
AGXDynamics
2.35.0.2
|
Go to the documentation of this file.
17 #ifndef AGXPOWERLINE_PHYSICAL_DIMENSION_H
18 #define AGXPOWERLINE_PHYSICAL_DIMENSION_H
39 #pragma warning( push )
40 #pragma warning( disable : 4589 ) // Disable: 4589: Constructor of abstract class 'agx::FrictionModel' ignores initializer for virtual base class 'agxStream::Serializable'
48 class ConnectionOperations;
49 class AbstractDimensionState1Dof;
50 class AbstractDimensionState3Dof;
79 typedef std::pair<agxPowerLine::PhysicalDimension*, agxPowerLine::Side>
DimensionAndSide;
105 virtual void calculateJacobian(
108 const size_t index)
const;
126 virtual void setGradient(
agx::Real value);
127 virtual agx::Real getSecondGradient()
const;
176 bool hasReservedBody()
const;
188 bool isExternalBody()
const;
193 virtual agx::Real getMassProperty()
const;
198 virtual void setMassProperty(
agx::Real massProperty);
232 void setVelocityDamping(
float damping);
233 float getVelocityDamping()
const;
238 virtual void renderDebug();
243 virtual void clear();
245 size_t getNumInputConnections()
const;
246 size_t getNumOutputConnections()
const;
248 size_t getNumConnections()
const;
337 virtual std::string getTypeName()
const;
368 static std::string getStaticTypeName();
375 static int getNumberOfPhysicalDimensions();
423 bool removeInputConnection(
Connection* connection );
424 bool removeOutputConnection(
Connection* connection );
429 void addToListOfDimensions();
455 #if defined(_MSC_VER)
456 #pragma warning( pop )
460 #endif // AGXMODEL_PHYSICAL_DIMENSION_H
agx::Vector< Type > TypeVector
agx::ref_ptr< LookupTable > LookupTableRef
PhysicalDimension::Type m_type
OutputRef< Serializable > out(const char *name, const Serializable *obj)
Return an object that contain the name and the object that should be serialized to an archive.
The rigid body class, combining a geometric model and a frame of reference.
agx::observer_ptr< PowerGenerator > PowerGeneratorObserver
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
ConnectionRefVector m_outputConnections
AGXCORE_EXPORT Type * getType(const agx::String &name)
agx::SetVector< PhysicalDimension * > PhysicalDimensionPtrSetVector
Utility class to hold custom implementations of constraints.
Constraint implementation for constraining a number of physical dimensions of the same type.
ConnectionRefVector m_inputConnections
Abstract base class for storing/restoring a line/drums with version control.
#define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T)
Use this in a pure abstract Serializable class to add the required methods Important: Use full namesp...
agx::Vector< ConnectionPtr > ConnectionPtrVector
InputRef< T > in(const char *name, T &obj)
Create an object with a name and a reference to the object that should be restored (usually a pointer...
A DimensionState is the data carrier of a PhysicalDimension.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
const typedef PhysicalDimensionRef ConstPhysicalDimensionRef
This class is a combined container which has the find complexity of a HashTable, deterministic iterat...
agx::Vector< ConstPhysicalDimensionRef > ConstPhysicalDimensionRefVector
PowerLine is the base class for a system of power transfer integrated into the rigid body simulation.
Representation of a name string.
agx::ref_ptr< Connector > ConnectorRef
agx::observer_ptr< Connector > ConnectorObserver
Class for writing serialized data in binary format to a stream.
Connection * ConnectionPtr
agx::Vector< Unit * > UnitPtrVector
agx::ref_ptr< PhysicalDimension > PhysicalDimensionRef
Base class providing referencing counted objects.
agxPowerLine contains a collection of connected components that transport power across a system.
Links two connections together.
agx::ref_ptr< PowerGenerator > PowerGeneratorRef
agx::Vector< PhysicalDimensionRef > PhysicalDimensionRefVector
Base class for the two one dimensional dimension state classes.
Base class for the two three dimensional dimension state classes.
agxPowerLine::detail::PhysicalDimensionStateRef m_state
agx::HashVector< agx::RigidBody *, int > RigidBodyPtrIntHashVector
AGXMODEL_EXPORT agx::RigidBody * createDimensionBody(const agx::Name &name)
AGXTERRAIN_EXPORT void clear()
agx::ref_ptr< Connection > ConnectionRef
agx::Vector< ConnectionRef > ConnectionRefVector
agx::Vector< PhysicalDimension * > PhysicalDimensionPtrVector
std::pair< agxPowerLine::PhysicalDimension *, agxPowerLine::Side > DimensionAndSide