<div dir="ltr">Hi,<div><br></div><div>When I set the dimensions of the data, nothing happens :-(</div><div>Are these dimensions too big, maybe?</div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872982304518452059">csvfile</span>="directory path to my <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872982302445192901">csv</span> file/sample.csv"<br></div><div><div><br></div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872506222089894723"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872506222089894723">reader</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872506224256716670"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872506224256716670">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872506228119968873"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872506228119968873">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872506223836823706"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872506223836823706">vtkDelimitedTextReader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872506227060599459"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872506227060599459">(</span></span>) </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872511597575111220"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872511597575111220">reader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872511598211327294"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872511598211327294">.</span></span>SetFieldDelimiterCharacters<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872511594362717403"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872511594362717403">(</span></span>" ") </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872514075469257201"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872514075469257201">reader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872514074804937412"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872514074804937412">.</span></span>DetectNumericColumnsOn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872514079078553918"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872514079078553918">(</span></span>) </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872517382676215962"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872517382676215962">reader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872517381603300643"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872517381603300643">.</span></span>SetFileName<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872517388355792598"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872517388355792598">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872517388799156242"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872517388799156242">csvfile</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872519886364972337"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872519886364972337">reader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872519885581816932"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872519885581816932">.</span></span>MergeConsecutiveDelimitersOn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872519884586528023"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872519884586528023">(</span></span>) </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872522421280803146"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872522421280803146">reader</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872522429788516264"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872522429788516264">.</span></span>Update<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872522425748839711"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872522425748839711">(</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-15335872528520558829839"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872528520558829839">tableToPoints</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872528526899846851"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872528526899846851">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872528526533466588"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872528526533466588">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872528523354257819"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872528523354257819">vtkTableToPolyData</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872528529024709047"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872528529024709047">(</span></span>) </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872555978203233310"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872555978203233310">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872555976989822287"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872555976989822287">.</span></span>SetInputConnection<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872555978281334550"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872555978281334550">(</span></span>reader<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872555975831319918"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872555975831319918">.</span></span>GetOutputPort<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872555977214567871"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872555977214567871">(</span></span>)) </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872565973632210585"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872565973632210585">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872565971577629604"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872565971577629604">.</span></span>SetXColumn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872565971561130843"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872565971561130843">(</span></span>'Field 0') </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872575986090418708"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872575986090418708">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872575987984515261"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872575987984515261">.</span></span>SetYColumn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872575986282336057"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872575986282336057">(</span></span>'Field 1') </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872585976691692384"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872585976691692384">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872585973898331606"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872585973898331606">.</span></span>SetZColumn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872585975494581346"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872585975494581346">(</span></span>'Field 2') </div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872595977282532044"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872595977282532044">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872595972415304957"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872595972415304957">.</span></span>Update<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872595973672781100"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872595973672781100">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872605976801366023"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872605976801366023">print</span></span> <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872605970286302406"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872605970286302406">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872605979143083484"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872605979143083484">.</span></span>GetInput<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872605979105207865"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872605979105207865">(</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-15335872615982019838905"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872615982019838905">resample</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872615980138816407"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872615980138816407">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872615981028580348"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872615981028580348">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872615980714564306"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872615980714564306">vtkResampleToImage</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872615983376179200"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872615983376179200">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872625987594460498"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872625987594460498">resample</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872625983737051059"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872625983737051059">.</span></span>SetInputConnection<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872625986539750359"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872625986539750359">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872625982176282034"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872625982176282034">tableToPoints</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872625981305906002"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872625981305906002">.</span></span>GetOutputPort<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872625987161280830"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872625987161280830">(</span></span>))</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872635989678100438"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872635989678100438">resample</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872635988282376378"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872635988282376378">.</span></span>SetSamplingDimensions<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872635988024272985"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872635988024272985">(</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-15335872645977730823180"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872645977730823180">resample</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872645971965760469"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872645971965760469">.</span></span>Update<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872645971563164830"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872645971563164830">(</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-15335872655991426174284"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872655991426174284">scalar</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872655999141767695"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872655999141767695">resample</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872655999219669300"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872655999219669300">.</span></span>GetOutput<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872655991885212920"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872655991885212920">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872655999415061100"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872655999415061100">.</span></span>GetPointData<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872655997237632162"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872655997237632162">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872655996502482101"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872655996502482101">.</span></span>GetArray<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872655993288216409"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872655993288216409">(</span></span>'Field 3')</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872665986399127249"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872665986399127249">resample</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872665982336486599"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872665982336486599">.</span></span>GetOutput<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872665985261191190"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872665985261191190">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872665985907705473"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872665985907705473">.</span></span>GetPointData<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872665981346015840"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872665981346015840">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872665981948767423"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872665981948767423">.</span></span>SetScalars<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872665980160222104"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872665980160222104">(</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-15335872685979703973546"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872685979703973546">range</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872685976853378560"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872685976853378560">resample</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872685970458492525"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872685970458492525">.</span></span>GetOutput<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872685978187449817"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872685978187449817">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872685976034618346"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872685976034618346">.</span></span>GetPointData<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872685970615062428"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872685970615062428">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872685978500844399"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872685978500844399">.</span></span>GetScalars<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872685970026616546"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872685970026616546">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872685979802338053"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872685979802338053">.</span></span>GetRange<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872685971885509263"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872685971885509263">(</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-15335872695981968895648"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872695981968895648">writer</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872695983774581977"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872695983774581977">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872695981703315970"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872695981703315970">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872695986540706926"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872695986540706926">vtkMetaImageWriter</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872695980277066579"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872695980277066579">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872705989131737362"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872705989131737362">writer</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872705984423498899"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872705984423498899">.</span></span>SetInputData<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872705982277033546"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872705982277033546">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872705988903732469"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872705988903732469">resample</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872705980646598823"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872705980646598823">.</span></span>GetOutput<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872705980631106936"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872705980631106936">(</span></span>))</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872715982856503191"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872715982856503191">writer</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872715989272968359"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872715989272968359">.</span></span>SetFileName<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872715982869760234"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872715982869760234">(</span></span>'out<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872715981753228524"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872715981753228524">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872715984354125477"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872715984354125477">mha</span></span>')</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872721008526061223"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872721008526061223">writer</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872721002884658350"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872721002884658350">.</span></span>SetCompression<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872721001692710929"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872721001692710929">(</span></span>True)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872721560452394516"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872721560452394516">writer</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872721567705026706"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872721567705026706">.</span></span>Write<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872721562555425793"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872721562555425793">(</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-15335872730583113791842"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872730583113791842">colors</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872730585172264352"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872730585172264352">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872730581171187255"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872730581171187255">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872730580615838111"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872730580615838111">vtkNamedColors</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872730585656638571"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872730585656638571">(</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-15335872736280242896744"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872736280242896744">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-15335872740691379233330"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872740691379233330">interactor</span></span>.</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872744326140202880"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872744326140202880">ren</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872744324875197498"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872744324875197498">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872744329333285022"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872744329333285022">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872744320085116122"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872744320085116122">vtkRenderer</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872744320149996361"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872744320149996361">(</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-15335872754400188906320"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872754400188906320">renWin</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872754404857122899"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872754404857122899">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872754405122349300"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872754405122349300">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872754405850588593"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872754405850588593">vtkRenderWindow</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872754402543214743"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872754402543214743">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872758185092791625"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872758185092791625">renWin</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872758186969010469"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872758186969010469">.</span></span>AddRenderer<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872758180181235982"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872758180181235982">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872758182413494770"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872758182413494770">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-15335872762587296392698"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872762587296392698">iren</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872762580273196057"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872762580273196057">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872762587238610473"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872762587238610473">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872762589507282097"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872762589507282097">vtkRenderWindowInteractor</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872762587212322333"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872762587212322333">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872769301114127732"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872769301114127732">iren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872769306450372109"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872769306450372109">.</span></span>SetRenderWindow<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872769305963704821"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872769305963704821">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872769300078748533"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872769300078748533">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-15335872798230528924292"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872798230528924292">opacityTransferFunction</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872798231051401392"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872798231051401392">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872798238622730602"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872798238622730602">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872798237053189040"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872798237053189040">vtkPiecewiseFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872798236003600063"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872798236003600063">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872802347655952189"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872802347655952189">opacityTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872802345615110061"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872802345615110061">.</span></span>AddPoint<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872802344935318451"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872802344935318451">(</span></span>range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872802342154491785"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872802342154491785">[</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-15335872806035295776700"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872806035295776700">opacityTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872806036311414172"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872806036311414172">.</span></span>AddPoint<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872806037495176312"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872806037495176312">(</span></span>range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872806030083067549"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872806030083067549">[</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-15335872813351234391934"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872813351234391934">color</span></span>.</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872819385416154358"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872819385416154358">colorTransferFunction</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872819380757724947"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872819380757724947">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872819386956682051"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872819386956682051">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872819381312263640"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872819381312263640">vtkColorTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872819381568809520"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872819381568809520">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872824478796174928"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872824478796174928">colorTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872824475564391266"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872824475564391266">.</span></span>AddRGBPoint<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872824479979211877"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872824479979211877">(</span></span>range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872824478732419689"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872824478732419689">[</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-15335872833990947085348"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872833990947085348">colorTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872833992902502226"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872833992902502226">.</span></span>AddRGBPoint<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872833997045325652"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872833997045325652">(</span></span>(range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872833994949519241"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872833994949519241">[</span></span>0<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872833996687584844"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872833996687584844">]</span></span>+range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872833992006767552"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872833992006767552">[</span></span>1]<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872833999536073417"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872833999536073417">)</span></span>*0<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872833999596914999"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872833999596914999">.</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-15335872837678127925985"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872837678127925985">colorTransferFunction</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872837675971023179"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872837675971023179">.</span></span>AddRGBPoint<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872837679711764249"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872837679711764249">(</span></span>range<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872837677510437517"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872837677510437517">[</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-15335872846473986131732"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872846473986131732">volumeProperty</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872846470657615604"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872846470657615604">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872846474080199307"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872846474080199307">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872846477056624746"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872846477056624746">vtkVolumeProperty</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872846474965885212"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872846474965885212">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872853185086106363"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872853185086106363">volumeProperty</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872853181003734224"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872853181003734224">.</span></span>SetColor<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872853188287901693"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872853188287901693">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872853189537945218"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872853189537945218">colorTransferFunction</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872859159050340795"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872859159050340795">volumeProperty</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872859157990969404"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872859157990969404">.</span></span>SetScalarOpacity<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872859152964063241"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872859152964063241">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872859152146464896"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872859152146464896">opacityTransferFunction</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872863151900975273"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872863151900975273">volumeProperty</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872863156436681183"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872863156436681183">.</span></span>SetScalarOpacityUnitDistance<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872863156516729836"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872863156516729836">(</span></span>1.73205080757)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872866036516179145"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872866036516179145">volumeProperty</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872866039671657652"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872866039671657652">.</span></span>SetInterpolationTypeToLinear<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872866039717541528"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872866039717541528">(</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-15335872879899642657750"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872879899642657750">volumeMapper</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872879891773880920"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872879891773880920">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872879898081209046"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872879898081209046">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872879892475569687"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872879892475569687">vtkSmartVolumeMapper</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872879896605227298"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872879896605227298">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872884837449075893"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872884837449075893">volumeMapper</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872884830068407593"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872884830068407593">.</span></span>SetInputConnection<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872884835747754232"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872884835747754232">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872884833796932476"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872884833796932476">resample</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872884836341419112"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872884836341419112">.</span></span>GetOutputPort<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872884830361984874"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872884830361984874">(</span></span>))</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872888885683354081"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872888885683354081">volumeMapper</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872888880778850829"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872888880778850829">.</span></span>SetBlendModeToComposite<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872888884575359866"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872888884575359866">(</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-15335872900742880130233"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872900742880130233">volume</span></span> = <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872900743729051635"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872900743729051635">vtk</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872900746060120465"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872900746060120465">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872900747632797390"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872900747632797390">vtkVolume</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872900741302145753"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872900741302145753">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872904133329505184"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872904133329505184">volume</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872904134019789419"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872904134019789419">.</span></span>SetMapper<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872904133728067487"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872904133728067487">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872904131659657375"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872904131659657375">volumeMapper</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872907635853492081"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872907635853492081">volume</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872907636982707381"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872907636982707381">.</span></span>SetProperty<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872907636537515419"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872907636537515419">(</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872907632002756316"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872907632002756316">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-15335872913164794032887"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872913164794032887">ren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872913164232873456"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872913164232873456">.</span></span>AddVolume<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872913160976720701"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872913160976720701">(</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-15335872918884675009909"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872918884675009909">ren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872918885830159156"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872918885830159156">.</span></span>SetBackground<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872918889494663285"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872918889494663285">(</span></span>colors<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872918888948052563"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872918888948052563">.</span></span>GetColor3d<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872918888862820971"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872918888862820971">(</span></span>"White"))</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872934142953617081"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872934142953617081">ren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872934140186310115"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872934140186310115">.</span></span>GetActiveCamera<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872934143810410974"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872934143810410974">(</span></span>)<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872934146038513458"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872934146038513458">.</span></span>ParallelProjectionOn<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872934140205542225"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872934140205542225">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872936990405492913"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872936990405492913">ren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872936992476885316"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872936992476885316">.</span></span>ResetCameraClippingRange<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872936990971188030"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872936990971188030">(</span></span>)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872942230384168734"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872942230384168734">ren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872942230345384864"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872942230345384864">.</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872942237841632111"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872942237841632111">ResetCamera</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872942238761910935"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872942238761910935">(</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-15335872946043816871375"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872946043816871375">renWin</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872946042772192475"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872946042772192475">.</span></span>SetSize<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872946046174738201"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872946046174738201">(</span></span>600, 600)</div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872948651063396115"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872948651063396115">renWin</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872948650008200793"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872948650008200793">.</span></span>Render<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872948658709462963"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872948658709462963">(</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-15335872952838656757378"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335872952838656757378">iren</span></span><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872952835543201560"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872952835543201560">.</span></span>Start<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872952832299992275"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335872952832299992275">(</span></span>)</div></div><div><br></div><div><br></div><div>This is the output from print tableToPoints.GetInput()</div><div><br></div><div><div><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871825233847485053"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871825233847485053"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871825233847485053">vtkTable</span></span></span> (0x2e87f60)</div><div> Debug: Off</div><div> Modified Time: 439</div><div> Reference Count: 2</div><div> Registered Events: (none)</div><div> Information: 0x2e87950</div><div> Data Released: False</div><div> Global Release Data: Off</div><div> <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871846142945035332"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871846142945035332"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871846142945035332">UpdateTime</span></span></span>: 459</div><div> Field Data:</div><div> Debug: Off</div><div> Modified Time: 162</div><div> Reference Count: 1</div><div> Registered Events: (none)</div><div> Number Of Arrays: 0</div><div> Number Of Components: 0</div><div> Number Of Tuples: 0</div><div> <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871869632510684723"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871869632510684723"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871869632510684723">RowData</span></span></span>: </div><div> Debug: Off</div><div> Modified Time: 438</div><div> Reference Count: 1</div><div> Registered Events: (none)</div><div> Number Of Arrays: 4</div><div> Array 0 <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871877751559915318"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871877751559915318"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871877751559915318">name</span></span></span> = Field 0</div><div> Array 1 name = Field 1</div><div> Array 2 <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871884973898377432"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871884973898377432"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871884973898377432">name</span></span></span> = Field 2</div><div> Array 3 <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871888394545602350"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871888394545602350"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871888394545602350">name</span></span></span> = Field 3</div><div> Number Of Components: 4</div><div> Number Of Tuples: 2756596</div><div> Copy Tuple Flags: <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871897401311207862"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871897401311207862"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871897401311207862">( </span></span></span>1 1 1 1 1 0 1 1<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871897408544750005"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871897408544750005"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871897408544750005"> )</span></span></span></div><div> Interpolate Flags: <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871901087433312829"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871901087433312829"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871901087433312829">( </span></span></span>1 1 1 1 1 0 0 1<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871901083537624446"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871901083537624446"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871901083537624446"> )</span></span></span></div><div> Pass Through Flags: <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871905346562319019"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871905346562319019"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871905346562319019">( </span></span></span>1 1 1 1 1 1 1 1<span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871905349728632729"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871905349728632729"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-3" id="gmail-gwmw-15335871905349728632729"> )</span></span></span></div><div> Scalars: (none)</div><div> Vectors: (none)</div><div> Normals: (none)</div><div> <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871917064541438318"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871917064541438318"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871917064541438318">TCoords</span></span></span>: (none)</div><div> Tensors: (none)</div><div> <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871924312679745395"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871924312679745395"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871924312679745395">GlobalIds</span></span></span>: (none)</div><div> <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871928619091972838"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871928619091972838"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871928619091972838">PedigreeIds</span></span></span>: (none)</div><div> <span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871932377664803504"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871932377664803504"><span class="gmail-ginger-module-highlighter-mistake-anim gmail-ginger-module-highlighter-mistake-type-1" id="gmail-gwmw-15335871932377664803504">EdgeFlag</span></span></span>: (none)</div></div><div><br></div><div><br></div><div>Thanks</div><div><br></div><div>Lizeth</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 2, 2018 at 5:59 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"><div><div dir="auto">Hello,</div></div><div dir="auto"><br></div><div dir="auto">Did you set the dimensions based on your own data? It looks all dimensions indicate 3.</div><div dir="auto"><br></div><div dir="auto">Thanks</div><div><br><div class="gmail_quote"><div dir="ltr">2018年8月3日(金) 4:50 Lizeth Castellanos <<a href="mailto:castellanoslizan@gmail.com" target="_blank">castellanoslizan@gmail.com</a>>:<br></div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Thanks for help me.</div><div>I have confirmed the out.vti using Paraview's volume rendering. I don't know what is wrong, I get a solid cube again :-(</div><div>I am attaching a screenshot. Could you see, please?</div><div><br></div><div>Thanks</div></div><div dir="ltr"><div>Lizeth<br></div></div><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 1, 2018 at 10:20 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>
Thanks for trying.<br>
Could you confirm if out.vti is visualized properly using ParaView's<br>
volume rendering?<br>
<br>
Regards<br>
2018年8月2日(木) 6:12 Lizeth Castellanos <<a href="mailto:castellanoslizan@gmail.com" target="_blank">castellanoslizan@gmail.com</a>>:<br>
<div class="m_-5512770821380974806m_8285101241440346349HOEnZb"><div class="m_-5512770821380974806m_8285101241440346349h5">><br>
> Hi,<br>
><br>
> I got VTK 7.1.1 in my computer, finally! So, I have tested the two solutions that you have suggested:<br>
> 1) using vtkProbeFilter<br>
> 2) using vtkResampleToImage<br>
><br>
> 1) I have adjusted the image dimensions according to my own data and I am using vtkSmartVolumeMapper, instead of vtkVolumeRaycastMapper.<br>
> No errors are generated in the terminal. However, I have been waiting for several minutes and nothing happens.<br>
> Do you have any idea what is wrong?<br>
><br>
><br>
> csvfile="directory path to my csv file/sample.csv"<br>
><br>
> reader = vtk.vtkDelimitedTextReader()<br>
> reader.<wbr>SetFieldDelimiterCharacters(" ")<br>
> reader.DetectNumericColumnsOn(<wbr>)<br>
> reader.SetFileName(csvfile)<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>
><br>
> imageData = vtk.vtkImageData()<br>
> imageData.SetDimensions(512, 512, 192)<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>
> iren.Start()<br>
><br>
><br>
> 2) I have tested the vtkResampleToImage class, (the solution that you suggest at the beginning of this thread). However, I get a solid a cube as output.<br>
> Do you have any idea why that happens?<br>
><br>
> csvfile="directory path to my csv file/sample.csv"<br>
><br>
> reader = vtk.vtkDelimitedTextReader()<br>
> reader.<wbr>SetFieldDelimiterCharacters(" ")<br>
> reader.DetectNumericColumnsOn(<wbr>)<br>
> reader.SetFileName(csvfile)<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>
> resample = vtk.vtkResampleToImage()<br>
> resample.SetInputConnection(<wbr>tableToPoints.GetOutputPort())<br>
> resample.<wbr>SetSamplingDimensions(3, 3, 3)<br>
> resample.<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><div dir="ltr"><div class="gmail_extra">-- <br><div class="m_-5512770821380974806m_8285101241440346349gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div><br></div></div></div></div></div></div>
</div></div>
</blockquote></div></div></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><br></div><div><br></div></div></div></div></div></div></div></div></div>
</div></div>