Changeset 13041 for OpenSceneGraph/trunk/include/osgVolume/Locator
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osgVolume/Locator (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgVolume/Locator
r12292 r13041 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2009 Robert Osfield 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2009 Robert Osfield 2 2 * 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 5 5 * (at your option) any later version. The full license is in LICENSE file 6 6 * included with this distribution, and on the openscenegraph.org website. 7 * 7 * 8 8 * This library is distributed in the hope that it will be useful, 9 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 11 * OpenSceneGraph Public License for more details. 12 12 */ … … 27 27 { 28 28 public: 29 29 30 30 Locator() {} 31 31 … … 36 36 osg::Object(locator, copyop), 37 37 _transform(locator._transform) {} 38 38 39 39 META_Object(osgVolume, Locator); 40 40 … … 53 53 virtual bool convertModelToLocal(const osg::Vec3d& /*world*/, osg::Vec3d& /*local*/) const; 54 54 55 static bool convertLocalCoordBetween(const Locator& source, const osg::Vec3d& sourceNDC, 55 static bool convertLocalCoordBetween(const Locator& source, const osg::Vec3d& sourceNDC, 56 56 const Locator& destination, osg::Vec3d& destinationNDC) 57 57 { … … 61 61 return true; 62 62 } 63 63 64 64 bool computeLocalBounds(osg::Vec3d& bottomLeft, osg::Vec3d& topRight) const; 65 65 bool computeLocalBounds(Locator& source, osg::Vec3d& bottomLeft, osg::Vec3d& topRight) const;
