<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi,</span><div style="font-family:arial,sans-serif;font-size:13px"> I have one more question, as i have done my example(<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation</a>) using .vtp (for this, we have used the class vtkXMLPolyDataReader) as input in this example. </div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Now, i am making cases in the given example, whether we are taking input as .vtk or .vtp, when i am modifying this code using example (<a href="http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/IO/Cxx/DumpXMLFile.cxx" target="_blank">http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/IO/Cxx/DumpXMLFile.cxx</a>), so i am modifying my curved reformation example like this at Read Polyline:</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><b>//Read Polyline</b></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
<div> std::string extension =</div><div> vtksys::SystemTools::GetFilenameLastExtension(argv[2]);</div><div><br></div><div> if (extension == ".vtp"){</div><div class="im"><div> vtkSmartPointer<vtkXMLPolyDataReader> polyLineReader =</div>
<div> vtkSmartPointer<vtkXMLPolyDataReader>::New(); </div><div> }</div></div><div> else if (extension == ".vtk") {</div><div class="im"><div> vtkSmartPointer<vtkPolyDataReader> polyLineReader =</div>
<div> vtkSmartPointer<vtkPolyDataReader>::New(); </div><div> }</div><div><br></div></div><div> polyLineReader->SetFileName(polyDataFileName.c_str());</div><div> polyLineReader->Update();</div><div><br></div>
</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I am getting the Error:</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div>
<div style="font-family:arial,sans-serif;font-size:13px"><b>'polyLineReader' : undeclared identifier</b><br></div><div style="font-family:arial,sans-serif;font-size:13px"><b><br></b></div><div style="font-family:arial,sans-serif;font-size:13px">
<b>As i have already declared made my object polyLineReader in the using smart pointer in if-else statement.</b></div><div style="font-family:arial,sans-serif;font-size:13px"><b><br></b></div><div style="font-family:arial,sans-serif;font-size:13px">
<b><br></b></div><div style="font-family:arial,sans-serif;font-size:13px">Could you please help me, why it is like this? and how can i modify this to make these case correct?</div><div class="im" style="font-family:arial,sans-serif;font-size:13px">
<div><br></div><div>Looking forward your reply soon.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 3, 2013 at 11:50 AM, rahul indoria <span dir="ltr"><<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@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 dir="ltr">Hi,<div> I have one more question, as i have done my example(<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation</a>) using .vtp (for this, we have used the class vtkXMLPolyDataReader) as input in this example. </div>
<div><br></div><div>Now, i am making cases in the given example, whether we are taking input as .vtk or .vtp, when i am modifying this code using example (<a href="http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/IO/Cxx/DumpXMLFile.cxx" target="_blank">http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/IO/Cxx/DumpXMLFile.cxx</a>), so i am modifying my curved reformation example like this at Read Polyline:</div>
<div><br></div><div><b>//Read Polyline</b></div><div><br></div><div><div> std::string extension =</div><div> vtksys::SystemTools::GetFilenameLastExtension(argv[2]);</div><div><br></div><div> if (extension == ".vtp"){</div>
<div> vtkSmartPointer<vtkXMLPolyDataReader> polyLineReader =</div><div> vtkSmartPointer<vtkXMLPolyDataReader>::New(); </div><div> }</div><div> else if (extension == ".vtk") {</div><div> vtkSmartPointer<vtkPolyDataReader> polyLineReader =</div>
<div> vtkSmartPointer<vtkPolyDataReader>::New(); </div><div> }</div><div><br></div><div> polyLineReader->SetFileName(polyDataFileName.c_str());</div><div> polyLineReader->Update();</div><div><br></div></div>
<div><br></div><div>I am getting the Error:</div><div><br></div><div><b>'polyLineReader' : undeclared identifier</b><br></div><div><b><br></b></div><div><b>As i have already declared made my object polyLineReader in the using smart pointer in if-else statement.</b></div>
<div><b><br></b></div><div><b><br></b></div><div>Could you please help me, why it is like this? and how can i modify this to make these case correct?</div><div><br></div><div>Looking forward your reply soon.</div>
<div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 4:02 PM, rahul indoria <span dir="ltr"><<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@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 dir="ltr">Hi Sebastien,<div> Thank you very much, it`s done.</div><div><br></div><div><br></div>
</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 3:49 PM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Then replace<div><span style="line-height:1.2em;text-align:left;font-size:10px"><br></span></div><div><span style="line-height:1.2em;text-align:left;font-size:10px">vtkSmartPointer</span><span style="font-size:10px;line-height:1.2em;text-align:left;color:rgb(0,0,128)"><</span><span style="line-height:1.2em;text-align:left;font-size:10px">vtkPolyDataReader</span><span style="font-size:10px;line-height:1.2em;text-align:left;color:rgb(0,0,128)">></span><span style="line-height:1.2em;text-align:left;font-size:10px"> polyLineReader </span><span style="font-size:10px;line-height:1.2em;text-align:left;color:rgb(0,0,128)">=<br>
</span><span style="line-height:1.2em;text-align:left;font-size:10px"> vtkSmartPointer</span><span style="font-size:10px;line-height:1.2em;text-align:left;color:rgb(0,0,128)"><</span><span style="line-height:1.2em;text-align:left;font-size:10px">vtkPolyDataReader</span><span style="font-size:10px;line-height:1.2em;text-align:left;color:rgb(0,0,128)">></span><span style="font-size:10px;line-height:1.2em;text-align:left;color:rgb(0,128,128)">::</span><span style="font-size:10px;line-height:1.2em;text-align:left;color:rgb(0,119,136)">New</span><span style="font-size:10px;line-height:1.2em;text-align:left;color:rgb(0,128,0)">(</span><span style="font-size:10px;line-height:1.2em;text-align:left;color:rgb(0,128,0)">)</span><span style="font-size:10px;line-height:1.2em;text-align:left;color:rgb(0,128,128)">;</span><div>
<br></div><div>by</div><div><span style="line-height:1.2em;text-align:left;font-size:10px"><br></span></div><div><span style="line-height:1.2em;text-align:left;font-size:10px">vtkSmartPointer</span><span style="font-size:10px;line-height:1.2em;text-align:left;color:rgb(0,0,128)"><</span><span style="line-height:1.2em;text-align:left;font-size:10px">vtkXMLPolyDataReader</span><span style="font-size:10px;line-height:1.2em;text-align:left;color:rgb(0,0,128)">></span><span style="line-height:1.2em;text-align:left;font-size:10px"> polyLineReader </span><span style="font-size:10px;line-height:1.2em;text-align:left;color:rgb(0,0,128)">=</span><pre style="vertical-align:top;line-height:1.2em;text-align:left;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none">
vtkSmartPointer<span style="color:rgb(0,0,128)"><</span>vtkXMLPolyDataReader<span style="color:rgb(0,0,128)">></span><span style="color:rgb(0,128,128)">::</span><span style="color:rgb(0,119,136)">New</span><span style="color:rgb(0,128,0)">(</span><span style="color:rgb(0,128,0)">)</span><span style="color:rgb(0,128,128)">;</span></pre>
<pre style="vertical-align:top;line-height:1.2em;text-align:left;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none"><span style="color:rgb(0,128,128)"><br>
</span></pre><pre style="vertical-align:top;line-height:1.2em;text-align:left;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none"><span style="color:rgb(0,128,128)"><br>
</span></pre><div><pre style="vertical-align:top;line-height:1.2em;text-align:left;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none"><br></pre>
</div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 9:30 AM, rahul indoria <span dir="ltr"><<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@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 dir="ltr">Yes, my example is running fine with the given files(.vtk, .mhd and .raw), but my task is to use this example using .vtp file instead of .vtk and rest all files should be same.<div>
<br></div><div>one more thing, how can we convert a .vtk file into .vtp file using paraview?</div>
<div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 3:26 PM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Did you managed to get it running with the provided files ?</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Jul 2, 2013 at 9:13 AM, rahul indoria <span dir="ltr"><<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@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 dir="ltr">Hi,<div> I am also doing the same thing (with my polyline <b>.vtp</b> file), but when i am doing this, i am facing the problem in getting output. could you please check this example. </div>
<div>
<br></div><div>Error are:</div><div><br></div><div>unrecognized file type</div><div>unable to allocate bla bla..</div><div><br></div><div><br></div><div>can you check this example on your computer with the given .vtp file.</div>
<div><br></div><div>if there is any error still coming, could you suggest me some other .vtp file for this example???</div><div><br></div><div>waiting for your reply.</div><div><br></div><div>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 3:06 PM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Based on the example if you read that line,<div><br></div><div><pre style="vertical-align:top;line-height:1.2em;text-align:left;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none">
std<span style="color:rgb(0,128,128)">::</span><span style="color:rgb(0,119,136)">string</span> polyDataFileName <span style="color:rgb(0,0,128)">=</span> argv<span style="color:rgb(0,128,0)">[</span><span style="color:rgb(0,0,221)">2</span><span style="color:rgb(0,128,0)">]</span><span style="color:rgb(0,128,128)">;</span></pre>
<pre style="vertical-align:top;line-height:1.2em;text-align:left;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none"><span style="color:rgb(34,34,34);font-family:arial;font-size:small;line-height:normal;text-align:-webkit-auto;white-space:normal"> </span></pre>
<pre style="vertical-align:top;line-height:1.2em;text-align:left;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none"><span style="color:rgb(34,34,34);font-family:arial;font-size:small;line-height:normal;text-align:-webkit-auto;white-space:normal">you can notice that you should provide the path to that file as a second argument to the executable...</span><br>
</pre><pre style="vertical-align:top;line-height:1.2em;text-align:left;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none"><span style="color:rgb(34,34,34);font-family:arial;font-size:small;line-height:normal;text-align:-webkit-auto;white-space:normal"><br>
</span></pre><pre style="vertical-align:top;line-height:1.2em;text-align:left;font-size:10px;margin-bottom:0px;margin-top:0px;border:0px none white;padding:0px;background-image:none"><span style="color:rgb(34,34,34);font-family:arial;font-size:small;line-height:normal;text-align:-webkit-auto;white-space:normal">Seb</span></pre>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 9:00 AM, rahul indoria <span dir="ltr"><<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@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 dir="ltr">Hi,<div> I have a .vtp file (i am attaching this file with this mail )and i have to use this .vtp file in the given example:</div>
<div><br></div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation</a><br>
</div><div><br></div><div><br></div><div>could you please tell me, how would i use this .vtp file in the given example, i mean which class i would need to include and where and steps to include this class, as i am new on vtk, i don`t have any idea about this, could you please help me in that?</div>
<div><br></div><div><br></div><div>waiting for you reply soon.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 2:54 PM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">If your data is truly a polydata, you just need to read your file with the vtkDataSetReader and write it with vtkXMLPolyDataWriter using the regular pipeline mechanism.<div>
Otherwise, you may need to insert in-between a surface extraction filter like the vtkGeometryFilter or vtkDataSetSurfaceFilter.<br>
<div><br></div><div>Seb<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 4:45 AM, rahul indoria <span dir="ltr"><<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@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 dir="ltr"><b><span style="font-family:arial,sans-serif;font-size:13px">Hi,</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px"> I am new on vtk and need to ask :</span><br style="font-family:arial,sans-serif;font-size:13px">
<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">1.) can we convert our .vtk into .vtp?</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">2.) if yes, then how? and how can we use this .vtp file in the given example:</span><br style="font-family:arial,sans-serif;font-size:13px"><a href="http://vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation" style="font-family:arial,sans-serif;font-size:13px" target="_blank">http://vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation</a><br style="font-family:arial,sans-serif;font-size:13px">
<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">I need this as soon as possible. please help.</span><br style="font-family:arial,sans-serif;font-size:13px">
<br style="font-family:arial,sans-serif;font-size:13px"></b><b><span style="font-family:arial,sans-serif;font-size:13px">Please reply soon.</span></b><b><br><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Looking forward your reply soon.</span><br style="font-family:arial,sans-serif;font-size:13px">
<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">rahul indoria</span></b><br style="font-family:arial,sans-serif;font-size:13px"><div class="gmail_extra"><br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 10:39 AM, <span dir="ltr"><<a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send vtkusers mailing list submissions to<br>
<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:vtkusers-owner@vtk.org" target="_blank">vtkusers-owner@vtk.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of vtkusers digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. ExtrudeTest.Java (Graham Seed)<br>
2. Re: ExtrudeTest.Java (Sebastien Jourdain)<br>
3. Displaying Segmented Data (cjayjones)<br>
4. Re: Displaying Segmented Data (Bill Lorensen)<br>
5. Re: Processing large raw(binary) files (Alex Malyushytskyy)<br>
6. VTK-QT example build related.. (Kalpathi Subramanian)<br>
7. c++ to java mapping in KMeansClustering.cxx (Graham Seed)<br>
8. C++ to Java mapping guide? (Graham Seed)<br>
9. Need Help !!! (rahul indoria)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 1 Jul 2013 20:08:09 +0100<br>
From: Graham Seed <<a href="mailto:gmseed@gmail.com" target="_blank">gmseed@gmail.com</a>><br>
Subject: [vtkusers] ExtrudeTest.Java<br>
To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto:CALAQSHk-SBKU-Syz2E91%2B3cDAFrLn-MV0YQ53RJNqrcfENWVeQ@mail.gmail.com" target="_blank">CALAQSHk-SBKU-Syz2E91+3cDAFrLn-MV0YQ53RJNqrcfENWVeQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi<br>
<br>
I just tried building/running ExtrudeTest.java and get some compile errors<br>
on a few lines calling SetInput(). I changed these to SetInputDataObject()<br>
but suspect this may be wrong.<br>
<br>
I also found that at runtiime I get library load exception on vtkCommonJava<br>
even though it is loaded. If I paste the block:<br>
<br>
<br>
static {<br>
if(!vtkNativeLibrary.LoadAllNativeLibraries()) {<br>
for(vtkNativeLibrary lib : vtkNativeLibrary.values()) {<br>
if(!lib.IsLoaded()) {<br>
System.out.println(lib.GetLibraryName() + " not<br>
loaded");<br>
}<br>
}<br>
}<br>
vtkNativeLibrary.DisableOutputWindow(null);<br>
}<br>
<br>
then the exception goes away.<br>
<br>
Finally, when running I don't see anything!<br>
<br>
Graham<br>
<a href="mailto:gmseed@gmail.com" target="_blank">gmseed@gmail.com</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130701/5976aa00/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130701/5976aa00/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 1 Jul 2013 15:55:24 -0400<br>
From: Sebastien Jourdain <<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>><br>
Subject: Re: [vtkusers] ExtrudeTest.Java<br>
To: Graham Seed <<a href="mailto:gmseed@gmail.com" target="_blank">gmseed@gmail.com</a>><br>
Cc: vtkusers <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
Message-ID:<br>
<<a href="mailto:CABObKxfgMOYfTYU9QcJvHRJbV8iRSGCYAv42vNVHKiLT2yjFFQ@mail.gmail.com" target="_blank">CABObKxfgMOYfTYU9QcJvHRJbV8iRSGCYAv42vNVHKiLT2yjFFQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
What you've done is the correct fix with the current version of VTK.<br>
Although, I don't know what that example is supposed to do.<br>
<br>
Please check directly the ones that are part of the vtk.jar<br>
<br>
Seb<br>
<br>
<br>
On Mon, Jul 1, 2013 at 3:08 PM, Graham Seed <<a href="mailto:gmseed@gmail.com" target="_blank">gmseed@gmail.com</a>> wrote:<br>
<br>
> Hi<br>
><br>
> I just tried building/running ExtrudeTest.java and get some compile<br>
> errors on a few lines calling SetInput(). I changed these<br>
> to SetInputDataObject() but suspect this may be wrong.<br>
><br>
> I also found that at runtiime I get library load exception<br>
> on vtkCommonJava even though it is loaded. If I paste the block:<br>
><br>
><br>
> static {<br>
> if(!vtkNativeLibrary.LoadAllNativeLibraries()) {<br>
> for(vtkNativeLibrary lib : vtkNativeLibrary.values()) {<br>
> if(!lib.IsLoaded()) {<br>
> System.out.println(lib.GetLibraryName() + " not<br>
> loaded");<br>
> }<br>
> }<br>
> }<br>
> vtkNativeLibrary.DisableOutputWindow(null);<br>
> }<br>
><br>
> then the exception goes away.<br>
><br>
> Finally, when running I don't see anything!<br>
><br>
> Graham<br>
> <a href="mailto:gmseed@gmail.com" target="_blank">gmseed@gmail.com</a><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130701/c78dd6b2/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130701/c78dd6b2/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 1 Jul 2013 12:53:22 -0700 (PDT)<br>
From: cjayjones <<a href="mailto:cjayjones@gmail.com" target="_blank">cjayjones@gmail.com</a>><br>
Subject: [vtkusers] Displaying Segmented Data<br>
To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
Message-ID: <<a href="mailto:1372708402326-5721706.post@n5.nabble.com" target="_blank">1372708402326-5721706.post@n5.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
I have a 3d volume that as been segmented into several hundred regions with a<br>
scalar value using the label. I am trying to display a non-consecutive<br>
number of these. I have been able to display consecutive regions following<br>
the " GenerateCubesFromLabels.cxx<br>
<<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Medical/GenerateCubesFromLabels" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Medical/GenerateCubesFromLabels</a>><br>
" example, however I am struggling to display non-consecutive regions. Is<br>
there a way to apply "ThresholdBetween" cascaded so that it is effectively<br>
an ideal multi-band pass filter? My other approach was to use<br>
"vtkImageMathematics" to do "SetOperationToReplaceCByK" and replace all of<br>
the region labels of interest to be consecutive and then use<br>
"ThresholdBetween" on the result, however, I'm also not able to cascade<br>
these operations it seems. My attempt at using "vtkImageMathematics" is as<br>
follows:<br>
<br>
<br>
<br>
Thank you for your help.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Displaying-Segmented-Data-tp5721706.html" target="_blank">http://vtk.1045678.n5.nabble.com/Displaying-Segmented-Data-tp5721706.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Mon, 1 Jul 2013 16:23:59 -0400<br>
From: Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>><br>
Subject: Re: [vtkusers] Displaying Segmented Data<br>
To: cjayjones <<a href="mailto:cjayjones@gmail.com" target="_blank">cjayjones@gmail.com</a>><br>
Cc: VTK Users <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
Message-ID:<br>
<CADZJ4hMJDPevLg2RraYRg6LJm=<a href="mailto:Dhs_Trp1MfigA9tmsBhR9WzA@mail.gmail.com" target="_blank">Dhs_Trp1MfigA9tmsBhR9WzA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
This example:<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Medical/GenerateModelsFromLabels" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Medical/GenerateModelsFromLabels</a><br>
<br>
has logic to process non-consecutive labels. You should be able to include<br>
this logic in your example.<br>
<br>
<br>
<br>
On Mon, Jul 1, 2013 at 3:53 PM, cjayjones <<a href="mailto:cjayjones@gmail.com" target="_blank">cjayjones@gmail.com</a>> wrote:<br>
<br>
> I have a 3d volume that as been segmented into several hundred regions<br>
> with a<br>
> scalar value using the label. I am trying to display a non-consecutive<br>
> number of these. I have been able to display consecutive regions following<br>
> the " GenerateCubesFromLabels.cxx<br>
> <<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Medical/GenerateCubesFromLabels" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Medical/GenerateCubesFromLabels</a>><br>
> " example, however I am struggling to display non-consecutive regions. Is<br>
> there a way to apply "ThresholdBetween" cascaded so that it is effectively<br>
> an ideal multi-band pass filter? My other approach was to use<br>
> "vtkImageMathematics" to do "SetOperationToReplaceCByK" and replace all of<br>
> the region labels of interest to be consecutive and then use<br>
> "ThresholdBetween" on the result, however, I'm also not able to cascade<br>
> these operations it seems. My attempt at using "vtkImageMathematics" is as<br>
> follows:<br>
><br>
><br>
><br>
> Thank you for your help.<br>
><br>
><br>
><br>
> --<br>
> View this message in context:<br>
> <a href="http://vtk.1045678.n5.nabble.com/Displaying-Segmented-Data-tp5721706.html" target="_blank">http://vtk.1045678.n5.nabble.com/Displaying-Segmented-Data-tp5721706.html</a><br>
> Sent from the VTK - Users mailing list archive at Nabble.com.<br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
<br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130701/546aca1f/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130701/546aca1f/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Mon, 1 Jul 2013 14:38:44 -0700<br>
From: Alex Malyushytskyy <<a href="mailto:alexmalvtk@gmail.com" target="_blank">alexmalvtk@gmail.com</a>><br>
Subject: Re: [vtkusers] Processing large raw(binary) files<br>
To: Glen <<a href="mailto:mrholmes@yandex.ru" target="_blank">mrholmes@yandex.ru</a>><br>
Cc: VTK <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
Message-ID:<br>
<CAHR9pJ2HKuXcPbSFCt5Qp2UHqa8RhVtaJekhz5UMRm5gpP9=<a href="mailto:5w@mail.gmail.com" target="_blank">5w@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
>> But when I am loading file I am getting a runtime wornings and errors and<br>
the object loads partially (sometimes just several slices). I couldn't solve<br>
the problem by increasing shrink factor or memory limit. I also checked<br>
extent, dimensionality and spacing, but result was the same.<br>
>> Could you please help me.<br>
<br>
You do not provide enough information (what warninhgs, what errors, system<br>
you are on, RAN available etc )<br>
<br>
So just a few comments:<br>
If you are on win32 you are limited to 2GB for data per process by default.<br>
It is not enough to read 6GB of data, not even counting memory required to<br>
keep shrinked data.<br>
<br>
Even if you are on 64 bit system the amount of memory you need may be to<br>
large for the system you are running on.<br>
You need approximately 12 GB of memory to be able to run your code and<br>
better it should not count virtual memory,<br>
otherwise process may take weeks to finish.<br>
<br>
Regards,<br>
Alex<br>
<br>
<br>
<br>
<br>
On Mon, Jul 1, 2013 at 5:09 AM, Glen <<a href="mailto:mrholmes@yandex.ru" target="_blank">mrholmes@yandex.ru</a>> wrote:<br>
<br>
> Hello everyone.<br>
><br>
> I have a quite large binary file (> 6 GB) which contains the data I want to<br>
> visualize. I am trying to read and shrink it using vtkImageReader,<br>
> vtkImageShrink3D and vtkMemoryLimitImageDataStreamer.<br>
> The code is listed below.<br>
><br>
> vtkImageReader reader = vtkImageReader.New();<br>
> reader.SetDataScalarTypeToSignedChar();<br>
> reader.SetDataExtent(0, extent[0], 0, extent[1], 0, extent[2]);<br>
> reader.SetDataSpacing(spacing[0], spacing[1], spacing[2]);<br>
> reader.SetFileDimensionality(3);<br>
> reader.SetFileName(filePath);<br>
><br>
> vtkImageShrink3D shrink = vtkImageShrink3D.New();<br>
> shrink.SetShrinkFactors(shrinkFactor, shrinkFactor, shrinkFactor);<br>
> shrink.AveragingOn();<br>
> shrink.MedianOn();<br>
> shrink.SetInputConnection(reader.GetOutputPort());<br>
><br>
> vtkMemoryLimitImageDataStreamer limitStreamer =<br>
> vtkMemoryLimitImageDataStreamer.New();<br>
> limitStreamer.SetInputConnection(shrink.GetOutputPort());<br>
> limitStreamer.SetMemoryLimit(memoryLimit);<br>
> limitStreamer.UpdateWholeExtent();<br>
><br>
> But when I am loading file I am getting a runtime wornings and errors and<br>
> the object loads partially (sometimes just several slices). I couldn't<br>
> solve<br>
> the problem by increasing shrink factor or memory limit. I also checked<br>
> extent, dimensionality and spacing, but result was the same.<br>
><br>
> Could you please help me.<br>
><br>
><br>
><br>
> --<br>
> View this message in context:<br>
> <a href="http://vtk.1045678.n5.nabble.com/Processing-large-raw-binary-files-tp5721699.html" target="_blank">http://vtk.1045678.n5.nabble.com/Processing-large-raw-binary-files-tp5721699.html</a><br>
> Sent from the VTK - Users mailing list archive at Nabble.com.<br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130701/bce3b514/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130701/bce3b514/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Mon, 01 Jul 2013 17:28:26 -0400<br>
From: Kalpathi Subramanian <<a href="mailto:krs@uncc.edu" target="_blank">krs@uncc.edu</a>><br>
Subject: [vtkusers] VTK-QT example build related..<br>
To: VTK HELP <<a href="mailto:vtkusers@www.vtk.org" target="_blank">vtkusers@www.vtk.org</a>><br>
Message-ID: <<a href="mailto:51D1F47A.9070106@uncc.edu" target="_blank">51D1F47A.9070106@uncc.edu</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
<br>
I have VTK and QT installed and was trying to build the SimpleView<br>
example and<br>
ran into a compile problem -- not able to find one of the include files<br>
(QVTKWidget.h).<br>
<br>
Something in the environment is wrong, it seems. I was trying to dig<br>
deep into<br>
how cmake finds stuff. I found that it uses the FindPackage() calls to<br>
get the<br>
environment..<br>
<br>
So I built VTK under my account but installed it under /usr/local<br>
(that was set using<br>
the INSTALL_PREFIX variable. So when I install it, shouldnt the<br>
VTK_USE_FILE variable<br>
use the includes and libraries under /usr/local/vtk.../include/vtk-5.10/..?<br>
<br>
Instead looking at the Cmake files<br>
under the SimpleView example, it is still looking for these in the<br>
original build<br>
directory under my account.<br>
<br>
What am I doing wrong in the installation? Also what Cmake variables<br>
should I turn on to<br>
be able to build VTK-QT examples (using C++)? I think I did it right..<br>
<br>
== krs<br>
<br>
<br>
--<br>
Dr. Kalpathi Subramanian Ph. <a href="tel:704%20687%208579" value="+17046878579" target="_blank">704 687 8579</a><br>
Associate Professor Fax.<a href="tel:704%20687%203516" value="+17046873516" target="_blank">704 687 3516</a><br>
Dept. of Computer Science Email: <a href="mailto:krs@uncc.edu" target="_blank">krs@uncc.edu</a><br>
The Univ. of N. Carolina at Charlotte Web:<a href="http://www.cs.uncc.edu/~krs" target="_blank">www.cs.uncc.edu/~krs</a><br>
Charlotte, NC 28223-0001<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Tue, 2 Jul 2013 08:52:46 +0100<br>
From: Graham Seed <<a href="mailto:gmseed@gmail.com" target="_blank">gmseed@gmail.com</a>><br>
Subject: [vtkusers] c++ to java mapping in KMeansClustering.cxx<br>
To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto:CALAQSHmpZmSu6LPP1p76gF1E22AiA9Jx-uqYL1G4upcT-9cVsQ@mail.gmail.com" target="_blank">CALAQSHmpZmSu6LPP1p76gF1E22AiA9Jx-uqYL1G4upcT-9cVsQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi<br>
<br>
I'm trying to replicate the C++ example at:<br>
<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/KMeansClustering" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/KMeansClustering</a><br>
<br>
in Java.<br>
<br>
I'm getting stuck at the line:<br>
<br>
kMeansStatistics->SetInputData( vtkStatisticsAlgorithm::INPUT_DATA,<br>
inputData );<br>
<br>
<br>
which I assumed in Java would be:<br>
<br>
kMeansStatistics.SetInputData(vtkStatisticsAlgorithm.INPUT_DATA, inputData<br>
);<br>
<br>
However, INPUT_DATA is not a static member of vtkStatisticsAlgorithm.<br>
<br>
How do we map such use of statics in VTK Java?<br>
<br>
Thanks.<br>
<br>
--<br>
Graham<br>
<a href="mailto:gmseed@gmail.com" target="_blank">gmseed@gmail.com</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130702/bfb05359/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130702/bfb05359/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 8<br>
Date: Tue, 2 Jul 2013 09:26:36 +0100<br>
From: Graham Seed <<a href="mailto:gmseed@gmail.com" target="_blank">gmseed@gmail.com</a>><br>
Subject: [vtkusers] C++ to Java mapping guide?<br>
To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto:CALAQSHnbJ_qhmY%2BrxLOPFJ_Lf5H1VS2K_prD0wKmfyzO8%2BaGyg@mail.gmail.com" target="_blank">CALAQSHnbJ_qhmY+rxLOPFJ_Lf5H1VS2K_prD0wKmfyzO8+aGyg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi<br>
<br>
Working through the KMeansClustering C++ example, it is difficult to<br>
convert the code from C++ to Java.<br>
<br>
Another problem I found is the line:<br>
<br>
vtkVariant v = kMeansStatistics->GetOutput()->GetValue(r,kMeansStatistics->GetOutput()->GetNumberOfColumns()<br>
- 1);<br>
<br>
<br>
<br>
In Java the GetOutput() method returns an object of type vtkTable,<br>
which does not support the GetValue() method?<br>
<br>
<br>
It does support the GetRow() method which returns an object of type<br>
vtkVariantArray but can't see an easy way to get values out of the<br>
variant array.<br>
<br>
<br>
I must say that trying to get these simple examples is proving very<br>
difficult, and can only imagine how difficult it must be for real life<br>
examples.<br>
<br>
<br>
Thanks.<br>
<br>
<br>
--<br>
Graham<br>
<a href="mailto:gmseed@gmail.com" target="_blank">gmseed@gmail.com</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130702/dbdee92a/attachment.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130702/dbdee92a/attachment.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 9<br>
Date: Tue, 2 Jul 2013 10:37:14 +0200<br>
From: rahul indoria <<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a>><br>
Subject: [vtkusers] Need Help !!!<br>
To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto:CAGQ%2B16%2BoRz_jr%2B35h73K%2BjrKJz%2Bm7m8M2eqTrpaFbiNFLfGcmQ@mail.gmail.com" target="_blank">CAGQ+16+oRz_jr+35h73K+jrKJz+m7m8M2eqTrpaFbiNFLfGcmQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
I am new on vtk and need to ask :<br>
<br>
1.) can we convert our .vtk into .vtp?<br>
<br>
2.) if yes, then how will we use this .vtp file in the given example:<br>
<a href="http://vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation" target="_blank">http://vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation</a><br>
<br>
I need this as soon as possible.<br>
<br>
<br>
Please reply soon.<br>
<br>
Looking forward your reply soon.<br>
<br>
rahul indoria<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Mon, Jun 24, 2013 at 5:41 PM, <<a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a>> wrote:<br>
<br>
> Send vtkusers mailing list submissions to<br>
> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
> or, via email, send a message with subject or body 'help' to<br>
> <a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a><br>
><br>
> You can reach the person managing the list at<br>
> <a href="mailto:vtkusers-owner@vtk.org" target="_blank">vtkusers-owner@vtk.org</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of vtkusers digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
> 1. Re: vtkusers Digest, Vol 110, Issue 31 (rahul indoria)<br>
> 2. Re: Plane polydata intersection (Laurent Chauvin)<br>
> 3. Re: synchronous update between vtkImagePlaneWidget and<br>
> vtkResliceCursorWidget (Dean Inglis)<br>
> 4. Re: Plane polydata intersection (Cory Quammen)<br>
> 5. Re: Plane polydata intersection (Laurent Chauvin)<br>
> 6. Re: vtkborderwidget in vtk6.0rc3 (David Cole)<br>
> 7. Re: building vtk6, simple example (Marcus D. Hanwell)<br>
> 8. Re: Render Control (David Cole)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Mon, 24 Jun 2013 16:16:46 +0200<br>
> From: rahul indoria <<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a>><br>
> Subject: Re: [vtkusers] vtkusers Digest, Vol 110, Issue 31<br>
> To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> Message-ID:<br>
> <<br>
> <a href="mailto:CAGQ%2B16J9HaSHfsxzKBM7Bv08fqqEYv07Tpq7SQRU2QLN%2BPeajg@mail.gmail.com" target="_blank">CAGQ+16J9HaSHfsxzKBM7Bv08fqqEYv07Tpq7SQRU2QLN+Peajg@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> Hi,<br>
> I am new on vtk, my question is :<br>
><br>
> are the mappers and filters same thing in VTK?<br>
><br>
> Looking forward your reply soon.<br>
><br>
><br>
> On Mon, Jun 24, 2013 at 4:04 PM, <<a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a>> wrote:<br>
><br>
> > Send vtkusers mailing list submissions to<br>
> > <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> ><br>
> > To subscribe or unsubscribe via the World Wide Web, visit<br>
> > <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
> > or, via email, send a message with subject or body 'help' to<br>
> > <a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a><br>
> ><br>
> > You can reach the person managing the list at<br>
> > <a href="mailto:vtkusers-owner@vtk.org" target="_blank">vtkusers-owner@vtk.org</a><br>
> ><br>
> > When replying, please edit your Subject line so it is more specific<br>
> > than "Re: Contents of vtkusers digest..."<br>
> ><br>
> ><br>
> > Today's Topics:<br>
> ><br>
> > 1. Re: Plane polydata intersection (Cory Quammen)<br>
> > 2. Re: Plane polydata intersection (Laurent Chauvin)<br>
> > 3. vtkLineWidget with fix length (manzohar)<br>
> > 4. Problems building the Piston Library (UJJWAL aryan)<br>
> > 5. Re: Draw points with gaussian fade out (Michka Popoff)<br>
> > 6. Re: Render Control (David Cole)<br>
> > 7. Re: Render Control (Max)<br>
> > 8. VTK build with postfix d : error (Ashish Singh)<br>
> > 9. Re: VTK build with postfix d : error (Ashish Singh)<br>
> > 10. Generating a polyhedron cell from polydata in Python<br>
> > (Gu?ni Karl Rosenkj?r)<br>
> > 11. building vtk6, simple example (Randy Heiland)<br>
> > 12. vtkborderwidget in vtk6.0rc3 (chasank)<br>
> > 13. Re: Plane polydata intersection (Cory Quammen)<br>
> ><br>
> ><br>
> > ----------------------------------------------------------------------<br>
> ><br>
> > Message: 1<br>
> > Date: Sun, 23 Jun 2013 12:31:56 -0400<br>
> > From: Cory Quammen <<a href="mailto:cquammen@cs.unc.edu" target="_blank">cquammen@cs.unc.edu</a>><br>
> > Subject: Re: [vtkusers] Plane polydata intersection<br>
> > To: Laurent Chauvin <<a href="mailto:lchauvin@bwh.harvard.edu" target="_blank">lchauvin@bwh.harvard.edu</a>><br>
> > Cc: "<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>" <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
> > Message-ID:<br>
> > <<br>
> > <a href="mailto:CANmPiKCPp3VM6moALR0XB2Rx2OkHQk_9R339ntO%2BAVgqhJHoFw@mail.gmail.com" target="_blank">CANmPiKCPp3VM6moALR0XB2Rx2OkHQk_9R339ntO+AVgqhJHoFw@mail.gmail.com</a>><br>
> > Content-Type: text/plain; charset=ISO-8859-1<br>
> ><br>
> > Laurent,<br>
> ><br>
> > For this special case of computing the intersection between a polydata<br>
> > and a plane, you can use a little trick. First, you can compute a new<br>
> > point data set for your polydata with,say, the z coordinates of each<br>
> > point in the polydata. Then, to get the intersection with an xy plane,<br>
> > you then use the vtkContourFilter operating on this coordinate point<br>
> > data and specify the z value that corresponds to your plane. The<br>
> > result should be equivalent to the intersection of the polydata with<br>
> > that plane.<br>
> ><br>
> > It should be relatively fast to compute the contour, so you can<br>
> > probably do this interactively.<br>
> ><br>
> > Hope that helps,<br>
> > Cory<br>
> ><br>
> > On Sat, Jun 22, 2013 at 2:46 PM, Laurent Chauvin<br>
> > <<a href="mailto:lchauvin@bwh.harvard.edu" target="_blank">lchauvin@bwh.harvard.edu</a>> wrote:<br>
> > > Hello,<br>
> > ><br>
> > > I'm working on Slicer, and I was trying to find a nice way to display<br>
> > > intersection between polydata and a plane.<br>
> > > I read we could use a vtkCutter, but the thing is, I would like to do<br>
> > this<br>
> > > interactively. I want to be able to move the plane, and update the<br>
> > > intersection while moving the plane.<br>
> > > I'm not sure using vtkCutter for this purpose would work. I think<br>
> > vtkCutter<br>
> > > will take some times to execute, then moving the plane will be slow.<br>
> > ><br>
> > > I know this question has been asked before, but I would like if there<br>
> > were<br>
> > > some update since then. New widgets or object that I could use for<br>
> that ?<br>
> > ><br>
> > > I was thinking using vtkImageReslice, get polydata of the plane and<br>
> > compute<br>
> > > the intersection between the 2 polydata, but I think it would also be<br>
> to<br>
> > > computing intensive to be able to do it smoothly with an interactive<br>
> > plane.<br>
> > ><br>
> > > Thank you.<br>
> > > -Laurent<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > _______________________________________________<br>
> > > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
> > ><br>
> > > Visit other Kitware open-source projects at<br>
> > > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
> > ><br>
> > > Please keep messages on-topic and check the VTK FAQ at:<br>
> > > <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
> > ><br>
> > > Follow this link to subscribe/unsubscribe:<br>
> > > <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
> > ><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Cory Quammen<br>
> > Research Associate<br>
> > Department of Computer Science<br>
> > The University of North Carolina at Chapel Hill<br>
> ><br>
> ><br>
> > ------------------------------<br>
> ><br>
> > Message: 2<br>
> > Date: Sun, 23 Jun 2013 12:41:39 -0400<br>
> > From: Laurent Chauvin <<a href="mailto:lchauvin@bwh.harvard.edu" target="_blank">lchauvin@bwh.harvard.edu</a>><br>
> > Subject: Re: [vtkusers] Plane polydata intersection<br>
> > To: Cory Quammen <<a href="mailto:cquammen@cs.unc.edu" target="_blank">cquammen@cs.unc.edu</a>><br>
> > Cc: "<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>" <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
> > Message-ID:<br>
> > <<br>
> > <a href="mailto:CAPGPbaJZGVNO-vzOjuYr6532VHOZhc2nd8ncEV%2Bc14_2qWNxng@mail.gmail.com" target="_blank">CAPGPbaJZGVNO-vzOjuYr6532VHOZhc2nd8ncEV+c14_2qWNxng@mail.gmail.com</a>><br>
> > Content-Type: text/plain; charset="iso-8859-1"<br>
> ><br>
> > Hi Cory,<br>
> ><br>
> > Thank you very much for your reply.<br>
> > However, I'm not sure to understand what you mean.<br>
> > Should I create a new polydata with all points at the same z coordinates<br>
> ?<br>
> ><br>
> > Does this work with some oblique planes ( not parallel to x,y, or z axis<br>
> )<br>
> > ?<br>
> ><br>
> > Thank you.<br>
> > -Laurent<br>
> ><br>
> ><br>
> > On Sun, Jun 23, 2013 at 12:31 PM, Cory Quammen <<a href="mailto:cquammen@cs.unc.edu" target="_blank">cquammen@cs.unc.edu</a>><br>
> > wrote:<br>
> ><br>
> > > Laurent,<br>
> > ><br>
> > > For this special case of computing the intersection between a polydata<br>
> > > and a plane, you can use a little trick. First, you can compute a new<br>
> > > point data set for your polydata with,say, the z coordinates of each<br>
> > > point in the polydata. Then, to get the intersection with an xy plane,<br>
> > > you then use the vtkContourFilter operating on this coordinate point<br>
> > > data and specify the z value that corresponds to your plane. The<br>
> > > result should be equivalent to the intersection of the polydata with<br>
> > > that plane.<br>
> > ><br>
> > > It should be relatively fast to compute the contour, so you can<br>
> > > probably do this interactively.<br>
> > ><br>
> > > Hope that helps,<br>
> > > Cory<br>
> > ><br>
> > > On Sat, Jun 22, 2013 at 2:46 PM, Laurent Chauvin<br>
> > > <<a href="mailto:lchauvin@bwh.harvard.edu" target="_blank">lchauvin@bwh.harvard.edu</a>> wrote:<br>
> > > > Hello,<br>
> > > ><br>
> > > > I'm working on Slicer, and I was trying to find a nice way to display<br>
> > > > intersection between polydata and a plane.<br>
> > > > I read we could use a vtkCutter, but the thing is, I would like to do<br>
> > > this<br>
> > > > interactively. I want to be able to move the plane, and update the<br>
> > > > intersection while moving the plane.<br>
> > > > I'm not sure using vtkCutter for this purpose would work. I think<br>
> > > vtkCutter<br>
> > > > will take some times to execute, then moving the plane will be slow.<br>
> > > ><br>
> > > > I know this question has been asked before, but I would like if there<br>
> > > were<br>
> > > > some update since then. New widgets or object that I could use for<br>
> > that ?<br>
> > > ><br>
> > > > I was thinking using vtkImageReslice, get polydata of the plane and<br>
> > > compute<br>
> > > > the intersection between the 2 polydata, but I think it would also be<br>
> > to<br>
> > > > computing intensive to be able to do it smoothly with an interactive<br>
> > > plane.<br>
> > > ><br>
> > > > Thank you.<br>
> > > > -Laurent<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > _______________________________________________<br>
> > > > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
> > > ><br>
> > > > Visit other Kitware open-source projects at<br>
> > > > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
> > > ><br>
> > > > Please keep messages on-topic and check the VTK FAQ at:<br>
> > > > <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
> > > ><br>
> > > > Follow this link to subscribe/unsubscribe:<br>
> > > > <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
> > > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > --<br>
> > > Cory Quammen<br>
> > > Research Associate<br>
> > > Department of Computer Science<br>
> > > The University of North Carolina at Chapel Hill<br>
> > ><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Laurent Chauvin, MS<br>
> > Surgical Navigation and Robotics Laboratory, Radiology<br>
> > Brigham And Women's Hospital, Harvard Medical School<br>
> > <a href="http://wiki.ncigt.org/index.php/User:Lchauvin" target="_blank">http://wiki.ncigt.org/index.php/User:Lchauvin</a><br>
> > -------------- next part --------------<br>
> > An HTML attachment was scrubbed...<br>
> > URL: <<br>
> ><br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130623/42b4458e/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130623/42b4458e/attachment-0001.htm</a><br>
> > ><br>
> ><br>
> > ------------------------------<br>
> ><br>
> > Message: 3<br>
> > Date: Sun, 23 Jun 2013 10:42:03 -0700 (PDT)<br>
> > From: manzohar <<a href="mailto:lancia58@gmail.com" target="_blank">lancia58@gmail.com</a>><br>
> > Subject: [vtkusers] vtkLineWidget with fix length<br>
> > To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> > Message-ID: <<a href="mailto:1372009323193-5721537.post@n5.nabble.com" target="_blank">1372009323193-5721537.post@n5.nabble.com</a>><br>
> > Content-Type: text/plain; charset=us-ascii<br>
> ><br>
> > Is there a way to fix the length of the line of vtkLineWidget ?<br>
> ><br>
> > Thanks<br>
> > Zohar<br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > View this message in context:<br>
> ><br>
> <a href="http://vtk.1045678.n5.nabble.com/vtkLineWidget-with-fix-length-tp5721537.html" target="_blank">http://vtk.1045678.n5.nabble.com/vtkLineWidget-with-fix-length-tp5721537.html</a><br>
> > Sent from the VTK - Users mailing list archive at Nabble.com.<br>
> ><br>
> ><br>
> > ------------------------------<br>
> ><br>
> > Message: 4<br>
> > Date: Mon, 24 Jun 2013 00:21:27 +0530<br>
> > From: UJJWAL aryan <<a href="mailto:meetukme@gmail.com" target="_blank">meetukme@gmail.com</a>><br>
> > Subject: [vtkusers] Problems building the Piston Library<br>
> > To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> > Message-ID:<br>
> > <CAJdiYKDwMO94-r6dcmnehJhgV76R1=n9bXE4d=<br>
> > <a href="mailto:SX0iR-iA0Dgw@mail.gmail.com" target="_blank">SX0iR-iA0Dgw@mail.gmail.com</a>><br>
> > Content-Type: text/plain; charset="iso-8859-1"<br>
> ><br>
> > Hi All,<br>
> ><br>
> > I was trying to install *vtk 6.0.0.rc3* on my system and it was showing<br>
> the<br>
> > error PISTON_INCLUDE_DIR NOT FOUND. So, I decided to download and install<br>
> > LANL's piston library (<a href="http://viz.lanl.gov/projects/PISTON.html" target="_blank">http://viz.lanl.gov/projects/PISTON.html</a>) . While<br>
> > building the Piston Library , it gave the following error :-<br>
> ><br>
> > *nvcc fatal : A single input file is required for a non-link phase when<br>
> > an outputfile is specified. CMake Error at<br>
> > tutorial1GPU_generated_tutorial1.cu.o.cmake:206 (message):*<br>
> > * Error generating<br>
> ><br>
> ><br>
> /usr/local/piston/build/tutorial/CMakeFiles/tutorial1GPU.dir//./tutorial1GPU_generated_tutorial1.cu.o<br>
> > *<br>
> ><br>
> > So, I opened *tutorial1GPU_generated_tutorial1.cu.o.cmake *in Vim and on<br>
> > line 80 i noticed something unusual. I noticed that in<br>
> > set(CUDA_NVCC_INCLUDE_ARGS ... only a part of the string was displayed in<br>
> > red while remaining part was simple white. The line was very long and i<br>
> > think, that after a certain number of characters like 5000 or so, the<br>
> > system was not recognizing any other character as a string.<br>
> ><br>
> > I am not sure but maybe that is the source of the problem. Kindly take a<br>
> > look into it and enlighten. I am attaching the *<br>
> > tutorial1GPU_generated_tutorial1.cu.o.cmake *with this mail.<br>
> ><br>
> > --<br>
> > Ujjwal<br>
> > IIIT Hyderabad<br>
> > -------------- next part --------------<br>
> > An HTML attachment was scrubbed...<br>
> > URL: <<br>
> ><br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130624/1adeb7f2/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130624/1adeb7f2/attachment-0001.htm</a><br>
> > ><br>
> > -------------- next part --------------<br>
> > A non-text attachment was scrubbed...<br>
> > Name: tutorial1GPU_generated_tutorial1.cu.o.cmake<br>
> > Type: application/octet-stream<br>
> > Size: 27350 bytes<br>
> > Desc: not available<br>
> > URL: <<br>
> ><br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130624/1adeb7f2/attachment-0001.obj" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130624/1adeb7f2/attachment-0001.obj</a><br>
> > ><br>
> ><br>
> > ------------------------------<br>
> ><br>
> > Message: 5<br>
> > Date: Sun, 23 Jun 2013 23:47:08 +0200<br>
> > From: Michka Popoff <<a href="mailto:michkapopoff@gmail.com" target="_blank">michkapopoff@gmail.com</a>><br>
> > Subject: Re: [vtkusers] Draw points with gaussian fade out<br>
> > To: "Biddiscombe, John A." <<a href="mailto:biddisco@cscs.ch" target="_blank">biddisco@cscs.ch</a>><br>
> > Cc: vtkusers <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
> > Message-ID: <<a href="mailto:00C39685-9939-41E3-9EC7-75C462824A91@gmail.com" target="_blank">00C39685-9939-41E3-9EC7-75C462824A91@gmail.com</a>><br>
> > Content-Type: text/plain; charset="windows-1252"<br>
> ><br>
> > Thank you for the code. I looked at the pictures, it seems to do what I<br>
> > want.<br>
> ><br>
> > I am trying to install it but my knowledge is quite limited. As I<br>
> > understand I can build it without recompiling the whole VTK ? Hope I can<br>
> > get python bindings for it.<br>
> ><br>
> > I launched cmake on the folder, I got the two following errors :<br>
> ><br>
> > 1)<br>
> ><br>
> > CMake Error at CMakeLists.txt:8 (INCLUDE):<br>
> > include could not find load file:<br>
> > CMakeMacros_CSCS.cmake<br>
> ><br>
> > I was not able to find this file. I looked on the internet, and<br>
> downloaded<br>
> > some old Paraview and VTK's from 2006/2007, but was not able to find the<br>
> > file.<br>
> > So I removed the call to this file.<br>
> ><br>
> > 2)<br>
> ><br>
> > CMake Error at CMakeLists.txt:93 (VTK_MAKE_INSTANTIATOR3):<br>
> > Unknown CMake command "VTK_MAKE_INSTANTIATOR3".<br>
> ><br>
> > Apparently this is due because VTK_MAKE_INSTANTIATOR3 is no more needed,<br>
> > so I also removed the line calling it.<br>
> ><br>
> > Now the cmake is able to finish it's configuration.<br>
> ><br>
> ><br>
> > Then I did a "make" and got the following error :<br>
> ><br>
> > In file included from<br>
> ><br>
> /Users/michkapopoff/Desktop/vtkCSCSPointSprites/vtkPointSpriteMapper.h:51:<br>
> > /Users/michkapopoff/Desktop/build/vtkCSCSPointSpritesConfigure.h:7:5:<br>
> > error: expected value in expression<br>
> > #if<br>
> > ^<br>
> > In file included from<br>
> ><br>
> /Users/michkapopoff/Desktop/vtkCSCSPointSprites/vtkPointSpriteMapper.cpp:33:<br>
> ><br>
> /Users/michkapopoff/Desktop/vtkCSCSPointSprites/vtkPointSpriteMapper.h:52:10:<br>
> > fatal error: 'vtkPainterPolyDataMapper.h' file not found<br>
> > #include "vtkPainterPolyDataMapper.h"<br>
> > ^<br>
> > 2 errors generated.<br>
> > make[2]: *** [CMakeFiles/vtkCSCSPointSprites.dir/vtkPointSpriteMapper.o]<br>
> > Error 1<br>
> > make[1]: *** [CMakeFiles/vtkCSCSPointSprites.dir/all] Error 2<br>
> > make: *** [all] Error 2<br>
> ><br>
> > So it doesn't' find my include did, so I need to add the path to the<br>
> > INCLUDE_DIRECTORIES.<br>
> > I added the path directly with SET(). Perhaps not the cleanest solution<br>
> > but it worked :<br>
> ><br>
> > SET( CSCS_POINTSPRITES_INCLUDE_DIRS<br>
> > ${PROJECT_SOURCE_DIR}<br>
> > ${PROJECT_BINARY_DIR}<br>
> > /usr/local/Cellar/vtk/5.10.1/include/vtk-5.10<br>
> > )<br>
> ><br>
> > So, next I got this error :<br>
> ><br>
> > /Users/michkapopoff/Desktop/build/vtkCSCSPointSpritesConfigure.h:7:5:<br>
> > error: expected value in expression<br>
> > #if<br>
> > ^<br>
> > In file included from<br>
> ><br>
> /Users/michkapopoff/Desktop/vtkCSCSPointSprites/vtkPointSpriteMapper.cpp:33:<br>
> > In file included from<br>
> ><br>
> /Users/michkapopoff/Desktop/vtkCSCSPointSprites/vtkPointSpriteMapper.h:52:<br>
> > In file included from<br>
> ><br>
> /usr/local/Cellar/vtk/5.10.1/include/vtk-5.10/vtkPainterPolyDataMapper.h:25:<br>
> > In file included from<br>
> > /usr/local/Cellar/vtk/5.10.1/include/vtk-5.10/vtkPolyDataMapper.h:25:<br>
> > In file included from<br>
> > /usr/local/Cellar/vtk/5.10.1/include/vtk-5.10/vtkMapper.h:55:<br>
> > In file included from<br>
> > /usr/local/Cellar/vtk/5.10.1/include/vtk-5.10/vtkAbstractMapper3D.h:32:<br>
> > In file included from<br>
> > /usr/local/Cellar/vtk/5.10.1/include/vtk-5.10/vtkAbstractMapper.h:28:<br>
> > In file included from<br>
> > /usr/local/Cellar/vtk/5.10.1/include/vtk-5.10/vtkAlgorithm.h:32:<br>
> > In file included from<br>
> > /usr/local/Cellar/vtk/5.10.1/include/vtk-5.10/vtkObject.h:41:<br>
> > In file included from<br>
> > /usr/local/Cellar/vtk/5.10.1/include/vtk-5.10/vtkObjectBase.h:43:<br>
> > In file included from<br>
> > /usr/local/Cellar/vtk/5.10.1/include/vtk-5.10/vtkIndent.h:24:<br>
> > In file included from<br>
> > /usr/local/Cellar/vtk/5.10.1/include/vtk-5.10/vtkSystemIncludes.h:40:<br>
> > In file included from<br>
> > /usr/local/Cellar/vtk/5.10.1/include/vtk-5.10/vtkIOStream.h:108:<br>
> > In file included from /usr/include/c++/4.2.1/backward/strstream:51:<br>
> > /usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: This<br>
> > file includes at least one deprecated or antiquated header. Please<br>
> consider<br>
> > using one of the 32 headers found in section 17.4.1.2 of the C++<br>
> > standard. Examples include substituting the <X> header for the <X.h><br>
> header<br>
> > for<br>
> > C++ includes, or <iostream> instead of the deprecated header<br>
> > <iostream.h>. To disable this warning use -Wno-deprecated. [-W#warnings]<br>
> > #warning This file includes at least one deprecated or antiquated<br>
> header. \<br>
> > ^<br>
> > 1 warning and 1 error generated.<br>
> > make[2]: *** [CMakeFiles/vtkCSCSPointSprites.dir/vtkPointSpriteMapper.o]<br>
> > Error 1<br>
> > make[1]: *** [CMakeFiles/vtkCSCSPointSprites.dir/all] Error 2<br>
> > make: *** [all] Error 2<br>
> ><br>
> > Perhaps you have an idea for this one ?<br>
> ><br>
> > Thanks in advance<br>
> ><br>
> > Michka Popoff<br>
> ><br>
> ><br>
> > On 21 juin 2013, at 14:39, "Biddiscombe, John A." <<a href="mailto:biddisco@cscs.ch" target="_blank">biddisco@cscs.ch</a>><br>
> > wrote:<br>
> ><br>
> > > I?m attaching a very set of code from the original cvs repo that had<br>
> the<br>
> > point sprite mapper. You should be able to compiled this against vtk, but<br>
> > not that the dates on the files go back to 2006, so you may need to<br>
> update<br>
> > stuff<br>
> > ><br>
> > > JB<br>
> > ><br>
> > > From: Michka Popoff [mailto:<a href="mailto:michkapopoff@gmail.com" target="_blank">michkapopoff@gmail.com</a>]<br>
> > > Sent: 20 June 2013 15:36<br>
> > > To: vtkusers<br>
> > > Cc: Biddiscombe, John A.; Markus Neuner<br>
> > > Subject: Re: [vtkusers] Draw points with gaussian fade out<br>
> > ><br>
> > > Thanks for your answers,<br>
> > ><br>
> > > I try to fight my way through vtkFastSplatter, but there is only one<br>
> > example and I do not understand everything. (The documentation is a<br>
> little<br>
> > sparse)<br>
> > > The example in the docs use a vtkImageViewer2,and I want to have a<br>
> > vtkactor to put it in my 3d scenery.<br>
> > > So I mapped the splatter on a vtkplane through a vtktexture (to be able<br>
> > to have a vtkactor). Hope this will not lead to performance problems<br>
> once I<br>
> > try to display millions of vtkactors ...<br>
> > > It's also not really working, the colors are messed up, and I don't<br>
> > understand the vtkpoints usage for the vtkFastSplatter.<br>
> > ><br>
> > > 5 points are used in the example, which display 5 splats, but I was not<br>
> > able to have only one splat centered in the middle (even using only 1<br>
> > point, at 0,0,0).<br>
> > ><br>
> > ><br>
> > > For vtkPointSpriteMapper, is not in vtk, so I have to find the way to<br>
> > take it from paraview, add it to vtk, and make the python bindings for<br>
> it.<br>
> > Any idea how to achieve this ?<br>
> > ><br>
> > ><br>
> > > Regards<br>
> > ><br>
> > > Michka<br>
> > ><br>
> > ><br>
> > > Le 19 juin 2013 ? 23:29, Biddiscombe, John A. a ?crit :<br>
> > ><br>
> > > Try googling vtkPointSpriteMapper<br>
> > > A modified version using painters is in paraview, but the original was<br>
> > designed for straight vtk use.<br>
> > ><br>
> > > JB<br>
> > > (apologies if you get multiple copies of this, email misfired)<br>
> > ><br>
> > ><br>
> > > Le 19 juin 2013 ? 19:57, Markus Neuner a ?crit :<br>
> > ><br>
> > ><br>
> > > Hi,<br>
> > ><br>
> > > oh vtkGaussianSplatter is the wrong class. It generates a volume, but<br>
> > you could visualize it with volume rendering.<br>
> > ><br>
> > > The first version is basically what FastSplatter does (<br>
> > <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/FastSplatter" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/FastSplatter</a>).<br>
> > ><br>
> > > For the second version i can't find a class in vtk that can actually<br>
> > does this (compute the Gaussian directly in the fragment shader).<br>
> > ><br>
> > > You can derive from vtkGLSLShaderProgram and implement the procedures<br>
> > described in this examplehttp://<a href="http://prideout.net/blog/p60/Splat.zip" target="_blank">prideout.net/blog/p60/Splat.zip</a> written<br>
> > by Philip Rideout.<br>
> > ><br>
> > > Regards,<br>
> > > Markus<br>
> > ><br>
> > ><br>
> > > On 06/16/2013 06:31 PM, Michka Popoff wrote:<br>
> > ><br>
> > > Hi<br>
> > ><br>
> > > thank you for your help.<br>
> > ><br>
> > > 1) For the first solution, what would be the class to use to create the<br>
> > texture from the gaussian equation ? Once I have the textures, I could<br>
> map<br>
> > them to planes. I did wrote some OpenGL code a while ago where I did this<br>
> > with a shader, billboarding the textures so that the gaussians would<br>
> always<br>
> > face the camera. This was very fast.<br>
> > ><br>
> > > 2) I saw vtkGaussianSplatter, but I don't know if I can set a different<br>
> > radius and exponent factor for each point ? In the class these values can<br>
> > only be set globally. I wrote some code (in python), inspired from the<br>
> > FinancialField example from vtkGaussianSplatter, but the splats are<br>
> passed<br>
> > through vtkContourFilter to make a surface. I think this is messing with<br>
> my<br>
> > gaussians, and I don't know how to do this without vtkContourFilter. I<br>
> > found no other example for vtkGaussianSplatter. Here is the code I wrote,<br>
> > displaying 10x10 points :<br>
> > ><br>
> > > #!/usr/bin/env python<br>
> > ><br>
> > > import vtk<br>
> > > from numpy import random<br>
> > ><br>
> > > # Create points<br>
> > > points = vtk.vtkPoints()<br>
> > > for i in range(10):<br>
> > > for j in range(10):<br>
> > > points.InsertNextPoint(i, j, 0.0)<br>
> > ><br>
> > > polydata = vtk.vtkPolyData()<br>
> > > polydata.SetPoints(points)<br>
> > ><br>
> > > popSplatter = vtk.vtkGaussianSplatter()<br>
> > > popSplatter.SetInput(polydata)<br>
> > > popSplatter.SetSampleDimensions(50, 50, 50)<br>
> > > popSplatter.SetRadius(0.05)<br>
> > > popSplatter.ScalarWarpingOff()<br>
> > > popSplatter.Update()<br>
> > ><br>
> > > popSurface = vtk.vtkContourFilter()<br>
> > > popSurface.SetInputConnection(popSplatter.GetOutputPort())<br>
> > > popSurface.SetValue(0, 0.01)<br>
> > ><br>
> > > popMapper = vtk.vtkPolyDataMapper()<br>
> > > popMapper.SetInputConnection(popSurface.GetOutputPort())<br>
> > > popMapper.ImmediateModeRenderingOn()<br>
> > ><br>
> > > popActor = vtk.vtkActor()<br>
> > > popActor.SetMapper(popMapper)<br>
> > ><br>
> > > # Renderer<br>
> > > renderer = vtk.vtkRenderer()<br>
> > > renderer.AddActor(popActor)<br>
> > > renderer.ResetCamera()<br>
> > ><br>
> > > # Render Window<br>
> > > renderWindow = vtk.vtkRenderWindow()<br>
> > > renderWindow.AddRenderer(renderer)<br>
> > ><br>
> > > # Interactor<br>
> > > renderWindowInteractor = vtk.vtkRenderWindowInteractor()<br>
> > > renderWindowInteractor.SetRenderWindow(renderWindow)<br>
> > ><br>
> > > # Begin Interaction<br>
> > > renderWindow.Render()<br>
> > > renderWindowInteractor.Start()<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > On 16 juin 2013, at 11:14, Markus Neuner <<a href="mailto:neuner.markus@gmx.net" target="_blank">neuner.markus@gmx.net</a>><br>
> wrote:<br>
> > ><br>
> > > Hi Michka,<br>
> > ><br>
> > > You could try to generate volumetric data using Gaussian splats.<br>
> > ><br>
> > > There are two solutions to this problem:<br>
> > > - Create the 3D Gaussian function on the CPU during application<br>
> > initialization, and create a 3D texture from that.<br>
> > ><br>
> > > - But better and much faster is to compute the Gaussian directly in the<br>
> > fragment shader.<br>
> > ><br>
> > > Have a look at vtkGaussianSplatter it may do what you want.<br>
> > ><br>
> > > Regards,<br>
> > > Markus<br>
> > ><br>
> > ><br>
> > > On 06/15/2013 05:18 PM, Michka Popoff wrote:<br>
> > > Hi<br>
> > ><br>
> > > I want to draw a lot of points in VTK (~1.000.000), with each point's<br>
> > color fading out to a transparent value, following a gaussian function.<br>
> > > So the center will be bright (maximum intensity), and the border will<br>
> > have no color.<br>
> > ><br>
> > > I am able to draw a lot of points using vtkPoints, I can also change<br>
> > their color, but I am looking for a way to apply the fade out to every<br>
> > point. Of course the parameters of the gaussian function will be<br>
> different<br>
> > for each point (intensity value in the middle, diameter).<br>
> > ><br>
> > > The result for 1 point would look like this :<br>
> > <a href="http://www.princeton.edu/~rvdb/images/deconv/Gauss2Psf.jpg" target="_blank">http://www.princeton.edu/~rvdb/images/deconv/Gauss2Psf.jpg</a><br>
> > ><br>
> > > Are there some filters/mappers I could use directly ? Or can I perhaps<br>
> > try to "hijack" vtkgaussiansplatter to achieve this ?<br>
> > ><br>
> > > Thanks in advance<br>
> > ><br>
> > > Michka Popoff<br>
> > > _______________________________________________<br>
> > > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
> > ><br>
> > > Visit other Kitware open-source projects athttp://<br>
> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">www.kitware.com/opensource/opensource.html</a><br>
> > ><br>
> > > Please keep messages on-topic and check the VTK FAQ at:<br>
> > <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
> > ><br>
> > > Follow this link to subscribe/unsubscribe:<br>
> > > <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > <vtkCSCSPointSprites.zip><br>
> ><br>
> > -------------- next part --------------<br>
> > An HTML attachment was scrubbed...<br>
> > URL: <<br>
> ><br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130623/56895d53/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130623/56895d53/attachment-0001.htm</a><br>
> > ><br>
> ><br>
> > ------------------------------<br>
> ><br>
> > Message: 6<br>
> > Date: Mon, 24 Jun 2013 01:09:58 +0000<br>
> > From: David Cole <<a href="mailto:dlrdave@aol.com" target="_blank">dlrdave@aol.com</a>><br>
> > Subject: Re: [vtkusers] Render Control<br>
> > To: " <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a> " <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>>, Max<br>
> > <<a href="mailto:smapersmaper@gmail.com" target="_blank">smapersmaper@gmail.com</a>><br>
> > Message-ID: <<a href="mailto:20130624011336.5098F643EA@public.kitware.com" target="_blank">20130624011336.5098F643EA@public.kitware.com</a>><br>
> > Content-Type: text/plain; charset="utf-8"<br>
> ><br>
> > The ?problem? is that Visual Studio is 32-bit only, so it can only show<br>
> > the x86 build in Design Mode.<br>
> ><br>
> ><br>
> > This happens because the ActiViz dll has underlying architecture-specific<br>
> > native dlls for VTK that it loads. Since they are arch-specific and VS is<br>
> > 32-bit only.... it can only handle the x86 dlls.<br>
> ><br>
> ><br>
> ><br>
> > Cheers (hope this helps),<br>
> ><br>
> > David C.<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > From: Max<br>
> > Sent: ?Sunday?, ?June? ?23?, ?2013 ?9?:?55? ?AM<br>
> > To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> ><br>
> > Hi VTKers,<br>
> > When I'm downloading the 86 bit version of activiz I see the render<br>
> control<br>
> > and can add it to my winforms,<br>
> > but when i download the 64 bit activiz version, it is not shown and i<br>
> > cannot<br>
> > add it through the kitware dll.<br>
> > And when i'm building 86 project the form is shown correctly, but with 64<br>
> > bit version, it cannot show it in design mode, only the run mode.<br>
> > Does anyone know what can be the problem?<br>
> ><br>
> > Thank you,<br>
> > Max<br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > View this message in context:<br>
> > <a href="http://vtk.1045678.n5.nabble.com/Render-Control-tp5721532.html" target="_blank">http://vtk.1045678.n5.nabble.com/Render-Control-tp5721532.html</a><br>
> > Sent from the VTK - Users mailing list archive at Nabble.com.<br>
> > _______________________________________________<br>
> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
> ><br>
> > Visit other Kitware open-source projects at<br>
> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
> ><br>
> > Please keep messages on-topic and check the VTK FAQ at:<br>
> > <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
> ><br>
> > Follow this link to subscribe/unsubscribe:<br>
> > <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
> > -------------- next part --------------<br>
> > An HTML attachment was scrubbed...<br>
> > URL: <<br>
> ><br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130624/95604706/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130624/95604706/attachment-0001.htm</a><br>
> > ><br>
> ><br>
> > ------------------------------<br>
> ><br>
> > Message: 7<br>
> > Date: Sun, 23 Jun 2013 21:08:10 -0700 (PDT)<br>
> > From: Max <<a href="mailto:smapersmaper@gmail.com" target="_blank">smapersmaper@gmail.com</a>><br>
> > Subject: Re: [vtkusers] Render Control<br>
> > To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> > Message-ID: <<a href="mailto:1372046890508-5721541.post@n5.nabble.com" target="_blank">1372046890508-5721541.post@n5.nabble.com</a>><br>
> > Content-Type: text/plain; charset=us-ascii<br>
> ><br>
> > Hi David and thank you for the reply,<br>
> > so what is the way to add the render control to the winform in 64 bit?<br>
> > Currently what I did:<br>
> > Installed 86 bit version of activiz,<br>
> > installed 64 bit version of activiz,<br>
> > then i saw the 86 bit render control in toolbox,<br>
> > added it to the winform,<br>
> > then i saw that it adds automatically the kitware dll 86 bit ,<br>
> > but i need to make the vtk project 64 bit since all my application<br>
> solution<br>
> > works on 64 bit,<br>
> > so i removed the 86 kitware dll and added 2 64 bit dlls, kitware dll and<br>
> > mummy dll<br>
> > well, it works in runtime, but it says it cannot find the kitware clr in<br>
> > design time.<br>
> > Also i don't think that for it to work i need to install also 86 bit<br>
> > version<br>
> > of activiz<br>
> > i tried to add the control through kitware dll but it cannot find it...<br>
> > Something is not right here i think...<br>
> > Can you please tell me what i did wrong?<br>
> ><br>
> > Thank you,<br>
> > Max<br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > View this message in context:<br>
> > <a href="http://vtk.1045678.n5.nabble.com/Render-Control-tp5721532p5721541.html" target="_blank">http://vtk.1045678.n5.nabble.com/Render-Control-tp5721532p5721541.html</a><br>
> > Sent from the VTK - Users mailing list archive at Nabble.com.<br>
> ><br>
> ><br>
> > ------------------------------<br>
> ><br>
> > Message: 8<br>
> > Date: Mon, 24 Jun 2013 12:26:25 +0530<br>
> > From: Ashish Singh <<a href="mailto:asinghmlists@gmail.com" target="_blank">asinghmlists@gmail.com</a>><br>
> > Subject: [vtkusers] VTK build with postfix d : error<br>
> > To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> > Message-ID:<br>
> > <<br>
> > <a href="mailto:CAOqamVFZjnwAPrKXSAmaecXwp-tavUGyj1WowzrZ86V_v3xA7w@mail.gmail.com" target="_blank">CAOqamVFZjnwAPrKXSAmaecXwp-tavUGyj1WowzrZ86V_v3xA7w@mail.gmail.com</a>><br>
> > Content-Type: text/plain; charset="iso-8859-1"<br>
> ><br>
> > Hi,<br>
> ><br>
> > 1) I am trying to build VTK5.10.1 with Qt 4.8.4 on Windows 7, x64<br>
> platform<br>
> > with Visual Studio 2010 with postfix 'd' option. The build goes fine<br>
> > without any errors. I am able to run the cone example( plain VTK example)<br>
> > using my build. But when I run the RenderWindowNoUiFile ( VTK + Qt<br>
> > example), I get a runtime error saying -<br>
> > "The application was unable to start correct (0xc000000d). Click OK to<br>
> > close the application"<br>
> ><br>
> > 2) When I try to build "Install" for this VTK build, I get the following<br>
> > error:<br>
> ><br>
> > 1> -- Up-to-date: E:/VTKDebugBin/bin/QVTKd.dll<br>
> > 1> CMake Error at GUISupport/Qt/PluginInstall.cmake:13 (FILE):<br>
> > 1> file INSTALL cannot find<br>
> > "E:/VTKDebugBuild/bin/Debug/QVTKWidgetPlugin.dll".<br>
> > 1> Call Stack (most recent call first):<br>
> > 1> GUISupport/Qt/cmake_install.cmake:89 (INCLUDE)<br>
> > 1> GUISupport/cmake_install.cmake:32 (INCLUDE)<br>
> > 1> cmake_install.cmake:181 (INCLUDE)<br>
> > 1><br>
> > 1><br>
> > 1>C:\Program Files<br>
> > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> error<br>
> > MSB3073: The command "setlocal<br>
> > 1>C:\Program Files<br>
> > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> error<br>
> > MSB3073: "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe"<br>
> > -DBUILD_TYPE=Debug -P cmake_install.cmake<br>
> > 1>C:\Program Files<br>
> > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> error<br>
> > MSB3073: if %errorlevel% neq 0 goto :cmEnd<br>
> > 1>C:\Program Files<br>
> > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> error<br>
> > MSB3073: :cmEnd<br>
> > 1>C:\Program Files<br>
> > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> error<br>
> > MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone<br>
> > 1>C:\Program Files<br>
> > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> error<br>
> > MSB3073: :cmErrorLevel<br>
> > 1>C:\Program Files<br>
> > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> error<br>
> > MSB3073: exit /b %1<br>
> > 1>C:\Program Files<br>
> > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> error<br>
> > MSB3073: :cmDone<br>
> > 1>C:\Program Files<br>
> > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> error<br>
> > MSB3073: if %errorlevel% neq 0 goto :VCEnd<br>
> > 1>C:\Program Files<br>
> > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> error<br>
> > MSB3073: :VCEnd" exited with code 1.<br>
> > 1><br>
> > 1>Build FAILED.<br>
> > 1><br>
> > 1>Time Elapsed 00:00:10.95<br>
> > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped<br>
> ==========<br>
> ><br>
> > Can anyone please help me figure out what is going wrong here and how to<br>
> > fix these 2 issues?<br>
> ><br>
> > The details of my environment are:<br>
> > VTK version: 5.10.1<br>
> > Qt: 4.8.4<br>
> > OS: windows 7 64 bit<br>
> > Visual Studio 2010<br>
> ><br>
> > Thanks,<br>
> > Ashish<br>
> > -------------- next part --------------<br>
> > An HTML attachment was scrubbed...<br>
> > URL: <<br>
> ><br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130624/e052c949/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130624/e052c949/attachment-0001.htm</a><br>
> > ><br>
> ><br>
> > ------------------------------<br>
> ><br>
> > Message: 9<br>
> > Date: Mon, 24 Jun 2013 13:45:40 +0530<br>
> > From: Ashish Singh <<a href="mailto:asinghmlists@gmail.com" target="_blank">asinghmlists@gmail.com</a>><br>
> > Subject: Re: [vtkusers] VTK build with postfix d : error<br>
> > To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> > Message-ID:<br>
> > <CAOqamVG9VOK+iG=CnpFDbxq8TWjVmjMbR+=<br>
> > <a href="mailto:W7aimJ5JHPZkH4w@mail.gmail.com" target="_blank">W7aimJ5JHPZkH4w@mail.gmail.com</a>><br>
> > Content-Type: text/plain; charset="iso-8859-1"<br>
> ><br>
> > I am replying to my own post. For issue # 2, I checked file<br>
> > GUISupport/Qt/PluginInstall.cmake<br>
> ><br>
> > The contents of this file are as follows:<br>
> > ----<br>
> > # Configured file and directory locations.<br>
> > SET(VTK_LIB_DIR "E:/VTKDebugBuild/bin")<br>
> > SET(VTK_INSTALL_QT_DIR "/plugins/designer")<br>
> > SET(VTK_INSTALL_QT_PLUGIN_DIR<br>
> > "${CMAKE_INSTALL_PREFIX}${VTK_INSTALL_QT_DIR}")<br>
> > SET(VTK_INSTALL_QT_PLUGIN_FILE "QVTKWidgetPlugin.dll")<br>
> > SET(VTK_CONFIGURATIONS "Debug;Release;MinSizeRel;RelWithDebInfo")<br>
> ><br>
> > IF(VTK_CONFIGURATIONS)<br>
> > SET(VTK_LIBSUBDIR "/${BUILD_TYPE}")<br>
> > ENDIF(VTK_CONFIGURATIONS)<br>
> ><br>
> > # Install the file to the specified location.<br>
> > FILE(INSTALL DESTINATION "${VTK_INSTALL_QT_PLUGIN_DIR}" TYPE<br>
> SHARED_LIBRARY<br>
> > FILES "${VTK_LIB_DIR}${VTK_LIBSUBDIR}/${VTK_INSTALL_QT_PLUGIN_FILE}")<br>
> > ----<br>
> > If we look at line :<br>
> > SET(VTK_INSTALL_QT_PLUGIN_FILE "QVTKWidgetPlugin.dll")<br>
> ><br>
> > we see that it is looking for file "QVTKWidgetPlugin.dll". But since, I<br>
> > already added a postfix d, it cannot find this file and therefore is<br>
> giving<br>
> > errors. If I change the file name to QVTKWidgetPlugind.dll, the build<br>
> > "Install" step succeeds.<br>
> ><br>
> > Is this a bug?<br>
> ><br>
> > Issue # 1, still remains. I am still not able to run the<br>
> > RenderWindowNoUiFile example after adding postfix d.<br>
> ><br>
> > Can anyone please help?<br>
> ><br>
> > Thanks,<br>
> > Ashish<br>
> ><br>
> > On Mon, Jun 24, 2013 at 12:26 PM, Ashish Singh <<a href="mailto:asinghmlists@gmail.com" target="_blank">asinghmlists@gmail.com</a><br>
> > >wrote:<br>
> ><br>
> > > Hi,<br>
> > ><br>
> > > 1) I am trying to build VTK5.10.1 with Qt 4.8.4 on Windows 7, x64<br>
> > platform<br>
> > > with Visual Studio 2010 with postfix 'd' option. The build goes fine<br>
> > > without any errors. I am able to run the cone example( plain VTK<br>
> example)<br>
> > > using my build. But when I run the RenderWindowNoUiFile ( VTK + Qt<br>
> > > example), I get a runtime error saying -<br>
> > > "The application was unable to start correct (0xc000000d). Click OK to<br>
> > > close the application"<br>
> > ><br>
> > > 2) When I try to build "Install" for this VTK build, I get the<br>
> following<br>
> > > error:<br>
> > ><br>
> > > 1> -- Up-to-date: E:/VTKDebugBin/bin/QVTKd.dll<br>
> > > 1> CMake Error at GUISupport/Qt/PluginInstall.cmake:13 (FILE):<br>
> > > 1> file INSTALL cannot find<br>
> > > "E:/VTKDebugBuild/bin/Debug/QVTKWidgetPlugin.dll".<br>
> > > 1> Call Stack (most recent call first):<br>
> > > 1> GUISupport/Qt/cmake_install.cmake:89 (INCLUDE)<br>
> > > 1> GUISupport/cmake_install.cmake:32 (INCLUDE)<br>
> > > 1> cmake_install.cmake:181 (INCLUDE)<br>
> > > 1><br>
> > > 1><br>
> > > 1>C:\Program Files<br>
> > > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> > error<br>
> > > MSB3073: The command "setlocal<br>
> > > 1>C:\Program Files<br>
> > > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> > error<br>
> > > MSB3073: "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe"<br>
> > > -DBUILD_TYPE=Debug -P cmake_install.cmake<br>
> > > 1>C:\Program Files<br>
> > > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> > error<br>
> > > MSB3073: if %errorlevel% neq 0 goto :cmEnd<br>
> > > 1>C:\Program Files<br>
> > > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> > error<br>
> > > MSB3073: :cmEnd<br>
> > > 1>C:\Program Files<br>
> > > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> > error<br>
> > > MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone<br>
> > > 1>C:\Program Files<br>
> > > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> > error<br>
> > > MSB3073: :cmErrorLevel<br>
> > > 1>C:\Program Files<br>
> > > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> > error<br>
> > > MSB3073: exit /b %1<br>
> > > 1>C:\Program Files<br>
> > > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> > error<br>
> > > MSB3073: :cmDone<br>
> > > 1>C:\Program Files<br>
> > > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> > error<br>
> > > MSB3073: if %errorlevel% neq 0 goto :VCEnd<br>
> > > 1>C:\Program Files<br>
> > > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5):<br>
> > error<br>
> > > MSB3073: :VCEnd" exited with code 1.<br>
> > > 1><br>
> > > 1>Build FAILED.<br>
> > > 1><br>
> > > 1>Time Elapsed 00:00:10.95<br>
> > > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped<br>
> > ==========<br>
> > ><br>
> > > Can anyone please help me figure out what is going wrong here and how<br>
> to<br>
> > > fix these 2 issues?<br>
> > ><br>
> > > The details of my environment are:<br>
> > > VTK version: 5.10.1<br>
> > > Qt: 4.8.4<br>
> > > OS: windows 7 64 bit<br>
> > > Visual Studio 2010<br>
> > ><br>
> > > Thanks,<br>
> > > Ashish<br>
> > ><br>
> > -------------- next part --------------<br>
> > An HTML attachment was scrubbed...<br>
> > URL: <<br>
> ><br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130624/f3ff4e48/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130624/f3ff4e48/attachment-0001.htm</a><br>
> > ><br>
> ><br>
> > ------------------------------<br>
> ><br>
> > Message: 10<br>
> > Date: Mon, 24 Jun 2013 09:13:26 +0000<br>
> > From: Gu?ni Karl Rosenkj?r <<a href="mailto:grosenkj@eos.ubc.ca" target="_blank">grosenkj@eos.ubc.ca</a>><br>
> > Subject: [vtkusers] Generating a polyhedron cell from polydata in<br>
> > Python<br>
> > To: VTKusers <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
> > Message-ID:<br>
> > <CAOqTh=<br>
> > <a href="mailto:m3A110FVXoHTb77wU3CvdFNcOHqaF0kCVP1TJvy-WE5w@mail.gmail.com" target="_blank">m3A110FVXoHTb77wU3CvdFNcOHqaF0kCVP1TJvy-WE5w@mail.gmail.com</a>><br>
> > Content-Type: text/plain; charset="iso-8859-1"<br>
> ><br>
> > Hello all vtk users,<br>
> ><br>
> > I am trying to make a polyhedron cell (vtkUnstructuredGrid) from a<br>
> > polydata. Googling for information on how to do this I have found these<br>
> C++<br>
> > test and used the as a guide.<br>
> ><br>
> > However when I run my code on Fedora 17 64bit, using python 2.7.3 and vtk<br>
> > 5.10.1 (self compiled), I get an error when using InsertNextCell call of<br>
> > the vtkUnstructuredGrid object.<br>
> ><br>
> > Here is a example code I am using:<br>
> > import vtk<br>
> ><br>
> > # Read the polyData<br>
> > cube = vtk.vtkCubeSource()<br>
> > Poly = cube.GetOutput()<br>
> ><br>
> > # Extract the information needed from the poly data<br>
> > numPts = vtk.vtkIdTypeArray()<br>
> > numPts.InsertNextValue(Poly.GetNumberOfPoints())<br>
> > ptsIds = vtk.vtkIdTypeArray()<br>
> > for cP in range(numPts.GetValue(0)): ptsIds.InsertNextValue(cP)<br>
> > numCellFaces = vtk.vtkIdTypeArray()<br>
> > numCellFaces.InsertNextValue(Poly.GetNumberOfPolys())<br>
> > faces = vtk.vtkIdTypeArray()<br>
> > for cF in range(numCellFaces.GetValue(0)):<br>
> > numPtsInFace = vtk.vtkIdTypeArray()<br>
> > numPtsInFace.InsertNextValue( Poly.GetCell(cF).GetNumberOfPoints())<br>
> > faces.InsertNextValue(numPtsInFace)<br>
> > for cPF in range(numPtsInFace.GetValue(0)):<br>
> > faces.InsertNextValue(Poly.GetCell(cF).GetPointId(cPF))<br>
> ><br>
> > # Make the grid<br>
> > UnstructPolyHed = vtk.vtkUnstructuredGrid()<br>
> > UnstructPolyHed.SetPoints(Poly.GetPoints())<br>
> ><br>
> ><br>
> UnstructPolyHed.InsertNextCell(vtk.VTK_POLYHEDRON,numPts,ptsIds,numCellFaces,faces)<br>
> ><br>
> ><br>
> > But I always end with this error: InsertNextCell() takes exactly 2<br>
> > arguments (5 given)<br>
> ><br>
> > The example used 5 inputs as follows<br>
> > InsertNextCell(int type, vtkIdType npts, vtkIdType *ptIds, vtkIdType<br>
> > nfaces, vtkIdType *faces)<br>
> ><br>
> ><br>
> > What am I doing incorrectly?<br>
> ><br>
> > Thanks in advance.<br>
> ><br>
> > Cheers,<br>
> > Gudni Karl<br>
> > -------------- next part --------------<br>
> > An HTML attachment was scrubbed...<br>
> > URL: <<br>
> ><br>
> <a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130624/c805ba42/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130624/c805ba42/attachment-0001.htm</a><br>
> > ><br>
> ><br>
> > ------------------------------<br>
> ><br>
> > Message: 11<br>
> > Date: Mon, 24 Jun 2013 09:25:01 -0400<br>
> > From: Randy Heiland <<a href="mailto:heiland@indiana.edu" target="_blank">heiland@indiana.edu</a>><br>
> > Subject: [vtkusers] building vtk6, simple example<br>
> > To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> > Message-ID: <<a href="mailto:86953D8F-E239-49CE-AEF8-044F0B7C5BAD@indiana.edu" target="_blank">86953D8F-E239-49CE-AEF8-044F0B7C5BAD@indiana.edu</a>><br>
> > Content-Type: text/plain; charset=us-ascii<br>
> ><br>
> > Hello,<br>
> ><br>
> > Thought I'd take a stab at VTK6 and will ask the about the build process,<br>
> > in general, as well as a specific link error, while I also dig a little<br>
> > deeper. I did a simple cmake/build via:<br>
> > cmake -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++<br>
> > -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc ../VTK6.0.0.rc3<br>
> ><br>
> > and make install. Then I downloaded the tarball from here:<br>
> > <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/SimplePointsReader" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/SimplePointsReader</a> , did a<br>
> > successful cmake on it, but then got:<br>
> ><br>
> > ~/dev/vtk6-play/SimplePointsReader/build$ make<br>
> > Scanning dependencies of target SimplePointsReader<br>
> > [100%] Building CXX object<br>
> > CMakeFiles/SimplePointsReader.dir/SimplePointsReader.cxx.o<br>
> > Linking CXX executable<br>
> > SimplePointsReader.app/Contents/MacOS/SimplePointsReader<br>
> > ld: library not found for -lvtkFiltersParallelFlowPaths<br>
> > collect2: ld returned 1 exit status<br>
> ><br>
> > This seemed curious, since I hadn't turned on any parallel flags in the<br>
> > VTK cmake. But sure enough, I saw that some parallel libs had been<br>
> built,<br>
> > e.g.:<br>
> > ~/dev/vtk6-build$ ls /usr/local/lib/libvtk*Paral*.dylib<br>
> > /usr/local/lib/libvtkFiltersParallel-6.0.1.dylib*<br>
> > /usr/local/lib/libvtkFiltersParallel-6.0.dylib@<br>
> > /usr/local/lib/libvtkFiltersParallelImaging-6.0.1.dylib*<br>
> > /usr/local/lib/libvtkFiltersParallelImaging-6.0.dylib@<br>
> > /usr/local/lib/libvtkIOParallel-6.0.1.dylib*<br>
> > /usr/local/lib/libvtkIOParallel-6.0.dylib@<br>
> > /usr/local/lib/libvtkParallelCore-6.0.1.dylib*<br>
> > /usr/local/lib/libvtkParallelCore-6.0.dylib@<br>
> ><br>
> > Fwiw, I also have:<br>
> > ~/dev/vtk6-build$ grep parallel CMakeCache.txt |grep bool<br>
> > Module_vtkFiltersParallelFlowPaths:BOOL=OFF<br>
> > Module_vtkFiltersParallelGeometry:BOOL=OFF<br>
> > Module_vtkFiltersParallelMPI:BOOL=OFF<br>
> > Module_vtkFiltersParallelStatistics:BOOL=OFF<br>
> > Module_vtkIOMPIParallel:BOOL=OFF<br>
> > Module_vtkIOParallelExodus:BOOL=OFF<br>
> > Module_vtkIOParallelLSDyna:BOOL=OFF<br>
> > Module_vtkIOParallelNetCDF:BOOL=OFF<br>
> > Module_vtkInfovisParallel:BOOL=OFF<br>
> > Module_vtkParallelMPI:BOOL=OFF<br>
> > Module_vtkRenderingParallel:BOOL=OFF<br>
> ><br>
> > So, a couple questions - why are parallel libs being built and why does<br>
> > this example seem to require them? Apologies if I missed info on the<br>
> wiki,<br>
> > etc.<br>
> ><br>
> > thanks, Randy<br>
> ><br>
> > ------------------------------<br>
> ><br>
> > Message: 12<br>
> > Date: Mon, 24 Jun 2013 07:01:15 -0700 (PDT)<br>
> > From: chasank <<a href="mailto:chasank@gmail.com" target="_blank">chasank@gmail.com</a>><br>
> > Subject: [vtkusers] vtkborderwidget in vtk6.0rc3<br>
> > To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
> > Message-ID: <<a href="mailto:1372082475230-5721550.post@n5.nabble.com" target="_blank">1372082475230-5721550.post@n5.nabble.com</a>><br>
> > Content-Type: text/plain; charset=us-ascii<br>
> ><br>
> > Hi,<br>
> ><br>
> > Although vtk5.10.1 has vtkBorderWidget class, vtk6.0rc3</blockquote></div></div></div></blockquote></div></div></blockquote></div></div></blockquote></div></div></blockquote></div></div></blockquote></div></div>
</blockquote></div></div></blockquote></div></div></blockquote></div></div></div></div>...<br><br>[Message clipped] </blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>
<div dir="ltr"><span style="color:rgb(0,0,255)"><b>Best Regards<br>
Rahul Indoria<br>Mobile No: <a href="tel:%2B49-157-35652212" value="+4915735652212" target="_blank">+49-157-35652212</a></b></span><br></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="color:rgb(0,0,255)"><b>Best Regards<br>Rahul Indoria<br>Mobile No: +49-157-35652212</b></span><br></div>
</div>