Commit 6422f96a071b07e70f37fb463495395c9a57d80d

Authored by Pavel Govyadinov
1 parent 11c1b46b

minor bug fixes and comments

stim/gl/gl_spider.h
... ... @@ -869,8 +869,8 @@ class gl_spider : public virtual gl_texture<T>
869 869 GenerateFBO(16, numSamplesPos*8, ptexbufferID, pfboID);
870 870 GenerateFBO(16, numSamplesMag*8, mtexbufferID, mfboID);
871 871 GenerateFBO(16, 216, btexbufferID, bfboID);
872   - setDims(0.6, 0.6, 1.0);
873   - setSize(1024.0, 1024.0, 1024.0);
  872 +// setDims(0.6, 0.6, 1.0);
  873 +// setSize(1024.0, 1024.0, 1024.0);
874 874 setMatrix();
875 875 dList = glGenLists(3);
876 876 glListBase(dList);
... ...
stim/grids/image_stack.h
... ... @@ -46,6 +46,8 @@ public:
46 46 std::cout<<"STIM ERROR (image_stack): No matching files for loading a stack."<<std::endl;
47 47 exit(1);
48 48 }
  49 + for(int i = 0; i < file_list.size(); i++)
  50 + std::cout << file_list[i].str() << std::endl;
49 51  
50 52 //load the first image and set all of the image_stack properties
51 53 // std::cout<<"File to Load: "<<file_list[0].str()<<std::endl;
... ...
stim/parser/filename.h
... ... @@ -146,6 +146,14 @@ public:
146 146  
147 147 }
148 148  
  149 + void clear()
  150 + {
  151 + drive = ""; //drive letter (for Windows)
  152 + path.resize(0);
  153 + prefix= ""; //file prefix (without extension)
  154 + ext = ""; //file extension
  155 + }
  156 +
149 157 std::string str(){
150 158  
151 159 std::stringstream ss;
... ...