| 158 | } |
| 159 | |
| 160 | void vtkAnnotationLayers::PrintSelf(ostream& os, vtkIndent indent) |
| 161 | { |
| 162 | this->Superclass::PrintSelf(os, indent); |
| 163 | |
| 164 | vtkIndent next = indent.GetNextIndent(); |
| 165 | for (unsigned int a = 0; a < this->GetNumberOfAnnotations(); ++a) |
| 166 | { |
| 167 | os << next << "Annotation " << a << ":"; |
| 168 | vtkAnnotation* ann = this->GetAnnotation(a); |
| 169 | if (ann) |
| 170 | { |
| 171 | os << "\n"; |
| 172 | ann->PrintSelf(os, next.GetNextIndent()); |
| 173 | } |
| 174 | else |
| 175 | { |
| 176 | os << "(none)\n"; |
| 177 | } |
| 178 | } |
| 179 | os << indent << "CurrentAnnotation: "; |
| 180 | if (this->CurrentAnnotation) |
| 181 | { |
| 182 | os << "\n"; |
| 183 | this->CurrentAnnotation->PrintSelf(os, indent.GetNextIndent()); |
| 184 | } |
| 185 | else |
| 186 | { |
| 187 | os << "(none)\n"; |
| 188 | } |
| 189 | } |
| 190 | |
| 191 | vtkAnnotationLayers* vtkAnnotationLayers::GetData(vtkInformation* info) |
| 192 | { |
nothing calls this directly
no test coverage detected