- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgWrappers/deprecated-dotosg/osg/TransferFunction.cpp
r12292 r13041 39 39 itrAdvanced = true; 40 40 } 41 41 42 42 if (fr.matchSequence("Colours {")) 43 43 { … … 61 61 } 62 62 } 63 63 64 64 tf.assign(colorMap); 65 65 … … 75 75 const osg::TransferFunction1D& tf = static_cast<const osg::TransferFunction1D&>(obj); 76 76 const osg::TransferFunction1D::ColorMap& colorMap = tf.getColorMap(); 77 77 78 78 fw.indent()<<"NumberImageCells "<<tf.getNumberImageCells()<<std::endl; 79 79 fw.indent()<<"Colours {"<<std::endl; … … 86 86 const osg::Vec4& c = itr->second; 87 87 fw.indent()<<itr->first<<" "<<c.r()<<" "<<c.g()<<" "<<c.b()<<" "<<c.a()<<std::endl; 88 } 88 } 89 89 fw.moveOut(); 90 90 fw.indent()<<"}"<<std::endl;
