48inline Type SoQtAbs(Type Val) {
49 return (Val < 0) ? -Val : Val;
53inline Type SoQtMin(Type a, Type b) {
54 return (b < a) ? b : a;
58inline Type SoQtMax(Type a, Type b) {
59 return (b > a) ? b : a;
63inline Type SoQtClamp(Type val, Type min, Type max) {
64 return SoQtMax(min, SoQtMin(max, val));
68inline void SoQtSwap(Type & a, Type & b) {
69 Type t = a; a = b; b = t;
76#if ! defined(SOQT_MAJOR_VERSION)
77#define SOQT_MAJOR_VERSION 1
79#if ! defined(SOQT_MINOR_VERSION)
80#define SOQT_MINOR_VERSION 6
82#if ! defined(SOQT_MICRO_VERSION)
83#define SOQT_MICRO_VERSION 3
85#if ! defined(SOQT_BETA_VERSION)
86#define SOQT_BETA_VERSION
88#if ! defined(SOQT_VERSION)
89#define SOQT_VERSION "1.6.3"
96# error Leave the internal SOQT_DLL_API define alone.
128#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
131# define SOQT_DLL_API __declspec(dllexport)
135# define SOQT_DLL_API __declspec(dllimport)
138# error Define either SOQT_DLL or SOQT_NOT_DLL as appropriate for your linkage! See Inventor/Qt/SoQtBasic.h for further instructions.
149#ifndef GUI_TOOLKIT_VERSION
150#define GUI_TOOLKIT_VERSION "5153"