MeVisLab Toolbox Reference
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//=============================================================
31class SoVectorToFloat : public SoNode
32{
33
34 SO_NODE_HEADER(SoVectorToFloat);
35
36public:
49
50 static void initClass();
51
53
56
57private:
58 ~SoVectorToFloat() override;
59};
60
61#endif
SoVectorToFloat transforms vector to float (not an engine)
void vecChanged(SoField *field)
called when the vector changes
SoSFFloat y
output y
SoSFFloat x
output x
static void initClass()
SoSFTrigger changed
trigger that is touched when vector changed
SoSFFloat z
output z
Target mlrange_cast(Source arg)
Generic version of checked ML casts.