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

Public Member Functions

 Config (btVector3 origin=btVector3(0.0, 0.0, 0.0), btScalar friction=0.5, btScalar restitution=0.0, size_t nStairs=10, double stairWidth=20.0, double stepWidth=5.0, double stepHeight=1.0, double angle=0.0)

Public Attributes

btVector3 m_origin
btScalar m_friction
btScalar m_restitution
size_t m_nBlocks
double m_length
double m_width
double m_height
double m_angle

Detailed Description

Definition at line 51 of file tgStairs.h.

Member Data Documentation

double tgStairs::Config::m_angle

Angle of the stairs in the xz plane. Default has the stairs ascending along the +z direction

Definition at line 85 of file tgStairs.h.

btScalar tgStairs::Config::m_friction

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

Definition at line 67 of file tgStairs.h.

double tgStairs::Config::m_height

Height of the blocks

Definition at line 82 of file tgStairs.h.

double tgStairs::Config::m_length

Length of the blocks

Definition at line 76 of file tgStairs.h.

size_t tgStairs::Config::m_nBlocks

Number of blocks in the field

Definition at line 73 of file tgStairs.h.

btVector3 tgStairs::Config::m_origin

Origin position of the block field

Definition at line 64 of file tgStairs.h.

btScalar tgStairs::Config::m_restitution

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

Definition at line 70 of file tgStairs.h.

double tgStairs::Config::m_width

Width of the blocks

Definition at line 79 of file tgStairs.h.

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