33 DotGraphWriter(
const char* rotRateQuantity =
"rad/s",
const char* transRateQuantity =
"m/s");
53 : subGraph {inSubGraph}
68 bool writeDimensionsGraph(
const agx::String& filename);
71 struct SeenSubGraph& getSeenRootSubGraph(
const SubGraph* subGraph);
75 QuantitiesTable m_quantities;
82 SeenSubGraphVector m_seenSubGraphs;
87 DimensionVector m_seenDimensions;
88 ConnectorVector m_seenConnectors;
95 SubGraphToIndexTable m_subGraphToIndexTable;
96 DimensionToIndexTable m_dimensionToIndexTable;
97 ConnectorToIndexTable m_connectorToIndexTable;
#define AGX_DECLARE_POINTER_TYPES(type)
DotGraphWriter(const char *rotRateQuantity="rad/s", const char *transRateQuantity="m/s")
bool writeDimensionsGraph(const agx::String &filename, const PowerLine *powerline)
void registerQuantity(const char *dimensionName, const char *quantityName)
virtual ~DotGraphWriter()
bool writeDimensionsGraph(const agx::String &filename, const agxPowerLine::Unit *startUnit)
bool writeDimensionsGraph(const agx::String &filename, const UnitPtrPowerLinePtrHashVector &roots)
PowerLine is the base class for a system of power transfer integrated into the rigid body simulation.
void reserve(size_t size)
Reserve capacity in the hash set.
Inheritance with partial specialization due to bug with ref_ptr containers.
This class is a combined container which has the find complexity of a HashTable, deterministic iterat...
Inheritance with partial specialization due to bug with ref_ptr containers.
Base class providing referencing counted objects.
bool is() const
Subclass test.
agxPowerLine contains a collection of connected components that transport power across a system.
SeenSubGraph(const SubGraph *inSubGraph)
agx::HashSet< size_t > dimensions
const SubGraph * subGraph
agx::HashSet< size_t > connectors