#include <GlutViewer.h>
Public Member Functions | |
virtual void | Draw () |
Drawable (double _scale=1, double _r=1, double _g=1, double _b=1) | |
virtual void | DrawAxis (double scale, double color[3]) |
void | SetColor (double _r=1, double _g=1, double _b=1) |
void | SetGLMatTraQuat (double *tra, double *quat, bool flip=false) |
void | SetGLMatTraRod (double *tra, double *rod) |
void | SetScale (double _scale) |
Public Attributes | |
double | color [3] |
double | gl_mat [16] |
double | scale |
Protected Attributes | |
double | ax_len |
Definition at line 17 of file GlutViewer.h.
Drawable::Drawable | ( | double | _scale = 1 , |
double | _r = 1 , |
||
double | _g = 1 , |
||
double | _b = 1 |
||
) |
Definition at line 10 of file GlutViewer.cpp.
|
virtual |
Reimplemented in OwnDrawable, and OwnDrawable.
Definition at line 25 of file GlutViewer.cpp.
|
virtual |
Definition at line 33 of file GlutViewer.cpp.
void Drawable::SetColor | ( | double | _r = 1 , |
double | _g = 1 , |
||
double | _b = 1 |
||
) |
Definition at line 19 of file GlutViewer.cpp.
void Drawable::SetGLMatTraQuat | ( | double * | tra, |
double * | quat, | ||
bool | flip = false |
||
) |
Definition at line 77 of file GlutViewer.cpp.
void Drawable::SetGLMatTraRod | ( | double * | tra, |
double * | rod | ||
) |
Definition at line 105 of file GlutViewer.cpp.
void Drawable::SetScale | ( | double | _scale | ) |
Definition at line 15 of file GlutViewer.cpp.
|
protected |
Definition at line 36 of file GlutViewer.h.
double Drawable::color[3] |
Definition at line 32 of file GlutViewer.h.
double Drawable::gl_mat[16] |
Definition at line 33 of file GlutViewer.h.
double Drawable::scale |
Definition at line 31 of file GlutViewer.h.