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

Function vtkGetTempDir

Wrapping/Python/vtkmodules/util/misc.py:79–89  ·  view source on GitHub ↗

vtkGetTempDir() -- return vtk testing temp dir

()

Source from the content-addressed store, hash-verified

77 return dataRoot
78
79def vtkGetTempDir():
80 """vtkGetTempDir() -- return vtk testing temp dir"""
81 tempDir = None
82 for i, argv in enumerate(sys.argv):
83 if argv == '-T' and i+1 < len(sys.argv):
84 tempDir = sys.argv[i+1]
85
86 if tempDir is None:
87 tempDir = '.'
88
89 return tempDir
90
91def vtkRegressionTestImage(renWin):
92 """vtkRegressionTestImage(renWin) -- produce regression image for window

Calls 1

enumerateFunction · 0.85

Tested by 6

testMethod · 0.72
testMethod · 0.72
testMethod · 0.72
testMethod · 0.72
testMethod · 0.72
testMethod · 0.72