20 Drawable(
double _scale=1,
double _r=1,
double _g=1,
double _b=1);
23 void SetColor(
double _r=1,
double _g=1,
double _b=1);
43 void Start(
int argc,
char** argv,
int w,
int h,
float r=300.0);
54 void Mouse(
int button,
int state,
int x,
int y);
60 void SetVideo(
const IplImage* _image);
void Mouse(int button, int state, int x, int y)
void SetGLMatTraRod(double *tra, double *rod)
Drawable(double _scale=1, double _r=1, double _g=1, double _b=1)
TFSIMD_FORCE_INLINE const tfScalar & y() const
void KeyCallback(int key, int x, int y)
void SetColor(double _r=1, double _g=1, double _b=1)
void SetGlProjectionMatrix(double p[16])
void SetGlModelviewMatrix(double p[16])
void Start(int argc, char **argv, int w, int h, float r=300.0)
void DrawableAdd(Drawable *item)
TFSIMD_FORCE_INLINE const tfScalar & x() const
void SetGLMatTraQuat(double *tra, double *quat, bool flip=false)
virtual void DrawAxis(double scale, double color[3])
TFSIMD_FORCE_INLINE const tfScalar & w() const
void Reshape(int w, int h)
void SetVideo(const IplImage *_image)
void SetScale(double _scale)
void Motion(int x, int y)