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

Method RenderGeometricModels

Rendering/RayTracing/vtkOSPRayPolyDataMapperNode.cxx:1381–1390  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1379
1380//----------------------------------------------------------------------------
1381void vtkOSPRayPolyDataMapperNode::RenderGeometricModels()
1382{
1383 vtkOSPRayRendererNode* orn =
1384 static_cast<vtkOSPRayRendererNode*>(this->GetFirstAncestorOfType("vtkOSPRayRendererNode"));
1385
1386 for (auto instance : this->Instances)
1387 {
1388 orn->Instances.emplace_back(instance);
1389 }
1390}
1391
1392//----------------------------------------------------------------------------
1393void vtkOSPRayPolyDataMapperNode::ClearGeometricModels()

Callers 2

RenderMethod · 0.95
RenderMethod · 0.80

Calls 2

emplace_backMethod · 0.45

Tested by

no test coverage detected