16 #ifndef OSGWIDGET_UTIL
17 #define OSGWIDGET_UTIL
24 #include <osgViewer/Viewer>
25 #include <osgViewer/CompositeViewer>
27 #include <osgWidget/Export>
28 #include <osgWidget/Types>
38 return n <<
"osgWidget: ";
41 inline std::ostream&
warn()
46 inline std::ostream&
info()
51 inline std::string
lowerCase(
const std::string& str)
56 std::transform(s.begin(), s.end(), s.begin(), ::tolower);
65 return (v - static_cast<T>(static_cast<long>(v))) > 0.0f;
OSG_EXPORT std::ostream & notify(const NotifySeverity severity)