g4tools
5.4.0
|
Public Member Functions | |
virtual const desc_fields & | node_desc_fields () const |
virtual void | protocol_one_fields (std::vector< field * > &a_fields) const |
virtual void | render (render_action &a_action) |
atb_vertices () | |
virtual | ~atb_vertices () |
atb_vertices (const atb_vertices &a_from) | |
atb_vertices & | operator= (const atb_vertices &a_from) |
void | add_pos_color (float a_x, float a_y, float a_z, float a_r, float a_g, float a_b, float a_a) |
template<class COLOR > | |
void | add_pos_color (float a_x, float a_y, float a_z, const COLOR &a_col) |
template<class VEC , class COLOR > | |
void | add_pos_color (const VEC &a_pos, const COLOR &a_col) |
void | allocate_pos_color (size_t a_npt) |
template<class VEC , class COLOR > | |
void | add_pos_color_allocated (const VEC &a_pos, const COLOR &a_col) |
template<class VEC , class COLOR > | |
void | add_pos_color_normal (const VEC &a_pos, const COLOR &a_col, const VEC &a_nm) |
void | allocate_pos_color_normal (size_t a_npt) |
template<class VEC , class COLOR > | |
void | add_pos_color_normal_allocated (const VEC &a_pos, const COLOR &a_col, const VEC &a_nm) |
void | add_rgba (float a_r, float a_g, float a_b, float a_a) |
void | add_color (const colorf &a_col) |
void | add_normal (float a_x, float a_y, float a_z) |
template<class VEC > | |
void | add_normal (const VEC &a_nm) |
void | add_rgba_allocated (size_t &a_pos, float a_r, float a_g, float a_b, float a_a) |
void | add_normal_allocated (size_t &a_pos, float a_x, float a_y, float a_z) |
template<class VEC > | |
void | add_pos_normal (const VEC &a_pos, const VEC &a_nm) |
bool | add_dashed_line_rgba (float a_bx, float a_by, float a_bz, float a_ex, float a_ey, float a_ez, unsigned int a_num_dash, float a_r, float a_g, float a_b, float a_a) |
void | clear () |
Public Member Functions inherited from tools::sg::vertices | |
virtual void | pick (pick_action &a_action) |
virtual void | bbox (bbox_action &a_action) |
virtual void | is_visible (visible_action &a_action) |
vertices () | |
virtual | ~vertices () |
vertices (const vertices &a_from) | |
vertices & | operator= (const vertices &a_from) |
template<class VEC > | |
void | add (const VEC &a_v) |
void | add (float a_x, float a_y, float a_z) |
void | add_allocated (size_t &a_pos, float a_x, float a_y, float a_z) |
bool | add (const std::vector< float > &a_v) |
size_t | number () const |
void | clear () |
bool | add_dashed_line (float a_bx, float a_by, float a_bz, float a_ex, float a_ey, float a_ez, unsigned int a_num_dash) |
bool | center () |
Public Member Functions inherited from tools::sg::node | |
virtual void * | cast (const std::string &a_class) const |
virtual const std::string & | s_cls () const =0 |
virtual node * | copy () const =0 |
virtual unsigned int | cls_version () const |
virtual void | search (search_action &a_action) |
virtual void | get_matrix (get_matrix_action &a_action) |
virtual bool | write (write_action &a_action) |
virtual void | event (event_action &) |
virtual bool | read (read_action &a_action) |
virtual bool | draw_in_frame_buffer () const |
virtual bool | touched () |
virtual void | reset_touched () |
node () | |
virtual | ~node () |
void | touch () |
field & | field_from_desc (const field_desc &a_desc) const |
void | dump_field_descs (std::ostream &a_out) const |
field * | find_field_by_name (const std::string &a_name) const |
Public Member Functions inherited from tools::sg::gstos | |
size_t | num_gstos () const |
Public Attributes | |
mf< float > | rgbas |
mf< float > | nms |
sf< bool > | do_back |
sf< float > | epsilon |
sf< bool > | draw_edges |
Public Attributes inherited from tools::sg::vertices | |
sf< gl::mode_t > | mode |
mf< float > | xyzs |
Protected Member Functions | |
virtual unsigned int | create_gsto (std::ostream &, sg::render_manager &a_mgr) |
void | gen_back () |
void | gen_edges () |
Protected Member Functions inherited from tools::sg::vertices | |
bool | _is_visible (const matrix_action &a_action) |
Protected Member Functions inherited from tools::sg::node | |
node (const node &) | |
node & | operator= (const node &) |
void | add_field (field *a_field) |
bool | write_fields (write_action &a_action) |
bool | read_fields (read_action &a_action) |
field_desc::offset_t | field_offset (const field *a_field) const |
field * | find_field (const field_desc &a_rdesc) const |
void | check_fields (std::ostream &a_out) const |
Protected Member Functions inherited from tools::sg::gstos | |
gstos () | |
virtual | ~gstos () |
gstos (const gstos &) | |
gstos & | operator= (const gstos &a_from) |
unsigned int | get_tex_id (std::ostream &a_out, render_manager &a_mgr, const img_byte &a_img, bool a_NEAREST) |
unsigned int | get_gsto_id (std::ostream &a_out, render_manager &a_mgr) |
void | clean_gstos () |
void | clean_gstos (render_manager *a_mgr) |
unsigned int | _find (render_manager *a_mgr) |
Protected Attributes | |
std::vector< float > | m_back_xyzs |
std::vector< float > | m_back_nms |
std::vector< float > | m_edges |
size_t | m_xyzs_pos |
size_t | m_rgbas_pos |
size_t | m_nms_pos |
Protected Attributes inherited from tools::sg::gstos | |
std::vector< std::pair< unsigned int, render_manager * > > | m_gstos |
Definition at line 12 of file atb_vertices.
|
inline |
Definition at line 321 of file atb_vertices.
|
inlinevirtual |
Definition at line 338 of file atb_vertices.
|
inline |
Definition at line 344 of file atb_vertices.
|
inline |
|
inline |
Definition at line 524 of file atb_vertices.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 416 of file atb_vertices.
|
inline |
Definition at line 431 of file atb_vertices.
|
inline |
Definition at line 454 of file atb_vertices.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 408 of file atb_vertices.
|
inline |
Definition at line 444 of file atb_vertices.
|
inline |
|
inlineprotectedvirtual |
|
inlineprotected |
Definition at line 542 of file atb_vertices.
|
inlineprotected |
Definition at line 611 of file atb_vertices.
|
inlinevirtual |
|
inline |
Definition at line 363 of file atb_vertices.
|
inlinevirtual |
|
inlinevirtual |
_id
Reimplemented from tools::sg::vertices.
Definition at line 122 of file atb_vertices.
sf<bool> tools::sg::atb_vertices::do_back |
Definition at line 17 of file atb_vertices.
sf<bool> tools::sg::atb_vertices::draw_edges |
Definition at line 19 of file atb_vertices.
sf<float> tools::sg::atb_vertices::epsilon |
Definition at line 18 of file atb_vertices.
|
protected |
Definition at line 685 of file atb_vertices.
|
protected |
Definition at line 684 of file atb_vertices.
|
protected |
Definition at line 686 of file atb_vertices.
|
protected |
Definition at line 690 of file atb_vertices.
|
protected |
Definition at line 689 of file atb_vertices.
|
protected |
Definition at line 688 of file atb_vertices.
mf<float> tools::sg::atb_vertices::nms |
Definition at line 16 of file atb_vertices.
mf<float> tools::sg::atb_vertices::rgbas |
Definition at line 15 of file atb_vertices.