| 120 | } |
| 121 | |
| 122 | void vtkAnnotationLayers::DeepCopy(vtkDataObject* other) |
| 123 | { |
| 124 | this->Superclass::DeepCopy(other); |
| 125 | vtkAnnotationLayers* obj = vtkAnnotationLayers::SafeDownCast(other); |
| 126 | if (!obj) |
| 127 | { |
| 128 | return; |
| 129 | } |
| 130 | this->Implementation->Annotations.clear(); |
| 131 | for (unsigned int a = 0; a < obj->GetNumberOfAnnotations(); ++a) |
| 132 | { |
| 133 | vtkSmartPointer<vtkAnnotation> ann = vtkSmartPointer<vtkAnnotation>::New(); |
| 134 | ann->DeepCopy(obj->GetAnnotation(a)); |
| 135 | this->AddAnnotation(ann); |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | vtkMTimeType vtkAnnotationLayers::GetMTime() |
| 140 | { |
nothing calls this directly
no test coverage detected