| 335 | } |
| 336 | |
| 337 | void vtkLODActor::ShallowCopy(vtkProp* prop) |
| 338 | { |
| 339 | vtkLODActor* a = vtkLODActor::SafeDownCast(prop); |
| 340 | if (a) |
| 341 | { |
| 342 | this->SetNumberOfCloudPoints(a->GetNumberOfCloudPoints()); |
| 343 | vtkMapperCollection* c = a->GetLODMappers(); |
| 344 | vtkMapper* map; |
| 345 | vtkCollectionSimpleIterator mit; |
| 346 | for (c->InitTraversal(mit); (map = c->GetNextMapper(mit));) |
| 347 | { |
| 348 | this->AddLODMapper(map); |
| 349 | } |
| 350 | } |
| 351 | |
| 352 | // Now do superclass |
| 353 | this->vtkActor::ShallowCopy(prop); |
| 354 | } |
| 355 | VTK_ABI_NAMESPACE_END |
no test coverage detected