------------------------------------------------------------------------------
| 127 | |
| 128 | //------------------------------------------------------------------------------ |
| 129 | std::string vtkXMLCompositeDataReader::GetFilePath() |
| 130 | { |
| 131 | std::string filePath = this->FileName; |
| 132 | std::string::size_type pos = filePath.find_last_of("/\\"); |
| 133 | if (pos != std::string::npos) |
| 134 | { |
| 135 | filePath = filePath.substr(0, pos); |
| 136 | } |
| 137 | else |
| 138 | { |
| 139 | filePath = ""; |
| 140 | } |
| 141 | |
| 142 | return filePath; |
| 143 | } |
| 144 | |
| 145 | //------------------------------------------------------------------------------ |
| 146 | vtkCompositeDataSet* vtkXMLCompositeDataReader::GetOutput() |