| 59 | vtkOBJImporter::~vtkOBJImporter() = default; |
| 60 | |
| 61 | int 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 | //------------------------------------------------------------------------------ |
| 75 | void vtkOBJImporter::ImportEnd() |
no test coverage detected