<commit_before>catch {load vtktcl}
if { [catch {set VTK_TCL $env(VTK_TCL)}] != 0} { set VTK_TCL "../../examplesTcl" }
if { [catch {set VTK_DATA $env(VTK_DATA)}] != 0} { set VTK_DATA "../../../vtkdata" }

#
# Test the wire generation of the sphere source
source $VTK_TCL/vtkInt.tcl

# create a sphere source and actor
#
vtkSphereSource sphere
    sphere LatLongTessellationOn
vtkExtractEdges edges
    edges SetInput [sphere GetOutput]
vtkTubeFilter tuber
    tuber SetInput [edges GetOutput]
    tuber SetRadius 0.01
    tuber SetNumberOfSides 6
vtkPolyDataMapper   sphereMapper
    sphereMapper SetInput [tuber GetOutput]
    sphereMapper GlobalImmediateModeRenderingOn
vtkLODActor sphereActor
    sphereActor SetMapper sphereMapper

# Create the RenderWindow, Renderer and both Actors
#
vtkRenderer ren1
vtkRenderWindow renWin
    renWin AddRenderer ren1
    renWin SetWindowName "vtk - Mace"
vtkInteractorStyleUnicam uni
vtkRenderWindowInteractor iren
    iren SetRenderWindow renWin
#    iren SetInteractorStyle uni

# Add the actors to the renderer, set the background and size
#
ren1 AddActor sphereActor
ren1 SetBackground 0.1 0.2 0.4
renWin SetSize 300 300

# render the image
#
iren SetUserMethod {wm deiconify .vtkInteract}

set cam1 [ren1 GetActiveCamera]
$cam1 Zoom 1.4
iren Initialize

# prevent the tk window from showing up then start the event loop
wm withdraw .

<commit_msg>ENH:Check LatLong tessellation<commit_after>catch {load vtktcl}
if { [catch {set VTK_TCL $env(VTK_TCL)}] != 0} { set VTK_TCL "../../examplesTcl" }
if { [catch {set VTK_DATA $env(VTK_DATA)}] != 0} { set VTK_DATA "../../../vtkdata" }

#
# Test the wire generation of the sphere source
source $VTK_TCL/vtkInt.tcl

# create a sphere source and actor
#
vtkSphereSource sphere
    sphere LatLongTessellationOn
vtkExtractEdges edges
    edges SetInput [sphere GetOutput]
vtkTubeFilter tuber
    tuber SetInput [edges GetOutput]
    tuber SetRadius 0.01
    tuber SetNumberOfSides 6
vtkPolyDataMapper   sphereMapper
    sphereMapper SetInput [tuber GetOutput]
    sphereMapper GlobalImmediateModeRenderingOn
vtkLODActor sphereActor
    sphereActor SetMapper sphereMapper

# Create the RenderWindow, Renderer and both Actors
#
vtkRenderer ren1
vtkRenderWindow renWin
    renWin AddRenderer ren1
vtkRenderWindowInteractor iren
    iren SetRenderWindow renWin

# Add the actors to the renderer, set the background and size
#
ren1 AddActor sphereActor
ren1 SetBackground 0.1 0.2 0.4
renWin SetSize 300 300

# render the image
#
iren SetUserMethod {wm deiconify .vtkInteract}

set cam1 [ren1 GetActiveCamera]
$cam1 Zoom 1.4
iren Initialize

# prevent the tk window from showing up then start the event loop
wm withdraw .


{'fraction_non_alphanumeric': 0.0640503517215846, 'fraction_numerical': 0.01999259533506109, 'mean_word_length': 4.404, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4105279', 'n_tokens_mistral': 922, 'n_tokens_neox': 889, 'n_words': 301}