Changeset 13041 for OpenSceneGraph/trunk/include/osgVolume/Volume
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osgVolume/Volume (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgVolume/Volume
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 */ … … 29 29 30 30 Volume(); 31 31 32 32 /** Copy constructor using CopyOp to manage deep vs shallow copy.*/ 33 33 Volume(const Volume&,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY); … … 36 36 37 37 virtual void traverse(osg::NodeVisitor& nv); 38 38 39 39 /** Get the VolumeTile for a given VolumeTileID.*/ 40 40 VolumeTile* getVolumeTile(const TileID& tileID); … … 42 42 /** Get the const VolumeTile for a given VolumeTileID.*/ 43 43 const VolumeTile* getVolumeTile(const TileID& tileID) const; 44 44 45 45 46 46 /** Set the VolumeTechnique prototype that nested VolumeTile should clone if they haven't already been assigned a volume rendering technique. */ … … 49 49 /** Get the VolumeTechnique prototype. */ 50 50 VolumeTechnique* getVolumeTechniquePrototype() { return _volumeTechnique.get(); } 51 51 52 52 /** Get the const VolumeTechnique prototype. */ 53 53 const VolumeTechnique* getVolumeTechniquePrototype() const { return _volumeTechnique.get(); } … … 57 57 58 58 virtual ~Volume(); 59 59 60 60 friend class VolumeTile; 61 61 62 62 void dirtyRegisteredVolumeTiles(); 63 63 … … 71 71 VolumeTileSet _volumeTileSet; 72 72 VolumeTileMap _volumeTileMap; 73 73 74 74 osg::ref_ptr<VolumeTechnique> _volumeTechnique; 75 75 };
