<br><br><div class="gmail_quote">On Wed, Nov 3, 2010 at 10:40 PM, Donny <span dir="ltr">&lt;<a href="mailto:donnyz@charter.net">donnyz@charter.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">












<div lang="EN-US" link="blue" vlink="blue">

<div>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Wow. Thanks Aashish.</span></font></p></div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="blue"><div><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">It would be nice if vtkTextureMapToSphere
would do this mapping correctly.</span></font></p></div></div></blockquote><div><br></div><div>I have to look into the implementation to say for sure. But modelling tools like Maya / 3D Max has spherical projection techniques to generate UV. Not sure what <span class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; color: rgb(0, 0, 128); ">vtkTextureMapToSphere uses. </span></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-US" link="blue" vlink="blue">
<div>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">I have one question about implementing
this. I need to convert the lat lon coordinates to meters from a defined
origin. I think vtkGeoAssignCoordinates will do the job. Can I use this filter
after the texture coordinates are set using your code?</span></font></p></div></div></blockquote><div><br></div><div>Well are you try to convert to UTM ( I am not sure if <span class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; color: rgb(0, 0, 128); ">vtkGeoAssignCoordinates will do what you are looking for) </span>? For your second question  yes you can use the filter as that would just transform the points (vtkPoints) and not texture coordinate. </div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-US" link="blue" vlink="blue"><div><p class="MsoNormal">
 </p></div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-US" link="blue" vlink="blue"><div><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
</div></div></blockquote><div>Sent from Mobile Device </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-US" link="blue" vlink="blue"><div>


<p class="MsoNormal" style="margin-left:.5in"><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"></span></font></p><div class="im"><font size="2" face="Tahoma">-----Original Message-----<br>
<b><span style="font-weight:bold">From:</span></b> Aashish Chaudhary
[mailto:<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>] <br>
</font></div><div><div><font size="2" face="Tahoma"></font></div><div class="h5"><font size="2" face="Tahoma"><b><span style="font-weight:bold">Sent:</span></b> Wednesday, November 03, 2010
1:05 AM<br>
<b><span style="font-weight:bold">To:</span></b> Donny<br>
<b><span style="font-weight:bold">Cc:</span></b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [vtkusers] How To
Texture Map a patch with vtkGlobeSource</font></div></div><p></p><div><div></div><div class="h5">

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

<div>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Hi Donny, </span></font></p>

</div>

<div>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

</div>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">I didn&#39;t get the time to  clean this code but it
will work for you .. </span></font></p>

<div>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

</div>

<div>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">I just modified a test (and hence it look bit
different)</span></font></p>

</div>

<div>

<table border="0" cellpadding="0" width="578" style="width:433.5pt;margin-left:39.0pt">
 <tbody><tr>
  <td style="padding:.75pt .75pt .75pt .75pt"><pre><font size="2" color="green" face="Courier New"><span style="font-size:10.0pt;color:green"><br>
  <br>
  </span></font></pre><pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&lt;vtkGlobeSource.h&gt;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&lt;vtkPolyDataMapper.h&gt;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&lt;vtkActor.h&gt;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&lt;vtkPointData.h&gt;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&lt;vtkDoubleArray.h&gt;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkBMPReader.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkCamera.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkGeoAlignedImageRepresentation.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkGeoAlignedImageSource.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkGeoEdgeStrategy.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkGeoFileImageSource.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkGeoFileTerrainSource.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkGeoGlobeSource.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkGeoProjection.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkGeoProjectionSource.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkGeoRandomGraphSource.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkGeoSphereTransform.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkGeoTerrain.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkGeoTerrainNode.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkGeoTerrain2D.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkGeoTransform.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkGeoView.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkGeoView2D.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkGraphLayoutView.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkJPEGReader.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkRegressionTestImage.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkRenderedGraphRepresentation.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkRenderer.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkRenderWindow.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkRenderWindowInteractor.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkSmartPointer.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkStdString.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkTestUtilities.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkTIFFReader.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkViewTheme.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;vtkViewUpdater.h&quot;</span></font></pre>
<pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#include</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&lt;vtksys/SystemTools.hxx&gt;</span></font></pre>
<pre><font size="2" face="Courier New"><span style="font-size:10.0pt"> </span></font></pre><pre><font size="2" color="navy" face="Courier New"><span style="font-size:10.0pt;color:navy">#define</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>VTK_CREATE<font color="black"><span style="color:black">(</span></font>type<font color="black"><span style="color:black">,</span></font>name<font color="black"><span style="color:black">)</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>\</pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>vtkSmartPointer<font color="black"><span style="color:black">&lt;</span></font>type<font color="black"><span style="color:black">&gt;</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>name<font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">=</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>vtkSmartPointer<font color="black"><span style="color:black">&lt;</span></font>type<font color="black"><span style="color:black">&gt;::</span></font>New<font color="black"><span style="color:black">();</span></font></pre>
<pre><font size="2" color="olive" face="Courier New"><span style="font-size:10.0pt;color:olive">int</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>TestGeoView<font color="black"><span style="color:black">(</span></font><font color="olive"><span style="color:olive">int</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>argc<font color="black"><span style="color:black">,</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="olive"><span style="color:olive">char</span></font><font color="black"><span style="color:black">*</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>argv<font color="black"><span style="color:black">[])</span></font></pre>
<pre><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;color:black">{</span></font></pre><pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font><font color="olive"><span style="color:olive">char</span></font><font color="black"><span style="color:black">*</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>image<font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">=</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>vtkTestUtilities<font color="black"><span style="color:black">::</span></font>ExpandDataFileName<font color="black"><span style="color:black">(</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">    </span></font>argc<font color="black"><span style="color:black">,</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>argv<font color="black"><span style="color:black">,</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="green"><span style="color:green">&quot;Data/usa_image.jpg&quot;</span></font><font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>vtkStdString<font color="#aa55ff"><span style="color:#AA55FF"> </span></font>imageFile<font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">=</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>image<font color="black"><span style="color:black">;</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>vtkSmartPointer<font color="black"><span style="color:black">&lt;</span></font>vtkJPEGReader<font color="black"><span style="color:black">&gt;</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>reader<font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">=</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">    </span></font>vtkSmartPointer<font color="black"><span style="color:black">&lt;</span></font>vtkJPEGReader<font color="black"><span style="color:black">&gt;::</span></font>New<font color="black"><span style="color:black">();</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>reader<font color="black"><span style="color:black">-&gt;</span></font>SetFileName<font color="black"><span style="color:black">(</span></font>imageFile<font color="black"><span style="color:black">.</span></font>c_str<font color="black"><span style="color:black">());</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>reader<font color="black"><span style="color:black">-&gt;</span></font>Update<font color="black"><span style="color:black">();</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font><font color="olive"><span style="color:olive">double</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>latRange<font color="black"><span style="color:black">[]</span></font><font color="#aa55ff"><span style="color:#AA55FF">  </span></font><font color="black"><span style="color:black">=</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">{</span></font><font color="navy"><span style="color:navy">24</span></font><font color="black"><span style="color:black">,</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="navy"><span style="color:navy">50</span></font><font color="black"><span style="color:black">};</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font><font color="olive"><span style="color:olive">double</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>longRange<font color="black"><span style="color:black">[]</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">=</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">{-</span></font><font color="navy"><span style="color:navy">126</span></font><font color="black"><span style="color:black">,</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">-</span></font><font color="navy"><span style="color:navy">66</span></font><font color="black"><span style="color:black">};</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>VTK_CREATE<font color="black"><span style="color:black">(</span></font>vtkGlobeSource<font color="black"><span style="color:black">,</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>globeSource<font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>globeSource<font color="black"><span style="color:black">-&gt;</span></font>SetStartLatitude<font color="black"><span style="color:black">(</span></font>latRange<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">0</span></font><font color="black"><span style="color:black">]);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>globeSource<font color="black"><span style="color:black">-&gt;</span></font>SetEndLatitude<font color="black"><span style="color:black">(</span></font>latRange<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">1</span></font><font color="black"><span style="color:black">]);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>globeSource<font color="black"><span style="color:black">-&gt;</span></font>SetStartLongitude<font color="black"><span style="color:black">(</span></font>longRange<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">0</span></font><font color="black"><span style="color:black">]);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>globeSource<font color="black"><span style="color:black">-&gt;</span></font>SetEndLongitude<font color="black"><span style="color:black">(</span></font>longRange<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">1</span></font><font color="black"><span style="color:black">]);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>globeSource<font color="black"><span style="color:black">-&gt;</span></font>Update<font color="black"><span style="color:black">();</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>VTK_CREATE<font color="black"><span style="color:black">(</span></font>vtkActor<font color="black"><span style="color:black">,</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>actor<font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>VTK_CREATE<font color="black"><span style="color:black">(</span></font>vtkPolyDataMapper<font color="black"><span style="color:black">,</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>mapper<font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>vtkDoubleArray<font color="black"><span style="color:black">*</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>newArray<font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">(</span></font>vtkDoubleArray<font color="black"><span style="color:black">::</span></font>New<font color="black"><span style="color:black">());</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>newArray<font color="black"><span style="color:black">-&gt;</span></font>SetNumberOfComponents<font color="black"><span style="color:black">(</span></font><font color="navy"><span style="color:navy">2</span></font><font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>vtkDoubleArray<font color="black"><span style="color:black">*</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>array<font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">=</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>vtkDoubleArray<font color="black"><span style="color:black">::</span></font>SafeDownCast<font color="black"><span style="color:black">(</span></font>globeSource<font color="black"><span style="color:black">-&gt;</span></font>GetOutput<font color="black"><span style="color:black">(</span></font><font color="navy"><span style="color:navy">0</span></font><font color="black"><span style="color:black">)-&gt;</span></font>GetPointData<font color="black"><span style="color:black">()-&gt;</span></font>GetAbstractArray<font color="black"><span style="color:black">(</span></font><font color="green"><span style="color:green">&quot;LatLong&quot;</span></font><font color="black"><span style="color:black">));</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font><font color="olive"><span style="color:olive">double</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>range<font color="black"><span style="color:black">[]</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">=</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">{</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">(</span></font>latRange<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">1</span></font><font color="black"><span style="color:black">]</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">-</span></font>latRange<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">0</span></font><font color="black"><span style="color:black">]),</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">                     </span></font><font color="black"><span style="color:black">(</span></font>longRange<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">1</span></font><font color="black"><span style="color:black">]</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">-</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>longRange<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">0</span></font><font color="black"><span style="color:black">])</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">};</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font><font color="olive"><span style="color:olive">double</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>val<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">2</span></font><font color="black"><span style="color:black">];</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font><font color="olive"><span style="color:olive">double</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>newVal<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">2</span></font><font color="black"><span style="color:black">];</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font><font color="olive"><span style="color:olive">for</span></font><font color="black"><span style="color:black">(</span></font><font color="olive"><span style="color:olive">int</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>i<font color="black"><span style="color:black">=</span></font><font color="navy"><span style="color:navy">0</span></font><font color="black"><span style="color:black">;</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>i<font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">&lt;</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>array<font color="black"><span style="color:black">-&gt;</span></font>GetNumberOfTuples<font color="black"><span style="color:black">();</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">++</span></font>i<font color="black"><span style="color:black">)</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">    </span></font><font color="black"><span style="color:black">{</span></font></pre><pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">     </span></font>array<font color="black"><span style="color:black">-&gt;</span></font>GetTupleValue<font color="black"><span style="color:black">(</span></font>i<font color="black"><span style="color:black">,</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>val<font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">     </span></font>newVal<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">1</span></font><font color="black"><span style="color:black">]</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">=</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">(</span></font>val<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">0</span></font><font color="black"><span style="color:black">]</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">-</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>latRange<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">0</span></font><font color="black"><span style="color:black">])</span></font><font color="#aa55ff"><span style="color:#AA55FF">  </span></font><font color="black"><span style="color:black">/</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>range<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">0</span></font><font color="black"><span style="color:black">];</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">     </span></font>newVal<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">0</span></font><font color="black"><span style="color:black">]</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">=</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">(</span></font>val<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">1</span></font><font color="black"><span style="color:black">]</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">-</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>longRange<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">1</span></font><font color="black"><span style="color:black">])</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">/</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>range<font color="black"><span style="color:black">[</span></font><font color="navy"><span style="color:navy">1</span></font><font color="black"><span style="color:black">];</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">     </span></font>newArray<font color="black"><span style="color:black">-&gt;</span></font>InsertNextTuple<font color="black"><span style="color:black">(</span></font>newVal<font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">    </span></font><font color="black"><span style="color:black">}</span></font></pre><pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>globeSource<font color="black"><span style="color:black">-&gt;</span></font>GetOutput<font color="black"><span style="color:black">(</span></font><font color="navy"><span style="color:navy">0</span></font><font color="black"><span style="color:black">)-&gt;</span></font>GetPointData<font color="black"><span style="color:black">()-&gt;</span></font>SetTCoords<font color="black"><span style="color:black">(</span></font>newArray<font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>mapper<font color="black"><span style="color:black">-&gt;</span></font>SetInput<font color="black"><span style="color:black">(</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>globeSource<font color="black"><span style="color:black">-&gt;</span></font>GetOutput<font color="black"><span style="color:black">(</span></font><font color="navy"><span style="color:navy">0</span></font><font color="black"><span style="color:black">)</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>actor<font color="black"><span style="color:black">-&gt;</span></font>SetMapper<font color="black"><span style="color:black">(</span></font>mapper<font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>VTK_CREATE<font color="black"><span style="color:black">(</span></font>vtkTexture<font color="black"><span style="color:black">,</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>texture<font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>texture<font color="black"><span style="color:black">-&gt;</span></font>SetInput<font color="black"><span style="color:black">(</span></font>reader<font color="black"><span style="color:black">-&gt;</span></font>GetOutputDataObject<font color="black"><span style="color:black">(</span></font><font color="navy"><span style="color:navy">0</span></font><font color="black"><span style="color:black">));</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>actor<font color="black"><span style="color:black">-&gt;</span></font>SetTexture<font color="black"><span style="color:black">(</span></font>texture<font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>VTK_CREATE<font color="black"><span style="color:black">(</span></font>vtkRenderWindow<font color="black"><span style="color:black">,</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>renWin<font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>VTK_CREATE<font color="black"><span style="color:black">(</span></font>vtkRenderWindowInteractor<font color="black"><span style="color:black">,</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>renWinInt<font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>VTK_CREATE<font color="black"><span style="color:black">(</span></font>vtkRenderer<font color="black"><span style="color:black">,</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>ren<font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>ren<font color="black"><span style="color:black">-&gt;</span></font>AddActor<font color="black"><span style="color:black">(</span></font>actor<font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>renWin<font color="black"><span style="color:black">-&gt;</span></font>AddRenderer<font color="black"><span style="color:black">(</span></font>ren<font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>renWinInt<font color="black"><span style="color:black">-&gt;</span></font>SetRenderWindow<font color="black"><span style="color:black">(</span></font>renWin<font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>renWin<font color="black"><span style="color:black">-&gt;</span></font>SetSize<font color="black"><span style="color:black">(</span></font><font color="navy"><span style="color:navy">400</span></font><font color="black"><span style="color:black">,</span></font><font color="navy"><span style="color:navy">400</span></font><font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>renWin<font color="black"><span style="color:black">-&gt;</span></font>Render<font color="black"><span style="color:black">();</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>renWinInt<font color="black"><span style="color:black">-&gt;</span></font>Initialize<font color="black"><span style="color:black">();</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font>renWin<font color="black"><span style="color:black">-&gt;</span></font>Render<font color="black"><span style="color:black">();</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font><font color="olive"><span style="color:olive">int</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>retVal<font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">=</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>vtkRegressionTestImage<font color="black"><span style="color:black">(</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>renWin<font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">);</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font><font color="olive"><span style="color:olive">if</span></font><font color="black"><span style="color:black">(</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>retVal<font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="black"><span style="color:black">==</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font>vtkRegressionTester<font color="black"><span style="color:black">::</span></font>DO_INTERACTOR<font color="black"><span style="color:black">)</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">    </span></font><font color="black"><span style="color:black">{</span></font></pre><pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">    </span></font>renWinInt<font color="black"><span style="color:black">-&gt;</span></font>Start<font color="black"><span style="color:black">();</span></font></pre>
<pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">    </span></font><font color="black"><span style="color:black">}</span></font></pre><pre><font size="2" color="#aa55ff" face="Courier New"><span style="font-size:10.0pt;color:#AA55FF">  </span></font><font color="olive"><span style="color:olive">return</span></font><font color="#aa55ff"><span style="color:#AA55FF"> </span></font><font color="navy"><span style="color:navy">0</span></font><font color="black"><span style="color:black">;</span></font></pre>
<pre><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;color:black">}</span></font></pre></td>
 </tr>
</tbody></table>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

</div>

<div>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Attached is the screenshot of my test.. </span></font></p>

</div>

<div>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

</div>

<div>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

<div>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Tue, Nov 2, 2010 at 10:56 PM, Donny &lt;<a href="mailto:donnyz@charter.net" target="_blank">donnyz@charter.net</a>&gt;
wrote:</span></font></p>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Thanks for the help Aashish. I have attached 3 image
files, one with the<br>
AutomaticSphereGenerationOff() set on the vtkTextureMapToSphere object and<br>
one with AutomaticSphereGenerationOn(). The third image is not a screenshot,<br>
it is the actual texture I am trying to map to the patch.  The only
settings<br>
I set on the vtkGlobeSource are :<br>
gs-&gt;SetStartLatitude(24.0);<br>
gs-&gt;SetEndLatitude(50.0);<br>
gs-&gt;SetStartLongitude(-126.0);<br>
gs-&gt;SetEndLongitude(-66.0);<br>
<br>
As you can see the GlobeSource patch geometry is rendering as intended, but<br>
the texture is not appearing correctly.</span></font></p>

<div>

<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
&quot;you can have<br>
<br>
tx = asin(Nx)/PI  + 0.5<br>
ty = asin(Ny)/PI + 0.5&quot;</span></font></p>

</div>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Is there a filter that will perform this mapping for
me?<br>
<br>
Thanks.</span></font></p>

<div>

<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
-----Original Message-----<br>
From: Aashish Chaudhary [mailto:<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>]<br>
Sent: Tuesday, November 02, 2010 10:11 AM<br>
To: Donny<br>
Cc: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
Subject: Re: [vtkusers] How To Texture Map a patch with vtkGlobeSource</span></font></p>

</div>

<div>

<div>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Hi Donny,<br>
- Show quoted text -<br>
I have not used vtkTextureMapToSphere myself but can you try to<br>
generate your own texture coordinates? globe source does produce<br>
normals and in its very simplistic approach  ...<br>
<br>
you can have<br>
<br>
tx = asin(Nx)/PI  + 0.5<br>
ty = asin(Ny)/PI + 0.5<br>
<br>
In a shader you can do it easily.  Not sure why vtkTextureMapToSphere<br>
didn&#39;t work. Will find out.<br>
<br>
Can you post a snapshot?<br>
<br>
On Tue, Nov 2, 2010 at 12:01 AM, Donny &lt;<a href="mailto:donnyz@charter.net" target="_blank">donnyz@charter.net</a>&gt; wrote:<br>
&gt; I have created a globe patch with vtkGlobeSource for the general area of<br>
the<br>
&gt; United States (Lat 24 to 50 Deg, Lon -126 to -66 Deg.) using<br>
&gt; SetLatitudeStart, SetLatitudeEnd ... I also have a .bmp image that<br>
&gt; corresponds to these extents and cannot find a filter to generate the<br>
&gt; texture coordinates for this patch so I can texture it. I tried<br>
&gt; vtkTextureMapToSphere and turned auto generate sphere to off but it only<br>
&gt; displayed a small portion of the image onto the patch. How can I generate<br>
&gt; the texture coordinates for a patch such as this?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Donny Zimmerman<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
| Aashish Chaudhary<br>
| R&amp;D Engineer<br>
| Kitware Inc.<br>
| <a href="http://www.kitware.com" target="_blank">www.kitware.com</a></span></font></p>

</div>

</div>

</div>

<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
<br clear="all">
<br>
-- <br>
| Aashish Chaudhary <br>
| R&amp;D Engineer         <br>
| Kitware Inc.            <br>
| <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> 
  </span></font></p>

</div>

</div></div></div>

</div>


</blockquote></div><br><br clear="all"><br>-- <br>| Aashish Chaudhary <br>| R&amp;D Engineer         <br>| Kitware Inc.            <br>| <a href="http://www.kitware.com">www.kitware.com</a>    <br>