MeVisLab Resolution Independence API
Toggle main menu visibility
Loading...
Searching...
No Matches
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
34
SO_NODE_HEADER(
SoVectorToFloat
);
35
36
public
:
39
SoSFVec3f
vector
;
41
SoSFFloat
x
;
43
SoSFFloat
y
;
45
SoSFFloat
z
;
47
SoSFTrigger
changed
;
49
50
static
void
initClass
();
51
52
SoVectorToFloat
();
53
55
void
vecChanged
(SoField* field);
56
57
private
:
58
~SoVectorToFloat
()
override
;
59
};
60
61
#endif
SoVectorToFloat::vecChanged
void vecChanged(SoField *field)
called when the vector changes
SoVectorToFloat::SoVectorToFloat
SoVectorToFloat()
SoVectorToFloat::y
SoSFFloat y
output y
Definition
SoVectorToFloat.h:43
SoVectorToFloat::x
SoSFFloat x
output x
Definition
SoVectorToFloat.h:41
SoVectorToFloat::initClass
static void initClass()
SoVectorToFloat::changed
SoSFTrigger changed
trigger that is touched when vector changed
Definition
SoVectorToFloat.h:47
SoVectorToFloat::z
SoSFFloat z
output z
Definition
SoVectorToFloat.h:45
SoVectorToFloat::vector
SoSFVec3f vector
Definition
SoVectorToFloat.h:39
MeVisLab
Standard
Sources
Inventor
SoUtils
SoVectorToFloat.h
Generated by
1.18.0