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

Method ShallowCopy

Rendering/Volume/vtkMultiVolume.cxx:287–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287void 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
305int vtkMultiVolume::RenderVolumetricGeometry(vtkViewport* vp)
306{

Callers 13

ConnectMapperInputMethod · 0.45
ConnectFilterInputMethod · 0.45
RenderMethod · 0.45
CreateMappersMethod · 0.45
LoadVolumeMethod · 0.45
SplitVolumeMethod · 0.45
RenderVolumeGeometryMethod · 0.45
TransformInputMethod · 0.45
UpdateMinMaxVolumeMethod · 0.45

Calls 3

SetVolumeMethod · 0.95
ShallowCopyFunction · 0.50
DeepCopyMethod · 0.45

Tested by 1

ModifyDataTypeFunction · 0.36