#include <gfx_prim.hh>
Public Member Functions | |
CylinderPrim () | |
CylinderPrim (const geom::Vec3 &st, const geom::Vec3 &en, float rad, const Color &col) | |
CylinderPrim (const geom::Vec3 &st, const geom::Vec3 &en, float rad, const Color &col1, const Color &col2) | |
CylinderPrim (const geom::Vec3 &st, const geom::Vec3 &en, float radius_1, float radius_2, const Color &col) | |
CylinderPrim (const geom::Vec3 &st, const geom::Vec3 &en, float radius_1, float radius_2, const Color &col1, const Color &col2) | |
void | calc_rotmat () |
Data Fields | |
geom::Vec3 | start |
geom::Vec3 | end |
float | radius1 |
float | radius2 |
Color | color1 |
Color | color2 |
float | length |
geom::Mat3 | rotmat |
geom::Mat3 | rotmat_t |
Definition at line 49 of file gfx_prim.hh.
CylinderPrim | ( | ) | [inline] |
Definition at line 50 of file gfx_prim.hh.
CylinderPrim | ( | const geom::Vec3 & | st, | |
const geom::Vec3 & | en, | |||
float | rad, | |||
const Color & | col | |||
) | [inline] |
Definition at line 59 of file gfx_prim.hh.
CylinderPrim | ( | const geom::Vec3 & | st, | |
const geom::Vec3 & | en, | |||
float | rad, | |||
const Color & | col1, | |||
const Color & | col2 | |||
) | [inline] |
Definition at line 68 of file gfx_prim.hh.
CylinderPrim | ( | const geom::Vec3 & | st, | |
const geom::Vec3 & | en, | |||
float | radius_1, | |||
float | radius_2, | |||
const Color & | col | |||
) | [inline] |
Definition at line 77 of file gfx_prim.hh.
CylinderPrim | ( | const geom::Vec3 & | st, | |
const geom::Vec3 & | en, | |||
float | radius_1, | |||
float | radius_2, | |||
const Color & | col1, | |||
const Color & | col2 | |||
) | [inline] |
Definition at line 86 of file gfx_prim.hh.
void calc_rotmat | ( | ) |
Definition at line 99 of file gfx_prim.hh.
Definition at line 99 of file gfx_prim.hh.
Definition at line 97 of file gfx_prim.hh.
float length |
Definition at line 100 of file gfx_prim.hh.
float radius1 |
Definition at line 98 of file gfx_prim.hh.
float radius2 |
Definition at line 98 of file gfx_prim.hh.
Definition at line 101 of file gfx_prim.hh.
Definition at line 102 of file gfx_prim.hh.
Definition at line 97 of file gfx_prim.hh.