AGX Dynamics 2.42.3.0
Loading...
Searching...
No Matches
agxPowerLine Namespace Reference

agxPowerLine contains a collection of connected components that transport power across a system. More...

Namespaces

namespace  detail
 

Classes

class  AbstractPowerLineTraverser
 Base class for all power line traversers. More...
 
class  Actuator
 Abstract base class for connecting a agxPowerLine::Unit to an ordinary constraint such as a Hinge or Prismatic. More...
 
class  Actuator1DOF
 An Actuator that operates on Constraint1DOF constraints. More...
 
class  ActuatorBodyUnit
 An ActuatorBodyUnit forms a connection between the power line world and the rest of the simulation. More...
 
class  ActuatorConnector
 
class  ActuatorConstraintImplementation
 
class  ActuatorDimension
 
class  ActuatorRotationalDimension
 
class  ActuatorTranslationalDimension
 
class  Connection
 
class  ConnectionIterator
 Iterator that iterates over all, both input and output, connections that have a non-null Connector. More...
 
class  Connector
 Links two connections together. More...
 
class  Constraint1DOFGeometry
 ConstraintGeometry for 1-DOF constraints. More...
 
class  ConstraintGeometry
 Description of how an Actuator is allowed to apply forces and torques on the body or bodies attached to the actuated constraint. More...
 
class  ControllerConstraintGeometry
 ConstraintGeometry for any type of constraint that has a BasicControllerConstraint along the axis that the Actutar should operate. More...
 
class  DotGraphWriter
 
class  ElementaryActuatorConstraint
 
class  ElementaryGearConstraint
 An elementary gear constraint constrains the velocity of the rotational dimensions of a number bodies. More...
 
class  ElementaryHolonomicGearConstraint
 An elementary gear constraint constrains the velocity of the rotational dimensions of a number bodies. More...
 
class  ElementaryPhysicalDimensionConstraint
 Pure virtual function. More...
 
class  ElementaryPhysicalDimensionMultiBodyConstraint
 Elementary constraint for constraining an arbitrary number of ONE specific PhysicalDimension::Type. More...
 
class  ElementaryTranslationalConstraint
 
class  GearConstraintImplementation
 Constraint implementation that constrains the velocity of the rotational dimensions of a number bodies. More...
 
class  HolonomicGearConstraintImplementation
 Constraint implementation that constrains the velocity of the rotational dimensions of a number bodies. More...
 
class  LinearLookupTable
 Linear interpolation between the inserted variable/value pairs. More...
 
class  LookupTable
 Return a value of y given any value of x. More...
 
class  PhysicalDimension
 Pure virtual class. More...
 
class  PhysicalDimensionIterator
 Iterator that iterates over the non-null PhysicalDimensions of a Unit. More...
 
class  PhysicalDimensionMultiBodyConstraintImplementation
 Constraint implementation for constraining a number of physical dimensions of the same type. More...
 
class  PowerGenerator
 Will generate power by adding a load to a physical dimension. More...
 
class  PowerLine
 PowerLine is the base class for a system of power transfer integrated into the rigid body simulation. More...
 
class  PowerLineCallbackTraverser
 Traverser that calls a user supplied callback in its 'visit' methods. More...
 
class  PowerLineCollector
 PowerLineTraverser that stores the nodes it visits. More...
 
class  PowerLineConstTraverser
 Template specialization for const traversal. More...
 
class  PowerLineController
 Each type of physical dimension handled by the power line has to have a unique name. More...
 
class  PowerLinesHandler
 A PowerLinesHandler is a collection of PowerLines that are part of the same agxSDK::Simulation. More...
 
class  PowerLineTraverser
 Template specialization for non-const traversal. More...
 
class  PowerTimeIntegralLookupTable
 A lookup table used for power time integral (torque for rotational power, force for translational power) More...
 
class  RotationalActuator
 Class that will connect a agxPowerLine::Unit to a rotational ordinary constraint such as a agx::Hinge. More...
 
class  RotationalConnector
 Defines a stiff gear constraint between two rotational dimensions. More...
 
class  RotationalDimension
 The rotational has one rotational degree of freedom. More...
 
class  RotationalTranslationalConnector
 Constrains a rotational degree of freedom with a translational degree of freedom with a non-holonomic constraint. More...
 
class  RotationalTranslationalHolonomicConnector
 This class can be used to connect the position of a rotational and a positional unit. More...
 
class  RotationalUnit
 A rotational unit has one degree of freedom. More...
 
class  SlotMapper
 The SlotMapper is reponsible for mapping one dimensional dimension states to slots in the RigidBodies. More...
 
class  StepEventDotGraphWriter
 A StepEventListener that writes a power line.dot graph in the LAST event. More...
 
class  SubGraph
 
class  TorqueGenerator
 A torque generator adds torque to the body of a rotational dimension. More...
 
class  TranslationalActuator
 Class that will connect a agxPowerLine::Unit to a translational ordinary constraint such as a agx::Prismatic. More...
 
class  TranslationalConstraintImplementation
 
class  TranslationalUnit
 
class  Unit
 Pure virtual class. More...
 
class  WireWinchActuator
 This actuator can be used to connect a Winch (which is a linear constraint) to a powerline for example a rotating shaft. More...
 

Typedefs

typedef agx::observer_ptr< const Actuator1DOF > Actuator1DOFConstObserver
 
typedef agx::ref_ptr< const Actuator1DOF > Actuator1DOFConstRef
 
typedef agx::observer_ptr< Actuator1DOF > Actuator1DOFObserver
 
typedef agx::ref_ptr< Actuator1DOF > Actuator1DOFRef
 
typedef agx::ref_ptr< ActuatorBodyUnit > ActuatorBodyUnitRef
 
typedef agx::observer_ptr< const ActuatorConnector > ActuatorConnectorConstObserver
 
typedef agx::ref_ptr< const ActuatorConnector > ActuatorConnectorConstRef
 
typedef agx::observer_ptr< ActuatorConnector > ActuatorConnectorObserver
 
typedef agx::ref_ptr< ActuatorConnector > ActuatorConnectorRef
 
typedef agx::observer_ptr< const Actuator > ActuatorConstObserver
 
typedef agx::ref_ptr< const Actuator > ActuatorConstRef
 
typedef agx::observer_ptr< Actuator > ActuatorObserver
 
typedef agx::ref_ptr< Actuator > ActuatorRef
 
typedef Connection * ConnectionPtr
 
typedef agx::Vector< ConnectionPtr > ConnectionPtrVector
 
typedef agx::ref_ptr< Connection > ConnectionRef
 
typedef agx::Vector< ConnectionRef > ConnectionRefVector
 
typedef agx::HashVector< agxPowerLine::Connector *, bool > ConnectorBoolHashVector
 
typedef agx::observer_ptr< Connector > ConnectorObserver
 
typedef agx::Vector< ConnectorObserver > ConnectorObserverVector
 
typedef agx::SetVector< Connector * > ConnectorPtrSetVector
 
typedef agx::Vector< Connector * > ConnectorPtrVector
 
typedef agx::ref_ptr< Connector > ConnectorRef
 
typedef agx::SetVector< ConnectorRef > ConnectorRefSet
 
typedef agx::Vector< ConnectorRef > ConnectorRefVector
 
typedef const PhysicalDimensionRef ConstPhysicalDimensionRef
 
typedef agx::Vector< ConstPhysicalDimensionRef > ConstPhysicalDimensionRefVector
 
typedef agx::observer_ptr< const ConstraintGeometry > ConstraintGeometryConstObserver
 
typedef agx::ref_ptr< const ConstraintGeometry > ConstraintGeometryConstRef
 
typedef agx::observer_ptr< ConstraintGeometry > ConstraintGeometryObserver
 
typedef agx::ref_ptr< ConstraintGeometry > ConstraintGeometryRef
 
typedef std::pair< agxPowerLine::PhysicalDimension *, agxPowerLine::Side > DimensionAndSide
 
typedef agx::Vector< std::pair< agxPowerLine::PhysicalDimension *, agxPowerLine::Side > > DimensionSideVector
 
typedef agx::Vector< PhysicalDimension::Type > DimensionTypeVector
 
typedef agx::observer_ptr< const DotGraphWriter > DotGraphWriterConstObserver
 
typedef agx::ref_ptr< const DotGraphWriter > DotGraphWriterConstRef
 
typedef agx::observer_ptr< DotGraphWriter > DotGraphWriterObserver
 
typedef agx::ref_ptr< DotGraphWriter > DotGraphWriterRef
 
typedef agx::ref_ptr< ElementaryGearConstraint > GearConstraintRef
 
typedef agx::ref_ptr< ElementaryHolonomicGearConstraint > HolonomicGearConstraintRef
 
typedef agx::ref_ptr< LinearLookupTable > LinearLookupTableRef
 
typedef agx::ref_ptr< LookupTable > LookupTableRef
 
typedef agx::HashVector< PhysicalDimension *, int > PhysicalDimensionPtrIntTable
 
typedef agx::SetVector< PhysicalDimension * > PhysicalDimensionPtrSetVector
 
typedef agx::Vector< PhysicalDimension * > PhysicalDimensionPtrVector
 
typedef agx::ref_ptr< PhysicalDimension > PhysicalDimensionRef
 
typedef agx::Vector< PhysicalDimensionRef > PhysicalDimensionRefVector
 
typedef agx::observer_ptr< PowerGenerator > PowerGeneratorObserver
 
typedef agx::ref_ptr< PowerGenerator > PowerGeneratorRef
 
typedef agx::observer_ptr< PowerLine > PowerLineObsPtr
 
typedef agx::VectorPOD< PowerLine * > PowerLinePtrVector
 
typedef agx::ref_ptr< PowerLine > PowerLineRef
 
typedef agx::Vector< PowerLineRef > PowerLineRefVector
 
typedef agx::ref_ptr< PowerLinesHandler > PowerLinesHandlerRef
 
typedef agx::ref_ptr< PowerTimeIntegralLookupTable > PowerTimeIntegralLookupTableRef
 
typedef agx::HashVector< agx::RigidBody *, int > RigidBodyPtrIntHashVector
 
typedef agx::ref_ptr< RotationalActuator > RotationalActuatorRef
 
typedef agx::ref_ptr< RotationalConnector > RotationalConnectorRef
 
typedef agx::observer_ptr< const RotationalDimension > RotationalDimensionConstObserver
 
typedef agx::ref_ptr< const RotationalDimension > RotationalDimensionConstRef
 
typedef agx::observer_ptr< RotationalDimension > RotationalDimensionObserver
 
typedef agx::ref_ptr< RotationalDimension > RotationalDimensionRef
 
typedef agx::ref_ptr< RotationalTranslationalConnector > RotationalTranslationalConnectorRef
 
typedef agx::ref_ptr< RotationalTranslationalHolonomicConnector > RotationalTranslationalHolonomicConnectorRef
 
typedef agx::ref_ptr< RotationalUnit > RotationalUnitRef
 
typedef agx::observer_ptr< const SlotMapper > SlotMapperConstObserver
 
typedef agx::ref_ptr< const SlotMapper > SlotMapperConstRef
 
typedef agx::observer_ptr< SlotMapper > SlotMapperObserver
 
typedef agx::ref_ptr< SlotMapper > SlotMapperRef
 
typedef agx::observer_ptr< const StepEventDotGraphWriter > StepEventDotGraphWriterConstObserver
 
typedef agx::ref_ptr< const StepEventDotGraphWriter > StepEventDotGraphWriterConstRef
 
typedef agx::observer_ptr< StepEventDotGraphWriter > StepEventDotGraphWriterObserver
 
typedef agx::ref_ptr< StepEventDotGraphWriter > StepEventDotGraphWriterRef
 
typedef agx::observer_ptr< const SubGraph > SubGraphConstObserver
 
typedef agx::ref_ptr< const SubGraph > SubGraphConstRef
 
typedef agx::observer_ptr< SubGraph > SubGraphObserver
 
typedef agx::Vector< SubGraphObserver > SubGraphObserverVector
 
typedef agx::VectorPOD< SubGraph * > SubGraphPtrVector
 
typedef agx::ref_ptr< SubGraph > SubGraphRef
 
typedef agx::Vector< SubGraphRef > SubGraphRefVector
 
typedef agx::HashVector< agxPowerLine::SubGraph *, bool > SubGraphRouterBoolHashVector
 
typedef agx::ref_ptr< TranslationalActuator > TranslationalActuatorRef
 
typedef agx::ref_ptr< TranslationalUnit > TranslationalUnitRef
 
typedef agx::SetVector< const Unit * > UnitConstPtrSetVector
 
typedef agx::observer_ptr< Unit > UnitObserver
 
typedef agx::Vector< agx::observer_ptr< Unit > > UnitObsVector
 
typedef agx::HashVector< agxPowerLine::Unit *, agxPowerLine::PowerLine * > UnitPtrPowerLinePtrHashVector
 
typedef agx::SetVector< Unit * > UnitPtrSetVector
 
typedef agx::Vector< Unit * > UnitPtrVector
 
typedef agx::ref_ptr< Unit > UnitRef
 
typedef agx::HashVector< UnitRef, bool > UnitRefBoolHashVector
 
typedef agx::HashSet< UnitRef > UnitRefSet
 
typedef agx::SetVector< UnitRef > UnitRefSetVector
 
typedef agx::Vector< UnitRef > UnitRefVector
 
typedef agx::observer_ptr< const WireWinchActuator > WireWinchActuatorConstObserver
 
typedef agx::ref_ptr< const WireWinchActuator > WireWinchActuatorConstRef
 
typedef agx::observer_ptr< WireWinchActuator > WireWinchActuatorObserver
 
typedef agx::ref_ptr< WireWinchActuator > WireWinchActuatorRef
 

Enumerations

enum class  DirectionReference { LOCAL , WORLD }
 The DirectionReference specifies what the direction attribute of a DimensionState is relative to. More...
 
enum  GraphNodeTypes { UNITS = 1 , DIMENSIONS = 2 , CONNECTORS = 4 , ALL_GRAPH_NODES = UNITS | DIMENSIONS | CONNECTORS }
 Enumeration listing the types of nodes that the PowerLineTraversers can visit. More...
 
enum  Side { INPUT , OUTPUT , NO_SIDE }
 

Functions

AGXMODEL_EXPORT agx::RigidBody * createDimensionBody (const agx::Name &name)
 
AGXMODEL_EXPORT agxPowerLine::Side facing (agxPowerLine::Side side)
 
AGXMODEL_EXPORT void getConnectedSides (agxPowerLine::Unit *unit, agxPowerLine::Connector *connector, agxPowerLine::Side &unitSide, agxPowerLine::Side &connectorSide)
 
AGXMODEL_EXPORT agxPowerLine::PhysicalDimension::Type getDimensionType (const std::string &dimensionName)
 
AGXMODEL_EXPORT bool isValidSide (agxPowerLine::Side side, bool allowNoSide=false)
 
template<typename UnitPtr >
PhysicalDimensionIterator< UnitPtr > iterateDimensions (UnitPtr unit)
 
GraphNodeTypes operator| (GraphNodeTypes lhs, GraphNodeTypes rhs)
 
AGXMODEL_EXPORT agxPowerLine::Side opposite (agxPowerLine::Side side)
 
const char * toString (Side side)
 

Detailed Description

agxPowerLine contains a collection of connected components that transport power across a system.

Typedef Documentation

◆ Actuator1DOFConstObserver

◆ Actuator1DOFConstRef

Definition at line 267 of file Actuator1DOF.h.

◆ Actuator1DOFObserver

◆ Actuator1DOFRef

◆ ActuatorBodyUnitRef

◆ ActuatorConnectorConstObserver

◆ ActuatorConnectorConstRef

◆ ActuatorConnectorObserver

◆ ActuatorConnectorRef

◆ ActuatorConstObserver

Definition at line 41 of file Actuator.h.

◆ ActuatorConstRef

Definition at line 41 of file Actuator.h.

◆ ActuatorObserver

Definition at line 41 of file Actuator.h.

◆ ActuatorRef

Definition at line 41 of file Actuator.h.

◆ ConnectionPtr

Definition at line 71 of file PhysicalDimension.h.

◆ ConnectionPtrVector

◆ ConnectionRef

◆ ConnectionRefVector

◆ ConnectorBoolHashVector

◆ ConnectorObserver

◆ ConnectorObserverVector

◆ ConnectorPtrSetVector

◆ ConnectorPtrVector

Definition at line 401 of file Connector.h.

◆ ConnectorRef

Definition at line 404 of file Connector.h.

◆ ConnectorRefSet

◆ ConnectorRefVector

◆ ConstPhysicalDimensionRef

◆ ConstPhysicalDimensionRefVector

◆ ConstraintGeometryConstObserver

◆ ConstraintGeometryConstRef

◆ ConstraintGeometryObserver

◆ ConstraintGeometryRef

◆ DimensionAndSide

◆ DimensionSideVector

◆ DimensionTypeVector

◆ DotGraphWriterConstObserver

◆ DotGraphWriterConstRef

◆ DotGraphWriterObserver

◆ DotGraphWriterRef

◆ GearConstraintRef

◆ HolonomicGearConstraintRef

◆ LinearLookupTableRef

◆ LookupTableRef

◆ PhysicalDimensionPtrIntTable

◆ PhysicalDimensionPtrSetVector

◆ PhysicalDimensionPtrVector

◆ PhysicalDimensionRef

◆ PhysicalDimensionRefVector

◆ PowerGeneratorObserver

◆ PowerGeneratorRef

◆ PowerLineObsPtr

◆ PowerLinePtrVector

Definition at line 59 of file PowerLine.h.

◆ PowerLineRef

Definition at line 58 of file PowerLine.h.

◆ PowerLineRefVector

◆ PowerLinesHandlerRef

◆ PowerTimeIntegralLookupTableRef

◆ RigidBodyPtrIntHashVector

◆ RotationalActuatorRef

◆ RotationalConnectorRef

◆ RotationalDimensionConstObserver

◆ RotationalDimensionConstRef

◆ RotationalDimensionObserver

◆ RotationalDimensionRef

◆ RotationalTranslationalConnectorRef

◆ RotationalTranslationalHolonomicConnectorRef

◆ RotationalUnitRef

◆ SlotMapperConstObserver

◆ SlotMapperConstRef

Definition at line 116 of file SlotMapper.h.

◆ SlotMapperObserver

◆ SlotMapperRef

Definition at line 116 of file SlotMapper.h.

◆ StepEventDotGraphWriterConstObserver

◆ StepEventDotGraphWriterConstRef

◆ StepEventDotGraphWriterObserver

◆ StepEventDotGraphWriterRef

◆ SubGraphConstObserver

Definition at line 51 of file SubGraph.h.

◆ SubGraphConstRef

Definition at line 51 of file SubGraph.h.

◆ SubGraphObserver

Definition at line 51 of file SubGraph.h.

◆ SubGraphObserverVector

◆ SubGraphPtrVector

Definition at line 52 of file SubGraph.h.

◆ SubGraphRef

Definition at line 51 of file SubGraph.h.

◆ SubGraphRefVector

Definition at line 52 of file SubGraph.h.

◆ SubGraphRouterBoolHashVector

◆ TranslationalActuatorRef

◆ TranslationalUnitRef

◆ UnitConstPtrSetVector

Definition at line 41 of file Connector.h.

◆ UnitObserver

◆ UnitObsVector

Definition at line 56 of file Unit.h.

◆ UnitPtrPowerLinePtrHashVector

◆ UnitPtrSetVector

Definition at line 40 of file Connector.h.

◆ UnitPtrVector

Definition at line 73 of file PhysicalDimension.h.

◆ UnitRef

Definition at line 45 of file Connector.h.

◆ UnitRefBoolHashVector

◆ UnitRefSet

Definition at line 59 of file Unit.h.

◆ UnitRefSetVector

Definition at line 60 of file Unit.h.

◆ UnitRefVector

Definition at line 46 of file Connector.h.

◆ WireWinchActuatorConstObserver

◆ WireWinchActuatorConstRef

◆ WireWinchActuatorObserver

◆ WireWinchActuatorRef

Enumeration Type Documentation

◆ DirectionReference

The DirectionReference specifies what the direction attribute of a DimensionState is relative to.

Enumerator
LOCAL 
WORLD 

Definition at line 25 of file DirectionReference.h.

◆ GraphNodeTypes

Enumeration listing the types of nodes that the PowerLineTraversers can visit.

Represents a bit-field, so values may be or:ed together.

Enumerator
UNITS 
DIMENSIONS 
CONNECTORS 
ALL_GRAPH_NODES 

Definition at line 30 of file PowerLineTraverser.h.

◆ Side

Enumerator
INPUT 
OUTPUT 
NO_SIDE 

Definition at line 28 of file Sides.h.

Function Documentation

◆ createDimensionBody()

AGXMODEL_EXPORT agx::RigidBody * agxPowerLine::createDimensionBody ( const agx::Name &  name)

◆ facing()

AGXMODEL_EXPORT agxPowerLine::Side agxPowerLine::facing ( agxPowerLine::Side  side)

◆ getConnectedSides()

AGXMODEL_EXPORT void agxPowerLine::getConnectedSides ( agxPowerLine::Unit *  unit,
agxPowerLine::Connector *  connector,
agxPowerLine::Side &  unitSide,
agxPowerLine::Side &  connectorSide 
)

◆ getDimensionType()

AGXMODEL_EXPORT agxPowerLine::PhysicalDimension::Type agxPowerLine::getDimensionType ( const std::string &  dimensionName)

◆ isValidSide()

AGXMODEL_EXPORT bool agxPowerLine::isValidSide ( agxPowerLine::Side  side,
bool  allowNoSide = false 
)

◆ iterateDimensions()

template<typename UnitPtr >
PhysicalDimensionIterator< UnitPtr > agxPowerLine::iterateDimensions ( UnitPtr  unit)

◆ operator|()

GraphNodeTypes agxPowerLine::operator| ( GraphNodeTypes  lhs,
GraphNodeTypes  rhs 
)
inline

Definition at line 38 of file PowerLineTraverser.h.

◆ opposite()

AGXMODEL_EXPORT agxPowerLine::Side agxPowerLine::opposite ( agxPowerLine::Side  side)

◆ toString()

const char * agxPowerLine::toString ( Side  side)
inline

Definition at line 35 of file Sides.h.

References INPUT, NO_SIDE, and OUTPUT.