CARLA
Macros | Functions
SpringBasedVegetationComponent.cpp File Reference
#include "SpringBasedVegetationComponent.h"
#include "Carla/Walker/WalkerAnim.h"
#include "Math/Matrix.h"
#include "Components/CapsuleComponent.h"
#include "DrawDebugHelpers.h"
#include "Kismet/KismetMathLibrary.h"
#include "BaseVegetationActor.h"
#include "Vehicle/CarlaWheeledVehicle.h"
#include <unordered_set>
#include <vector>
#include <cmath>
#include <sstream>
#include <compiler/disable-ue4-macros.h>
#include "carla/rpc/String.h"
#include <compiler/enable-ue4-macros.h>
+ Include dependency graph for SpringBasedVegetationComponent.cpp:

Go to the source code of this file.

Macros

#define ACC_LOG(...)
 
#define ACCUMULATIONLOGS   0
 
#define COLLISION_LOG(...)
 
#define COLLISIONLOGS   0
 
#define FICT_LOG(...)
 
#define FICTITIOUSFORCELOGS   0
 
#define OTHER_LOG(...)
 
#define OTHERLOGS   0
 
#define SOLVER_LOG(...)
 
#define SOLVERLOGS   0
 
#define SPRINGVEGETATIONLOGS   0
 

Functions

template<class T >
static FString EigenToFString (T &t)
 
static FRotator EigenVectorToRotator (const Eigen::Vector3d &Vector)
 
FRotator GetDeltaRotator (const FRotator &Rotator1, const FRotator &Rotator2)
 
template<class T >
static T GetSign (T n)
 
static Eigen::Matrix3d OuterProduct (const Eigen::Vector3d &V1, const Eigen::Vector3d &V2)
 
static Eigen::Matrix3d OuterProduct (const Eigen::Vector3d &V1)
 
static Eigen::Vector3d RotatorToEigenVector (const FRotator &Rotator)
 
static Eigen::Matrix3d ToEigenMatrix (const FMatrix &Matrix)
 
static Eigen::Matrix3d ToEigenMatrix (const FTransform &Transform)
 
static Eigen::Vector3d ToEigenVector (const FVector &V1)
 
static FVector ToUnrealVector (const Eigen::Vector3d &V1)
 

Macro Definition Documentation

◆ ACC_LOG

#define ACC_LOG (   ...)

◆ ACCUMULATIONLOGS

#define ACCUMULATIONLOGS   0

Definition at line 27 of file SpringBasedVegetationComponent.cpp.

◆ COLLISION_LOG

#define COLLISION_LOG (   ...)

◆ COLLISIONLOGS

#define COLLISIONLOGS   0

Definition at line 26 of file SpringBasedVegetationComponent.cpp.

◆ FICT_LOG

#define FICT_LOG (   ...)

◆ FICTITIOUSFORCELOGS

#define FICTITIOUSFORCELOGS   0

Definition at line 28 of file SpringBasedVegetationComponent.cpp.

◆ OTHER_LOG

#define OTHER_LOG (   ...)

◆ OTHERLOGS

#define OTHERLOGS   0

Definition at line 29 of file SpringBasedVegetationComponent.cpp.

◆ SOLVER_LOG

#define SOLVER_LOG (   ...)

◆ SOLVERLOGS

#define SOLVERLOGS   0

Definition at line 25 of file SpringBasedVegetationComponent.cpp.

◆ SPRINGVEGETATIONLOGS

#define SPRINGVEGETATIONLOGS   0

Definition at line 24 of file SpringBasedVegetationComponent.cpp.

Function Documentation

◆ EigenToFString()

template<class T >
static FString EigenToFString ( T &  t)
static

Definition at line 89 of file SpringBasedVegetationComponent.cpp.

Referenced by FSkeletonHierarchy::ClearExternalForces().

+ Here is the caller graph for this function:

◆ EigenVectorToRotator()

static FRotator EigenVectorToRotator ( const Eigen::Vector3d &  Vector)
static

Definition at line 132 of file SpringBasedVegetationComponent.cpp.

Referenced by FSkeletonHierarchy::ClearExternalForces().

+ Here is the caller graph for this function:

◆ GetDeltaRotator()

FRotator GetDeltaRotator ( const FRotator &  Rotator1,
const FRotator &  Rotator2 
)

Definition at line 58 of file SpringBasedVegetationComponent.cpp.

Referenced by FSkeletonHierarchy::ClearExternalForces().

+ Here is the caller graph for this function:

◆ GetSign()

template<class T >
static T GetSign ( n)
static

Definition at line 84 of file SpringBasedVegetationComponent.cpp.

◆ OuterProduct() [1/2]

static Eigen::Matrix3d OuterProduct ( const Eigen::Vector3d &  V1,
const Eigen::Vector3d &  V2 
)
static

Definition at line 95 of file SpringBasedVegetationComponent.cpp.

Referenced by FSkeletonHierarchy::ClearExternalForces().

+ Here is the caller graph for this function:

◆ OuterProduct() [2/2]

static Eigen::Matrix3d OuterProduct ( const Eigen::Vector3d &  V1)
static

Definition at line 99 of file SpringBasedVegetationComponent.cpp.

◆ RotatorToEigenVector()

static Eigen::Vector3d RotatorToEigenVector ( const FRotator &  Rotator)
static

Definition at line 125 of file SpringBasedVegetationComponent.cpp.

Referenced by FSkeletonHierarchy::ClearExternalForces().

+ Here is the caller graph for this function:

◆ ToEigenMatrix() [1/2]

static Eigen::Matrix3d ToEigenMatrix ( const FMatrix &  Matrix)
static

Definition at line 112 of file SpringBasedVegetationComponent.cpp.

Referenced by FSkeletonHierarchy::ClearExternalForces(), and ToEigenMatrix().

+ Here is the caller graph for this function:

◆ ToEigenMatrix() [2/2]

static Eigen::Matrix3d ToEigenMatrix ( const FTransform &  Transform)
static

Definition at line 120 of file SpringBasedVegetationComponent.cpp.

References ToEigenMatrix().

+ Here is the call graph for this function:

◆ ToEigenVector()

static Eigen::Vector3d ToEigenVector ( const FVector &  V1)
static

Definition at line 104 of file SpringBasedVegetationComponent.cpp.

Referenced by FSkeletonHierarchy::ClearExternalForces().

+ Here is the caller graph for this function:

◆ ToUnrealVector()

static FVector ToUnrealVector ( const Eigen::Vector3d &  V1)
static

Definition at line 108 of file SpringBasedVegetationComponent.cpp.

Referenced by FSkeletonHierarchy::ClearExternalForces().

+ Here is the caller graph for this function: