- Timestamp:
- 04/23/09 12:24:27 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/OpenFlight/Document.h
r8563 r10084 25 25 #include <osg/Transform> 26 26 #include <osg/Geometry> 27 #include <osg/PolygonOffset> 28 #include <osg/Depth> 27 29 #include <osgDB/ReaderWriter> 28 30 … … 166 168 ShaderPool* getOrCreateShaderPool(); 167 169 bool getShaderPoolParent() const { return _shaderPoolParent; } 170 171 void setSubSurfacePolygonOffset(int level, osg::PolygonOffset* po); 172 osg::PolygonOffset* getSubSurfacePolygonOffset(int level); 173 174 void setSubSurfaceDepth(osg::Depth* depth) { _subsurfaceDepth = depth; } 175 osg::Depth* getSubSurfaceDepth() { return _subsurfaceDepth.get(); } 168 176 169 177 … … 185 193 void setDesiredUnits(CoordUnits units ) { _desiredUnits=units; } 186 194 CoordUnits getDesiredUnits() const { return _desiredUnits; } 187 195 188 196 void setKeepExternalReferences( bool flag) { _keepExternalReferences=flag; } 189 197 bool getKeepExternalReferences() const { return _keepExternalReferences; } … … 226 234 osg::ref_ptr<LightPointAnimationPool> _lightPointAnimationPool; 227 235 osg::ref_ptr<ShaderPool> _shaderPool; 236 237 typedef std::map<int, osg::ref_ptr<osg::PolygonOffset> > SubSurfacePolygonOffsets; 238 SubSurfacePolygonOffsets _subsurfacePolygonOffsets; 239 osg::ref_ptr<osg::Depth> _subsurfaceDepth; 240 228 241 bool _colorPoolParent; 229 242 bool _texturePoolParent;
