<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.vistrails.org//index.php?action=history&amp;feed=atom&amp;title=SciVisFall2007%2FVTK_Tips</id>
	<title>SciVisFall2007/VTK Tips - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.vistrails.org//index.php?action=history&amp;feed=atom&amp;title=SciVisFall2007%2FVTK_Tips"/>
	<link rel="alternate" type="text/html" href="https://www.vistrails.org//index.php?title=SciVisFall2007/VTK_Tips&amp;action=history"/>
	<updated>2026-05-27T15:21:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.2</generator>
	<entry>
		<id>https://www.vistrails.org//index.php?title=SciVisFall2007/VTK_Tips&amp;diff=728&amp;oldid=prev</id>
		<title>Csilva at 15:23, 17 September 2007</title>
		<link rel="alternate" type="text/html" href="https://www.vistrails.org//index.php?title=SciVisFall2007/VTK_Tips&amp;diff=728&amp;oldid=prev"/>
		<updated>2007-09-17T15:23:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:23, 17 September 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Here are some tips to help converting VTK scripts to VisTrails pipelines. Most of these can be figured out by careful study of the class slides, so you should try doing that first.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Here are some tips to help converting VTK scripts to VisTrails pipelines. Most of these can be figured out by careful study of the class slides, so you should try doing that first.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== General tips ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== General tips ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Do not be afraid to experiment'''. Both the module and method widgets are searchable. Type what you are looking for and see if it's there. '''Try to execute pipelines'''. If they don't work, check if you '''connected everything'''. Check if the connections are set to the '''right ports'''. Check if you set the '''correct file names'''. Look at the '''examples that are provided''' with the '''VisTrails distribution''' and with the '''course notes'''.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Do not be afraid to experiment'''. Both the module and method widgets are searchable. Type what you are looking for and see if it's there. '''Try to execute pipelines'''. If they don't work, check if you '''connected everything'''. Check if the connections are set to the '''right ports'''. Check if you set the '''correct file names'''. Look at the '''examples that are provided''' with the '''VisTrails distribution''' and with the '''course notes'''&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Also, please remember to read the documentation provided in the different packages&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Tcl tips ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Tcl tips ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb-vistrails_:diff::1.12:old-727:rev-728 --&gt;
&lt;/table&gt;</summary>
		<author><name>Csilva</name></author>
	</entry>
	<entry>
		<id>https://www.vistrails.org//index.php?title=SciVisFall2007/VTK_Tips&amp;diff=727&amp;oldid=prev</id>
		<title>Cscheid at 19:48, 16 September 2007</title>
		<link rel="alternate" type="text/html" href="https://www.vistrails.org//index.php?title=SciVisFall2007/VTK_Tips&amp;diff=727&amp;oldid=prev"/>
		<updated>2007-09-16T19:48:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:48, 16 September 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== General tips ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== General tips ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Do not be afraid to experiment''. Both the module and method widgets are searchable. Type what you are looking for and see if it's there. ''Try to execute pipelines''. If they don't work, check if you '''connected everything'''. Check if the connections are set to the '''right ports'''. Check if you set the '''correct file names'''. Look at the '''examples that are provided''' with the '''VisTrails distribution''' and with the '''course notes'''.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;'&lt;/ins&gt;''Do not be afraid to experiment&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;'&lt;/ins&gt;''. Both the module and method widgets are searchable. Type what you are looking for and see if it's there. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;'&lt;/ins&gt;''Try to execute pipelines&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;'&lt;/ins&gt;''. If they don't work, check if you '''connected everything'''. Check if the connections are set to the '''right ports'''. Check if you set the '''correct file names'''. Look at the '''examples that are provided''' with the '''VisTrails distribution''' and with the '''course notes'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Tcl tips ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Tcl tips ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb-vistrails_:diff::1.12:old-726:rev-727 --&gt;
&lt;/table&gt;</summary>
		<author><name>Cscheid</name></author>
	</entry>
	<entry>
		<id>https://www.vistrails.org//index.php?title=SciVisFall2007/VTK_Tips&amp;diff=726&amp;oldid=prev</id>
		<title>Cscheid: New page: Here are some tips to help converting VTK scripts to VisTrails pipelines. Most of these can be figured out by careful study of the class slides, so you should try doing that first.  === Ge...</title>
		<link rel="alternate" type="text/html" href="https://www.vistrails.org//index.php?title=SciVisFall2007/VTK_Tips&amp;diff=726&amp;oldid=prev"/>
		<updated>2007-09-16T19:47:03Z</updated>

		<summary type="html">&lt;p&gt;New page: Here are some tips to help converting VTK scripts to VisTrails pipelines. Most of these can be figured out by careful study of the class slides, so you should try doing that first.  === Ge...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Here are some tips to help converting VTK scripts to VisTrails pipelines. Most of these can be figured out by careful study of the class slides, so you should try doing that first.&lt;br /&gt;
&lt;br /&gt;
=== General tips ===&lt;br /&gt;
&lt;br /&gt;
''Do not be afraid to experiment''. Both the module and method widgets are searchable. Type what you are looking for and see if it's there. ''Try to execute pipelines''. If they don't work, check if you '''connected everything'''. Check if the connections are set to the '''right ports'''. Check if you set the '''correct file names'''. Look at the '''examples that are provided''' with the '''VisTrails distribution''' and with the '''course notes'''.&lt;br /&gt;
&lt;br /&gt;
=== Tcl tips ===&lt;br /&gt;
&lt;br /&gt;
Function parameters are separated by spaces:&lt;br /&gt;
&lt;br /&gt;
 sample SetSampleDimensions 20 20 20&lt;br /&gt;
&lt;br /&gt;
is equivalent to&lt;br /&gt;
&lt;br /&gt;
 sample.SetSampleDimensions(20, 20, 20);&lt;br /&gt;
&lt;br /&gt;
in Python, C, C++, Java, etc.&lt;br /&gt;
&lt;br /&gt;
Expressions between square brackets are similar to function calls - they are evaluated to the result of the internal expression. So the line&lt;br /&gt;
&lt;br /&gt;
 clip SetInput [sample GetOutput]&lt;br /&gt;
&lt;br /&gt;
is calling the method SetInput with the result of calling GetOutput on sample.&lt;br /&gt;
&lt;br /&gt;
=== VTK tips ===&lt;br /&gt;
&lt;br /&gt;
Calls to SetInput and GetOutput are (typically) connections which should be created with the ports AddInputConnection and GetOutputPort.&lt;br /&gt;
&lt;br /&gt;
Some expressions do not have direct translations. Use the VisTrails interface to help you. For example, GetProperty is referring to a vtk property. Now look around to see if there is anything similar to a property that you can drag down to the pipeline (there is). Now see if you can connect that to the actor (you can). &lt;br /&gt;
&lt;br /&gt;
There is no vtkRenderWindow on VisTrails. Look at the examples.&lt;/div&gt;</summary>
		<author><name>Cscheid</name></author>
	</entry>
</feed>