| 137 | } |
| 138 | |
| 139 | vtkMTimeType vtkAnnotationLayers::GetMTime() |
| 140 | { |
| 141 | vtkMTimeType mtime = this->Superclass::GetMTime(); |
| 142 | for (unsigned int a = 0; a < this->GetNumberOfAnnotations(); ++a) |
| 143 | { |
| 144 | vtkAnnotation* ann = this->GetAnnotation(a); |
| 145 | if (ann) |
| 146 | { |
| 147 | vtkMTimeType atime = ann->GetMTime(); |
| 148 | mtime = std::max(atime, mtime); |
| 149 | } |
| 150 | } |
| 151 | vtkAnnotation* s = this->GetCurrentAnnotation(); |
| 152 | if (s) |
| 153 | { |
| 154 | vtkMTimeType stime = s->GetMTime(); |
| 155 | mtime = std::max(stime, mtime); |
| 156 | } |
| 157 | return mtime; |
| 158 | } |
| 159 | |
| 160 | void vtkAnnotationLayers::PrintSelf(ostream& os, vtkIndent indent) |
| 161 | { |
nothing calls this directly
no test coverage detected