|
| gstos_add () |
|
virtual | ~gstos_add () |
|
| gstos_add (const gstos_add &) |
|
gstos_add & | operator= (const gstos_add &) |
|
void | clear () |
|
void | add_points (size_t a_floatn, const float *a_xyzs) |
|
void | add_lines (size_t a_floatn, const float *a_xyzs) |
|
void | add_line_strip (size_t a_floatn, const float *a_xyzs) |
|
void | add_line_loop (size_t a_floatn, const float *a_xyzs) |
|
void | add_triangles_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms) |
|
void | add_triangle_strip_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms) |
|
void | add_triangle_fan_normal (size_t a_floatn, const float *a_xyzs, const float *a_nms) |
|
void | add_triangle_strip_as_triangles (size_t a_floatn, const float *a_xyzs, const float *a_nms) |
|
Definition at line 15 of file gstos_add.
◆ gstos_add() [1/2]
tools::sg::gstos_add::gstos_add |
( |
| ) |
|
|
inline |
◆ ~gstos_add()
virtual tools::sg::gstos_add::~gstos_add |
( |
| ) |
|
|
inlinevirtual |
◆ gstos_add() [2/2]
tools::sg::gstos_add::gstos_add |
( |
const gstos_add & |
| ) |
|
|
inline |
◆ add_line_loop()
void tools::sg::gstos_add::add_line_loop |
( |
size_t |
a_floatn, |
|
|
const float * |
a_xyzs |
|
) |
| |
|
inline |
Definition at line 40 of file gstos_add.
41 size_t num = a_floatn/3;
43 size_t nxyzs = num*2*3;
44 size_t offset =
m_xyzs.size();
45 m_xyzs.resize(offset+nxyzs);
46 float* pxyzs = vec_data<float>(
m_xyzs)+offset;
◆ add_line_strip()
void tools::sg::gstos_add::add_line_strip |
( |
size_t |
a_floatn, |
|
|
const float * |
a_xyzs |
|
) |
| |
|
inline |
Definition at line 31 of file gstos_add.
32 size_t num = a_floatn/3;
34 size_t nxyzs = (num-1)*2*3;
35 size_t offset =
m_xyzs.size();
36 m_xyzs.resize(offset+nxyzs);
37 float* pxyzs = vec_data<float>(
m_xyzs)+offset;
◆ add_lines()
void tools::sg::gstos_add::add_lines |
( |
size_t |
a_floatn, |
|
|
const float * |
a_xyzs |
|
) |
| |
|
inline |
◆ add_points()
void tools::sg::gstos_add::add_points |
( |
size_t |
a_floatn, |
|
|
const float * |
a_xyzs |
|
) |
| |
|
inline |
◆ add_triangle_fan_normal()
void tools::sg::gstos_add::add_triangle_fan_normal |
( |
size_t |
a_floatn, |
|
|
const float * |
a_xyzs, |
|
|
const float * |
a_nms |
|
) |
| |
|
inline |
Definition at line 65 of file gstos_add.
66 size_t num = a_floatn/3;
68 size_t nxyzs = (num-2)*3*3;
69 size_t offset =
m_xyzs.size();
70 m_xyzs.resize(offset+nxyzs);
71 float* pxyzs = vec_data<float>(
m_xyzs)+offset;
72 offset =
m_nms.size();
73 m_nms.resize(offset+nxyzs);
74 float* pnms = vec_data<float>(
m_nms)+offset;
◆ add_triangle_strip_as_triangles()
void tools::sg::gstos_add::add_triangle_strip_as_triangles |
( |
size_t |
a_floatn, |
|
|
const float * |
a_xyzs, |
|
|
const float * |
a_nms |
|
) |
| |
|
inline |
◆ add_triangle_strip_normal()
void tools::sg::gstos_add::add_triangle_strip_normal |
( |
size_t |
a_floatn, |
|
|
const float * |
a_xyzs, |
|
|
const float * |
a_nms |
|
) |
| |
|
inline |
Definition at line 53 of file gstos_add.
54 size_t num = a_floatn/3;
56 size_t nxyzs = (num-2)*3*3;
57 size_t offset =
m_xyzs.size();
58 m_xyzs.resize(offset+nxyzs);
59 float* pxyzs = vec_data<float>(
m_xyzs)+offset;
60 offset =
m_nms.size();
61 m_nms.resize(offset+nxyzs);
62 float* pnms = vec_data<float>(
m_nms)+offset;
◆ add_triangles_normal()
void tools::sg::gstos_add::add_triangles_normal |
( |
size_t |
a_floatn, |
|
|
const float * |
a_xyzs, |
|
|
const float * |
a_nms |
|
) |
| |
|
inline |
◆ clear()
void tools::sg::gstos_add::clear |
( |
| ) |
|
|
inline |
◆ operator=()
◆ m_gsto_lines_sz
size_t tools::sg::gstos_add::m_gsto_lines_sz |
◆ m_gsto_nms_sz
size_t tools::sg::gstos_add::m_gsto_nms_sz |
◆ m_gsto_points_sz
size_t tools::sg::gstos_add::m_gsto_points_sz |
◆ m_gsto_tris_sz
size_t tools::sg::gstos_add::m_gsto_tris_sz |
◆ m_nms
std::vector<float> tools::sg::gstos_add::m_nms |
◆ m_xyzs
std::vector<float> tools::sg::gstos_add::m_xyzs |
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/g4tools/g4tools/tools/sg/gstos_add