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

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.


The documentation for this struct was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 20 Jun 2016 for OpenStructure by  doxygen 1.6.1