basic properties of the ball More...
Public Member Functions | |
| BallProperties (const char *nm=0, float r=500, Color c1=Color(255, 0, 0), Color c2=Color::White(), Coord3 p=Coord3(0, 0, 0), float el=0.5) | |
| BallProperties | get () const |
| void | set (const BallProperties &) |
| float | radius () const |
| void | setRadius (float) |
| Color | color1 () const |
| void | setColor1 (Color) |
| Color | color2 () const |
| void | setColor2 (Color) |
| Coord3 | pos () const |
| void | setPos (const Coord3 &) |
| float | elasticity () const |
| void | setElasticity (float) |
| BallProperties & | operator= (const BallProperties &bp) |
| bool | operator== (const BallProperties &bp) const |
| bool | operator!= (const BallProperties &bp) const |
Protected Attributes | |
| float | radius_ |
| Color | color1_ |
| Color | color2_ |
| Coord3 | pos_ |
| float | elasticity_ |
basic properties of the ball
| visBeachBall::BallProperties::BallProperties | ( | const char * | nm = 0, |
|
| float | r = 500, |
|||
| Color | c1 = Color(255,0,0), |
|||
| Color | c2 = Color::White(), |
|||
| Coord3 | p = Coord3(0, 0, 0), |
|||
| float | el = 0.5 | |||
| ) | [inline] |
| Color visBeachBall::BallProperties::color1 | ( | ) | const |
| Color visBeachBall::BallProperties::color2 | ( | ) | const |
| float visBeachBall::BallProperties::elasticity | ( | ) | const |
| BallProperties visBeachBall::BallProperties::get | ( | ) | const |
| bool visBeachBall::BallProperties::operator!= | ( | const BallProperties & | bp | ) | const |
| BallProperties& visBeachBall::BallProperties::operator= | ( | const BallProperties & | bp | ) |
| bool visBeachBall::BallProperties::operator== | ( | const BallProperties & | bp | ) | const |
| Coord3 visBeachBall::BallProperties::pos | ( | ) | const |
| float visBeachBall::BallProperties::radius | ( | ) | const |
| void visBeachBall::BallProperties::set | ( | const BallProperties & | ) |
| void visBeachBall::BallProperties::setColor1 | ( | Color | ) |
| void visBeachBall::BallProperties::setColor2 | ( | Color | ) |
| void visBeachBall::BallProperties::setElasticity | ( | float | ) |
| void visBeachBall::BallProperties::setPos | ( | const Coord3 & | ) |
| void visBeachBall::BallProperties::setRadius | ( | float | ) |
Color visBeachBall::BallProperties::color1_ [protected] |
Color visBeachBall::BallProperties::color2_ [protected] |
float visBeachBall::BallProperties::elasticity_ [protected] |
Coord3 visBeachBall::BallProperties::pos_ [protected] |
float visBeachBall::BallProperties::radius_ [protected] |
1.7.1