NTRT Simulator  v1.1
 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), btScalar friction=0.5, btScalar restitution=0.0, btVector3 size=btVector3(500.0, 1.5, 500.0), btVector3 origin=btVector3(0.0, 0.0, 0.0), size_t nx=50, 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
 
size_t m_nx
 
size_t m_ny
 
double m_margin
 
double m_triangleSize
 
double m_waveHeight
 
double m_offset
 

Detailed Description

Definition at line 44 of file tgHillyGround.h.

Member Data Documentation

btVector3 tgHillyGround::Config::m_eulerAngles

Euler angles are specified as yaw pitch and roll

Definition at line 60 of file tgHillyGround.h.

btScalar tgHillyGround::Config::m_friction

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

Definition at line 63 of file tgHillyGround.h.

double tgHillyGround::Config::m_margin

See Bullet documentation on Collision Margin

Definition at line 81 of file tgHillyGround.h.

size_t tgHillyGround::Config::m_nx

Number of nodes in the x-direction

Definition at line 75 of file tgHillyGround.h.

size_t tgHillyGround::Config::m_ny

Number of nodes in the y-direction

Definition at line 78 of file tgHillyGround.h.

double tgHillyGround::Config::m_offset

Translation factor for the Y axis

Definition at line 90 of file tgHillyGround.h.

btVector3 tgHillyGround::Config::m_origin

Origin position of the ground

Definition at line 72 of file tgHillyGround.h.

btScalar tgHillyGround::Config::m_restitution

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

Definition at line 66 of file tgHillyGround.h.

btVector3 tgHillyGround::Config::m_size

Size of the ground, must be between non-negitive

Definition at line 69 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 84 of file tgHillyGround.h.

double tgHillyGround::Config::m_waveHeight

Scale factor for the Y axis

Definition at line 87 of file tgHillyGround.h.


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