CARLA
Public Member Functions | Public Attributes | List of all members
FSkeletonHierarchy Struct Reference

#include <SpringBasedVegetationComponent.h>

+ Collaboration diagram for FSkeletonHierarchy:

Public Member Functions

void AddForce (const FString &BoneName, const FVector &Force)
 
void Clear ()
 
void ClearExternalForces ()
 
void ComputeChildrenJointsAndBones ()
 
void ComputeEndJoints ()
 
FSkeletonJointGetRootJoint ()
 

Public Attributes

TArray< int > EndJoints
 
TArray< int > EndToRootOrder
 
TArray< FSkeletonJointJoints
 
TArray< int > RootToEndOrder
 

Detailed Description

Definition at line 106 of file SpringBasedVegetationComponent.h.

Member Function Documentation

◆ AddForce()

void FSkeletonHierarchy::AddForce ( const FString &  BoneName,
const FVector &  Force 
)

Definition at line 217 of file SpringBasedVegetationComponent.cpp.

References Joints.

◆ Clear()

void FSkeletonHierarchy::Clear ( void  )

Definition at line 140 of file SpringBasedVegetationComponent.cpp.

References EndJoints, EndToRootOrder, Joints, and RootToEndOrder.

◆ ClearExternalForces()

void FSkeletonHierarchy::ClearExternalForces ( )

Definition at line 228 of file SpringBasedVegetationComponent.cpp.

References ACC_LOG, FSkeletonJoint::AngularAcceleration, FJointProperties::AngularAcceleration, FSkeletonJoint::AngularVelocity, FJointProperties::AngularVelocity, FSkeletonJoint::bIsStatic, FSkeletonJoint::Bones, FJointCollision::CanRest, FSkeletonBone::CenterOfMass, FJointProperties::CenterOfMass, FSkeletonJoint::ChildrenIds, COLLISION_LOG, FSkeletonJoint::CollisionForceProportionalFactor, EigenToFString(), EigenVectorToRotator(), FSkeletonJoint::ExternalForces, FICT_LOG, FJointProperties::FictitiousTorque, FJointProperties::Force, GetDeltaRotator(), FSkeletonJoint::GlobalTransform, FSkeletonJoint::GolbalInverseTransform, FJointProperties::InertiaTensor, IsValid(), FJointCollision::Iteration, FSkeletonJoint::JointId, FSkeletonJoint::JointName, Joints, FJointProperties::JointToGlobalMatrix, FSkeletonBone::Length, FJointProperties::LinearAcceleration, FJointProperties::LinearVelocity, FSkeletonBone::Mass, FSkeletonJoint::Mass, FJointProperties::Mass, OTHER_LOG, OuterProduct(), FSkeletonJoint::ParentId, FSkeletonJoint::RestingAngles, RotatorToEigenVector(), ABaseVegetationActor::SetParametersToComponent(), UWalkerAnim::Snap, SOLVER_LOG, FSkeletonJoint::SpringStrength, ToEigenMatrix(), ToEigenVector(), FJointProperties::Torque, ToUnrealVector(), FSkeletonJoint::Transform, and Vehicle.

+ Here is the call graph for this function:

◆ ComputeChildrenJointsAndBones()

void FSkeletonHierarchy::ComputeChildrenJointsAndBones ( )

◆ ComputeEndJoints()

void FSkeletonHierarchy::ComputeEndJoints ( )

◆ GetRootJoint()

FSkeletonJoint& FSkeletonHierarchy::GetRootJoint ( )
inline

Definition at line 124 of file SpringBasedVegetationComponent.h.

References FJointProperties::Force.

Member Data Documentation

◆ EndJoints

TArray<int> FSkeletonHierarchy::EndJoints

Definition at line 113 of file SpringBasedVegetationComponent.h.

Referenced by Clear(), and ComputeEndJoints().

◆ EndToRootOrder

TArray<int> FSkeletonHierarchy::EndToRootOrder

Definition at line 115 of file SpringBasedVegetationComponent.h.

Referenced by Clear(), and ComputeEndJoints().

◆ Joints

TArray<FSkeletonJoint> FSkeletonHierarchy::Joints

◆ RootToEndOrder

TArray<int> FSkeletonHierarchy::RootToEndOrder

Definition at line 117 of file SpringBasedVegetationComponent.h.

Referenced by Clear(), and ComputeEndJoints().


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