OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Data Fields
CylinderPrim Struct Reference

#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
 

Detailed Description

Definition at line 49 of file gfx_prim.hh.

Constructor & Destructor Documentation

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.

Member Function Documentation

void calc_rotmat ( )

Field Documentation

Color color1

Definition at line 99 of file gfx_prim.hh.

Color color2

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.

geom::Mat3 rotmat

Definition at line 101 of file gfx_prim.hh.

geom::Mat3 rotmat_t

Definition at line 102 of file gfx_prim.hh.

geom::Vec3 start

Definition at line 97 of file gfx_prim.hh.


The documentation for this struct was generated from the following file: