MeVisLab Toolbox Reference
SoClampFields.h
Go to the documentation of this file.
1
/*************************************************************************************
2
**
3
** Copyright 2013, 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_CLAMP_FIELDS_H
14
#define SO_CLAMP_FIELDS_H
15
16
18
19
#include "
SoUtilsSystem.h
"
20
#include <Inventor/fields/SoSFUInt32.h>
21
23
SOUTILS_EXPORT
void
ClampSoSFUInt32Value
(
SoSFUInt32
&
field
,
uint32_t
minValue
,
uint32_t
maxValue
);
24
25
#endif
// __SoClampFields_H
ClampSoSFUInt32Value
SOUTILS_EXPORT void ClampSoSFUInt32Value(SoSFUInt32 &field, uint32_t minValue, uint32_t maxValue)
Functions to clamp field values.
SoUtilsSystem.h
SOUTILS_EXPORT
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
Definition
SoUtilsSystem.h:31
mlrange_cast
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Definition
mlRangeCasts.h:332
MeVisLab
Standard
Sources
Inventor
SoUtils
SoClampFields.h
Generated by
1.10.0