17 #ifndef AGXCABLE_ROUTE_H 18 #define AGXCABLE_ROUTE_H InputRef< T > in(const char *name, T &obj)
Create an object with a name and a reference to the object that should be restored (usually a pointer...
agxCable::CableSegmentRefVector m_segments
agx::Real m_maxAllowedError
OutputRef< Serializable > out(const char *name, const Serializable *obj)
Return an object that contain the name and the object that should be serialized to an archive...
agxCable::RoutingNodeRefVector m_routingNodes
#define AGX_DECLARE_POINTER_TYPES(type)
An ordered collection of agxCable::Node objects that has been added to a particular cable...
A route that finds a segment length that divides the route legs as evenly as possible.
Base class providing referencing counted objects.
A route that creates a path roughly following the routing nodes.
Contain classes for 6 DOF lumped element cables/wires/ropes.
Base class for route nodes that defines the path and some behavior of a cable.
agx::Real m_originalResolution
The resolution supplied to the constructor. Resolution search always start here.
A route that creates segments directly from the routing nodes.
agx::Real m_resolution
The current resolution, updated by running the segmentation algorithm.
Legacy route type that exist solely for the purpose of restoring old serializations.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
Class for writing serialized data in binary format to a stream.
virtual void restore(agxStream::InputArchive &in) override
#define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T)
Use this in a pure abstract Serializable class to add the required methods Important: Use full namesp...