[vtkusers] vtkusers Digest, Vol 70, Issue 10

nikhil singhania niksinghania at gmail.com
Thu Feb 4 12:07:41 EST 2010


hi all,
I have been writing code for vtk in java, i have added vtk.jar file but the
header
import vtk.util.VtkPanelContainer;
import vtk.util.VtkPanelUtil;
import vtk.util.VtkUtil;
which seems to be missing, my classpath and all things are right.
other codes are working except the ones that add vtk.util.* package..
please help me figure out what is the problem.

On 4 February 2010 22:30, <vtkusers-request at vtk.org> wrote:

> Send vtkusers mailing list submissions to
>        vtkusers at vtk.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://www.vtk.org/mailman/listinfo/vtkusers
> or, via email, send a message with subject or body 'help' to
>        vtkusers-request at vtk.org
>
> You can reach the person managing the list at
>        vtkusers-owner at vtk.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of vtkusers digest..."
>
>
> Today's Topics:
>
>   1. Re: Visualizing 2D data in 3D (Banks, Robert)
>   2. Re: Selections (David Doria)
>   3. Re: Can't move vtkAxesActor with
>      vtkInteractorStyleTrackballActor (David Doria)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 4 Feb 2010 06:54:42 -0800
> From: "Banks, Robert" <banks at wai.com>
> Subject: Re: [vtkusers] Visualizing 2D data in 3D
> Cc: "vtkusers at vtk.org" <vtkusers at vtk.org>
> Message-ID: <31AFF9F8-FAD2-4384-8B81-33078F4AA15C at wai.com>
> Content-Type: text/plain; charset="utf-8"
>
> 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
> Info.
>
> So basically a 2d matrix of data points , x columns by y rows.
>
> Sorry for the confusion
>
> R
>
> On Feb 4, 2010, at 4:56 AM, "David Doria" <daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
> <mailto:daviddoria+vtk at gmail.com <daviddoria%2Bvtk at gmail.com>>> wrote:
>
> On Wed, Feb 3, 2010 at 8:12 PM, Banks, Robert <<mailto:banks at wai.com>
> banks at wai.com<mailto:banks at wai.com>> wrote:
> Exactly
>
> Thanks
>
> Someone please chime in if there is already a filter to do this in VTK.
>
> What you could do is this:
>
> 1) Define your curve
> 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.
> 3) make a quad on every 2 points and their corresponding copied points.
> 4) run vtkCleanPolyDataFilter and vtkTriangleFilter
>
> 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.
>
> Thanks,
>
> David
> _______________________________________________
> Powered by <http://www.kitware.com> www.kitware.com<http://www.kitware.com
> >
>
> Visit other Kitware open-source projects at <
> http://www.kitware.com/opensource/opensource.html>
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: <
> http://www.vtk.org/Wiki/VTK_FAQ> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
> ---------------------------------------------------------------------------------------------------
> Weidlinger Associates, Inc. made the following annotations.
>
> ?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.?
>
> ?Please consider our environment before printing this email.?
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20100204/70e3914a/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Thu, 4 Feb 2010 10:18:47 -0500
> From: David Doria <daviddoria+vtk at gmail.com <daviddoria%2Bvtk at gmail.com>>
> Subject: Re: [vtkusers] Selections
> Cc: vtkusers at vtk.org
> Message-ID:
>        <c19fcadc1002040718u3809a82cia183587e68799774 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> >
> > Hi Jeff,
> >
> > I had tried the AddID function, it also resulted in 0 points in the
> output.
> > When I added the ::INDICES and ::POINT properties, the output now has 50
> > points (still supposed to be 11).
> >
> > I see in the Source article you did this:
> > vtkUnstructuredGrid* extracted = extractSelection->GetOutput();
> >
> > but when I try that it tells me cannot convert vtkDataObject to
> > vtkUnstructuredGrid. Hence my vtkDataSet::SafeDownCast. Maybe this is the
> > problem?
> >
> > Here is the latest version:
> > http://www.vtk.org/Wiki/VTK/Examples/ExtractSelection
> >
> > Thanks,
> >
> > David
> >
>
> Any more thoughts on this?
>
> Thanks,
>
> David
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20100204/5136c219/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 3
> Date: Thu, 4 Feb 2010 11:19:40 -0500
> From: David Doria <daviddoria+vtk at gmail.com <daviddoria%2Bvtk at gmail.com>>
> Subject: Re: [vtkusers] Can't move vtkAxesActor with
>        vtkInteractorStyleTrackballActor
> Cc: vtk <vtkusers at vtk.org>
> Message-ID:
>        <c19fcadc1002040819o3ed58581y959f82b51a2448b6 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> >
> > Ok I've extracted the parts of the axes as Dean suggested - then I've
> > re-assembled them as Francois suggested:
> >
> > http://www.cmake.org/Wiki/VTK/Examples/MovableAxes
> >
> > But I still cannot move them. Any thoughts?
> >
> > David
> >
>
> I still don't understand what the problem with this is. Once I get the
> Actors out of the AxesActor and reassemble them into a PropAssembly, they
> should be free to move, right?
>
> David
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20100204/88a098b7/attachment-0001.htm
> >
>
> ------------------------------
>
> _______________________________________________
> vtkusers mailing list
> vtkusers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
> End of vtkusers Digest, Vol 70, Issue 10
> ****************************************
>



-- 
Nikhil Kumar
rit2007033
b.tech IT 6th sem
IIIT Allahabad
contact at 9793905858
email: rit2007033 at iiita.ac.in
         niksinghania at gmail.com
http://profile.iiita.ac.in/RIT2007033/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100204/d746d9f9/attachment.htm>


More information about the vtkusers mailing list