|
AGXDynamics
2.31.1.0
|
A PowerLine Connector that connects a flow input to a rotational output. More...
#include <Motor.h>
Inheritance diagram for agxHydraulics::Motor:Public Member Functions | |
| Motor () | |
| Create a new MotorConnector with displacement 1. More... | |
| Motor (agx::Real displacement) | |
| Create a new MotorConnector with the specified displacement. More... | |
| virtual bool | addNotification (agxSDK::Simulation *simulation) override |
| AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE (agxPowerLine::SubGraph) | |
| AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE (agxPowerLine::Connector) | |
| template<typename T > | |
| T * | as () |
| Subclass casting. More... | |
| template<typename T > | |
| const T * | as () const |
| template<typename T > | |
| T * | asSafe () |
| Safe subclass casting, return nullptr if template type does not match. More... | |
| template<typename T > | |
| const T * | asSafe () const |
| virtual agx::RegularizationParameters::VariableType | calculateComplianceAndDamping (const agx::Real, agx::Real &, agx::Real &) |
| Calculate the compliance and damping according to the connector properties (efficiency, ratio, ..) More... | |
| agx::Real | calculateEfficiency () const |
| calculate simulated efficiency More... | |
| virtual agx::Real | calculateViolation () const |
| calculate violation for constraint More... | |
| bool | compareWithInputTypes (PhysicalDimensionRefVector &dimensions) const |
| bool | compareWithOutputTypes (PhysicalDimensionRefVector &dimensions) const |
| virtual bool | connect (agxPowerLine::Unit *unit) |
| Connect a unit to this Connector. More... | |
| virtual bool | connect (agxPowerLine::Side mySide, agxPowerLine::Side unitSide, agxPowerLine::Unit *unit) |
| bool | connect (agxPowerLine::PhysicalDimension *dimension, agxPowerLine::Side connectorSide, agxPowerLine::Side dimensionSide) |
| Connect on the physical dimension level only. More... | |
| virtual bool | connect (agxPowerLine::PhysicalDimension *inputDimension, agxPowerLine::Side inputSide, agxPowerLine::Side outputSide, agxPowerLine::PhysicalDimension *outputDimension) |
| bool | connectDimensions (Unit *unit, agxPowerLine::Side mySide, agxPowerLine::Side unitSide) |
| virtual agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation * | createConstraint () override |
| Create the constraint (implement this to create whatever constraint you need) More... | |
| virtual bool | disconnect (agxPowerLine::Unit *unit) |
| Disconnect the given unit from this Connector. More... | |
| virtual bool | disconnect () |
| bool | disconnect (agxPowerLine::PhysicalDimension *dimension, agxPowerLine::Side connectorSide, agxPowerLine::Side dimensionSide) |
| agxPowerLine::Connection * | findConnection (const agxPowerLine::Unit *unit, agxPowerLine::Side side) |
| const agxPowerLine::Connection * | findConnection (const agxPowerLine::Unit *unit, agxPowerLine::Side side) const |
| agxPowerLine::Connection * | findInputConnection (const agxPowerLine::Unit *unit) |
| const agxPowerLine::Connection * | findInputConnection (const agxPowerLine::Unit *unit) const |
| agxPowerLine::Connection * | findOutputConnection (const agxPowerLine::Unit *unit) |
| const agxPowerLine::Connection * | findOutputConnection (const agxPowerLine::Unit *unit) const |
| virtual const char * | getClassName () const |
| agx::Real | getCompliance () const |
| const agxPowerLine::ConnectionRefVector & | getConnections (agxPowerLine::Side side) const |
| virtual void | getConnectorsRecursive (ConnectorPtrVector &connectors) |
| Fill the given vector with the Connectors that are held by this SubGraph. More... | |
| agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation * | getConstraint () const |
| agx::Real | getDamping () const |
| virtual agx::Real | getDisplacement () const |
| agxPowerLine::ElementaryPhysicalDimensionConstraint * | getElementaryConstraint () const |
| bool | getEnableSerialization () const |
| bool | getEnableUuidGeneration () |
| Connector * | getEnclosingConnector () |
| const Connector * | getEnclosingConnector () const |
| SubGraph * | getEnclosingGraph () |
| const SubGraph * | getEnclosingGraph () const |
| Unit * | getEnclosingUnit () |
| const Unit * | getEnclosingUnit () const |
| bool | getIgnoreForStoreRestoreStream () const |
| agx::UInt32 | getIndex () const |
| This index is given at creation of this object. More... | |
| const agxPowerLine::Connection * | getInputConnection (size_t index) const |
| return a specific output connection More... | |
| agxPowerLine::Connection * | getInputConnection (size_t index) |
| return a specific input connection More... | |
| const agxPowerLine::ConnectionRefVector & | getInputConnections () const |
| return vector to all input connections from this connector More... | |
| agxPowerLine::ConnectionRefVector & | getInputConnections () |
| return vector to all input connections from this connector More... | |
| PhysicalDimension * | getInputDimension (const PhysicalDimension::Type dimensionType) const |
| const DimensionTypeVector & | getInputTypes () const |
| bool | getInputUnits (UnitPtrSetVector &units, const bool startFromCleanUnitSet=true) |
| bool | getInputUnits (UnitConstPtrSetVector &units, const bool startFromCleanUnitSet=true) const |
| const agxPowerLine::ConnectorRefVector & | getInternalConnectors () const |
| const agxPowerLine::UnitRefVector & | getInternalUnits () const |
| const agx::Name & | getName () const |
| int | getNumConnections (agxPowerLine::Side side) const |
| int | getNumConnections () const |
| int | getNumFreeConnections (agxPowerLine::Side side) const |
| int | getNumFreeConnections () const |
| int | getNumFreeInputConnections () const |
| int | getNumFreeOutputConnections () const |
| int | getNumInputConnections () const |
| int | getNumOutputConnections () const |
| int | getNumPossibleInputConnections () const |
| int | getNumPossibleOutputConnections () const |
| const agxPowerLine::Connection * | getOutputConnection (size_t index) const |
| return a specific output connection More... | |
| agxPowerLine::Connection * | getOutputConnection (size_t index) |
| return a specific input connection More... | |
| const agxPowerLine::ConnectionRefVector & | getOutputConnections () const |
| return vector to all output connections from this connector More... | |
| agxPowerLine::ConnectionRefVector & | getOutputConnections () |
| return vector to all output connections from this connector More... | |
| PhysicalDimension * | getOutputDimension (const PhysicalDimension::Type dimensionType) const |
| const DimensionTypeVector & | getOutputTypes () const |
| bool | getOutputUnits (UnitPtrSetVector &units, const bool startFromCleanUnitSet=true) |
| bool | getOutputUnits (UnitConstPtrSetVector &units, const bool startFromCleanUnitSet=true) const |
| agx::Real | getPowerIn () const |
| agxPowerLine::PowerLine * | getPowerLine () const |
| agx::Real | getPowerOut () const |
| agx::Real | getPressure () const override |
| Get the pressure that the pump or motor generates. More... | |
| agx::Real | getRatio () const |
| virtual agx::Real | getRatio (agx::Real x) const |
| agx::Real | getRatioDerivative () const |
| virtual agx::Real | getRatioDerivative (agx::Real x) const |
| int | getReferenceCount () const |
| SubGraph * | getRootEnclosingGraph () |
| const SubGraph * | getRootEnclosingGraph () const |
| virtual agxPowerLine::Side | getSide (const agxPowerLine::Unit *unit) const |
| virtual StorageAgent * | getStorageAgent () const =0 |
| const DimensionTypeVector & | getTypes (agxPowerLine::Side side) const |
| bool | getUnits (UnitPtrSetVector &units, agxPowerLine::Side side, const bool startFromCleanUnitSet=true) |
| bool | getUnits (UnitPtrSetVector &units, const bool startFromCleanUnitSet=true) |
| bool | getUnits (UnitConstPtrSetVector &units, agxPowerLine::Side side, const bool startFromCleanUnitSet=true) const |
| bool | getUnits (UnitConstPtrSetVector &units, const bool startFromCleanUnitSet=true) const |
| virtual void | getUnitsRecursive (UnitPtrVector &units) |
| Fill the given vector with the Units that are held by this SubGraph. More... | |
| agx::Uuid | getUuid () const |
| virtual agx::Real | getViolation () const |
| Returns the constraint violation for connectors with holonomic constraints. More... | |
| bool | hasFreeConnection (agxPowerLine::Side side) const |
| bool | hasFreeConnection () const |
| bool | hasFreeInputConnection () const |
| bool | hasFreeOutputConnection () const |
| bool | hasInputConnection (Connection *connection) |
| Find out if the connection belongs to this connector. More... | |
| bool | hasOutputConnection (Connection *connection) |
| virtual void | initConstraint () |
| template<typename T > | |
| bool | is () const |
| Subclass test. More... | |
| bool | isConstraintValid () const |
| bool | isEnclosedWithin (const SubGraph *component) const |
| bool | isFinished () const |
| virtual bool | isInput (const agxPowerLine::PhysicalDimension *dimension) const |
| Determine if the given dimension is part of any of the input connections of this Connector. More... | |
| virtual bool | isOutput (Connection *connection) const |
| Find out if a connection is output from this connector. More... | |
| virtual bool | isOutput (const agxPowerLine::PhysicalDimension *dimension) const |
| Find out if the given dimension is part of any of the output connections. More... | |
| virtual bool | postRestore (agxStream::StorageStream &str) |
| virtual bool | postStore (agxStream::StorageStream &str) const |
| Set values of constraints. More... | |
| virtual bool | postUpdate (agx::Real timeStep) |
| virtual void | prepareForRestore () |
| virtual void | prepareForStore () |
| virtual bool | preUpdate (agx::Real timeStep) |
| void | reference (void *ptr=nullptr) const |
| Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
| virtual bool | removeNotification (agxUtil::ConstraintHolder *holder, agxSDK::Simulation *simulation) override |
| remove connector and constraint from simulation More... | |
| virtual bool | restore (agxStream::StorageStream &str) |
| Restores internal data from stream. More... | |
| virtual void | restore (agxStream::InputArchive &in) override |
| void | setCompliance (agx::Real compliance) |
| Set the compliance of the constraint. More... | |
| void | setConstraint (agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation *constraint) |
| set the constraint that represents this connector in the solver. More... | |
| void | setDamping (agx::Real damping) |
| Set the damping of the constraint. More... | |
| virtual void | setDisplacement (agx::Real displacement) |
| Set the displacement of the pump or motor. More... | |
| void | setEnableSerialization (bool flag) |
| Set to false to disable serialization of this object. More... | |
| void | setFinished () |
| Tells this class that it is restored correctly and should not be deleted during destruction of an Archive. More... | |
| void | setIgnoreForStoreRestoreStream (bool ignore) |
| void | setName (const agx::Name &name) |
| Set the name of this power line component. More... | |
| void | setNumPossibleInputConnections (int num) |
| Define number of input dimensions the constraint should handle. More... | |
| void | setNumPossibleOutputConnections (int num) |
| Define number of output dimensions the constraint should handle. More... | |
| void | setPowerLine (agxPowerLine::PowerLine *powerLine) |
| void | setUuid (const agx::Uuid &uuid) |
| Explicitly set a Uuid on a serializable object. More... | |
| void | spreadPowerLineToGraph () |
| virtual bool | store (agxStream::StorageStream &str) const |
| Stores internal data into stream. More... | |
| virtual void | store (agxStream::OutputArchive &out) const override |
| void | unreference (void *ptr=nullptr) const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| void | unreference_nodelete () const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| virtual bool | vetoConnect (agxPowerLine::Unit *unit) const |
Static Public Member Functions | |
| static PhysicalDimension * | getDimension (const ConnectionRefVector &connections, const PhysicalDimension::Type dimensionType) |
| static void | setEnableUuidGeneration (bool flag) |
| Specify if there should be UUID:s generated for each new Serializable object. By default it is enabled. More... | |
| template<typename T > | |
| static bool | ValidateCast (const Referenced *object) |
Protected Member Functions | |
| virtual | ~Motor () |
| void | addInternalConnector (agxPowerLine::Connector *connector) |
| void | addInternalUnit (agxPowerLine::Unit *unit) |
| void | allocateObserverVector () const |
| virtual bool | connect (agxPowerLine::Unit *inputUnit, agxPowerLine::Side inputUnitSide, agxPowerLine::Side outputUnitSide, agxPowerLine::Unit *outputUnit) |
| virtual agx::Real | constraintForceToPressure (agx::Real constraintForce, agx::Real displacement) const override |
| void | deleteUsingDeleteHandler () const |
| virtual agx::Real | displacementToRatio (agx::Real displacement) override |
| void | generateUuid () |
| bool | getUnits (UnitPtrSetVector &units, ConnectionRefVector &connections, const bool startFromCleanUnitSet=true) |
| bool | getUnits (UnitConstPtrSetVector &units, const ConnectionRefVector &connections, const bool startFromCleanUnitSet=true) const |
| bool | hasNonValidInputConnection () const |
| bool | hasNonValidOutputConnection () const |
| virtual agx::Real | pressureToConstraintForce (agx::Real pressure, agx::Real displacement) const override |
| void | removeInternalConnector (agxPowerLine::Connector *connector) |
| void | removeInternalUnit (agxPowerLine::Unit *unit) |
| agx::Bool | replaceInternalUnit (agxPowerLine::Unit *oldUnit, agxPowerLine::Unit *newUnit) |
| void | setRatio (agx::Real ratio) |
| set/get the ratio (scaling of load through the constraint). More... | |
| void | setRatioDerivative (agx::Real ratioDerivative) |
| void | uninitialize () |
Static Protected Member Functions | |
| static DeleteHandler * | getDeleteHandler () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. More... | |
Protected Attributes | |
| agx::Real | m_compliance |
| PhysicalDimensionMultiBodyConstraintImplementation * | m_constraint |
| agx::Real | m_damping |
| agx::Real | m_displacement |
| SubGraphObserver | m_enclosingGraph |
| bool | m_ignoreMeForStoreRestoreStream |
| ConnectionRefVector | m_inputConnections |
| DimensionTypeVector | m_inputTypes |
| ConnectorRefVector | m_internalConnectors |
| UnitRefVector | m_internalUnits |
| Mutex | m_mutex |
| agx::Name | m_name |
| int | m_numPossibleInputs |
| int | m_numPossibleOutputs |
| ObserverContainer | m_observers |
| ConnectionRefVector | m_outputConnections |
| DimensionTypeVector | m_outputTypes |
| PowerLine * | m_powerLine |
| agx::Real | m_ratio |
| agx::Real | m_ratioDerivative |
| AtomicValue | m_refCount |
A PowerLine Connector that connects a flow input to a rotational output.
Flow at the input is converted to rotation at the output according to the configured displacement. The displacement is measured in terms of volume per unit of rotation, measured in radians. For simulations using the SI unit system, a motor displacement of 1.0 will rotate the rotational dimension one radian for every cubic meter of flud flow through the motor. 2*pi cubic meters of fluid is required for a full revolution. Displacements are often much smaller than this.
| agxHydraulics::Motor::Motor | ( | ) |
Create a new MotorConnector with displacement 1.
|
explicit |
Create a new MotorConnector with the specified displacement.
| displacement | - The rotation-to-flow conversion factor. |
|
inlineprotectedvirtual |
|
protectedinherited |
|
protectedinherited |
|
overridevirtualinherited |
Implements agxPowerLine::SubGraph.
Reimplemented in agxDriveTrain::Clutch.
|
inherited |
|
inherited |
|
protectedinherited |
|
inherited |
Subclass casting.
Template type must match actual type, dynamic_cast assertion will fail otherwise.
Referenced by agx::InternalData::get(), agxVehicle::Track::getNode(), agx::InternalData::getOrCreate(), and agx::InternalData::hasData().
|
inherited |
|
inherited |
Safe subclass casting, return nullptr if template type does not match.
Referenced by agxUtil::CollectBodiesAndWiresVisitor::visit().
|
inherited |
|
virtualinherited |
Calculate the compliance and damping according to the connector properties (efficiency, ratio, ..)
Reimplemented in agxHydraulics::VariableDisplacementPump, agxPowerLine::RotationalConnector, agxDriveTrain::HolonomicGear, agxDriveTrain::deprecated::TorqueConverter, agxDriveTrain::Differential, agxDriveTrain::SlipGear, agxPowerLine::RotationalTranslationalHolonomicConnector, agxDriveTrain::GearBox, agxDriveTrain::Clutch, and agxPowerLine::RotationalTranslationalConnector.
|
inherited |
calculate simulated efficiency
|
virtualinherited |
calculate violation for constraint
Reimplemented in agxDriveTrain::HolonomicGear, and agxPowerLine::RotationalTranslationalHolonomicConnector.
|
inherited |
|
inherited |
|
virtualinherited |
Connect a unit to this Connector.
Reimplemented in agxDriveTrain::MultiGear.
|
virtualinherited |
|
inherited |
Connect on the physical dimension level only.
Will not update the parent Unit's root node and will not spread the power line over the graph.
|
virtualinherited |
Reimplemented in agxPowerLine::RotationalTranslationalConnector.
|
protectedvirtualinherited |
Reimplemented in agxHydraulics::FlowConnector.
|
inherited |
|
overrideprotectedvirtual |
Implements agxHydraulics::RotationalFlowConnector.
|
overridevirtual |
Create the constraint (implement this to create whatever constraint you need)
Implements agxPowerLine::Connector.
|
protectedinherited |
|
virtualinherited |
Disconnect the given unit from this Connector.
Will reduce the refCount of the Connector, so the instance may have been deleted when this method returns. Keep an extra ConnectorRef, at the call site of elsewhere, to avoid this.
Reimplemented in agxHydraulics::SpoolValve, agxDriveTrain::Differential, and agxDriveTrain::MultiGear.
|
virtualinherited |
Reimplemented in agxHydraulics::SpoolValve.
|
inherited |
|
overrideprotectedvirtual |
Implements agxHydraulics::RotationalFlowConnector.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
protectedinherited |
|
virtualinherited |
Reimplemented in agxWire::StopNode, agxWire::ConnectingNode, agxWire::EyeNode, agxWire::BodyFixedNode, agx::RigidBody, agx::Twist, agxWire::FreeNode, agx::ScrewController, agx::LockController, agxModel::WaterWrapper, agx::MergedBody, agx::MergedBody, agxModel::ConstantWindGenerator, agx::RangeController, agxModel::ConstantWaterFlowGenerator, agx::MergedBody, agx::ElectricMotorController, agx::MergedBody, agx::FrictionController, agx::MergedBody, agx::TargetSpeedController, agxModel::WindAndWaterController, agxSDK::Assembly, agx::QuatLock, agx::SphericalRel, agx::Spherical, agxWire::WireSimpleDrumController, agx::Dot2, agxModel::FractureAlgorithmBreakOnStress, agx::Swing, agxModel::FractureAlgorithmBreakOnContactForce, agx::Dot1, agxModel::FractureAlgorithmBreakOnContact, agx::Frame, agxPowerLine::detail::DimensionState3Dof< DimensionType >, agxUtil::ConstraintHolder, agxDriveTrain::PidControlledEngine, agxCable::CableDamage, agxControl::TeleportToSensorOperation, agxCollide::Geometry, agxDriveTrain::deprecated::Clutch, agxModel::Terrain, agxModel::TerrainDataInterface, agx::ObserverFrame, agxControl::StoreParticlesOperation, agxModel::SlidingNodeAttachment, agxDriveTrain::deprecated::GearBox, agxControl::EventSensor, agxPowerLine::Connection, agxModel::FractureGenerator, agxControl::LoadParticleAGXFileOperation, agxPowerLine::TranslationalConstraintImplementation, agxModel::RotatingNodeAttachment, agxModel::TwoBodyTire, agxPowerLine::detail::DimensionState1Dof< DimensionType >, agxModel::Deformable1DNodeRoute, agxPowerLine::ElementaryTranslationalConstraint, agxControl::SetVelocityOperation, agx::AddedMassInteraction, agxPowerLine::TranslationalActuator, agxDriveTrain::RpmController, agx::RigidBodyAttachment, agxVehicle::Track, agxModel::RigidNodeAttachment, agxControl::WriteParticleDataToAGXOperation, agxModel::TerrainIterativeProjectedConeFrictionModel, agxModel::Deformable1DSphereGeometryFactory, agxModel::DeformableParticleCreator, agxPowerLine::GearConstraintImplementation, agxControl::MakeParticleKinematicOperation, agxModel::ConvexSoil, agx::IterativeProjectedConeFriction, agxSDK::SimulationStatisticsListener, agxSDK::LinkedStructure, agx::ConstantNormalForceOrientedBoxFrictionModel, agxDriveTrain::deprecated::FixedGear, agxVehicle::TrackProperties, agxHydraulics::HydraulicPumpActuator, agxPowerLine::ElementaryGearConstraint, agxModel::Deformable1DPointRoute, agxModel::PointNodeAttachment, agx::PropertyContainer, agxModel::SoilParticle, agxSDK::MaterialManager::MaterialManagerSerializer, agxModel::Deformable1DCylinderGeometryFactory, agxDriveTrain::deprecated::HighLevelDifferential, agxPowerLine::TorqueGenerator, agxPowerLine::PowerLine, agx::ScaleBoxFrictionModel, agxHydraulics::PistonActuator, agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation, agx::SeparationAngle, agxWire::ConvexAreaDefinition, agxCollide::Trimesh, agxControl::LoadParticleJournalOperation, agxControl::ReplaceParticleMaterialOperation, agxWire::ShapeContactNode, agxModel::Deformable1DCapsuleGeometryFactory, agx::CubicSplineLookupTable, agxHydraulics::HydraulicMotorActuator, agxSDK::GeometryContactMergeSplitThresholds, agxDriveTrain::deprecated::TorqueConverterTable, agxDriveTrain::HolonomicGear, agxModel::Deformable1DNode, agx::BoxFrictionModel, agxPowerLine::RotationalConnector, agxWire::CircularAreaDefinition, agxPowerLine::ActuatorBodyUnit, agxPowerLine::RotationalActuator, agxModel::Deformable1DBulkProperties, agx::Attachment, agxModel::Deformable1D, agx::GranularImpactDataWriter, agxPowerLine::PowerTimeIntegralLookupTable, agx::WheelJoint, agx::OrientedIterativeProjectedConeFrictionModel, agxControl::ParticleContactDumper, agxDriveTrain::deprecated::TorqueConverter, agxCable::Route, agx::Hinge, agx::RotationalAngle, agx::CubicFunction2D, agxControl::RecordParticleShapshotJournalOperation, agxDriveTrain::deprecated::HighLevelGearBox, agxTerrain::TerrainRasterizer, agxVehicle::Wheel, agxControl::SensorOperation, agxHydraulics::FlowDimension, agxModel::HeightFieldDeformerJournalRecorder, agxModel::ParticleAttributes, agxDriveTrain::Engine, agxWire::EyeNodeArea, agxModel::SurfaceVelocityConveyorBelt, agxCable::PathRoute, agx::WorldFrameBallJoint, agx::OrientedScaleBoxFrictionModel, agxPowerLine::LinearLookupTable, agxCollide::Line, agxDriveTrain::Differential, agxVehicle::TrackRoute, agxCollide::RenderMaterial, agxControl::MeasurementSensor, agxModel::DeformableMineFace, agx::AutoSleepThreshold, agxCollide::CollisionGroupManager, agxControl::ColorParticles, agxHydraulics::NeedleValve, agxModel::DeformableParticleMesh, agxDriveTrain::ElectricMotor, agxDriveTrain::SlipGear, agxModel::OneBodyTire, agxPowerLine::ActuatorRotationalDimension, agxCable::SegmentingRoute, agx::LinearLookupTable, agx::MergeSplit, agxCollide::RenderData, agxControl::RecordParticleJournalOperation, agxPowerLine::RotationalTranslationalHolonomicConnector, agxUtil::RawMesh, agxPowerLine::RotationalDimension, agxModel::WindAndWaterController::WindGenerator, agx::Physics::GranularBodySystem, agx::Prismatic, agx::VirtualConstraintInertia, agx::OrientedBoxFrictionModel, agxModel::ThreeBodyTire, agxSDK::ConstraintMergeSplitThresholds, agx::RegularizationParameters, agxSDK::LinkedSegment, agxCollide::CollisionMeshData, agx::SphericalRelSlack, agx::SlackHingeJoint, agx::SlackLockJoint, agxDriveTrain::deprecated::HighLevelTorqueConverter, agxDriveTrain::GearBox, agxCollide::Plane, agxHydraulics::detail::GraphJoiningConnector, agxModel::Deformable1DBoxGeometryFactory, agx::CylindricalJoint, agxCable::CableDamageState, agxHydraulics::CheckValve, agxPowerLine::RotationalUnit, agx::BallJoint, agx::SlackPrismaticJoint, agx::Interaction, agx::DistanceJoint, agxPowerLine::SlotMapper, agxSDK::EventListener, agx::JournalCustomDataRecorder, agxControl::SensorEvent, agxSDK::StepEventListener, agxControl::TagOperation, agx::PrismaticUniversalJoint, agx::UniversalJoint, agxCollide::Convex, agx::SlackCylindricalJoint, agxCable::IdentityRoute, agxHydraulics::deprecated::PumpUnit, agxDriveTrain::Clutch, agxHydraulics::deprecated::MotorUnit, agxModel::HeightController, agxSDK::WireMergeSplitThresholds, agxModel::WindAndWaterController::WaterFlowGenerator, agxVehicle::TrackNode, agx::ContactTangent, agxDriveTrain::ElectricMotorConstraint, agx::LockJoint, agx::SwingTwistLock, agxCollide::WireShape, agxHydraulics::detail::SpoolValveConnector, agx::SleepThreshold, agxSDK::ConstraintMergeSplitAlgorithm, agxSDK::GeometryContactMergeSplitAlgorithm, agx::Dot2Slack, agxDriveTrain::Gear, agxPowerLine::RotationalTranslationalConnector, agxPowerLine::WireWinchActuator, agxSDK::WireMergeSplitAlgorithm, agxHydraulics::Accumulator, agxHydraulics::detail::GraphJoiningConstraintImplementation, agxModel::HeightFieldDeformer, agxDriveTrain::EnginePowerGenerator, agx::AngularLockJoint, agx::PointGravityField, agx::SplineJoint, agxControl::BaseRecordParticleJournalOperation, agx::Dot1Joint, agxPowerLine::detail::RigidBodyRotationalAttachmentSentry, agxControl::RemoveParticles, agxSDK::LinkedStructureComponent, agxDriveTrain::DifferentialLockConnector, agxDriveTrain::Shaft, agx::UniformGravityField, agx::ParticleContactSensor, agxCollide::MeshData, agxDriveTrain::deprecated::TorqueConverterSpeedRatioLookup, agxSDK::Collection, agx::ContactNormal, agxHydraulics::detail::ElementaryGraphJoiningConstraint, agxPowerLine::detail::WireWinchConnectorConstraintImplementation, agx::MergeSplitBodyStorage, agx::StrongInteractionConstraint, agxSDK::EnergyManager, agx::PlaneJoint, agx::ParticleSink, agx::Dot1Slack, agxDriveTrain::ElectricMotorConstraintImplementation, agxSDK::GranularContactMergeSplitAlgorithm, agxControl::SplitSensorOperation, agxDriveTrain::EngineDampingUpdater, agxControl::RemoveRigidBody, agxPowerLine::detail::WireWinchConnector, agxPowerLine::detail::ElementaryWireWinchConnectorConstraint, agxPowerLine::detail::RigidBodyTranslationalAttachmentSentry, agxSDK::MergedBodyMergeSplitAlgorithm, agxCable::RoutingNode, agxCable::CablePlasticity, agxHydraulics::detail::SpoolValveStaticFlowUnit, agxModel::PlasticityComponent, and agxCable::GeometryFactory.
Referenced by agxStream::InputArchive::readRef().
|
inherited |
|
inherited |
|
virtualinherited |
Fill the given vector with the Connectors that are held by this SubGraph.
The collection is recursive, so internal Connectors will be collected.
Reimplemented in agxDriveTrain::Differential, and agxDriveTrain::deprecated::DriveTrainComponent.
|
inherited |
|
inherited |
|
staticprotectedinherited |
|
staticinherited |
|
virtualinherited |
|
inherited |
|
inherited |
Definition at line 273 of file Serializable.h.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
This index is given at creation of this object.
It is guaranteed to be unique for the lifetime of this library instance. As long as the application is running. This value is not serialized or restored. A new object will always get a new index no matter how it is created.
Definition at line 247 of file Serializable.h.
|
inherited |
return a specific output connection
|
inherited |
return a specific input connection
|
inherited |
return vector to all input connections from this connector
|
inherited |
return vector to all input connections from this connector
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
return a specific output connection
|
inherited |
return a specific input connection
|
inherited |
return vector to all output connections from this connector
|
inherited |
return vector to all output connections from this connector
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
overridevirtualinherited |
Get the pressure that the pump or motor generates.
This is not the same as the pressure in the pump or motor.
Implements agxHydraulics::PressureConnector.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
virtualinherited |
|
pure virtualinherited |
Implemented in agxWire::StopNode, agxWire::ConnectingNode, agxWire::EyeNode, agxWire::BodyFixedNode, agx::RigidBody, agx::Twist, agxWire::FreeNode, agx::ScrewController, agx::LockController, agxModel::WaterWrapper, agx::MergedBody, agx::MergedBody, agxModel::ConstantWindGenerator, agx::RangeController, agxModel::ConstantWaterFlowGenerator, agx::MergedBody, agx::ElectricMotorController, agx::MergedBody, agx::FrictionController, agx::MergedBody, agx::TargetSpeedController, agxModel::WindAndWaterController, agxSDK::Assembly, agx::QuatLock, agx::SphericalRel, agx::Spherical, agxWire::WireSimpleDrumController, agx::Dot2, agxModel::FractureAlgorithmBreakOnStress, agx::Swing, agxModel::FractureAlgorithmBreakOnContactForce, agx::Dot1, agxModel::FractureAlgorithmBreakOnContact, agx::Frame, agxPowerLine::detail::DimensionState3Dof< DimensionType >, agxUtil::ConstraintHolder, agxDriveTrain::PidControlledEngine, agxCable::CableDamage, agxControl::TeleportToSensorOperation, agxCollide::Geometry, agxDriveTrain::deprecated::Clutch, agxModel::Terrain, agxModel::TerrainDataInterface, agx::ObserverFrame, agxControl::StoreParticlesOperation, agxModel::SlidingNodeAttachment, agxDriveTrain::deprecated::GearBox, agxControl::EventSensor, agxPowerLine::Connection, agxModel::FractureGenerator, agxControl::LoadParticleAGXFileOperation, agxPowerLine::TranslationalConstraintImplementation, agxModel::RotatingNodeAttachment, agxModel::TwoBodyTire, agxModel::Deformable1DNodeRoute, agxPowerLine::detail::DimensionState1Dof< DimensionType >, agxPowerLine::ElementaryTranslationalConstraint, agxControl::SetVelocityOperation, agx::AddedMassInteraction, agxPowerLine::TranslationalActuator, agxDriveTrain::RpmController, agx::RigidBodyAttachment, agxVehicle::Track, agxModel::RigidNodeAttachment, agxControl::WriteParticleDataToAGXOperation, agxModel::TerrainIterativeProjectedConeFrictionModel, agxModel::Deformable1DSphereGeometryFactory, agxModel::DeformableParticleCreator, agxPowerLine::GearConstraintImplementation, agxControl::MakeParticleKinematicOperation, agxModel::ConvexSoil, agx::IterativeProjectedConeFriction, agxSDK::SimulationStatisticsListener, agxSDK::LinkedStructure, agx::ConstantNormalForceOrientedBoxFrictionModel, agxDriveTrain::deprecated::FixedGear, agxVehicle::TrackProperties, agxHydraulics::HydraulicPumpActuator, agxPowerLine::ElementaryGearConstraint, agxModel::Deformable1DPointRoute, agxModel::PointNodeAttachment, agx::PropertyContainer, agxModel::SoilParticle, agxSDK::MaterialManager::MaterialManagerSerializer, agxModel::Deformable1DCylinderGeometryFactory, agxDriveTrain::deprecated::HighLevelDifferential, agxPowerLine::TorqueGenerator, agxPowerLine::PowerLine, agx::ScaleBoxFrictionModel, agxHydraulics::PistonActuator, agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation, agx::SeparationAngle, agxWire::ConvexAreaDefinition, agxCollide::Trimesh, agxControl::LoadParticleJournalOperation, agxControl::ReplaceParticleMaterialOperation, agxWire::ShapeContactNode, agxModel::Deformable1DCapsuleGeometryFactory, agx::CubicSplineLookupTable, agxHydraulics::HydraulicMotorActuator, agxSDK::GeometryContactMergeSplitThresholds, agxDriveTrain::deprecated::TorqueConverterTable, agxDriveTrain::HolonomicGear, agxModel::Deformable1DNode, agx::BoxFrictionModel, agxPowerLine::RotationalConnector, agxWire::CircularAreaDefinition, agxPowerLine::ActuatorBodyUnit, agxPowerLine::RotationalActuator, agxModel::Deformable1DBulkProperties, agx::Attachment, agxModel::Deformable1D, agx::GranularImpactDataWriter, agxPowerLine::PowerTimeIntegralLookupTable, agx::WheelJoint, agx::OrientedIterativeProjectedConeFrictionModel, agxControl::ParticleContactDumper, agxDriveTrain::deprecated::TorqueConverter, agxCable::Route, agx::Hinge, agx::RotationalAngle, agx::CubicFunction2D, agxControl::RecordParticleShapshotJournalOperation, agxDriveTrain::deprecated::HighLevelGearBox, agxTerrain::TerrainRasterizer, agxVehicle::Wheel, agxControl::SensorOperation, agxHydraulics::FlowDimension, agxModel::HeightFieldDeformerJournalRecorder, agxModel::ParticleAttributes, agxDriveTrain::Engine, agxWire::EyeNodeArea, agxModel::SurfaceVelocityConveyorBelt, agxCable::PathRoute, agx::WorldFrameBallJoint, agx::OrientedScaleBoxFrictionModel, agxPowerLine::LinearLookupTable, agxCollide::Line, agxDriveTrain::Differential, agxVehicle::TrackRoute, agxCollide::RenderMaterial, agxControl::MeasurementSensor, agxModel::DeformableMineFace, agx::AutoSleepThreshold, agxCollide::CollisionGroupManager, agxControl::ColorParticles, agxHydraulics::NeedleValve, agxModel::DeformableParticleMesh, agxDriveTrain::ElectricMotor, agxDriveTrain::SlipGear, agxModel::OneBodyTire, agxPowerLine::ActuatorRotationalDimension, agxCable::SegmentingRoute, agx::LinearLookupTable, agx::MergeSplit, agxCollide::RenderData, agxControl::RecordParticleJournalOperation, agxPowerLine::RotationalTranslationalHolonomicConnector, agxUtil::RawMesh, agxPowerLine::RotationalDimension, agxModel::WindAndWaterController::WindGenerator, agx::Physics::GranularBodySystem, agx::Prismatic, agx::VirtualConstraintInertia, agx::OrientedBoxFrictionModel, agxModel::ThreeBodyTire, agxSDK::ConstraintMergeSplitThresholds, agx::RegularizationParameters, agxSDK::LinkedSegment, agxCollide::CollisionMeshData, agx::SphericalRelSlack, agx::SlackHingeJoint, agx::SlackLockJoint, agxDriveTrain::deprecated::HighLevelTorqueConverter, agxDriveTrain::GearBox, agxCollide::Plane, agxHydraulics::detail::GraphJoiningConnector, agxModel::Deformable1DBoxGeometryFactory, agx::CylindricalJoint, agxCable::CableDamageState, agxHydraulics::CheckValve, agxPowerLine::RotationalUnit, agx::BallJoint, agx::SlackPrismaticJoint, agx::Interaction, agx::DistanceJoint, agxPowerLine::SlotMapper, agxSDK::EventListener, agx::JournalCustomDataRecorder, agxControl::SensorEvent, agxSDK::StepEventListener, agxControl::TagOperation, agx::PrismaticUniversalJoint, agx::UniversalJoint, agxCollide::Convex, agx::SlackCylindricalJoint, agxCable::IdentityRoute, agxHydraulics::deprecated::PumpUnit, agxDriveTrain::Clutch, agxHydraulics::deprecated::MotorUnit, agxModel::HeightController, agxSDK::WireMergeSplitThresholds, agxModel::WindAndWaterController::WaterFlowGenerator, agxVehicle::TrackNode, agx::ContactTangent, agxDriveTrain::ElectricMotorConstraint, agx::LockJoint, agx::SwingTwistLock, agxCollide::WireShape, agxHydraulics::detail::SpoolValveConnector, agx::SleepThreshold, agxSDK::ConstraintMergeSplitAlgorithm, agxSDK::GeometryContactMergeSplitAlgorithm, agx::Dot2Slack, agxDriveTrain::Gear, agxPowerLine::RotationalTranslationalConnector, agxPowerLine::WireWinchActuator, agxSDK::WireMergeSplitAlgorithm, agxHydraulics::Accumulator, agxHydraulics::detail::GraphJoiningConstraintImplementation, agxModel::HeightFieldDeformer, agxDriveTrain::EnginePowerGenerator, agx::AngularLockJoint, agx::PointGravityField, agx::SplineJoint, agxControl::BaseRecordParticleJournalOperation, agx::Dot1Joint, agxControl::RemoveParticles, agxSDK::LinkedStructureComponent, agxDriveTrain::DifferentialLockConnector, agxDriveTrain::Shaft, agxPowerLine::detail::RigidBodyRotationalAttachmentSentry, agx::UniformGravityField, agx::ParticleContactSensor, agxCollide::MeshData, agxDriveTrain::deprecated::TorqueConverterSpeedRatioLookup, agxSDK::Collection, agx::ContactNormal, agxHydraulics::detail::ElementaryGraphJoiningConstraint, agxPowerLine::detail::WireWinchConnectorConstraintImplementation, agx::MergeSplitBodyStorage, agx::StrongInteractionConstraint, agxSDK::EnergyManager, agx::PlaneJoint, agx::ParticleSink, agx::Dot1Slack, agxDriveTrain::ElectricMotorConstraintImplementation, agxSDK::GranularContactMergeSplitAlgorithm, agxControl::SplitSensorOperation, agxDriveTrain::EngineDampingUpdater, agxControl::RemoveRigidBody, agxPowerLine::detail::WireWinchConnector, agxPowerLine::detail::ElementaryWireWinchConnectorConstraint, agxSDK::MergedBodyMergeSplitAlgorithm, agxCable::RoutingNode, agxCable::CablePlasticity, agxHydraulics::detail::SpoolValveStaticFlowUnit, agxPowerLine::detail::RigidBodyTranslationalAttachmentSentry, agxModel::PlasticityComponent, and agxCable::GeometryFactory.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
virtualinherited |
Fill the given vector with the Units that are held by this SubGraph.
The collection is recursive, so internal Units will be collected.
Reimplemented in agxDriveTrain::deprecated::DriveTrainComponent.
|
inherited |
Definition at line 268 of file Serializable.h.
Referenced by agxSDK::UuidHashCollisionFilter::match().
|
virtualinherited |
Returns the constraint violation for connectors with holonomic constraints.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Find out if the connection belongs to this connector.
|
protectedinherited |
|
protectedinherited |
|
inherited |
|
virtualinherited |
Reimplemented in agxDriveTrain::GearBox, and agxDriveTrain::DifferentialLockConnector.
|
inherited |
Subclass test.
Referenced by agx::Object::getAutoScopedResource(), agxData::EntityStorage::getInstances(), and agx::Object::getResource().
|
inherited |
|
inherited |
|
inherited |
Definition at line 252 of file Serializable.h.
References AGX_FORCE_INLINE.
|
virtualinherited |
Determine if the given dimension is part of any of the input connections of this Connector.
| dimension | - The dimension to look for. |
|
virtualinherited |
Find out if a connection is output from this connector.
|
virtualinherited |
Find out if the given dimension is part of any of the output connections.
|
virtualinherited |
Reimplemented in agxHydraulics::detail::SpoolValveConnector, and agxDriveTrain::Clutch.
Referenced by agxHydraulics::detail::SpoolValveConnector::postRestore().
|
virtualinherited |
Set values of constraints.
Must be called after the constraints are created.
Reimplemented in agxHydraulics::detail::SpoolValveConnector, and agxDriveTrain::Clutch.
Referenced by agxHydraulics::detail::SpoolValveConnector::postStore().
|
virtualinherited |
|
virtualinherited |
Reimplemented in agxPowerLine::WireWinchActuator.
|
virtualinherited |
Reimplemented in agxPowerLine::WireWinchActuator.
|
overrideprotectedvirtual |
Implements agxHydraulics::RotationalFlowConnector.
|
virtualinherited |
Reimplemented in agxDriveTrain::PidControlledEngine, agxDriveTrain::deprecated::GearBox, agxDriveTrain::deprecated::FixedGear, agxPowerLine::RotationalActuator, agxDriveTrain::Engine, agxDriveTrain::ElectricMotor, agxPowerLine::RotationalUnit, agxPowerLine::WireWinchActuator, agxPowerLine::Actuator1DOF, and agxDriveTrain::Shaft.
Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it.
This method should be used with care, always balanced with the same number of calls to unreference.
|
protectedinherited |
|
protectedinherited |
|
overridevirtualinherited |
remove connector and constraint from simulation
Implements agxPowerLine::SubGraph.
Reimplemented in agxDriveTrain::HolonomicGear, and agxDriveTrain::Differential.
|
protectedinherited |
|
virtualinherited |
Restores internal data from stream.
Reimplemented from agxPowerLine::Connector.
Reimplemented in agxHydraulics::detail::SpoolValveConnector.
|
overridevirtualinherited |
Reimplemented from agxPowerLine::SubGraph.
Reimplemented in agxDriveTrain::deprecated::HighLevelDifferential, agxDriveTrain::HolonomicGear, agxPowerLine::RotationalConnector, agxDriveTrain::deprecated::TorqueConverter, agxDriveTrain::Differential, agxDriveTrain::SlipGear, agxPowerLine::RotationalTranslationalHolonomicConnector, agxDriveTrain::GearBox, agxHydraulics::detail::GraphJoiningConnector, agxDriveTrain::Clutch, agxHydraulics::detail::SpoolValveConnector, agxDriveTrain::Gear, agxPowerLine::RotationalTranslationalConnector, agxPowerLine::ActuatorConnector, agxDriveTrain::DifferentialLockConnector, and agxPowerLine::detail::WireWinchConnector.
Set the compliance of the constraint.
Increasing the compliance will increase the leakage of the pump or motor.
The unit of the compliance is volume per time per pressure, or leakage rate per pressure.
|
inherited |
set the constraint that represents this connector in the solver.
Set the damping of the constraint.
|
staticprotectedinherited |
Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.
|
virtualinherited |
Set the displacement of the pump or motor.
The displacement defines the conversion ratio between rotation and flow, and is always measured in units of flow per unit of rotation.
| displacement | - The new displacement of the pump or motor. |
|
inherited |
Set to false to disable serialization of this object.
It will just be ignored during serialization (writing). It is still possible to restore TO this object.
|
staticinherited |
Specify if there should be UUID:s generated for each new Serializable object. By default it is enabled.
|
inherited |
Tells this class that it is restored correctly and should not be deleted during destruction of an Archive.
|
inherited |
Set the name of this power line component.
| name | - The new name. |
|
inherited |
Define number of input dimensions the constraint should handle.
|
inherited |
Define number of output dimensions the constraint should handle.
|
inherited |
set/get the ratio (scaling of load through the constraint).
Explicitly set a Uuid on a serializable object.
Use this method with great care, as it can result in non-unique identifiers in the system!
|
inherited |
|
virtualinherited |
Stores internal data into stream.
Reimplemented from agxPowerLine::Connector.
Reimplemented in agxHydraulics::detail::SpoolValveConnector.
|
overridevirtualinherited |
Reimplemented from agxPowerLine::SubGraph.
Reimplemented in agxDriveTrain::deprecated::HighLevelDifferential, agxDriveTrain::HolonomicGear, agxPowerLine::RotationalConnector, agxDriveTrain::deprecated::TorqueConverter, agxDriveTrain::Differential, agxDriveTrain::SlipGear, agxPowerLine::RotationalTranslationalHolonomicConnector, agxDriveTrain::GearBox, agxHydraulics::detail::GraphJoiningConnector, agxDriveTrain::Clutch, agxHydraulics::detail::SpoolValveConnector, agxDriveTrain::Gear, agxPowerLine::RotationalTranslationalConnector, agxPowerLine::ActuatorConnector, agxDriveTrain::DifferentialLockConnector, and agxPowerLine::detail::WireWinchConnector.
|
protectedinherited |
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
If the reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted.
This method should be used with care, always balanced with the same number of calls to reference.
Referenced by agxData::EntityRef< ContactMaterialPtr >::~EntityRef().
|
inherited |
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
However, do not delete it, even if ref count goes to 0. Warning, unref_nodelete() should only be called if the user knows exactly who will be responsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks.
|
staticinherited |
|
virtualinherited |
Reimplemented in agxHydraulics::detail::SpoolValveConnector.
|
protectedinherited |
Definition at line 105 of file RotationalFlowConnector.h.
|
protectedinherited |
Definition at line 397 of file Connector.h.
|
protectedinherited |
Definition at line 393 of file Connector.h.
|
protectedinherited |
Definition at line 104 of file RotationalFlowConnector.h.
|
protectedinherited |
Definition at line 162 of file SubGraph.h.
|
protectedinherited |
Definition at line 399 of file Connector.h.
|
protectedinherited |
Definition at line 388 of file Connector.h.
|
protectedinherited |
Definition at line 390 of file Connector.h.
|
protectedinherited |
Definition at line 164 of file SubGraph.h.
|
protectedinherited |
Definition at line 163 of file SubGraph.h.
|
mutableprotectedinherited |
Definition at line 240 of file Referenced.h.
|
protectedinherited |
Definition at line 166 of file SubGraph.h.
|
protectedinherited |
Definition at line 386 of file Connector.h.
|
protectedinherited |
Definition at line 387 of file Connector.h.
|
mutableprotectedinherited |
Definition at line 239 of file Referenced.h.
|
protectedinherited |
Definition at line 389 of file Connector.h.
|
protectedinherited |
Definition at line 391 of file Connector.h.
|
protectedinherited |
Definition at line 165 of file SubGraph.h.
|
protectedinherited |
Definition at line 395 of file Connector.h.
|
protectedinherited |
Definition at line 396 of file Connector.h.
|
mutableprotectedinherited |
Definition at line 241 of file Referenced.h.