Index

C++ Code Documentation

motion::Mobile

Children: isight::context::GeomObject

File: GEOM/motion/Mobile.H

public:
  • Mobile( uint dim, ProjectionMode mode );
    constructor
  • Mobile( Place const &place, Center const ¢er, ProjectionMode mode );
    constructor
  • virtual ~Mobile();
    destructor
  • virtual void move( TransformX const &step );
  • virtual void draw() const;
  • virtual void view_mode( int mode );
  • virtual Place const &get_place() const;
  • virtual void set( Place const &place, Center const ¢er, ProjectionMode mode );
  • virtual void set( Place const &position, Center const ¢er );
  • virtual void set( Place const &place );
  • Transform const &position() const;
    access _place.position
  • virtual void position( Transform const &a );
    set rotation/translation/position from a
  • virtual Transform const &rotation() const;
    access _place.rotation
  • virtual void rotation( Transform const &a );
  • virtual Transform const &translation() const;
    access _place.translation
  • virtual void translation( Transform const &a );
  • virtual Transform const ¢er() const;
    access _place.translation
  • virtual void set_center( Center const &a );
protected:
  • Place _place;
  • Transform _center;
  • Transform _centerinv;
  • uint _matrix_dim;
  • enum RotationMode;
    RotationMode CENTER_AT_ORIGIN: fixed: the center for rotations is fixed at the origin CENTER_AT_OBJECT: moving: the center for rotations is translated by translations when you translate and then rotate an object, it rotates about the point that used to be at the origin (default)
  • int _rotation_mode;
  • ProjectionMode _projection_mode;
private:
  • Mobile( Mobile const & );
    disabled copy constructor
  • Mobile &operator=( Mobile const & );
    disabled assignment operator


motion::Mobile GANG