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

Method Build

Rendering/SceneGraph/vtkVolumeNode.cxx:28–46  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

26
27//------------------------------------------------------------------------------
28void vtkVolumeNode::Build(bool prepass)
29{
30 if (prepass)
31 {
32 vtkVolume* mine = vtkVolume::SafeDownCast(this->GetRenderable());
33 if (!mine)
34 {
35 return;
36 }
37 if (!mine->GetMapper())
38 {
39 return;
40 }
41
42 this->PrepareNodes();
43 this->AddMissingNode(mine->GetMapper());
44 this->RemoveUnusedNodes();
45 }
46}
47
48//------------------------------------------------------------------------------
49void vtkVolumeNode::PrintSelf(ostream& os, vtkIndent indent)

Callers

nothing calls this directly

Calls 4

GetMapperMethod · 0.80
PrepareNodesMethod · 0.80
AddMissingNodeMethod · 0.80
RemoveUnusedNodesMethod · 0.80

Tested by

no test coverage detected