MCPcopy Create free account
hub / github.com/Kitware/VTK / GetMTime

Method GetMTime

Common/DataModel/vtkAnnotationLayers.cxx:139–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139vtkMTimeType 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
160void vtkAnnotationLayers::PrintSelf(ostream& os, vtkIndent indent)
161{

Callers

nothing calls this directly

Calls 3

GetAnnotationMethod · 0.95
maxFunction · 0.50

Tested by

no test coverage detected