PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::VehicleRigidBodyInfo Struct Reference

The Rigid body information is stored in mVehicleJointInfo. More...

#include <VehicleInfo.h>

Collaboration diagram for dyno::VehicleRigidBodyInfo:

Public Member Functions

 VehicleRigidBodyInfo ()
 
 VehicleRigidBodyInfo (Name_Shape name, int shapeId, ConfigShapeType type, Real density=100)
 
 VehicleRigidBodyInfo (Name_Shape name, int shapeId, ConfigShapeType type, Transform3f trans, Real density=100)
 

Public Attributes

Name_Shape shapeName = Name_Shape("")
 
int meshShapeId = -1
 
ConfigShapeType shapeType = ConfigShapeType::Capsule
 
Transform3f transform = Transform3f(Vec3f(0), Mat3f::identityMatrix(), Vec3f(1))
 
Vec3f Offset = Vec3f(0)
 
Vec3f mHalfLength = Vec3f(1)
 
float radius = 1
 
std::vector< Vec3ftet = {Vec3f(0),Vec3f(0),Vec3f(0),Vec3f(0,1,0) }
 
float capsuleLength = 1
 
ConfigMotionType motion = ConfigMotionType::CMT_Dynamic
 
Real mDensity = 100
 
uint rigidGroup = 0
 

Detailed Description

The Rigid body information is stored in mVehicleJointInfo.

Definition at line 60 of file VehicleInfo.h.

Constructor & Destructor Documentation

◆ VehicleRigidBodyInfo() [1/3]

dyno::VehicleRigidBodyInfo::VehicleRigidBodyInfo ( )
inline

Definition at line 62 of file VehicleInfo.h.

◆ VehicleRigidBodyInfo() [2/3]

dyno::VehicleRigidBodyInfo::VehicleRigidBodyInfo ( Name_Shape name,
int shapeId,
ConfigShapeType type,
Real density = 100 )
inline

Definition at line 64 of file VehicleInfo.h.

◆ VehicleRigidBodyInfo() [3/3]

dyno::VehicleRigidBodyInfo::VehicleRigidBodyInfo ( Name_Shape name,
int shapeId,
ConfigShapeType type,
Transform3f trans,
Real density = 100 )
inline

Definition at line 72 of file VehicleInfo.h.

Member Data Documentation

◆ capsuleLength

float dyno::VehicleRigidBodyInfo::capsuleLength = 1

Definition at line 92 of file VehicleInfo.h.

◆ mDensity

Real dyno::VehicleRigidBodyInfo::mDensity = 100

Definition at line 95 of file VehicleInfo.h.

◆ meshShapeId

int dyno::VehicleRigidBodyInfo::meshShapeId = -1

Definition at line 84 of file VehicleInfo.h.

◆ mHalfLength

Vec3f dyno::VehicleRigidBodyInfo::mHalfLength = Vec3f(1)

Definition at line 89 of file VehicleInfo.h.

◆ motion

ConfigMotionType dyno::VehicleRigidBodyInfo::motion = ConfigMotionType::CMT_Dynamic

Definition at line 93 of file VehicleInfo.h.

◆ Offset

Vec3f dyno::VehicleRigidBodyInfo::Offset = Vec3f(0)

Definition at line 87 of file VehicleInfo.h.

◆ radius

float dyno::VehicleRigidBodyInfo::radius = 1

Definition at line 90 of file VehicleInfo.h.

◆ rigidGroup

uint dyno::VehicleRigidBodyInfo::rigidGroup = 0

Definition at line 97 of file VehicleInfo.h.

◆ shapeName

Name_Shape dyno::VehicleRigidBodyInfo::shapeName = Name_Shape("")

Definition at line 82 of file VehicleInfo.h.

◆ shapeType

ConfigShapeType dyno::VehicleRigidBodyInfo::shapeType = ConfigShapeType::Capsule

Definition at line 85 of file VehicleInfo.h.

◆ tet

std::vector<Vec3f> dyno::VehicleRigidBodyInfo::tet = {Vec3f(0),Vec3f(0),Vec3f(0),Vec3f(0,1,0) }

Definition at line 91 of file VehicleInfo.h.

◆ transform

Transform3f dyno::VehicleRigidBodyInfo::transform = Transform3f(Vec3f(0), Mat3f::identityMatrix(), Vec3f(1))

Definition at line 86 of file VehicleInfo.h.


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