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

Method Next

Rendering/Core/vtkLabeledContourMapper.cxx:96–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95
96 vtkTextProperty* Next()
97 {
98 // The input checks should fail if this is the case:
99 assert("No text properties set! Prerender check failed!" && TProps->GetNumberOfItems() != 0);
100
101 vtkTextProperty* result = TProps->GetNextItem();
102 if (!result)
103 {
104 TProps->InitTraversal();
105 result = TProps->GetNextItem();
106 assert("Text property traversal error." && result != nullptr);
107 }
108 return result;
109 }
110};
111
112//------------------------------------------------------------------------------

Callers 1

PrepareRenderMethod · 0.45

Calls 4

assertFunction · 0.50
GetNumberOfItemsMethod · 0.45
GetNextItemMethod · 0.45
InitTraversalMethod · 0.45

Tested by

no test coverage detected