| 172 | } |
| 173 | |
| 174 | const vector<string> ImageProgram::GetOptions() |
| 175 | { |
| 176 | vector<string> Options(SImage::NbDataTypes * MaxNbChannels); |
| 177 | |
| 178 | for (int i = 0; i < SImage::NbDataTypes; i++) |
| 179 | { |
| 180 | SImage::EDataType Type = SImage::EDataType(i); |
| 181 | |
| 182 | string options = string("-D ") + GetDataTypeList()[i]; |
| 183 | |
| 184 | Options[GetProgramId(Type, 1)] = options; |
| 185 | for (int j = 2; j <= MaxNbChannels; j++) |
| 186 | Options[GetProgramId(Type, j)] = options + " -D NBCHAN=" + to_string(j); |
| 187 | } |
| 188 | |
| 189 | return Options; |
| 190 | } |
| 191 | |
| 192 | void ImageProgram::PrepareFor(const ImageBase& Source) |
| 193 | { |
nothing calls this directly
no test coverage detected