hi all,<br>I have been writing code for vtk in java, i have added vtk.jar file but the header<br>import vtk.util.VtkPanelContainer;<br>import vtk.util.VtkPanelUtil;<br>import vtk.util.VtkUtil;<br>which seems to be missing, my classpath and all things are right.<br>
other codes are working except the ones that add vtk.util.* package..<br>please help me figure out what is the problem.<br><br><div class="gmail_quote">On 4 February 2010 22:30, <span dir="ltr"><<a href="mailto:vtkusers-request@vtk.org">vtkusers-request@vtk.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send vtkusers mailing list submissions to<br>
<a href="mailto:vtkusers@vtk.org">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">vtkusers-request@vtk.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:vtkusers-owner@vtk.org">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: Visualizing 2D data in 3D (Banks, Robert)<br>
2. Re: Selections (David Doria)<br>
3. Re: Can't move vtkAxesActor with<br>
vtkInteractorStyleTrackballActor (David Doria)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 4 Feb 2010 06:54:42 -0800<br>
From: "Banks, Robert" <<a href="mailto:banks@wai.com">banks@wai.com</a>><br>
Subject: Re: [vtkusers] Visualizing 2D data in 3D<br>
Cc: "<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>" <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Message-ID: <<a href="mailto:31AFF9F8-FAD2-4384-8B81-33078F4AA15C@wai.com">31AFF9F8-FAD2-4384-8B81-33078F4AA15C@wai.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Sorry, I wasn't quite right when I said that was what I was after. The data set I have is a 2d array, not 2d line<br>
Info.<br>
<br>
So basically a 2d matrix of data points , x columns by y rows.<br>
<br>
Sorry for the confusion<br>
<br>
R<br>
<br>
On Feb 4, 2010, at 4:56 AM, "David Doria" <<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a><mailto:<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>>> wrote:<br>
<br>
On Wed, Feb 3, 2010 at 8:12 PM, Banks, Robert <<mailto:<a href="mailto:banks@wai.com">banks@wai.com</a>><a href="mailto:banks@wai.com">banks@wai.com</a><mailto:<a href="mailto:banks@wai.com">banks@wai.com</a>>> wrote:<br>
Exactly<br>
<br>
Thanks<br>
<br>
Someone please chime in if there is already a filter to do this in VTK.<br>
<br>
What you could do is this:<br>
<br>
1) Define your curve<br>
2) make a copy of it rotated it N degrees around the axis of revolution. 360 should be divisible by N. The smaller N is, the smoother your surface will be.<br>
3) make a quad on every 2 points and their corresponding copied points.<br>
4) run vtkCleanPolyDataFilter and vtkTriangleFilter<br>
<br>
If no one lets your know about an easier method, this should work. Let us know if you try and get stuck. Also, when you get it to work, please send the code and I'll put it on the wiki.<br>
<br>
Thanks,<br>
<br>
David<br>
_______________________________________________<br>
Powered by <<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>> <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><br>
<br>
Visit other Kitware open-source projects at <<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>> <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: <<a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a>> <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>
Weidlinger Associates, Inc. made the following annotations.<br>
<br>
?This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.?<br>
<br>
?Please consider our environment before printing this email.?<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20100204/70e3914a/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20100204/70e3914a/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 4 Feb 2010 10:18:47 -0500<br>
From: David Doria <<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>><br>
Subject: Re: [vtkusers] Selections<br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto:c19fcadc1002040718u3809a82cia183587e68799774@mail.gmail.com">c19fcadc1002040718u3809a82cia183587e68799774@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
><br>
> Hi Jeff,<br>
><br>
> I had tried the AddID function, it also resulted in 0 points in the output.<br>
> When I added the ::INDICES and ::POINT properties, the output now has 50<br>
> points (still supposed to be 11).<br>
><br>
> I see in the Source article you did this:<br>
> vtkUnstructuredGrid* extracted = extractSelection->GetOutput();<br>
><br>
> but when I try that it tells me cannot convert vtkDataObject to<br>
> vtkUnstructuredGrid. Hence my vtkDataSet::SafeDownCast. Maybe this is the<br>
> problem?<br>
><br>
> Here is the latest version:<br>
> <a href="http://www.vtk.org/Wiki/VTK/Examples/ExtractSelection" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/ExtractSelection</a><br>
><br>
> Thanks,<br>
><br>
> David<br>
><br>
<br>
Any more thoughts on this?<br>
<br>
Thanks,<br>
<br>
David<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20100204/5136c219/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20100204/5136c219/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 4 Feb 2010 11:19:40 -0500<br>
From: David Doria <<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>><br>
Subject: Re: [vtkusers] Can't move vtkAxesActor with<br>
vtkInteractorStyleTrackballActor<br>
Cc: vtk <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Message-ID:<br>
<<a href="mailto:c19fcadc1002040819o3ed58581y959f82b51a2448b6@mail.gmail.com">c19fcadc1002040819o3ed58581y959f82b51a2448b6@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
><br>
> Ok I've extracted the parts of the axes as Dean suggested - then I've<br>
> re-assembled them as Francois suggested:<br>
><br>
> <a href="http://www.cmake.org/Wiki/VTK/Examples/MovableAxes" target="_blank">http://www.cmake.org/Wiki/VTK/Examples/MovableAxes</a><br>
><br>
> But I still cannot move them. Any thoughts?<br>
><br>
> David<br>
><br>
<br>
I still don't understand what the problem with this is. Once I get the<br>
Actors out of the AxesActor and reassemble them into a PropAssembly, they<br>
should be free to move, right?<br>
<br>
David<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20100204/88a098b7/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20100204/88a098b7/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
vtkusers mailing list<br>
<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
End of vtkusers Digest, Vol 70, Issue 10<br>
****************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>Nikhil Kumar<br>rit2007033<br>b.tech IT 6th sem<br>IIIT Allahabad<br>contact@9793905858<br>email: <a href="mailto:rit2007033@iiita.ac.in">rit2007033@iiita.ac.in</a><br> <a href="mailto:niksinghania@gmail.com">niksinghania@gmail.com</a><br>
<a href="http://profile.iiita.ac.in/RIT2007033/">http://profile.iiita.ac.in/RIT2007033/</a><br><br><br>