------------------------------------------------------------------------------ Overload standard modified time function. If locator is modified, then this object is modified as well.
| 50 | // Overload standard modified time function. If locator is modified, |
| 51 | // then this object is modified as well. |
| 52 | vtkMTimeType vtkSTLReader::GetMTime() |
| 53 | { |
| 54 | vtkMTimeType mTime1 = this->Superclass::GetMTime(); |
| 55 | |
| 56 | if (this->Locator) |
| 57 | { |
| 58 | vtkMTimeType mTime2 = this->Locator->GetMTime(); |
| 59 | mTime1 = std::max(mTime1, mTime2); |
| 60 | } |
| 61 | |
| 62 | return mTime1; |
| 63 | } |
| 64 | |
| 65 | //------------------------------------------------------------------------------ |
| 66 | int vtkSTLReader::RequestData(vtkInformation* vtkNotUsed(request), |
no test coverage detected