<div dir="ltr">VTK is first and foremost a C++ library that you use to write applications with. Thus all the focus on compiling.<div><br></div><div style>The VTK library has wrappers that make the library callable from other languages, such as Tcl, Java, Python, and sometimes C#. Which makes it much easier to use.</div>
<div style><br></div><div style>vtk.exe is the tcl interpreter with VTK's tcl wrapper build into it. The one inch square Tk window is a TclTk frame that you can make up a Tk GUI in (as memory serves). The interesting part is the VTK cmd prompt, which is a script interpreter. You can type commands in there like: </div>
<div style>% require package vtk</div><div style>% vtkRenderWindow renwin<br></div><div style>% renwin Render</div><div style>to start working with VTK</div><div style>the above command will pop up a window containing an empty scene.</div>
<div style><br></div><div style>From there you can build up arbitrary visualization pipelines.</div><div style>You can also pass in files to vtk.exe containing complete scripts.</div><div style>I'ld start with $VTKSOURCE/Examples/Tutoral/Step*/Tcl/Cone*.</div>
<div style><br></div><div style>5.8 was the last release we packages vtk.exe.</div><div style>In 5.10 and 6.0 we didn't package an interpreter binary at all and just put out the source code.</div><div style>For 6.1 I am hoping to release vtkpython as part of the release process.</div>
<div style><br></div><div style><br></div><div style><br></div></div><div class="gmail_extra"><br clear="all"><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>
Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Fri, Aug 23, 2013 at 9:56 AM, Greg Hanowski <span dir="ltr"><<a href="mailto:greg@tekknow.net" target="_blank">greg@tekknow.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">Hi,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Just downloaded VTK6.0.0 and VTKDATA6.0.0. <u></u><u></u></p><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal">Then I read "The installer for the Windows platform contains vtk.exe which is essentially a wish.exe replacement that allows you to run VTK TCL scripts without doing any other installation or configuration." So I also downloaded <u></u><u></u></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%;background:white"><tbody><tr><td style="padding:.75pt .75pt .75pt .75pt"></td><td style="padding:.75pt .75pt .75pt .75pt"><p class="MsoNormal">
<a href="http://www.vtk.org/files/release/5.8/vtk-5.8.0-win32-x86.exe" target="_blank">vtk-5.8.0-win32-x86.exe</a><span style="font-size:12.0pt"><u></u><u></u></span></p></td></tr></tbody></table><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">and installed it. When I run vtk.exe I get a little 1" square window with nothing in it, no menus, no options. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I also checked the FAQ as I would expect this would be the very first and most FAQ. Nothing.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I also read the README.html in the VTK6.0.0 folder. It's all about compiling VTK source code and nothing about running from vtk.exe.<u></u><u></u></p><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal">Can anybody point me to documentation that explains how to run a VTK TCL script using vtk.exe?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thank you,<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p>
<span class="HOEnZb"><font color="#888888"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Greg<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></font></span></div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>