
These are free functions for helping out with various things in open scene graph. In general, these are functions which are context free so we don't need to create a class for multiple object instances
Functions | |
| void | setTraits (osg::ref_ptr< osg::GraphicsContext::Traits > &traits, const std::string &windowName) |
| void | setTraits (osg::ref_ptr< osg::GraphicsContext::Traits > &traits, const int X_windowSizeX, const int X_windowSizeY, const std::string &windowName, const bool resize) |
| void | shiftColors (osg::Vec4Array *col, const float Hdegree) |
| void | shiftSat (osg::Vec4Array *col, const float Sdegree) |
| void | deSat (osg::Vec4Array *col, const float Sdegree) |
| void | normalizeHue (osg::Vec4Array *col) |
| void | normalizeSat (osg::Vec4Array *col) |
| VoxRange | computeRange (const osg::ref_ptr< osg::Vec3Array > vecV) |
| VoxRange | rangeCompare (const VoxRange &range1, const VoxRange &range2) |
| Compare two ranges returned by computeRange. | |
| void | getSnapShot (Image< PixRGB< byte > > &invtImage, const int bufferWidth, const int bufferHeight, const int XOffset, const int YOffset) |
| void | getDepthShot (Image< float > &invtImage, const int bufferWidth, const int bufferHeight, const int XOffset, const int YOffset, const bool normalize) |
| void | setPacking (const int bufferWidth, const int bufferHeight) |
| void | safePacking () |
|
||||||||||||
|
Compare two ranges returned by computeRange. Given two VoxRange structures that one has possibly computed using computeRange, get a new range over the two. This is useful if one have two point cloud sets in a given view and wants to know the bounderies of both sets combined. Definition at line 403 of file OSGUtil.C. References VoxRange::maxX, VoxRange::maxY, VoxRange::maxZ, VoxRange::minX, VoxRange::minY, VoxRange::minZ, Dlist::range(), VoxRange::rangeX, VoxRange::rangeY, and VoxRange::rangeZ. Referenced by VirtualVoxel< T >::rangeComp(). |
1.4.4