OpenStructure
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() [1/5]

CylinderPrim ( )
inline

Definition at line 50 of file gfx_prim.hh.

◆ CylinderPrim() [2/5]

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() [3/5]

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() [4/5]

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() [5/5]

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

◆ calc_rotmat()

void calc_rotmat ( )

Field Documentation

◆ color1

Color color1

Definition at line 99 of file gfx_prim.hh.

◆ color2

Color color2

Definition at line 99 of file gfx_prim.hh.

◆ end

Definition at line 97 of file gfx_prim.hh.

◆ length

float length

Definition at line 100 of file gfx_prim.hh.

◆ radius1

float radius1

Definition at line 98 of file gfx_prim.hh.

◆ radius2

float radius2

Definition at line 98 of file gfx_prim.hh.

◆ rotmat

geom::Mat3 rotmat

Definition at line 101 of file gfx_prim.hh.

◆ rotmat_t

geom::Mat3 rotmat_t

Definition at line 102 of file gfx_prim.hh.

◆ start

geom::Vec3 start

Definition at line 97 of file gfx_prim.hh.


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