The Spring node class. More...

#include "murl_graph_spring.h"

Inheritance diagram for Murl::Graph::Spring:

Additional Inherited Members

- Public Types inherited from Murl::IFactoryObject< INode >
using ClassInfoArray = Array< const ClassInfo * >
 Definition of an array of ClassInfo objects.
 
- Public Member Functions inherited from Murl::IFactoryObject< INode >
 ~IFactoryObject () override
 The destructor.
 
virtual const ClassInfo * GetObjectClassInfo () const=0
 Get the object instance's class info, if present. More...
 
virtual void ResetObjectProperties ()=0
 Reset the object instance's properties to their default values.
 
- Static Public Member Functions inherited from Murl::IFactoryObject< INode >
static const PropertyInfoGetPropertyInfo ()
 Get the class' property info struct. More...
 
static const AttributeInfoGetAttributeInfo ()
 Get the class' attribute info struct. More...
 
static void ResetProperties (IFactoryObject< INode > *object)
 Reset an object instance's properties to their default values. More...
 

Detailed Description

The Spring node class.

XML Elements

XML Graph Node Tag:

<Spring>

XML Graph Node Attributes:

springConstant="0.0" [Real]

The spring constant. See Murl::Graph::ISpring::SetSpringConstant().

dampingConstant="0.0" [Real]

The damping constant. See Murl::Graph::ISpring::SetDampingConstant().

minimumLength="0.0" [Real]

The spring's minimum length. See Murl::Graph::ISpring::SetMinimumLength().

maximumLength="0.0" [Real]

The spring's maximum length. See Murl::Graph::ISpring::SetMaximumLength().

affectForce="true" [Bool]

Enable/disable the force effect. See Murl::Graph::ISpring::SetForceEffectEnabled().

affectTorque="true" [Bool]

Enable/disable the torque effect. See Murl::Graph::ISpring::SetTorqueEffectEnabled().

body1Id="" [String]

The optional node ID of the first attached body. See Murl::Graph::ISpring::GetBodyNodeTarget().

body1PosX="0.0" [Real]

The X component of the first body's attachment point. See Murl::Graph::ISpring::SetBodyPosition().

body1PosY="0.0" [Real]

The Y component of the first body's attachment point. See Murl::Graph::ISpring::SetBodyPosition().

body1PosZ="0.0" [Real]

The Z component of the first body's attachment point. See Murl::Graph::ISpring::SetBodyPosition().

body1Influence="true" [Bool]

Enable/disable the spring's influence on the first attached body. See Murl::Graph::ISpring::SetBodyInfluence().

body2Id="" [String]

The node ID of the second attached body. See Murl::Graph::ISpring::GetBodyNodeTarget().

body2PosX="0.0" [Real]

The X component of the second body's attachment point. See Murl::Graph::ISpring::SetBodyPosition().

body2PosY="0.0" [Real]

The Y component of the second body's attachment point. See Murl::Graph::ISpring::SetBodyPosition().

body2PosZ="0.0" [Real]

The Z component of the second body's attachment point. See Murl::Graph::ISpring::SetBodyPosition().

body2Influence="true" [Bool]

Enable/disable the spring's influence on the second attached body. See Murl::Graph::ISpring::SetBodyInfluence().


The documentation for this class was generated from the following file:
  • murl_graph_spring.h


Copyright © 2011-2024 Spraylight GmbH.