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

Public Member Functions

 Config (btVector3 origin=btVector3(0.0, 0.0, 0.0), btScalar friction=0.5, btScalar restitution=0.0, btVector3 minPos=btVector3(-100.0, 0.0,-100.0), btVector3 maxPos=btVector3(100.0, 0.0, 100.0), size_t nBlocks=500, double blockLength=5.0, double blockWidth=5.0, double blockHeight=5.0)
 

Public Attributes

btVector3 m_origin
 
btScalar m_friction
 
btScalar m_restitution
 
btVector3 m_minPos
 
btVector3 m_maxPos
 
size_t m_nBlocks
 
double m_length
 
double m_width
 
double m_height
 

Detailed Description

Definition at line 51 of file tgBlockField.h.

Member Data Documentation

btScalar tgBlockField::Config::m_friction

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

Definition at line 68 of file tgBlockField.h.

double tgBlockField::Config::m_height

Height of the blocks

Definition at line 89 of file tgBlockField.h.

double tgBlockField::Config::m_length

Length of the blocks

Definition at line 83 of file tgBlockField.h.

btVector3 tgBlockField::Config::m_maxPos

Provides the maximum coordinates of a bounding box within which the blocks will be placed

Definition at line 77 of file tgBlockField.h.

btVector3 tgBlockField::Config::m_minPos

Provides the minimum coordinates of a bounding box within which the blocks will be placed

Definition at line 74 of file tgBlockField.h.

size_t tgBlockField::Config::m_nBlocks

Number of blocks in the field

Definition at line 80 of file tgBlockField.h.

btVector3 tgBlockField::Config::m_origin

Origin position of the block field

Definition at line 65 of file tgBlockField.h.

btScalar tgBlockField::Config::m_restitution

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

Definition at line 71 of file tgBlockField.h.

double tgBlockField::Config::m_width

Width of the blocks

Definition at line 86 of file tgBlockField.h.


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