Murl::Graph::Joint Class Referenceabstract

The abstract Joint node class. More...

#include "murl_graph_joint.h"

Inheritance diagram for Murl::Graph::Joint:

Additional Inherited Members

- Public Types inherited from Murl::IFactoryObject< INode >
typedef Array< const ClassInfo *> ClassInfoArray
 Definition of an array of ClassInfo objects. More...
 
- Public Member Functions inherited from Murl::IFactoryObject< INode >
virtual ~IFactoryObject ()
 The destructor. More...
 
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 abstract Joint node class.

XML Elements

XML Graph Node Attributes:

springConstant="400000.0" [Real]

The joint's spring constant. See Murl::Graph::IJoint::SetSpringConstant().

dampingConstant="8000.0" [Real]

The joint's damping constant. See Murl::Graph::IJoint::SetDampingConstant().

body1Id="" [String]

The ID of the first connected Murl::Graph::IBody node. See Murl::Graph::IJoint::GetBodyNodeTarget().

body1PosX="0.0" [Real]

The local X position of the first connected body. See Murl::Graph::IJoint::SetBodyPosition().

body1PosY="0.0" [Real]

The local Y position of the first connected body. See Murl::Graph::IJoint::SetBodyPosition().

body1PosZ="0.0" [Real]

The local Z position of the first connected body. See Murl::Graph::IJoint::SetBodyPosition().

body1Influence="0.0" [Real]

Enable/disable the joint influence on the first connected body. See Murl::Graph::IJoint::SetBodyInfluence().

body2Id="" [String]

The ID of the second connected Murl::Graph::IBody node. See Murl::Graph::IJoint::GetBodyNodeTarget().

body2PosX="0.0" [Real]

The local X position of the second connected body. See Murl::Graph::IJoint::SetBodyPosition().

body2PosY="0.0" [Real]

The local Y position of the second connected body. See Murl::Graph::IJoint::SetBodyPosition().

body2PosZ="0.0" [Real]

The local Z position of the second connected body. See Murl::Graph::IJoint::SetBodyPosition().

body2Influence="0.0" [Real]

Enable/disable the joint influence on the second connected body. See Murl::Graph::IJoint::SetBodyInfluence().


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


Copyright © 2011-2018 Spraylight GmbH.