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

Method CanReadFile

IO/Image/vtkTIFFReader.cxx:1368–1378  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1366
1367//------------------------------------------------------------------------------
1368int vtkTIFFReader::CanReadFile(const char* fname)
1369{
1370 vtkTIFFReaderInternal tf;
1371 int res = tf.Open(fname);
1372 tf.Clean();
1373 if (res)
1374 {
1375 return 3;
1376 }
1377 return 0;
1378}
1379
1380//------------------------------------------------------------------------------
1381void vtkTIFFReader::PrintSelf(ostream& os, vtkIndent indent)

Callers

nothing calls this directly

Calls 2

OpenMethod · 0.45
CleanMethod · 0.45

Tested by

no test coverage detected