Free Electron
Public Member Functions | Public Attributes | List of all members
fe::ext::Tree::Stick Class Reference

Segment of a branch. More...

#include <Tree.h>

Inheritance diagram for fe::ext::Tree::Stick:
Inheritance graph
[legend]

Public Member Functions

void reset (void)
 
virtual const SpatialVectorbase (void) const
 
virtual const SpatialVectorspan (void) const
 
virtual const SpatialQuaternionrotation (void) const
 
virtual Real radius1 (void) const
 
virtual Real radius2 (void) const
 
virtual I32 resolution (void) const
 
virtual String stateString (void) const
 
virtual void setWindVelocity (const SpatialVector &a_windVelocity)
 
virtual void setTarget (const SpatialVector &a_target)
 
virtual void setTargeted (const I32 a_targeted)
 
void attach (Stick *pChild)
 
void attachLeaf (U32 leafIndex)
 
void grow (sp< Tree > &rspTree, U32 &stick, const U32 segment, const U32 level, const F32 a_fullLength, const F32 along, const F32 baseRotate, const F32 rotate)
 
void populate_static (sp< Tree > &rspTree, MatrixN *dfdx, MatrixN *dfdv, VectorN &invMass)
 
Real effectOfEffector (sp< Tree > &rspTree, const SpatialVector &a_effector, SpatialVector &a_effect)
 
void populate_dynamic (sp< Tree > &rspTree, VectorN *force, VectorN *velocity, VectorN *addPosition, VectorN *addVelocity, bool rekine)
 
void forward_kine (U32 thread, sp< Tree > &rspTree, const F32 deltaT, const VectorN *deltaV, const VectorN *addPosition, const VectorN *addVelocity, SpatialVector &rEffectorForce, BWORD rebundle)
 
void forward_kine_recursive (U32 thread, sp< Tree > &rspTree, const F32 deltaT, const VectorN *deltaV, const VectorN *addPosition, const VectorN *addVelocity, SpatialVector &rEffectorForce, BWORD only_zero)
 

Public Attributes

Stickm_pParent
 
List< Stick * > m_children
 
Array< U32 > m_leafIndexArray
 
U32 m_index
 
U32 m_level
 
SpatialVector m_base
 
SpatialVector m_span
 
SpatialVector m_dir [2]
 
SpatialVector m_windVelocity
 
SpatialVector m_target
 
I32 m_targeted
 
F32 m_mass
 
F32 m_length
 
F32 m_spring
 
F32 m_drag
 
F32 m_radius1
 
F32 m_radius2
 
I32 m_resolution
 
Vector2 m_absRest
 
SpatialVector m_dirRest
 
Vector2 m_rest
 
Vector2 m_position
 
Vector2 m_velocity
 
SpatialQuaternion m_rotation
 
SpatialQuaternion m_correction
 
SpatialTransform m_transform
 
Vector2 m_intensity
 
Real m_freedom
 
Vector2 m_lastAddPosition
 
Vector2 m_lastAddDelta
 
SpatialVector m_contact
 
SpatialVector m_contact2
 

Detailed Description

Segment of a branch.


The documentation for this class was generated from the following files: