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

Method value

IO/XML/Testing/Python/TestXMLHyperTreeGrid.py:59–65  ·  view source on GitHub ↗
(self, geoCursor)

Source from the content-addressed store, hash-verified

57 return 1
58
59 def value(self, geoCursor):
60 bounds = range(6)
61 geoCursor.GetBounds( bounds )
62 return self.test(
63 bounds[0]+(bounds[1]-bounds[0])/2,
64 bounds[2]+(bounds[3]-bounds[2])/2,
65 bounds[4]+(bounds[5]-bounds[4])/2)
66
67 def shouldRefine(self, geoCursor):
68 if geoCursor.GetLevel() >= TARGET_LEVEL:

Callers 15

handleNodeMethod · 0.95
applyMethod · 0.45
applyMethod · 0.45
LoadBufferMethod · 0.45
LoadAccessorMethod · 0.45
LoadAccessorBoundsMethod · 0.45
LoadAnimationMethod · 0.45
LoadCameraMethod · 0.45
LoadMaterialMethod · 0.45
LoadMeshMethod · 0.45
LoadNodeMethod · 0.45
LoadPrimitiveMethod · 0.45

Calls 3

testMethod · 0.95
rangeClass · 0.50
GetBoundsMethod · 0.45

Tested by

no test coverage detected