g4tools
5.4.0
g4tools
tools
sg
sf_vec3f
Go to the documentation of this file.
1
// Copyright (C) 2010, Guy Barrand. All rights reserved.
2
// See the file tools.license for terms.
3
4
#ifndef tools_sg_sf_vec3f
5
#define tools_sg_sf_vec3f
6
7
#include "
sf_vec
"
8
9
#include "../lina/vec3f"
10
#include "../HEADER"
11
namespace
tools
{
12
namespace
sg {
13
14
class
sf_vec3f
:
public
sf_vec
<vec3f,float> {
15
typedef
sf_vec<vec3f,float>
_parent
;
16
TOOLS_HEADER
(
sf_vec3f
,
tools::sg::sf_vec3f
,
_parent
)
17
public
:
18
sf_vec3f
():
parent
(){}
19
sf_vec3f
(
const
vec3f
& a_v):
parent
(a_v){}
20
virtual
~sf_vec3f
(){}
21
public
:
22
sf_vec3f
(
const
sf_vec3f
& a_from):
parent
(a_from){}
23
sf_vec3f
&
operator=
(
const
sf_vec3f
& a_from){
24
parent::operator=
(a_from);
25
return
*
this
;
26
}
27
public
:
28
sf_vec3f
&
operator+=
(
const
vec3f
& a_value) {parent::operator+=(a_value);
return
*
this
;}
29
public
:
30
void
set_value
(
float
a_0,
float
a_1,
float
a_2) {
value
(
vec3f
(a_0,a_1,a_2));}
31
public
:
//for iv2sg
32
void
setValue
(
const
vec3f
& a_v) {
value
(a_v);}
33
void
setValue
(
float
a_0,
float
a_1,
float
a_2) {
value
(
vec3f
(a_0,a_1,a_2));}
34
};
35
36
}}
37
38
#endif
tools::sg::sf_vec3f::setValue
void setValue(const vec3f &a_v)
Definition:
sf_vec3f:32
tools::sg::sf_vec3f::operator+=
sf_vec3f & operator+=(const vec3f &a_value)
Definition:
sf_vec3f:28
tools::sg::sf_vec3f
Definition:
sf_vec3f:14
tools::sg::sf_vec3f::set_value
void set_value(float a_0, float a_1, float a_2)
Definition:
sf_vec3f:30
tools::sg::field
Definition:
field:25
tools::sg::sf_vec3f::sf_vec3f
sf_vec3f()
Definition:
sf_vec3f:18
tools::sg::sf_vec
Definition:
sf_vec:15
tools::sg::field::operator=
field & operator=(const field &)
Definition:
field:57
TOOLS_HEADER
#define TOOLS_HEADER(a__class, a__sclass, a__parent)
Definition:
HEADER:10
sf_vec
tools::vec3f
Definition:
vec3f:13
tools
inlined C code : ///////////////////////////////////
Definition:
aida_ntuple:26
tools::sg::sf_vec3f::sf_vec3f
sf_vec3f(const vec3f &a_v)
Definition:
sf_vec3f:19
tools::sg::sf_vec3f::setValue
void setValue(float a_0, float a_1, float a_2)
Definition:
sf_vec3f:33
tools::sg::sf_vec3f::sf_vec3f
sf_vec3f(const sf_vec3f &a_from)
Definition:
sf_vec3f:22
tools::sg::sf_vec3f::operator=
sf_vec3f & operator=(const sf_vec3f &a_from)
Definition:
sf_vec3f:23
tools::sg::bsf< vec3f >::value
vec3f & value()
Definition:
bsf:98
tools::sg::sf_vec3f::~sf_vec3f
virtual ~sf_vec3f()
Definition:
sf_vec3f:20
Generated by
1.8.20