MeVisLab Resolution Independence API
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
23SOUTILS_EXPORT void ClampSoSFUInt32Value(SoSFUInt32 &field, uint32_t minValue, uint32_t maxValue);
24
25#endif // __SoClampFields_H
SOUTILS_EXPORT void ClampSoSFUInt32Value(SoSFUInt32 &field, uint32_t minValue, uint32_t maxValue)
Functions to clamp field values.
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.