Public Member Functions | Protected Attributes

visBeachBall::BallDynamics Class Reference

dynamic properties of the ball More...

Inheritance diagram for visBeachBall::BallDynamics:
NamedObject CallBacker

List of all members.

Public Member Functions

 BallDynamics (const char *nm=0, float sp=1.0, Coord3 dirvec=Coord3(1, 1, 1))
BallDynamics get () const
void set (const BallDynamics &)
float speed () const
void setSpeed (const float &)
Coord3 directionvector () const
void setDirectionVector (const Coord3 &)
void velocity (float *, Coord3 *) const
void setVelocity (float, const Coord3 &)
BallDynamicsoperator= (const BallDynamics &bd)
bool operator== (const BallDynamics &bd) const
bool operator!= (const BallDynamics &bd) const

Protected Attributes

float speed_
Coord3 directionvec_
 movement dir

Detailed Description

dynamic properties of the ball


Constructor & Destructor Documentation

visBeachBall::BallDynamics::BallDynamics ( const char *  nm = 0,
float  sp = 1.0,
Coord3  dirvec = Coord3(1, 1, 1) 
) [inline]

Member Function Documentation

Coord3 visBeachBall::BallDynamics::directionvector (  )  const
BallDynamics visBeachBall::BallDynamics::get (  )  const
bool visBeachBall::BallDynamics::operator!= ( const BallDynamics bd  )  const
BallDynamics& visBeachBall::BallDynamics::operator= ( const BallDynamics bd  ) 
bool visBeachBall::BallDynamics::operator== ( const BallDynamics bd  )  const
void visBeachBall::BallDynamics::set ( const BallDynamics  ) 
void visBeachBall::BallDynamics::setDirectionVector ( const Coord3  ) 
void visBeachBall::BallDynamics::setSpeed ( const float &   ) 
void visBeachBall::BallDynamics::setVelocity ( float  ,
const Coord3  
)
float visBeachBall::BallDynamics::speed (  )  const
void visBeachBall::BallDynamics::velocity ( float *  ,
Coord3  
) const

Member Data Documentation