Changeset 341 for trunk/avango-osg/python/avango/osg/OSGImage.cpp
- Timestamp:
- 02/01/10 17:37:44 (2 years ago)
- File:
-
- 1 edited
-
trunk/avango-osg/python/avango/osg/OSGImage.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/avango-osg/python/avango/osg/OSGImage.cpp
r334 r341 28 28 #include <avango/osg/Image.h> 29 29 #include <osgDB/WriteFile> 30 #include <osgDB/ReadFile> 30 31 #include "OSGImage.h" 31 32 … … 49 50 } 50 51 52 av::Link< av::osg::Image> read_image_file(const std::string& name) 53 { 54 return av::Link< av::osg::Image>(new av::osg::Image( ::osgDB::readImageFile(name) ) ); 55 } 56 51 57 void init_OSGImage(void) 52 58 { … … 57 63 .def("write_file", write_image_file) 58 64 ; 65 def("read_image_file", read_image_file); 59 66 }
Note: See TracChangeset
for help on using the changeset viewer.
