g4tools  5.4.0
Public Member Functions | Protected Attributes | List of all members
tools::sg::pick_element Class Reference
Collaboration diagram for tools::sg::pick_element:
Collaboration graph
[legend]

Public Member Functions

 pick_element (sg::node &a_node, const std::vector< float > &a_zs, const std::vector< float > &a_ws, const sg::state &a_state)
 
virtual ~pick_element ()
 
 pick_element (const pick_element &a_from)
 
pick_elementoperator= (const pick_element &a_from)
 
const sg::nodenode () const
 
sg::nodenode ()
 
const std::vector< float > & zs () const
 
std::vector< float > & zs ()
 
const std::vector< float > & ws () const
 
std::vector< float > & ws ()
 
const sg::statestate () const
 
sg::statestate ()
 

Protected Attributes

sg::nodem_node
 
std::vector< float > m_zs
 
std::vector< float > m_ws
 
sg::state m_state
 

Detailed Description

Definition at line 18 of file pick_action.

Constructor & Destructor Documentation

◆ pick_element() [1/2]

tools::sg::pick_element::pick_element ( sg::node a_node,
const std::vector< float > &  a_zs,
const std::vector< float > &  a_ws,
const sg::state a_state 
)
inline

Definition at line 20 of file pick_action.

21  :m_node(a_node)
22  ,m_zs(a_zs)
23  ,m_ws(a_ws)
24  ,m_state(a_state)
25  {}

◆ ~pick_element()

virtual tools::sg::pick_element::~pick_element ( )
inlinevirtual

Definition at line 26 of file pick_action.

26 {}

◆ pick_element() [2/2]

tools::sg::pick_element::pick_element ( const pick_element a_from)
inline

Definition at line 28 of file pick_action.

29  :m_node(a_from.m_node)
30  ,m_zs(a_from.m_zs)
31  ,m_ws(a_from.m_ws)
32  ,m_state(a_from.m_state)
33  {}

Member Function Documentation

◆ node() [1/2]

sg::node& tools::sg::pick_element::node ( )
inline

Definition at line 42 of file pick_action.

42 {return m_node;}

◆ node() [2/2]

const sg::node& tools::sg::pick_element::node ( ) const
inline

Definition at line 41 of file pick_action.

41 {return m_node;}

◆ operator=()

pick_element& tools::sg::pick_element::operator= ( const pick_element a_from)
inline

Definition at line 34 of file pick_action.

34  {
35  m_zs = a_from.m_zs;
36  m_ws = a_from.m_ws;
37  m_state = a_from.m_state;
38  return *this;
39  }

◆ state() [1/2]

sg::state& tools::sg::pick_element::state ( )
inline

Definition at line 51 of file pick_action.

51 {return m_state;}

◆ state() [2/2]

const sg::state& tools::sg::pick_element::state ( ) const
inline

Definition at line 50 of file pick_action.

50 {return m_state;}

◆ ws() [1/2]

std::vector<float>& tools::sg::pick_element::ws ( )
inline

Definition at line 48 of file pick_action.

48 {return m_ws;}

◆ ws() [2/2]

const std::vector<float>& tools::sg::pick_element::ws ( ) const
inline

Definition at line 47 of file pick_action.

47 {return m_ws;}

◆ zs() [1/2]

std::vector<float>& tools::sg::pick_element::zs ( )
inline

Definition at line 45 of file pick_action.

45 {return m_zs;}

◆ zs() [2/2]

const std::vector<float>& tools::sg::pick_element::zs ( ) const
inline

Definition at line 44 of file pick_action.

44 {return m_zs;}

Member Data Documentation

◆ m_node

sg::node& tools::sg::pick_element::m_node
protected

Definition at line 53 of file pick_action.

◆ m_state

sg::state tools::sg::pick_element::m_state
protected

Definition at line 56 of file pick_action.

◆ m_ws

std::vector<float> tools::sg::pick_element::m_ws
protected

Definition at line 55 of file pick_action.

◆ m_zs

std::vector<float> tools::sg::pick_element::m_zs
protected

Definition at line 54 of file pick_action.


The documentation for this class was generated from the following file:
tools::sg::pick_element::m_zs
std::vector< float > m_zs
Definition: pick_action:54
tools::sg::pick_element::m_node
sg::node & m_node
Definition: pick_action:53
tools::sg::pick_element::m_state
sg::state m_state
Definition: pick_action:56
tools::sg::pick_element::m_ws
std::vector< float > m_ws
Definition: pick_action:55