MeVisLab Resolution Independence API
SoVectorToFloat.h
Go to the documentation of this file.
1
/*************************************************************************************
2
**
3
** Copyright 2007, MeVis Medical Solutions AG
4
**
5
** The user may use this file in accordance with the license agreement provided with
6
** the Software or, alternatively, in accordance with the terms contained in a
7
** written agreement between the user and MeVis Medical Solutions AG.
8
**
9
** For further information use the contact form at https://www.mevislab.de/contact
10
**
11
**************************************************************************************/
12
13
#ifndef SO_VECTOR_TO_FLOAT_H
14
#define SO_VECTOR_TO_FLOAT_H
15
17
18
#include <ThirdPartyWarningsDisable.h>
19
#include <Inventor/nodes/SoSubNode.h>
20
#include <Inventor/nodes/SoSwitch.h>
21
#include <Inventor/sensors/SoFieldSensor.h>
22
#include <Inventor/fields/SoSFTrigger.h>
23
#include <Inventor/fields/SoSFVec3f.h>
24
#include <Inventor/fields/SoSFFloat.h>
25
#include <ThirdPartyWarningsRestore.h>
26
27
//=============================================================
29
30
//=============================================================
31
class
SoVectorToFloat
:
public
SoNode {
32
33
SO_NODE_HEADER(
SoVectorToFloat
);
34
35
public
:
38
SoSFVec3f
vector
;
40
SoSFFloat
x
;
42
SoSFFloat
y
;
44
SoSFFloat
z
;
46
SoSFTrigger
changed
;
48
49
static
void
initClass
();
50
51
SoVectorToFloat
();
52
54
void
vecChanged
(SoField* field);
55
56
private
:
57
~SoVectorToFloat
()
override
;
58
};
59
60
#endif
SoVectorToFloat::vecChanged
void vecChanged(SoField *field)
called when the vector changes
SoVectorToFloat::SoVectorToFloat
SoVectorToFloat()
SoVectorToFloat::y
SoSFFloat y
output y
Definition
SoVectorToFloat.h:42
SoVectorToFloat::x
SoSFFloat x
output x
Definition
SoVectorToFloat.h:40
SoVectorToFloat::initClass
static void initClass()
SoVectorToFloat::changed
SoSFTrigger changed
trigger that is touched when vector changed
Definition
SoVectorToFloat.h:46
SoVectorToFloat::z
SoSFFloat z
output z
Definition
SoVectorToFloat.h:44
SoVectorToFloat::vector
SoSFVec3f vector
input vector
Definition
SoVectorToFloat.h:38
MeVisLab
Standard
Sources
Inventor
SoUtils
SoVectorToFloat.h
Generated by
1.15.0