Public Member Functions | Protected Attributes

visBeachBall::BallProperties Class Reference

basic properties of the ball More...

Inheritance diagram for visBeachBall::BallProperties:
NamedObject CallBacker

List of all members.

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)
BallPropertiesoperator= (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_

Detailed Description

basic properties of the ball


Constructor & Destructor Documentation

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]

Member Function Documentation

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   ) 

Member Data Documentation