Changeset 9124 for OpenSceneGraph/trunk/examples/osgvolume/osgvolume.cpp
- Timestamp:
- 11/07/08 16:08:08 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgvolume/osgvolume.cpp
r9105 r9124 1448 1448 osg::Image* readRaw(int sizeX, int sizeY, int sizeZ, int numberBytesPerComponent, int numberOfComponents, const std::string& endian, const std::string& raw_filename) 1449 1449 { 1450 std::ifstream fin(raw_filename.c_str(), std::ifstream::binary);1450 osgDB::ifstream fin(raw_filename.c_str(), std::ifstream::binary); 1451 1451 if (!fin) return 0; 1452 1452 … … 1712 1712 1713 1713 osg::TransferFunction1D::ValueMap valueMap; 1714 std::ifstream fin(foundFile.c_str());1714 osgDB::ifstream fin(foundFile.c_str()); 1715 1715 while(fin) 1716 1716 { … … 1959 1959 int xdim(0), ydim(0), zdim(0); 1960 1960 1961 std::ifstream header(vh_filename.c_str());1961 osgDB::ifstream header(vh_filename.c_str()); 1962 1962 if (header) 1963 1963 { … … 1978 1978 if (!transfer_filename.empty()) 1979 1979 { 1980 std::ifstream fin(transfer_filename.c_str());1980 osgDB::ifstream fin(transfer_filename.c_str()); 1981 1981 if (fin) 1982 1982 {
