Changeset 13041 for OpenSceneGraph/trunk/include/osg/CameraView
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osg/CameraView (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osg/CameraView
r11763 r13041 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 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 */ … … 39 39 _fieldOfViewMode(pat._fieldOfViewMode), 40 40 _focalLength(pat._focalLength) {} 41 41 42 42 43 43 META_Node(osg, CameraView); … … 63 63 /** Get the field of view.*/ 64 64 inline double getFieldOfView() const { return _fieldOfView; } 65 65 66 66 enum FieldOfViewMode 67 67 { … … 84 84 /** Get the focal length of the camera.*/ 85 85 inline double getFocalLength() const { return _focalLength; } 86 86 87 87 88 88 virtual bool computeLocalToWorldMatrix(Matrix& matrix,NodeVisitor* nv) const; … … 91 91 92 92 protected : 93 93 94 94 virtual ~CameraView() {} 95 95
