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

Public Member Functions

 sf_vec3f ()
 
 sf_vec3f (const vec3f &a_v)
 
virtual ~sf_vec3f ()
 
 sf_vec3f (const sf_vec3f &a_from)
 
sf_vec3foperator= (const sf_vec3f &a_from)
 
sf_vec3foperator+= (const vec3f &a_value)
 
void set_value (float a_0, float a_1, float a_2)
 
void setValue (const vec3f &a_v)
 
void setValue (float a_0, float a_1, float a_2)
 
- Public Member Functions inherited from tools::sg::sf_vec< vec3f, float >
virtual void * cast (const std::string &a_class) const
 
virtual const std::string & s_cls () const
 
virtual bool write (io::iwbuf &a_buffer)
 
virtual bool read (io::irbuf &a_buffer)
 
virtual bool dump (std::ostream &a_out)
 
virtual bool s_value (std::string &a_s) const
 
virtual bool s2value (const std::string &a_s)
 
 sf_vec ()
 
 sf_vec (const vec3f &a_value)
 
 sf_vec (const sf_vec &a_from)
 
virtual ~sf_vec ()
 
sf_vecoperator= (const sf_vec &a_from)
 
sf_vecoperator= (const vec3f &a_value)
 
sf_vecoperator+= (const vec3f &a_value)
 
- Public Member Functions inherited from tools::sg::bsf< vec3f >
 bsf (const vec3f &a_value)
 
 bsf (const bsf &a_from)
 
virtual ~bsf ()
 
bsfoperator= (const bsf &a_from)
 
bsfoperator= (const vec3f &a_value)
 
bool operator== (const bsf &a_from) const
 
bool operator== (const vec3f &a_value) const
 
bool operator!= (const bsf &a_from) const
 
bool operator!= (const vec3f &a_value) const
 
 operator const vec3f & () const
 
 operator vec3f ()
 
vec3fvalue ()
 
const vec3fvalue () const
 
void value (const vec3f &a_value)
 
void value_no_cmp (const vec3f &a_value)
 
void setValue (const vec3f &a_value)
 
const vec3fgetValue () const
 
- Public Member Functions inherited from tools::sg::field
virtual const std::string & s_cls () const =0
 
virtual ~field ()
 
void touch ()
 
bool touched () const
 
void reset_touched ()
 

Additional Inherited Members

- Static Public Member Functions inherited from tools::sg::sf_vec< vec3f, float >
static const std::string & s_class ()
 
- Static Public Member Functions inherited from tools::sg::bsf< vec3f >
static const std::string & s_class ()
 
- Protected Member Functions inherited from tools::sg::bsf< vec3f >
 bsf ()
 
- Protected Member Functions inherited from tools::sg::field
 field ()
 
 field (const field &)
 
fieldoperator= (const field &)
 
- Protected Attributes inherited from tools::sg::bsf< vec3f >
vec3f m_value
 
- Protected Attributes inherited from tools::sg::field
bool m_touched
 

Detailed Description

Definition at line 14 of file sf_vec3f.

Constructor & Destructor Documentation

◆ sf_vec3f() [1/3]

tools::sg::sf_vec3f::sf_vec3f ( )
inline

Definition at line 18 of file sf_vec3f.

18 :parent(){}

◆ sf_vec3f() [2/3]

tools::sg::sf_vec3f::sf_vec3f ( const vec3f a_v)
inline

Definition at line 19 of file sf_vec3f.

19 :parent(a_v){}

◆ ~sf_vec3f()

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

Definition at line 20 of file sf_vec3f.

20 {}

◆ sf_vec3f() [3/3]

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

Definition at line 22 of file sf_vec3f.

22 :parent(a_from){}

Member Function Documentation

◆ operator+=()

sf_vec3f& tools::sg::sf_vec3f::operator+= ( const vec3f a_value)
inline

Definition at line 28 of file sf_vec3f.

28 {parent::operator+=(a_value);return *this;}

◆ operator=()

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

Definition at line 23 of file sf_vec3f.

23  {
24  parent::operator=(a_from);
25  return *this;
26  }

◆ set_value()

void tools::sg::sf_vec3f::set_value ( float  a_0,
float  a_1,
float  a_2 
)
inline

Definition at line 30 of file sf_vec3f.

30 {value(vec3f(a_0,a_1,a_2));}

◆ setValue() [1/2]

void tools::sg::sf_vec3f::setValue ( const vec3f a_v)
inline

Definition at line 32 of file sf_vec3f.

32 {value(a_v);}

◆ setValue() [2/2]

void tools::sg::sf_vec3f::setValue ( float  a_0,
float  a_1,
float  a_2 
)
inline

Definition at line 33 of file sf_vec3f.

33 {value(vec3f(a_0,a_1,a_2));}

The documentation for this class was generated from the following file:
tools::sg::field::operator=
field & operator=(const field &)
Definition: field:57
tools::sg::bsf< vec3f >::value
vec3f & value()
Definition: bsf:98