|
typedef std::vector< float > | line_t |
|
Definition at line 18 of file line_set.
◆ line_t
◆ line_set() [1/2]
tools::sg::line_set::line_set |
( |
| ) |
|
|
inline |
Definition at line 73 of file line_set.
78 mem::increment(s_class().c_str());
◆ ~line_set()
virtual tools::sg::line_set::~line_set |
( |
| ) |
|
|
inlinevirtual |
Definition at line 82 of file line_set.
84 mem::decrement(s_class().c_str());
◆ line_set() [2/2]
tools::sg::line_set::line_set |
( |
const line_set & |
a_from | ) |
|
|
inline |
Definition at line 88 of file line_set.
93 mem::increment(s_class().c_str());
◆ add()
bool tools::sg::line_set::add |
( |
const line_t & |
a_line | ) |
|
|
inline |
Definition at line 103 of file line_set.
104 size_t npoint = a_line.size()/3;
105 if(npoint*3!=a_line.size())
return false;
◆ bbox()
virtual void tools::sg::line_set::bbox |
( |
bbox_action & |
a_action | ) |
|
|
inlinevirtual |
◆ clear()
void tools::sg::line_set::clear |
( |
| ) |
|
|
inline |
◆ node_desc_fields()
virtual const desc_fields& tools::sg::line_set::node_desc_fields |
( |
| ) |
const |
|
inlinevirtual |
Reimplemented from tools::sg::node.
Definition at line 23 of file line_set.
25 static const desc_fields s_v(parent::node_desc_fields(),1,
◆ operator=()
Definition at line 97 of file line_set.
98 parent::operator=(a_from);
◆ pick()
virtual void tools::sg::line_set::pick |
( |
pick_action & |
a_action | ) |
|
|
inlinevirtual |
Reimplemented from tools::sg::node.
Definition at line 43 of file line_set.
44 if(a_action.stop_at_first()){
46 a_action.add_line_strip(*it);
48 a_action.set_node(
this);
54 a_action.set_done(
false);
55 a_action.zs().clear();
56 a_action.ws().clear();
57 a_action.add_line_strip(*it);
59 a_action.add_pick(*
this,a_action.zs(),a_action.ws(),a_action.state());
60 a_action.set_done(
false);
◆ render()
virtual void tools::sg::line_set::render |
( |
render_action & |
a_action | ) |
|
|
inlinevirtual |
◆ lines
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/g4tools/g4tools/tools/sg/line_set