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

Method ImportBegin

IO/Import/vtkOBJImporter.cxx:61–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59vtkOBJImporter::~vtkOBJImporter() = default;
60
61int vtkOBJImporter::ImportBegin()
62{
63 if (!this->GetStream() && !::CanReadFile(this, this->GetFileName()))
64 {
65 return 0;
66 }
67 if (!std::string(GetFileNameMTL()).empty() && !::CanReadFile(this, this->GetFileNameMTL()))
68 {
69 return 0;
70 }
71 return 1;
72}
73
74//------------------------------------------------------------------------------
75void vtkOBJImporter::ImportEnd()

Callers 1

UpdateMethod · 0.45

Calls 6

GetFileNameMTLMethod · 0.95
CanReadFileFunction · 0.70
stringClass · 0.50
GetStreamMethod · 0.45
GetFileNameMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected