19 #ifndef AGXPOWERLINE_DOT_GRAPH_WRITER_H
20 #define AGXPOWERLINE_DOT_GRAPH_WRITER_H
36 DotGraphWriter(
const char* rotRateUnit =
"rad/s",
const char* transRateUnit =
"m/s");
38 void registerUnit(
const char* dimensionName,
const char* unitName);
51 bool writeDimensionsGraph(
const agx::String& filename);
65 DimensionVector m_seenDimensions;
66 ConnectorVector m_seenConnectors;
72 DimensionToIndexTable m_dimensionToIndexTable;
73 ConnectorToIndexTable m_connectorToIndexTable;
#define AGX_DECLARE_POINTER_TYPES(type)
bool writeDimensionsGraph(const agx::String &filename, const PowerLine *powerline)
virtual ~DotGraphWriter()
bool writeDimensionsGraph(const agx::String &filename, const agxPowerLine::Unit *startUnit)
DotGraphWriter(const char *rotRateUnit="rad/s", const char *transRateUnit="m/s")
void registerUnit(const char *dimensionName, const char *unitName)
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.
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.
agxPowerLine contains a collection of connected components that transport power across a system.
AGXTERRAIN_EXPORT void clear()