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

Method Build

Rendering/SceneGraph/vtkActorNode.cxx:27–45  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 1

ApplyMethod · 0.45

Calls 4

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

Tested by

no test coverage detected