g4tools
5.4.0
|
Public Types | |
enum | update_what { faces = 0, lines = 1, faces_and_lines } |
typedef tessellate::prims_t | prims_t |
Public Member Functions | |
virtual const desc_fields & | node_desc_fields () const |
virtual void | render (render_action &a_action) |
virtual void | bbox (bbox_action &a_action) |
virtual void | pick (pick_action &a_action) |
polyhedron () | |
virtual | ~polyhedron () |
polyhedron (const polyhedron &a_from) | |
polyhedron & | operator= (const polyhedron &a_from) |
void | update_sg (std::ostream &a_out, const update_what &a_what) |
const std::vector< float > & | xyzs () const |
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 void | is_visible (visible_action &) |
virtual void | protocol_one_fields (std::vector< field * > &a_fields) const |
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 | |
hep::sf_polyhedron | ph |
sf< bool > | solid |
sf< bool > | reduced_wire_frame |
sf< bool > | enforce_edges |
Protected Member Functions | |
virtual unsigned int | create_gsto (std::ostream &a_out, render_manager &a_mgr) |
void | _clear () |
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_xyzs |
tessellate * | m_tess |
std::vector< prims_t > | m_primss |
size_t | m_size |
bool | m_draw_edges |
Protected Attributes inherited from tools::sg::gstos | |
std::vector< std::pair< unsigned int, render_manager * > > | m_gstos |
Definition at line 23 of file polyhedron.
Definition at line 50 of file polyhedron.
Enumerator | |
---|---|
faces | |
lines | |
faces_and_lines |
Definition at line 336 of file polyhedron.
|
inline |
Definition at line 293 of file polyhedron.
|
inlinevirtual |
Definition at line 304 of file polyhedron.
|
inline |
Definition at line 309 of file polyhedron.
|
inlineprotected |
Definition at line 480 of file polyhedron.
|
inlinevirtual |
|
inlineprotectedvirtual |
|
inlinevirtual |
|
inline |
Definition at line 322 of file polyhedron.
|
inlinevirtual |
|
inlinevirtual |
|
inline |
Definition at line 342 of file polyhedron.
|
inline |
Definition at line 477 of file polyhedron.
sf<bool> tools::sg::polyhedron::enforce_edges |
Definition at line 29 of file polyhedron.
|
protected |
Definition at line 494 of file polyhedron.
|
protected |
Definition at line 491 of file polyhedron.
|
protected |
Definition at line 493 of file polyhedron.
|
protected |
Definition at line 490 of file polyhedron.
|
protected |
Definition at line 487 of file polyhedron.
hep::sf_polyhedron tools::sg::polyhedron::ph |
Definition at line 26 of file polyhedron.
sf<bool> tools::sg::polyhedron::reduced_wire_frame |
Definition at line 28 of file polyhedron.
sf<bool> tools::sg::polyhedron::solid |
Definition at line 27 of file polyhedron.