<div dir="ltr">Hi,<div><br></div><div><div>I got VTK 7.1.1 in my computer, finally! So, I have tested the two solutions that you have suggested:</div><div>1) <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566120935839907963"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566120935839907963">using</span></span> <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566120931320401441"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566120931320401441">vtkProbeFilter</span></span></div><div>2) <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566129856724783758"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566129856724783758">using</span></span> <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566129855432085431"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566129855432085431">vtkResampleToImage</span></span></div><div><br></div><div><div><b>1) </b>I  have adjusted the image dimensions according to my own data and I am using  vtkSmartVolumeMapper, instead of vtkVolumeRaycastMapper.</div><div>No errors are generated in the terminal. However, I have been waiting for several minutes and nothing happens.</div><div>Do you have any idea what is wrong?</div></div><div><br></div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566154494184577317"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566154494184577317">csvfile</span></span>="directory path to my <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566154490315330504"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566154490315330504">csv</span></span> file/sample.csv"</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566157242019387295"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566157242019387295">reader</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566157245399669623"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566157245399669623">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566157242862169974"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566157242862169974">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566157244298450279"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566157244298450279">vtkDelimitedTextReader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566157248649270199"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566157248649270199">(</span></span>) </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566159902771871680"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566159902771871680">reader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566159919040060465"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566159919040060465">.</span></span>SetFieldDelimiterCharacters<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566159917392048687"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566159917392048687">(</span></span>" ") </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566162294895538570"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566162294895538570">reader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566162290151446958"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566162290151446958">.</span></span>DetectNumericColumnsOn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566162299038115312"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566162299038115312">(</span></span>) </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566165829821212578"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566165829821212578">reader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566165828192477048"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566165828192477048">.</span></span>SetFileName<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566165820257823697"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566165820257823697">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566165826469785645"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566165826469785645">csvfile</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566168272682921657"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566168272682921657">reader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566168270909023115"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566168270909023115">.</span></span>MergeConsecutiveDelimitersOn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566168273556787303"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566168273556787303">(</span></span>) </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566170763461547428"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566170763461547428">reader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566170764769477460"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566170764769477460">.</span></span>Update<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566170760957151697"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566170760957151697">(</span></span>)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566180192170947382"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566180192170947382">tableToPoints</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566180192070121534"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566180192070121534">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566180190769581612"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566180190769581612">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566180192155327021"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566180192155327021">vtkTableToPolyData</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566180193740018921"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566180193740018921">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566191788565904357"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566191788565904357">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566191783248104713"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566191783248104713">.</span></span>SetInputConnection<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566191784300410784"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566191784300410784">(</span></span>reader<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566191781690867036"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566191781690867036">.</span></span>GetOutputPort<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566191788233395882"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566191788233395882">(</span></span>))</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566198623525794064"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566198623525794064">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566198621500524235"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566198621500524235">.</span></span>SetXColumn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566198625535727455"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566198625535727455">(</span></span>'Field 0')</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566203929723487738"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566203929723487738">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566203921411684790"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566203921411684790">.</span></span>SetYColumn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566203928521670744"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566203928521670744">(</span></span>'Field 1')</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566208350185146469"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566208350185146469">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566208357670248364"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566208357670248364">.</span></span>SetZColumn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566208351911714154"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566208351911714154">(</span></span>'Field 2')</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566214607733803503"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566214607733803503">imageData</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566214609627493682"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566214609627493682">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566214600479371670"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566214600479371670">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566214609287588332"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566214609287588332">vtkImageData</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566214602653375396"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566214602653375396">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566219500745573549"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566219500745573549">imageData</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566219500488507391"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566219500488507391">.</span></span>SetDimensions<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566219502189985401"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566219502189985401">(</span></span>512, 512, 192)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566224001488809171"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566224001488809171">imageData</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566224004932762227"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566224004932762227">.</span></span>SetOrigin<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566224003996107537"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566224003996107537">(</span></span>0.0, 0.0, 0.0)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566228819467209059"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566228819467209059">imageData</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566228815770064762"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566228815770064762">.</span></span>SetSpacing<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566228829974759352"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566228829974759352">(</span></span>1.0, 1.0, 1.0)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566233411167785027"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566233411167785027">probeFilter</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566233416370627445"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566233416370627445">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566233414650688221"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566233414650688221">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566233417976094603"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566233417976094603">vtkProbeFilter</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566233411111872596"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566233411111872596">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566252147194616474"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566252147194616474">probeFilter</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566252147348966736"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566252147348966736">.</span></span>SetSourceConnection<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566252148016797680"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566252148016797680">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566252141793984205"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566252141793984205">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566252147165323811"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566252147165323811">.</span></span>GetOutputPort<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566252146449998750"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566252146449998750">(</span></span>))</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566256591889072931"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566256591889072931">probeFilter</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566256594380820976"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566256594380820976">.</span></span>SetInputData<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566256591020946411"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566256591020946411">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566256596538941883"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566256596538941883">imageData</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566259178018032362"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566259178018032362">probeFilter</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566259172191795612"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566259172191795612">.</span></span>Update<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566259175942054280"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566259175942054280">(</span></span>)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566262157383777273"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566262157383777273">writer</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566262153446001754"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566262153446001754">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566262153311123082"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566262153311123082">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566262154142818962"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566262154142818962">vtkXMLImageDataWriter</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566262155742143961"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566262155742143961">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566265787846640498"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566265787846640498">writer</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566265785533595858"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566265785533595858">.</span></span>SetInputData<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566265783043774931"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566265783043774931">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566265787034879840"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566265787034879840">probeFilter</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566265787009222583"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566265787009222583">.</span></span>GetOutput<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566265783099417748"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566265783099417748">(</span></span>))</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566269851635974075"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566269851635974075">writer</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566269854617303851"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566269854617303851">.</span></span>SetFileName<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566269851645264775"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566269851645264775">(</span></span>'out<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566269850971173194"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566269850971173194">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566269853584865837"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566269853584865837">vti</span></span>')</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566272333331766842"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566272333331766842">writer</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566272335939435760"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566272335939435760">.</span></span>Write<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566272336052974853"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566272336052974853">(</span></span>)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566294937891974699"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566294937891974699">probeFilter</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566294937062561104"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566294937062561104">.</span></span>GetOutput<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566294936928758292"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566294936928758292">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566294937398717090"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566294937398717090">.</span></span>GetPointData<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566294931383490978"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566294931383490978">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566294935368297244"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566294935368297244">.</span></span>SetActiveScalars<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566294936339225420"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566294936339225420">(</span></span>'Field 3')</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566306798808726567"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566306798808726567">range</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566306791107567265"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566306791107567265">probeFilter</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566306793995537545"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566306793995537545">.</span></span>GetOutput<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566306795426158609"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566306795426158609">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566306797698297063"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566306797698297063">.</span></span>GetPointData<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566306796150748285"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566306796150748285">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566306790366073472"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566306790366073472">.</span></span>GetScalars<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566306795301911805"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566306795301911805">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566306795585435569"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566306795585435569">.</span></span>GetRange<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566306793713340205"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566306793713340205">(</span></span>)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566319060405833624"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566319060405833624">colors</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566319068675815114"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566319068675815114">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566319069486989518"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566319069486989518">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566319069889896915"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566319069889896915">vtkNamedColors</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566319065194365336"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566319065194365336">(</span></span>)</div><div><br></div><div># Create the standard <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566324289992700550"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566324289992700550">renderer</span></span>, render window</div><div># and <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566328026013616479"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566328026013616479">interactor</span></span>.</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566331655150439988"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566331655150439988">ren</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566331653857327670"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566331653857327670">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566331657597142895"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566331657597142895">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566331650844837161"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566331650844837161">vtkRenderer</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566331658858752909"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566331658858752909">(</span></span>)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566345928571192230"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566345928571192230">renWin</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566345924874402695"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566345924874402695">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566345928204167848"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566345928204167848">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566345925963417566"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566345925963417566">vtkRenderWindow</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566345926093666920"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566345926093666920">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566349574269788765"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566349574269788765">renWin</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566349574385366329"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566349574385366329">.</span></span>AddRenderer<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566349570591483181"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566349570591483181">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566349577155005970"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566349577155005970">ren</span></span>)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566353830546732004"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566353830546732004">iren</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566353832000894321"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566353832000894321">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566353831602756944"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566353831602756944">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566353831876199502"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566353831876199502">vtkRenderWindowInteractor</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566353835303354859"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566353835303354859">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566365091972736081"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566365091972736081">iren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566365092997556459"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566365092997556459">.</span></span>SetRenderWindow<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566365090833466097"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566365090833466097">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566365093989338419"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566365093989338419">renWin</span></span>)</div><div><br></div><div># Create transfer mapping scalar value to opacity.</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566400511235118471"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566400511235118471">opacityTransferFunction</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566400513686947873"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566400513686947873">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566400510256370574"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566400510256370574">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566400513702368988"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566400513702368988">vtkPiecewiseFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566400519252222050"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566400519252222050">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566404935181450673"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566404935181450673">opacityTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566404932129635498"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566404932129635498">.</span></span>AddPoint<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566404935344796872"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566404935344796872">(</span></span>range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566404935163440376"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566404935163440376">[</span></span>0], 0.0)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566409415337291417"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566409415337291417">opacityTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566409410032444111"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566409410032444111">.</span></span>AddPoint<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566409417455362933"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566409417455362933">(</span></span>range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566409413895059092"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566409413895059092">[</span></span>1], 1.0)</div><div><br></div><div># Create transfer mapping scalar value to <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566416423267730604"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566416423267730604">color</span></span>.</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566419347551138078"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566419347551138078">colorTransferFunction</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566419343703188048"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566419343703188048">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566419341710571555"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566419341710571555">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566419342670394812"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566419342670394812">vtkColorTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566419343892813118"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566419343892813118">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566425283579618842"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566425283579618842">colorTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566425284517097010"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566425284517097010">.</span></span>AddRGBPoint<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566425281748346783"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566425281748346783">(</span></span>range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566425286425019406"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566425286425019406">[</span></span>0], 0.0, 0.0, 1.0)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566434021903771623"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566434021903771623">colorTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434027521775625"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434027521775625">.</span></span>AddRGBPoint<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434022183676514"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434022183676514">(</span></span>(range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434022663769318"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434022663769318">[</span></span>0<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434029765110074"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434029765110074">]</span></span>+range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434026750206886"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434026750206886">[</span></span>1]<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434028562208633"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434028562208633">)</span></span>*0<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434027087413708"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434027087413708">.</span></span>5, 0.0, 1.0, 0.0)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566438333667537594"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566438333667537594">colorTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566438333137396729"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566438333137396729">.</span></span>AddRGBPoint<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566438333276715703"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566438333276715703">(</span></span>range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566438338788033564"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566438338788033564">[</span></span>1], 1.0, 0.0, 0.0)</div><div><br></div><div># The property describes how the data will look.</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566447848224635391"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566447848224635391">volumeProperty</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566447844217522879"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566447844217522879">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566447847008844725"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566447847008844725">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566447844499678861"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566447844499678861">vtkVolumeProperty</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566447849210518816"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566447849210518816">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566451632117117177"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566451632117117177">volumeProperty</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566451631520467499"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566451631520467499">.</span></span>SetColor<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566451632632955417"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566451632632955417">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566451634834982591"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566451634834982591">colorTransferFunction</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566457276396732175"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566457276396732175">volumeProperty</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566457279629525231"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566457279629525231">.</span></span>SetScalarOpacity<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566457279429165850"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566457279429165850">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566457278563328827"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566457278563328827">opacityTransferFunction</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566460231039620610"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566460231039620610">volumeProperty</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566460232764202932"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566460232764202932">.</span></span>SetScalarOpacityUnitDistance<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566460234625577002"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566460234625577002">(</span></span>1.73205080757)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566463081707871837"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566463081707871837">volumeProperty</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566463085566835153"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566463085566835153">.</span></span>SetInterpolationTypeToLinear<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566463082606363494"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566463082606363494">(</span></span>)</div><div><br></div><div># The mapper / ray cast function know how to render the data.</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566475638975341439"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566475638975341439">volumeMapper</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566475633063669406"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566475633063669406">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566475630152586550"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566475630152586550">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566475631952605821"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566475631952605821">vtkSmartVolumeMapper</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566475637908695196"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566475637908695196">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566487322506042068"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566487322506042068">volumeMapper</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566487326717626622"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566487326717626622">.</span></span>SetInputConnection<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566487329989606212"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566487329989606212">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566487328605782347"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566487328605782347">probeFilter</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566487324551048825"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566487324551048825">.</span></span>GetOutputPort<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566487324850671141"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566487324850671141">(</span></span>))</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566490260250346243"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566490260250346243">volumeMapper</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566490262386484304"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566490262386484304">.</span></span>SetBlendModeToComposite<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566490268701906711"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566490268701906711">(</span></span>)</div><div><br></div><div># The volume holds the mapper and the property and</div><div># can be used to position/orient the volume.</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566500797458834700"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566500797458834700">volume</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566500792618769497"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566500792618769497">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566500798232845333"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566500798232845333">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566500795420629893"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566500795420629893">vtkVolume</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566500798859804599"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566500798859804599">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566503942533066615"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566503942533066615">volume</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566503943234972011"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566503943234972011">.</span></span>SetMapper<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566503940436548470"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566503940436548470">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566503942490827330"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566503942490827330">volumeMapper</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566507827765760893"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566507827765760893">volume</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566507822507471905"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566507822507471905">.</span></span>SetProperty<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566507821555923628"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566507821555923628">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566507827766319353"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566507827766319353">volumeProperty</span></span>)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566511743145890716"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566511743145890716">ren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566511742602676383"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566511742602676383">.</span></span>AddVolume<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566511744371985806"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566511744371985806">(</span></span>volume)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566517429356771296"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566517429356771296">ren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566517424206845892"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566517424206845892">.</span></span>SetBackground<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566517426616534069"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566517426616534069">(</span></span>colors<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566517424245619857"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566517424245619857">.</span></span>GetColor3d<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566517421836412355"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566517421836412355">(</span></span>"White"))</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566532295815828902"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566532295815828902">ren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566532292417619316"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566532292417619316">.</span></span>GetActiveCamera<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566532299556458318"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566532299556458318">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566532292355390182"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566532292355390182">.</span></span>ParallelProjectionOn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566532296096778907"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566532296096778907">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566535993404523037"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566535993404523037">ren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566535990188007986"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566535990188007986">.</span></span>ResetCameraClippingRange<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566535990074349421"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566535990074349421">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566539629653330569"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566539629653330569">ren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566539621732423579"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566539621732423579">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566539627779990798"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566539627779990798">ResetCamera</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566539620501230331"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566539620501230331">(</span></span>)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566544117474414953"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566544117474414953">renWin</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566544117101648267"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566544117101648267">.</span></span>SetSize<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566544115163939042"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566544115163939042">(</span></span>600, 600)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566546650707734592"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566546650707734592">renWin</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566546651960866092"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566546651960866092">.</span></span>Render<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566546652308696409"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566546652308696409">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566549243079281581"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566549243079281581">iren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566549249850338713"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566549249850338713">.</span></span>Start<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566549246024031704"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566549246024031704">(</span></span>)</div><div><br></div><div><br></div><div><b>2)</b> I have tested the <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566555937858950716"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566555937858950716">vtkResampleToImage</span></span> class, (the solution that you suggest at the beginning of this thread<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566555936414271883"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566555936414271883"></span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566555936414271883"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566555936414271883">)</span></span>. However, I get a solid a cube as output.</div><div>Do you have any idea why that happens? </div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331568601052804498879">csvfile</span>="directory path to my <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331568601051310592408">csv</span> file/sample.csv"<br></div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566157306006606109"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566157306006606109">reader</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566157300485591008"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566157300485591008">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566157302510377408"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566157302510377408">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566157301551736091"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566157301551736091">vtkDelimitedTextReader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566157305663382014"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566157305663382014">(</span></span>) </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566159960036295959"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566159960036295959">reader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566159962199274947"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566159962199274947">.</span></span>SetFieldDelimiterCharacters<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566159960575099946"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566159960575099946">(</span></span>" ") </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566162354969752926"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566162354969752926">reader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566162355889217553"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566162355889217553">.</span></span>DetectNumericColumnsOn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566162355801225291"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566162355801225291">(</span></span>) </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566165906525234428"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566165906525234428">reader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566165905042384265"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566165905042384265">.</span></span>SetFileName<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566165907995486296"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566165907995486296">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566165904628549961"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566165904628549961">csvfile</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566168369296073625"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566168369296073625">reader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566168360901677366"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566168360901677366">.</span></span>MergeConsecutiveDelimitersOn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566168361038389108"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566168361038389108">(</span></span>) </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566170849717986337"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566170849717986337">reader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566170846501406396"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566170846501406396">.</span></span>Update<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566170846146572466"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566170846146572466">(</span></span>)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566180276981328534"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566180276981328534">tableToPoints</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566180283619082499"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566180283619082499">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566180284945868148"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566180284945868148">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566180286832801638"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566180286832801638">vtkTableToPolyData</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566180289942892582"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566180289942892582">(</span></span>) </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566191911827184979"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566191911827184979">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566191910179562752"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566191910179562752">.</span></span>SetInputConnection<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566191911916369932"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566191911916369932">(</span></span>reader<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566191915965869976"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566191915965869976">.</span></span>GetOutputPort<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566191919294626168"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566191919294626168">(</span></span>)) </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566566297372279372"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566566297372279372">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566566298179015045"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566566298179015045">.</span></span>SetXColumn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566566299008690942"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566566299008690942">(</span></span>"Field 0") </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566569593919096598"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566569593919096598">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566569595102545600"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566569595102545600">.</span></span>SetYColumn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566569594872161868"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566569594872161868">(</span></span>"Field 1") </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566572865413965762"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566572865413965762">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566572862459150307"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566572862459150307">.</span></span>SetZColumn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566572865891420692"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566572865891420692">(</span></span>"Field 2") </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566575485762538587"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566575485762538587">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566575486525774406"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566575486525774406">.</span></span>Update<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566575486417691919"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566575486417691919">(</span></span>)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566578868321876947"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566578868321876947">resample</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566578862899974957"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566578862899974957">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566578861609077725"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566578861609077725">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566578860291414478"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566578860291414478">vtkResampleToImage</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566578861022439894"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566578861022439894">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566582286937051606"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566582286937051606">resample</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566582284882554067"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566582284882554067">.</span></span>SetInputConnection<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566582284587829519"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566582284587829519">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566582283629883124"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566582283629883124">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566582283100010569"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566582283100010569">.</span></span>GetOutputPort<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566582287598735740"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566582287598735740">(</span></span>))</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566585671302474734"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566585671302474734">resample</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566585672233179471"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566585672233179471">.</span></span>SetSamplingDimensions<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566585672382772146"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566585672382772146">(</span></span>3, 3, 3)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566588455167506697"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566588455167506697">resample</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566588459944152798"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566588459944152798">.</span></span>Update<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566588451111993024"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566588451111993024">(</span></span>)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566596832565111575"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566596832565111575">scalar</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566596832475360740"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566596832475360740">resample</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566596835406024993"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566596835406024993">.</span></span>GetOutput<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566596833367253338"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566596833367253338">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566596839994350771"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566596839994350771">.</span></span>GetPointData<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566596838126882136"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566596838126882136">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566596834470446962"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566596834470446962">.</span></span>GetArray<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566596836108219724"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566596836108219724">(</span></span>"Field 3")</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566604346012125532"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566604346012125532">resample</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566604348970471591"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566604348970471591">.</span></span>GetOutput<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566604340781875008"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566604340781875008">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566604345817215037"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566604345817215037">.</span></span>GetPointData<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566604343189585578"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566604343189585578">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566604343393813808"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566604343393813808">.</span></span>SetScalars<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566604347230054805"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566604347230054805">(</span></span>scalar)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566616804540394483"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566616804540394483">range</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566616803195967511"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566616803195967511">resample</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566616808123590819"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566616808123590819">.</span></span>GetOutput<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566616806964911994"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566616806964911994">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566616805433518467"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566616805433518467">.</span></span>GetPointData<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566616804203928721"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566616804203928721">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566616803868194182"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566616803868194182">.</span></span>GetScalars<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566616803498632774"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566616803498632774">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566616805704253751"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566616805704253751">.</span></span>GetRange<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566616800215239898"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566616800215239898">(</span></span>)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566629421226499187"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566629421226499187">writer</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566629422734976741"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566629422734976741">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566629422557478867"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566629422557478867">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566629427845968235"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566629427845968235">vtkMetaImageWriter</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566629422763255531"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566629422763255531">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566632591183184798"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566632591183184798">writer</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566632599517140001"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566632599517140001">.</span></span>SetInputData<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566632592376906492"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566632592376906492">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566632596516505629"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566632596516505629">resample</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566632590444597024"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566632590444597024">.</span></span>GetOutput<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566632599391421619"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566632599391421619">(</span></span>))</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566636709764988415"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566636709764988415">writer</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566636709569864060"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566636709569864060">.</span></span>SetFileName<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566636700063225010"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566636700063225010">(</span></span>'out<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566636708081691566"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566636708081691566">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566636701070614697"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566636701070614697">mha</span></span>')</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566640608138228028"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566640608138228028">writer</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566640605402211630"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566640605402211630">.</span></span>SetCompression<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566640609751047796"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566640609751047796">(</span></span>True)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566272575764206667"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566272575764206667">writer</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566272579830133742"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566272579830133742">.</span></span>Write<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566272579316490261"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566272579316490261">(</span></span>)</div><div><br></div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566319372367643733"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566319372367643733">colors</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566319372325013562"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566319372325013562">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566319375272762139"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566319375272762139">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566319373786043942"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566319373786043942">vtkNamedColors</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566319377983501322"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566319377983501322">(</span></span>)</div><div><br></div><div># Create the standard <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566324603488411355"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566324603488411355">renderer</span></span>, render window</div><div># and <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566328377748811000"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566328377748811000">interactor</span></span>.</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566332166387140781"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566332166387140781">ren</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566332165581108149"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566332165581108149">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566332161538225145"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566332161538225145">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566332163084346297"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566332163084346297">vtkRenderer</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566332162185071772"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566332162185071772">(</span></span>)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566346025629869954"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566346025629869954">renWin</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566346028036749980"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566346028036749980">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566346022601270213"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566346022601270213">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566346020737501220"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566346020737501220">vtkRenderWindow</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566346028282697198"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566346028282697198">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566349692101107674"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566349692101107674">renWin</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566349694935767551"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566349694935767551">.</span></span>AddRenderer<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566349696817966253"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566349696817966253">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566349690832896969"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566349690832896969">ren</span></span>)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566353964561111588"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566353964561111588">iren</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566353965603909415"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566353965603909415">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566353964912624810"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566353964912624810">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566353967621922745"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566353967621922745">vtkRenderWindowInteractor</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566353960725773827"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566353960725773827">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566365238417666510"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566365238417666510">iren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566365231316335562"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566365231316335562">.</span></span>SetRenderWindow<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566365239072737208"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566365239072737208">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566365233081104225"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566365233081104225">renWin</span></span>)</div><div><br></div><div># Create transfer mapping scalar value to opacity.</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566400677957608899"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566400677957608899">opacityTransferFunction</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566400678001030293"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566400678001030293">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566400671207134286"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566400671207134286">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566400677703103455"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566400677703103455">vtkPiecewiseFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566400671780858666"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566400671780858666">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566405114524635193"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566405114524635193">opacityTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566405115597006187"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566405115597006187">.</span></span>AddPoint<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566405118512791683"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566405118512791683">(</span></span>range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566405111866776811"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566405111866776811">[</span></span>0], 0.0)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566409621205501429"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566409621205501429">opacityTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566409620557928058"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566409620557928058">.</span></span>AddPoint<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566409624057434303"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566409624057434303">(</span></span>range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566409623614521024"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566409623614521024">[</span></span>1], 1.0)</div><div><br></div><div># Create transfer mapping scalar value to <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566416643157186017"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566416643157186017">color</span></span>.</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566419595396988165"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566419595396988165">colorTransferFunction</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566419594072659901"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566419594072659901">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566419599859942066"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566419599859942066">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566419598172982676"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566419598172982676">vtkColorTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566419599363942030"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566419599363942030">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566425553545030612"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566425553545030612">colorTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566425550939726112"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566425550939726112">.</span></span>AddRGBPoint<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566425558234532143"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566425558234532143">(</span></span>range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566425556697810525"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566425556697810525">[</span></span>0], 0.0, 0.0, 1.0)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566434331006505001"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566434331006505001">colorTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434336190895850"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434336190895850">.</span></span>AddRGBPoint<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434339379552065"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434339379552065">(</span></span>(range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434338817399208"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434338817399208">[</span></span>0<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434330261426206"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434330261426206">]</span></span>+range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434336288617248"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434336288617248">[</span></span>1]<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434338723511984"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434338723511984">)</span></span>*0<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434339857939838"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566434339857939838">.</span></span>5, 0.0, 1.0, 0.0)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566438684856767335"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566438684856767335">colorTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566438688709207163"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566438688709207163">.</span></span>AddRGBPoint<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566438682087720272"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566438682087720272">(</span></span>range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566438683303579088"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566438683303579088">[</span></span>1], 1.0, 0.0, 0.0)</div><div><br></div><div># The property describes how the data will look.</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566448218302197842"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566448218302197842">volumeProperty</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566448214024745593"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566448214024745593">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566448211230023740"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566448211230023740">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566448218942283174"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566448218942283174">vtkVolumeProperty</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566448214756562030"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566448214756562030">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566452027217272338"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566452027217272338">volumeProperty</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566452023328925676"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566452023328925676">.</span></span>SetColor<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566452029763247808"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566452029763247808">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566452026637989246"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566452026637989246">colorTransferFunction</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566457693722475433"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566457693722475433">volumeProperty</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566457697901421291"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566457697901421291">.</span></span>SetScalarOpacity<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566457691155660971"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566457691155660971">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566457696527154336"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566457696527154336">opacityTransferFunction</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566460684076265842"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566460684076265842">volumeProperty</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566460684974015594"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566460684974015594">.</span></span>SetScalarOpacityUnitDistance<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566460680376937475"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566460680376937475">(</span></span>1.73205080757)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566463555511543963"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566463555511543963">volumeProperty</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566463559953607970"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566463559953607970">.</span></span>SetInterpolationTypeToLinear<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566463555695434629"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566463555695434629">(</span></span>)</div><div><br></div><div># The mapper / ray cast function know how to render the data.</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566476135808773806"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566476135808773806">volumeMapper</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566476133193450509"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566476133193450509">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566476135478497503"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566476135478497503">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566476138290421519"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566476138290421519">vtkSmartVolumeMapper</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566476133429870242"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566476133429870242">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566644702460212994"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566644702460212994">volumeMapper</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566644702024021741"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566644702024021741">.</span></span>SetInputConnection<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566644700203275748"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566644700203275748">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566644703727679799"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566644703727679799">resample</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566644708446372142"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566644708446372142">.</span></span>GetOutputPort<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566644709983053788"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566644709983053788">(</span></span>))</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566490814655104795"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566490814655104795">volumeMapper</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566490816627740208"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566490816627740208">.</span></span>SetBlendModeToComposite<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566490813757663998"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566490813757663998">(</span></span>)</div><div><br></div><div># The volume holds the mapper and the property and</div><div># can be used to position/orient the volume.</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566501374034854182"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566501374034854182">volume</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566501373668100975"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566501373668100975">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566501378261531439"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566501378261531439">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566501372426684310"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566501372426684310">vtkVolume</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566501381976621418"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566501381976621418">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566504586777701641"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566504586777701641">volume</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566504586310935246"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566504586310935246">.</span></span>SetMapper<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566504589519062023"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566504589519062023">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566504586890766191"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566504586890766191">volumeMapper</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566507990185131255"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566507990185131255">volume</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566507994797066180"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566507994797066180">.</span></span>SetProperty<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566507991965587422"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566507991965587422">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566507992424802223"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566507992424802223">volumeProperty</span></span>)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566511988630899012"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566511988630899012">ren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566511985578867137"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566511985578867137">.</span></span>AddVolume<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566511989024735433"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566511989024735433">(</span></span>volume)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566517653483074434"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566517653483074434">ren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566517656641801329"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566517656641801329">.</span></span>SetBackground<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566517657876766311"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566517657876766311">(</span></span>colors<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566517655216121042"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566517655216121042">.</span></span>GetColor3d<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566517651351922624"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566517651351922624">(</span></span>"White"))</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566532544092722491"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566532544092722491">ren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566532540387491417"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566532540387491417">.</span></span>GetActiveCamera<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566532543485560837"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566532543485560837">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566532546626567666"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566532546626567666">.</span></span>ParallelProjectionOn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566532544488815269"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566532544488815269">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566536263516539078"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566536263516539078">ren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566536269056645634"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566536269056645634">.</span></span>ResetCameraClippingRange<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566536267660532257"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566536267660532257">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566539927642711947"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566539927642711947">ren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566539921245446540"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566539921245446540">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566539923314564264"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566539923314564264">ResetCamera</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566539924655296504"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566539924655296504">(</span></span>)</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566544446483584004"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566544446483584004">renWin</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566544444825224878"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566544444825224878">.</span></span>SetSize<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566544446033754609"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566544446033754609">(</span></span>600, 600)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566547004812644493"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566547004812644493">renWin</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566547006661766256"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566547006661766256">.</span></span>Render<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566547008811296882"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566547008811296882">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566549623305467548"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15331566549623305467548">iren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566549620795053023"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566549620795053023">.</span></span>Start<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566549621931625072"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15331566549621931625072">(</span></span>)</div><div><br></div><div>Thanks</div><div>Lizeth</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 27, 2018 at 5:37 PM, kenichiro yoshimi <span dir="ltr"><<a href="mailto:rccm.kyoshimi@gmail.com" target="_blank">rccm.kyoshimi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Thank you for sharing your code. At first glance, the parameters of<br>
imageData have to be set according to your own data.<br>
---<br>
<span class="">imageData.SetDimensions(512, 512, 192)<br>
imageData.SetOrigin(0.0, 0.0, 0.0)<br>
imageData.SetSpacing(1, 1, 1)<br>
</span>---<br>
And would you try to use vtkSmartVolumeMapper, instead of<br>
vtkVolumeRaycastMapper?<br>
<br>
Thanks<br>
2018年7月28日(土) 4:03 Lizeth Castellanos <<a href="mailto:castellanoslizan@gmail.com">castellanoslizan@gmail.com</a>>:<br>
<div class="HOEnZb"><div class="h5">><br>
> Hi!<br>
><br>
> Thanks for your reply.<br>
> My doubt was about how to pass the 'Field 3' to the probe filter. I made some adjust based in your help. However, the output shows two solid cube instead of the points from my segmented dataset.<br>
><br>
> I am sending the code and the screenshot of the output. Thanks again :-)<br>
><br>
> reader = vtk.vtkDelimitedTextReader()<br>
> reader.<wbr>SetFieldDelimiterCharacters(' ')<br>
> reader.DetectNumericColumnsOn(<wbr>)<br>
> reader.SetFileName('sample.<wbr>csv')<br>
> reader.<wbr>MergeConsecutiveDelimitersOn()<br>
> reader.Update()<br>
><br>
> tableToPoints = vtk.vtkTableToPolyData()<br>
> tableToPoints.<wbr>SetInputConnection(reader.<wbr>GetOutputPort())<br>
> tableToPoints.SetXColumn('<wbr>Field 0')<br>
> tableToPoints.SetYColumn('<wbr>Field 1')<br>
> tableToPoints.SetZColumn('<wbr>Field 2')<br>
> tableToPoints.Update()<br>
><br>
> imageData = vtk.vtkImageData()<br>
> imageData.SetDimensions(3, 3, 3)<br>
> imageData.SetOrigin(0.0, 0.0, 0.0)<br>
> imageData.SetSpacing(1.0, 1.0, 1.0)<br>
> imageData.Update()<br>
><br>
> probeFilter = vtk.vtkProbeFilter()<br>
> probeFilter.<wbr>SetSourceConnection(<wbr>tableToPoints.GetOutputPort())<br>
> probeFilter.SetInput(<wbr>imageData)<br>
> probeFilter.Update()<br>
><br>
> probeFilter.GetOutput().<wbr>GetPointData().<wbr>SetActiveScalars('Field 3')<br>
> scalarRange = probeFilter.GetOutput().<wbr>GetPointData().GetScalars().<wbr>GetRange()<br>
><br>
> writer = vtk.vtkXMLImageDataWriter()<br>
> writer.SetInput(probeFilter.<wbr>GetOutput())<br>
> writer.SetFileName('out.vti')<br>
> writer.Write()<br>
><br>
> # Create transfer mapping scalar value to opacity.<br>
> opacityTransferFunction = vtk.vtkPiecewiseFunction()<br>
> opacityTransferFunction.<wbr>AddPoint(scalarRange[0], 0.0)<br>
> opacityTransferFunction.<wbr>AddPoint(scalarRange[1], 0.5)<br>
><br>
> # Create transfer mapping scalar value to color.<br>
> colorTransferFunction = vtk.vtkColorTransferFunction()<br>
> colorTransferFunction.<wbr>AddRGBPoint(scalarRange[0], 0.0, 0.0, 1.0)<br>
> colorTransferFunction.<wbr>AddRGBPoint((scalarRange[0]+<wbr>scalarRange[1])*0.5, 0.0, 1.0, 0.0)<br>
> colorTransferFunction.<wbr>AddRGBPoint(scalarRange[1], 1.0, 0.0, 0.0)<br>
><br>
> # The property describes how the data will look.<br>
> volumeProperty = vtk.vtkVolumeProperty()<br>
> volumeProperty.SetColor(<wbr>colorTransferFunction)<br>
> volumeProperty.<wbr>SetScalarOpacity(<wbr>opacityTransferFunction)<br>
> volumeProperty.<wbr>SetScalarOpacityUnitDistance(<wbr>1.73205080757)<br>
> volumeProperty.<wbr>SetInterpolationTypeToLinear()<br>
> volumeProperty.ShadeOn()<br>
><br>
> # vtkVolumeRayCastMapper need data of type unsigned char or unsigned short<br>
> cast = vtk.vtkImageCast()<br>
> cast.SetInputConnection(<wbr>probeFilter.GetOutputPort())<br>
> cast.<wbr>SetOutputScalarTypeToUnsignedC<wbr>har()<br>
> cast.Update()<br>
><br>
> ## The mapper / ray cast function know how to render the data<br>
> compositeFunction = vtk.<wbr>vtkVolumeRayCastCompositeFunct<wbr>ion()<br>
> volumeMapper = vtk.vtkVolumeRayCastMapper()<br>
> volumeMapper.<wbr>SetVolumeRayCastFunction(<wbr>compositeFunction)<br>
> volumeMapper.<wbr>SetInputConnection(cast.<wbr>GetOutputPort())<br>
><br>
><br>
> #The volume holds the mapper and the property.<br>
> volume = vtk.vtkVolume()<br>
> volume.SetMapper(volumeMapper)<br>
> volume.SetProperty(<wbr>volumeProperty)<br>
><br>
> #Create the standard renderer, render window and interactor<br>
> ren = vtk.vtkRenderer()<br>
><br>
> renWin = vtk.vtkRenderWindow()<br>
> renWin.AddRenderer(ren)<br>
><br>
> iren = vtk.vtkRenderWindowInteractor(<wbr>)<br>
> iren.SetRenderWindow(renWin)<br>
><br>
> ren.AddVolume(volume)<br>
> ren.SetBackground(1, 1, 1)<br>
> renWin.SetSize(600, 600)<br>
> renWin.Render()<br>
><br>
> iren.Initialize()<br>
> renWin.Render()<br>
> iren.Start()<br>
><br>
><br>
><br>
><br>
> On Thu, Jul 26, 2018 at 9:35 PM, kenichiro yoshimi <<a href="mailto:rccm.kyoshimi@gmail.com">rccm.kyoshimi@gmail.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> Your question is not clear enough. If you possible, can you post your<br>
>> code? I don't have a problem with volume rendering in my code.<br>
>><br>
>> ----<br>
>> import vtk<br>
>><br>
>><br>
>> def main():<br>
>><br>
>>     reader = vtk.vtkDelimitedTextReader()<br>
>>     reader.SetFileName('sample.<wbr>csv')<br>
>>     reader.DetectNumericColumnsOn(<wbr>)<br>
>>     reader.<wbr>SetFieldDelimiterCharacters(' ')<br>
>>     reader.<wbr>MergeConsecutiveDelimitersOn()<br>
>><br>
>>     tableToPoints = vtk.vtkTableToPolyData()<br>
>>     tableToPoints.<wbr>SetInputConnection(reader.<wbr>GetOutputPort())<br>
>>     tableToPoints.SetXColumn('<wbr>Field 0')<br>
>>     tableToPoints.SetYColumn('<wbr>Field 1')<br>
>>     tableToPoints.SetZColumn('<wbr>Field 2')<br>
>><br>
>>     imageData = vtk.vtkImageData()<br>
>>     imageData.SetDimensions(3, 3, 3)<br>
>>     imageData.SetOrigin(0.0, 0.0, 0.0)<br>
>>     imageData.SetSpacing(1.0, 1.0, 1.0)<br>
>><br>
>>     probeFilter = vtk.vtkProbeFilter()<br>
>>     probeFilter.<wbr>SetSourceConnection(<wbr>tableToPoints.GetOutputPort())<br>
>>     probeFilter.SetInputData(<wbr>imageData)<br>
>>     probeFilter.Update()<br>
>><br>
>>     writer = vtk.vtkXMLImageDataWriter()<br>
>>     writer.SetInputData(<wbr>probeFilter.GetOutput())<br>
>>     writer.SetFileName('out.vti')<br>
>>     writer.Write()<br>
>><br>
>>     probeFilter.GetOutput().<wbr>GetPointData().<wbr>SetActiveScalars('Field 3')<br>
>>     range = probeFilter.GetOutput().<wbr>GetPointData().GetScalars().<wbr>GetRange()<br>
>><br>
>>     colors = vtk.vtkNamedColors()<br>
>><br>
>>     # Create the standard renderer, render window<br>
>>     # and interactor.<br>
>>     ren = vtk.vtkRenderer()<br>
>><br>
>>     renWin = vtk.vtkRenderWindow()<br>
>>     renWin.AddRenderer(ren)<br>
>><br>
>>     iren = vtk.vtkRenderWindowInteractor(<wbr>)<br>
>>     iren.SetRenderWindow(renWin)<br>
>><br>
>>     # Create transfer mapping scalar value to opacity.<br>
>>     opacityTransferFunction = vtk.vtkPiecewiseFunction()<br>
>>     opacityTransferFunction.<wbr>AddPoint(range[0], 0.0)<br>
>>     opacityTransferFunction.<wbr>AddPoint(range[1], 1.0)<br>
>><br>
>>     # Create transfer mapping scalar value to color.<br>
>>     colorTransferFunction = vtk.vtkColorTransferFunction()<br>
>>     colorTransferFunction.<wbr>AddRGBPoint(range[0], 0.0, 0.0, 1.0)<br>
>>     colorTransferFunction.<wbr>AddRGBPoint((range[0]+range[1]<wbr>)*0.5, 0.0, 1.0, 0.0)<br>
>>     colorTransferFunction.<wbr>AddRGBPoint(range[1], 1.0, 0.0, 0.0)<br>
>><br>
>>     # The property describes how the data will look.<br>
>>     volumeProperty = vtk.vtkVolumeProperty()<br>
>>     volumeProperty.SetColor(<wbr>colorTransferFunction)<br>
>>     volumeProperty.<wbr>SetScalarOpacity(<wbr>opacityTransferFunction)<br>
>>     volumeProperty.<wbr>SetScalarOpacityUnitDistance(<wbr>1.73205080757)<br>
>>     volumeProperty.<wbr>SetInterpolationTypeToLinear()<br>
>><br>
>>     # The mapper / ray cast function know how to render the data.<br>
>>     volumeMapper = vtk.vtkSmartVolumeMapper()<br>
>>     volumeMapper.<wbr>SetInputConnection(<wbr>probeFilter.GetOutputPort())<br>
>>     volumeMapper.<wbr>SetBlendModeToComposite()<br>
>><br>
>>     # The volume holds the mapper and the property and<br>
>>     # can be used to position/orient the volume.<br>
>>     volume = vtk.vtkVolume()<br>
>>     volume.SetMapper(volumeMapper)<br>
>>     volume.SetProperty(<wbr>volumeProperty)<br>
>><br>
>>     ren.AddVolume(volume)<br>
>><br>
>>     ren.SetBackground(colors.<wbr>GetColor3d("White"))<br>
>>     ren.GetActiveCamera().<wbr>ParallelProjectionOn()<br>
>>     ren.ResetCameraClippingRange()<br>
>>     ren.ResetCamera()<br>
>><br>
>>     renWin.SetSize(600, 600)<br>
>>     renWin.Render()<br>
>><br>
>>     iren.Start()<br>
>><br>
>><br>
>> if __name__ == '__main__':<br>
>>     main()<br>
>> ----<br>
>><br>
>> Regards<br>
>> 2018年7月26日(木) 0:15 Lizeth Castellanos <<a href="mailto:castellanoslizan@gmail.com">castellanoslizan@gmail.com</a>>:<br>
>> ><br>
>> > Thanks for your answers!<br>
>> ><br>
>> > For the case 2) I have one more question: How can I add the scalar values from the intensity ('Field 3') to the data?<br>
>> ><br>
>> > I have added those two lines to your code:<br>
>> ><br>
>> > scalar = probeFilter.GetOutput().<wbr>GetPointData().GetArray('Field 3')<br>
>> > probeFilter.GetOutput().<wbr>GetPointData().SetScalars(<wbr>scalar)<br>
>> ><br>
>> > But when I render the volume, nothing is displayed in the render window.<br>
>> ><br>
>> > Thanks<br>
>> ><br>
>> > Lizeth<br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > On Tue, Jul 24, 2018 at 11:29 PM, kenichiro yoshimi <<a href="mailto:rccm.kyoshimi@gmail.com">rccm.kyoshimi@gmail.com</a>> wrote:<br>
>> >><br>
>> >> Hi,<br>
>> >><br>
>> >> 1)  You need to specify PYTHON_INCLUDE_DIR and PYTHON_LIBRARY to suit<br>
>> >> your own system in the 'advanced options' in cmake.<br>
>> >><br>
>> >> PYTHON_INCLUDE_DIR will be the name of the directory containing the Python.h:<br>
>> >>  e.g. /usr/include/python2.7<br>
>> >> PYTHON_LIBRARY will be the full path to <a href="http://libpython2.7.so" rel="noreferrer" target="_blank">libpython2.7.so</a> (or.a):<br>
>> >>  e.g. /usr/lib64/<a href="http://libpython2.7.so" rel="noreferrer" target="_blank">libpython2.7.so</a><br>
>> >><br>
>> >> 2) For example, if you apply vtkProbeFilter to sample.csv in the<br>
>> >> previous my post, script is something like below.<br>
>> >><br>
>> >> ---<br>
>> >> import vtk<br>
>> >><br>
>> >><br>
>> >> def main():<br>
>> >><br>
>> >>     reader = vtk.vtkDelimitedTextReader()<br>
>> >>     reader.SetFileName('sample.<wbr>csv')<br>
>> >>     reader.DetectNumericColumnsOn(<wbr>)<br>
>> >>     reader.<wbr>SetFieldDelimiterCharacters(' ')<br>
>> >>     reader.<wbr>MergeConsecutiveDelimitersOn()<br>
>> >><br>
>> >>     tableToPoints = vtk.vtkTableToPolyData()<br>
>> >>     tableToPoints.<wbr>SetInputConnection(reader.<wbr>GetOutputPort())<br>
>> >>     tableToPoints.SetXColumn('<wbr>Field 0')<br>
>> >>     tableToPoints.SetYColumn('<wbr>Field 1')<br>
>> >>     tableToPoints.SetZColumn('<wbr>Field 2')<br>
>> >><br>
>> >>     imageData = vtk.vtkImageData()<br>
>> >>     imageData.SetDimensions(3, 3, 3)<br>
>> >>     imageData.SetOrigin(0.0, 0.0, 0.0)<br>
>> >>     imageData.SetSpacing(1.0, 1.0, 1.0)<br>
>> >><br>
>> >>     probeFilter = vtk.vtkProbeFilter()<br>
>> >>     probeFilter.<wbr>SetSourceConnection(<wbr>tableToPoints.GetOutputPort())<br>
>> >>     probeFilter.SetInputData(<wbr>imageData)<br>
>> >>     probeFilter.Update()<br>
>> >><br>
>> >>     writer = vtk.vtkXMLImageDataWriter()<br>
>> >>     writer.SetInputData(<wbr>probeFilter.GetOutput())<br>
>> >>     writer.SetFileName('out.vti')<br>
>> >>     writer.Write()<br>
>> >><br>
>> >><br>
>> >> if __name__ == '__main__':<br>
>> >>     main()<br>
>> >> ---<br>
>> >><br>
>> >> For your reference.<br>
>> >> 2018年7月25日(水) 4:10 Lizeth Castellanos <<a href="mailto:castellanoslizan@gmail.com">castellanoslizan@gmail.com</a>>:<br>
>> >> ><br>
>> >> > Thanks for your help Kenichiro Yoshimi<br>
>> >> ><br>
>> >> > I was able to reproduce some part of your code. However, I encountered new issues.<br>
>> >> ><br>
>> >> > 1)I have all my project under VTK 5.10.1 with python 2.7.12 in linux. I got this error: 'module' object has no attribute 'vtkResampleToImage'.<br>
>> >> >  So I guess that the vtkResampleToImage class is not avaliable for my VTK version.<br>
>> >> >  I tried to build a newer VTK version but I didn't get success. I tried with VTK 7.1.1 and I got  errors related to the python libs Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS).<br>
>> >> ><br>
>> >> > 2) I read that  vtkResampleToImage  samples a dataset on a uniform grid and it internally uses vtkProbeFilter to do the probing. So,  Is there any way to use vtkProbeFilter instead of vtkResampleToImage?<br>
>> >> > I have tested some examples from vtkProbeFilter  but I am confused about how use it  in my specific problem.<br>
>> >> ><br>
>> >> > Thanks,<br>
>> >> ><br>
>> >> > Lizeth<br>
>> >> ><br>
>> >> > On Thu, Jul 19, 2018 at 12:38 AM, kenichiro yoshimi <<a href="mailto:rccm.kyoshimi@gmail.com">rccm.kyoshimi@gmail.com</a>> wrote:<br>
>> >> >><br>
>> >> >> Hi Lizeth,<br>
>> >> >><br>
>> >> >> Because vtkDelimitedTextReader outputs a vtkTable, you firstly need to<br>
>> >> >> convert it to a vtkPolyData using vtkTableToPolyData. And then you can<br>
>> >> >> use vtkResampleToImage to map the polyData to vtkImageData.<br>
>> >> >><br>
>> >> >> ---sample.csv---<br>
>> >> >> 0 0 0 60.7635<br>
>> >> >> 1 0 0 107.555<br>
>> >> >> 2 0 0 80.5241<br>
>> >> >> 0 1 0 85.9694<br>
>> >> >> 1 1 0 156.706<br>
>> >> >> 2 1 0 105.73<br>
>> >> >> 0 2 0 37.3531<br>
>> >> >> 1 2 0 84.1445<br>
>> >> >> 2 2 0 57.1137<br>
>> >> >> 0 0 1 100.634<br>
>> >> >> 1 0 1 171.37<br>
>> >> >> 2 0 1 120.395<br>
>> >> >> 0 1 1 149.785<br>
>> >> >> 1 1 1 260<br>
>> >> >> 2 1 1 169.546<br>
>> >> >> 0 2 1 77.2238<br>
>> >> >> 1 2 1 147.96<br>
>> >> >> 2 2 1 96.9844<br>
>> >> >> 0 0 2 60.7635<br>
>> >> >> 1 0 2 107.555<br>
>> >> >> 2 0 2 80.5241<br>
>> >> >> 0 1 2 85.9694<br>
>> >> >> 1 1 2 156.706<br>
>> >> >> 2 1 2 105.73<br>
>> >> >> 0 2 2 37.3531<br>
>> >> >> 1 2 2 84.1445<br>
>> >> >> 2 2 2 57.1137<br>
>> >> >><br>
>> >> >> ---<br>
>> >> >> import vtk<br>
>> >> >><br>
>> >> >><br>
>> >> >> def main():<br>
>> >> >>     colors = vtk.vtkNamedColors()<br>
>> >> >><br>
>> >> >>     reader = vtk.vtkDelimitedTextReader()<br>
>> >> >>     reader.SetFileName('sample.<wbr>csv')<br>
>> >> >>     reader.DetectNumericColumnsOn(<wbr>)<br>
>> >> >>     reader.<wbr>SetFieldDelimiterCharacters(' ')<br>
>> >> >>     reader.<wbr>MergeConsecutiveDelimitersOn()<br>
>> >> >><br>
>> >> >>     tableToPoints = vtk.vtkTableToPolyData()<br>
>> >> >>     tableToPoints.<wbr>SetInputConnection(reader.<wbr>GetOutputPort())<br>
>> >> >>     tableToPoints.SetXColumn('<wbr>Field 0')<br>
>> >> >>     tableToPoints.SetYColumn('<wbr>Field 1')<br>
>> >> >>     tableToPoints.SetZColumn('<wbr>Field 2')<br>
>> >> >><br>
>> >> >>     resample = vtk.vtkResampleToImage()<br>
>> >> >>     resample.SetInputConnection(<wbr>tableToPoints.GetOutputPort())<br>
>> >> >>     resample.<wbr>SetSamplingDimensions(3, 3, 3)<br>
>> >> >>     resample.Update()<br>
>> >> >><br>
>> >> >>     scalar = resample.GetOutput().<wbr>GetPointData().GetArray('Field 3')<br>
>> >> >>     resample.GetOutput().<wbr>GetPointData().SetScalars(<wbr>scalar)<br>
>> >> >><br>
>> >> >>     writer = vtk.vtkMetaImageWriter()<br>
>> >> >>     writer.SetInputData(resample.<wbr>GetOutput())<br>
>> >> >>     writer.SetFileName('out.mha')<br>
>> >> >>     writer.SetCompression(True)<br>
>> >> >>     writer.Write()<br>
>> >> >><br>
>> >> >><br>
>> >> >> if __name__ == '__main__':<br>
>> >> >>     main()<br>
>> >> >> ---<br>
>> >> >><br>
>> >> >> Best<br>
>> >> >> 2018年7月19日(木) 3:43 Lizeth Castellanos <<a href="mailto:castellanoslizan@gmail.com">castellanoslizan@gmail.com</a>>:<br>
>> >> >> ><br>
>> >> >> > Hi!<br>
>> >> >> ><br>
>> >> >> > I'd like to copy image data from a textfile (csv) into vtkImageData.<br>
>> >> >> > The textfile have voxel values for x,y,z  and image intensity. I already have read the textfile into VTK with the vtkDelimitedTextReader class:<br>
>> >> >> ><br>
>> >> >> > Table loaded from CSV file:<br>
>> >> >> > +-----------+-----------+-----<wbr>------+------------+<br>
>> >> >> > | Field 0   | Field 1   | Field 2   | Field 3    |<br>
>> >> >> > +-----------+-----------+-----<wbr>------+------------+<br>
>> >> >> > | 510       | 291       | 0             | 32           |<br>
>> >> >> > | 511       | 291       | 0             | 128         |<br>
>> >> >> > | 510       | 292       | 0             | 104         |<br>
>> >> >> > | 511       | 292       | 0             | 104         |<br>
>> >> >> > | 510       | 293       | 0             | 40           |<br>
>> >> >> > | 511       | 293       | 0             | 240         |<br>
>> >> >> > | 510       | 294       | 0             | 104         |<br>
>> >> >> > | 511       | 294       | 0             | 96           |<br>
>> >> >> > | 506       | 295       | 0             | 64           |<br>
>> >> >> > | 507       | 295       | 0             | 16           |<br>
>> >> >> >  .....<br>
>> >> >> >  .....<br>
>> >> >> > The file is an exported segmented dataset.<br>
>> >> >> ><br>
>> >> >> > I am following the tips from this similar question  <a href="http://vtk.1045678.n5.nabble.com/importing-image-data-into-VTK-from-textfile-mimics-td1243332.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/importing-image-data-into-<wbr>VTK-from-textfile-mimics-<wbr>td1243332.html</a><br>
>> >> >> > I have created an appropriate  vtkimagedata (volume):<br>
>> >> >> ><br>
>> >> >> > imageData = vtk.vtkImageData()<br>
>> >> >> > imageData.SetDimensions(512, 512, 192)<br>
>> >> >> > imageData.SetOrigin(0.0, 0.0, 0.0)<br>
>> >> >> > imageData.SetSpacing(1, 1, 1)<br>
>> >> >> > imageData.<wbr>SetNumberOfScalarComponents(1)<br>
>> >> >> > imageData.Update()<br>
>> >> >> ><br>
>> >> >> > However I don't know how to copy the data loaded from vtkDelimitedTextReader into vtkImageData. How do I copy the x,y,z voxel values into vtkImageData? How do I copy the intensity valuesVtkImageData?<br>
>> >> >> ><br>
>> >> >> > Any help provided for this would be greatly appreciated!<br>
>> >> >> ><br>
>> >> >> > Lizeth<br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> > ______________________________<wbr>_________________<br>
>> >> >> > Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>> >> >> ><br>
>> >> >> > Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
>> >> >> ><br>
>> >> >> > Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
>> >> >> ><br>
>> >> >> > Follow this link to subscribe/unsubscribe:<br>
>> >> >> > <a href="https://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > --<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> ><br>
>> ><br>
>> ><br>
><br>
><br>
><br>
><br>
> --<br>
> Lizeth  Castellanos.<br>
> PhD Student<br>
> Federal University of Rio Grande do Sul (UFRGS)<br>
><br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Lizeth  Castellanos.</div><div>PhD Student </div><div>Federal University of Rio Grande do Sul (UFRGS)</div><div><br></div><div><br></div></div></div></div></div></div></div></div></div>
</div>