------------------------------------------------------------------------------
| 38 | |
| 39 | //------------------------------------------------------------------------------ |
| 40 | void vtkRTXMLPolyDataReader::UpdateToNextFile() |
| 41 | { |
| 42 | if (!this->Internal->AvailableDataFileList.empty()) |
| 43 | { |
| 44 | // set the Reader to read the new available data file |
| 45 | char* fullname = const_cast<char*>(this->Internal->AvailableDataFileList[0].c_str()); |
| 46 | this->SetFileName(fullname); |
| 47 | this->Internal->ProcessedFileList.push_back(this->Internal->AvailableDataFileList[0]); |
| 48 | this->Internal->AvailableDataFileList.erase(this->Internal->AvailableDataFileList.begin()); |
| 49 | this->Update(); |
| 50 | this->Modified(); |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | //------------------------------------------------------------------------------ |
| 55 | const char* vtkRTXMLPolyDataReader::GetNextFileName() |