MeVisLab Resolution Independence API
Toggle main menu visibility
Loading...
Searching...
No Matches
SoCalculatorWrapper.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_CALCULATOR_WRAPPER_H
14
#define SO_CALCULATOR_WRAPPER_H
15
17
18
#include "
SoUtilsSystem.h
"
19
#include <ThirdPartyWarningsDisable.h>
20
#include <Inventor/engines/SoSubEngine.h>
21
#include <Inventor/fields/SoSFFloat.h>
22
#include <Inventor/fields/SoSFVec3f.h>
23
#include <ThirdPartyWarningsRestore.h>
24
class
SoCalculator;
25
26
//=============================================================
29
37
//=============================================================
38
class
SoCalculatorWrapper
:
public
SoEngine
39
{
40
41
SO_ENGINE_HEADER(
SoCalculatorWrapper
);
42
43
public
:
45
47
SoSFFloat
a
,
b
,
c
,
d
,
e
,
f
,
g
,
h
;
48
50
SoSFVec3f
va
,
vb
,
vc
,
vd
,
ve
,
vf
,
vg
,
vh
;
51
53
SoSFFloat
oa
,
ob
,
oc
,
od
;
55
SoSFVec3f
ova
,
ovb
,
ovc
,
ovd
;
56
58
SoSFString
expression
;
59
61
63
static
void
initClass
();
64
66
SoCalculatorWrapper
();
67
69
void
inputChanged
(SoField* whichField)
override
;
70
72
void
evaluate
()
override
{};
73
74
protected
:
75
~SoCalculatorWrapper
()
override
;
76
77
private
:
79
SoRef<SoCalculator> _calc;
80
};
81
82
#endif
SoUtilsSystem.h
SoCalculatorWrapper::f
SoSFFloat f
Definition
SoCalculatorWrapper.h:47
SoCalculatorWrapper::vb
SoSFVec3f vb
Definition
SoCalculatorWrapper.h:50
SoCalculatorWrapper::SoCalculatorWrapper
SoCalculatorWrapper()
Constructor.
SoCalculatorWrapper::initClass
static void initClass()
inventor runtime type system init
SoCalculatorWrapper::b
SoSFFloat b
Definition
SoCalculatorWrapper.h:47
SoCalculatorWrapper::vd
SoSFVec3f vd
Definition
SoCalculatorWrapper.h:50
SoCalculatorWrapper::ve
SoSFVec3f ve
Definition
SoCalculatorWrapper.h:50
SoCalculatorWrapper::inputChanged
void inputChanged(SoField *whichField) override
handle input field changes and recompute output fields
SoCalculatorWrapper::h
SoSFFloat h
Definition
SoCalculatorWrapper.h:47
SoCalculatorWrapper::vc
SoSFVec3f vc
Definition
SoCalculatorWrapper.h:50
SoCalculatorWrapper::~SoCalculatorWrapper
~SoCalculatorWrapper() override
SoCalculatorWrapper::ovd
SoSFVec3f ovd
Definition
SoCalculatorWrapper.h:55
SoCalculatorWrapper::vg
SoSFVec3f vg
Definition
SoCalculatorWrapper.h:50
SoCalculatorWrapper::vh
SoSFVec3f vh
Definition
SoCalculatorWrapper.h:50
SoCalculatorWrapper::c
SoSFFloat c
Definition
SoCalculatorWrapper.h:47
SoCalculatorWrapper::ova
SoSFVec3f ova
output vector fields
Definition
SoCalculatorWrapper.h:55
SoCalculatorWrapper::ob
SoSFFloat ob
Definition
SoCalculatorWrapper.h:53
SoCalculatorWrapper::g
SoSFFloat g
Definition
SoCalculatorWrapper.h:47
SoCalculatorWrapper::expression
SoSFString expression
expression that is used to calculate the results
Definition
SoCalculatorWrapper.h:58
SoCalculatorWrapper::d
SoSFFloat d
Definition
SoCalculatorWrapper.h:47
SoCalculatorWrapper::vf
SoSFVec3f vf
Definition
SoCalculatorWrapper.h:50
SoCalculatorWrapper::evaluate
void evaluate() override
empty reimplementation of SoEngine method
Definition
SoCalculatorWrapper.h:72
SoCalculatorWrapper::va
SoSFVec3f va
input vector fields
Definition
SoCalculatorWrapper.h:50
SoCalculatorWrapper::ovc
SoSFVec3f ovc
Definition
SoCalculatorWrapper.h:55
SoCalculatorWrapper::oa
SoSFFloat oa
output float fields
Definition
SoCalculatorWrapper.h:53
SoCalculatorWrapper::e
SoSFFloat e
Definition
SoCalculatorWrapper.h:47
SoCalculatorWrapper::oc
SoSFFloat oc
Definition
SoCalculatorWrapper.h:53
SoCalculatorWrapper::od
SoSFFloat od
Definition
SoCalculatorWrapper.h:53
SoCalculatorWrapper::ovb
SoSFVec3f ovb
Definition
SoCalculatorWrapper.h:55
SoCalculatorWrapper::a
SoSFFloat a
Fields.
Definition
SoCalculatorWrapper.h:47
MeVisLab
Standard
Sources
Inventor
SoUtils
SoCalculatorWrapper.h
Generated by
1.18.0