#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
virtual void restoreLightData(agxStream::StorageStream &str) override
ElectricMotorConstraintImplementation(agxPowerLine::RotationalDimensionRef rotationalDimension)
virtual void storeLightData(agxStream::StorageStream &str) const override
ElectricMotorConstraintImplementation()
ElectricMotorConstraint(agxPowerLine::RotationalDimensionRef rotationalDimension)
void setSpeed(agx::Real speed)
virtual void render(agxRender::RenderManager *, float) const override
Inherited method of how to render this constraint into DebugRenderer.
ElectricMotorConstraint()
virtual int getNumDOF() const override
void setCompliance(agx::Real compliance)
virtual ~ElectricMotorConstraint()
The rotational has one rotational degree of freedom.
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc.
Abstract base class for storing/restoring a line/drums with version control.
The base class for a constraint.
virtual void setCompliance(agx::Real compliance, agx::Int dof)
Set the compliance of this constraint for the i:th DOF.
Elementary secondary constraint to drive something given target speed (translational or rotational).
A library of agxPowerLine components designed to model the various parts of a vehicle drive train.