MCPcopy Create free account
hub / github.com/Kitware/VTK / getFileDataNumComponents

Function getFileDataNumComponents

IO/Image/vtkMRCReader.cxx:187–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187int getFileDataNumComponents(int mode)
188{
189 switch (mode)
190 {
191 case 0:
192 case 1:
193 case 2:
194 return 1;
195 case 3:
196 case 4:
197 return 2;
198 case 6:
199 return 1;
200 case 16:
201 return 3;
202 default:
203 return -1;
204 }
205}
206}
207
208int vtkMRCReader::RequestInformation(vtkInformation* vtkNotUsed(request),

Callers 2

RequestInformationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected