NTRT Simulator  Version: Master
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
tgHillyGround::Config Struct Reference

Public Member Functions

 Config (btVector3 eulerAngles=btVector3(0.0, 0.0, 0.0), double friction=0.5, double restitution=0.0, btVector3 size=btVector3(500.0, 1.5, 500.0), btVector3 origin=btVector3(0.0, 0.0, 0.0), std::size_t nx=50, std::size_t ny=50, double margin=0.05, double triangleSize=5.0, double waveHeight=5.0, double offset=0.5)

Public Attributes

btVector3 m_eulerAngles
btScalar m_friction
btScalar m_restitution
btVector3 m_size
btVector3 m_origin
std::size_t m_nx
std::size_t m_ny
double m_margin
double m_triangleSize
double m_waveHeight
double m_offset

Detailed Description

Definition at line 48 of file tgHillyGround.h.

Member Data Documentation

btVector3 tgHillyGround::Config::m_eulerAngles

Euler angles are specified as yaw pitch and roll

Definition at line 64 of file tgHillyGround.h.

btScalar tgHillyGround::Config::m_friction

Friction value of the ground, must be between 0 to 1

Definition at line 67 of file tgHillyGround.h.

double tgHillyGround::Config::m_margin

See Bullet documentation on Collision Margin

Definition at line 85 of file tgHillyGround.h.

std::size_t tgHillyGround::Config::m_nx

Number of nodes in the x-direction

Definition at line 79 of file tgHillyGround.h.

std::size_t tgHillyGround::Config::m_ny

Number of nodes in the y-direction

Definition at line 82 of file tgHillyGround.h.

double tgHillyGround::Config::m_offset

Translation factor for the Y axis

Definition at line 94 of file tgHillyGround.h.

btVector3 tgHillyGround::Config::m_origin

Origin position of the ground

Definition at line 76 of file tgHillyGround.h.

btScalar tgHillyGround::Config::m_restitution

Restitution coefficient of the ground, must be between 0 to 1

Definition at line 70 of file tgHillyGround.h.

btVector3 tgHillyGround::Config::m_size

Size of the ground, must be between non-negitive

Definition at line 73 of file tgHillyGround.h.

double tgHillyGround::Config::m_triangleSize

Scale factor for the X and Z axes, varies according to m_nx and m_ny

Definition at line 88 of file tgHillyGround.h.

double tgHillyGround::Config::m_waveHeight

Scale factor for the Y axis

Definition at line 91 of file tgHillyGround.h.

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