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

Function getFileDataType

IO/Image/vtkMRCReader.cxx:167–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165namespace
166{
167int getFileDataType(int mode)
168{
169 switch (mode)
170 {
171 case 0:
172 case 16:
173 return VTK_TYPE_UINT8;
174 case 2:
175 case 4:
176 return VTK_FLOAT;
177 case 1:
178 case 3:
179 return VTK_TYPE_INT16;
180 case 6:
181 return VTK_TYPE_UINT16;
182 default:
183 return -1;
184 }
185}
186
187int getFileDataNumComponents(int mode)
188{

Callers 2

RequestInformationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected