Show
Ignore:
Timestamp:
02/01/05 16:03:14 (10 years ago)
Author:
robert
Message:

Removed debugging messages.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgvolume/osgvolume.cpp

    r3802 r3805  
    907907    if (!fin) return 0; 
    908908 
    909     std::cout<<"sizeX="<<sizeX<<" sizeY="<<sizeY<<" sizeZ="<<sizeZ<<" numberBytesPerComponent="<<numberBytesPerComponent 
    910              <<"numberOfComponents="<<numberOfComponents<<std::endl; 
    911      
    912909    GLenum pixelFormat; 
    913910    switch(numberOfComponents) 
     
    941938    clampToNearestValidPowerOfTwo(sizeS, sizeT, sizeR, s_maximumTextureSize, t_maximumTextureSize, r_maximumTextureSize); 
    942939 
    943     std::cout<<"sizeS="<<sizeS<<" sizeT="<<sizeT<<" sizeR="<<sizeR<<std::endl; 
    944  
    945940    osg::ref_ptr<osg::Image> image = new osg::Image; 
    946941    image->allocateImage(sizeS, sizeT, sizeR, pixelFormat, dataType); 
     
    949944    bool endianSwap = (osg::getCpuByteOrder()==osg::BigEndian) ? (endian=="big") : (endian!="big"); 
    950945     
    951  
    952946    unsigned int r_offset = (sizeZ<sizeR) ? sizeR/2 - sizeZ/2 : 0; 
    953947     
     
    974968                } 
    975969            } 
    976             //std::cout<<"data = "<<(unsigned int)data<<" data(0,t+1,r+r_offset) = "<<(unsigned int)image->data(0,t+1,r+r_offset)<<std::endl; 
    977970        } 
    978971    } 
     
    11421135    osg::ref_ptr<osg::Image> image_3d; 
    11431136 
    1144     std::cout<<"about to read raw"<<std::endl; 
    1145      
    11461137    int sizeX, sizeY, sizeZ, numberBytesPerComponent, numberOfComponents; 
    11471138    std::string endian, raw_filename; 
    11481139    while (arguments.read("--raw", sizeX, sizeY, sizeZ, numberBytesPerComponent, numberOfComponents, endian, raw_filename))  
    11491140    { 
    1150         std::cout<<"sizeX="<<sizeX<<" sizeY="<<sizeY<<" sizeZ="<<sizeZ<<std::endl; 
    11511141        image_3d = readRaw(sizeX, sizeY, sizeZ, numberBytesPerComponent, numberOfComponents, endian, raw_filename); 
    11521142    } 
    1153  
    1154     std::cout<<"read raw data"<<std::endl; 
    11551143 
    11561144    while (arguments.read("--images"))