| 285 | } |
| 286 | |
| 287 | void vtkMultiVolume::ShallowCopy(vtkProp* prop) |
| 288 | { |
| 289 | auto multiVol = vtkMultiVolume::SafeDownCast(prop); |
| 290 | if (multiVol) |
| 291 | { |
| 292 | for (auto& item : multiVol->Volumes) |
| 293 | { |
| 294 | this->SetVolume(item.second, item.first); |
| 295 | } |
| 296 | this->DataBounds = multiVol->DataBounds; |
| 297 | this->DataGeometry = multiVol->DataGeometry; |
| 298 | this->BoundsComputeTime = multiVol->BoundsComputeTime; |
| 299 | this->TexToBBox->DeepCopy(multiVol->TexToBBox); |
| 300 | return; |
| 301 | } |
| 302 | Superclass::ShallowCopy(prop); |
| 303 | } |
| 304 | |
| 305 | int vtkMultiVolume::RenderVolumetricGeometry(vtkViewport* vp) |
| 306 | { |