Read a block of floats (ascii or binary) and return number read.
| 3007 | |
| 3008 | // Read a block of floats (ascii or binary) and return number read. |
| 3009 | void vtkMultiBlockPLOT3DReader::CalculateFileSize(FILE* fp) |
| 3010 | { |
| 3011 | vtk_off_t curPos = vtk_ftell(fp); |
| 3012 | vtk_fseek(fp, 0, SEEK_END); |
| 3013 | this->FileSize = static_cast<size_t>(vtk_ftell(fp)); |
| 3014 | vtk_fseek(fp, curPos, SEEK_SET); |
| 3015 | } |
| 3016 | |
| 3017 | int vtkMultiBlockPLOT3DReader::CanReadBinaryFile(const char* fname) |
| 3018 | { |
no outgoing calls
no test coverage detected