[vtkusers] Re: Help on Building Cells
Amit Joshi
amit3 at cs.umbc.edu
Sun Jun 8 11:51:37 EDT 2003
hi helder,
For vtkPolyData, you can use InsertNextCell in order to regroup points into
cells as you want. Dont forget to call allocate before the first call to
InsertNextCell in order to specify the total number of cells you are going
to generate
About finding neighbours... well there are two methods
1) GetCellNeighbours - you will require to specify the cellId of the cell
you need to find neighbours for ..
2) GetPointCells - specify a point ID and it will return all the cells that
contain the given point.
I hope it helps...
Amit
----- Original Message -----
From: <vtkusers-request at public.kitware.com>
To: <vtkusers at public.kitware.com>
Sent: Sunday, June 08, 2003 7:45 AM
Subject: vtkusers digest, Vol 1 #1871 - 5 msgs
> Send vtkusers mailing list submissions to
> vtkusers at public.kitware.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://public.kitware.com/mailman/listinfo/vtkusers
> or, via email, send a message with subject or body 'help' to
> vtkusers-request at public.kitware.com
>
> You can reach the person managing the list at
> vtkusers-admin at public.kitware.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of vtkusers digest..."
>
>
> Today's Topics:
>
> 1. Principia Mathematica (Morten H Pedersen)
> 2. need help on using vtk4.2 (hong zhang)
> 3. (no subject) (yasser salman)
> 4. Help on Building Cells (Helder Carvalho)
> 5. Help--vtkFlRenderWindowInteractor (zhao yong qiang)
>
> --__--__--
>
> Message: 1
> Reply-To: <mhp at dadlnet.dk>
> From: "Morten H Pedersen" <mhp at dadlnet.dk>
> To: "VTK Mailing list" <vtkusers at public.kitware.com>
> Date: Sat, 7 Jun 2003 17:21:53 +0200
> Subject: [vtkusers] Principia Mathematica
>
> Does anyone know what happened to Principia Mathematica?
>
> www.principiamathematica.com seems dead. E.g. see:
>
>
http://web.archive.org/web/20011128085626/http://www.principiamathematica.co
> m/
>
> Morten H Pedersen
>
>
>
> --__--__--
>
> Message: 2
> Date: Sat, 7 Jun 2003 10:15:28 -0700 (PDT)
> From: hong zhang <hongzhang77 at yahoo.com>
> To: vtkusers at public.kitware.com
> Subject: [vtkusers] need help on using vtk4.2
>
> Hi,
> I don't know how to use vtk4.2 under VC++7.0.
> I use CMake get the ALL_BUILD.dsw and build it in
> VC7++.Then I get many directories such as filtering,io
> and rendering and some .h file such as
> vtkFilteringInstantiator.h.Every dirctory has a debug
> subdir with many .obj files and a .lib file.How can I
> use these stuff and add the function of vtk into my
> project?
> I read some help that need some .dll file but I can't
> find it in the output.And do I need openGL?
> Thanks,
> Hong
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com
>
> --__--__--
>
> Message: 3
> Date: Sat, 7 Jun 2003 16:30:10 -0700 (PDT)
> From: yasser salman <yass at uscx.net>
> To: vtk users <vtkusers at public.kitware.com>
> Reply-To: yass at uscx.net
> Subject: [vtkusers] (no subject)
>
> hi all.,
> i have a MRI volume (in tiff and raw formats) i wanna to use
> VtkmarchingCube filter to create the 3D surface..,
> can any body help me.., is there any example for this?
> yasser..,
>
>
> _____________________________________________________________
> Get free email, free website, free software and free products at
>
> http://www.uscomputer.net/portal.htm
>
> - U.S. Computer Corporation -
>
> -
>
> -
>
> -
>
> _____________________________________________________________
> Select your own custom email address for FREE! Get you at yourchoice.com w/No
Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag
>
> --__--__--
>
> Message: 4
> From: "Helder Carvalho" <hel_carvalho at hotmail.com>
> To: vtkusers at public.kitware.com
> Date: Sun, 08 Jun 2003 03:04:03 +0100
> Subject: [vtkusers] Help on Building Cells
>
> Hi everyone,
>
> i've got a polydata model from which i extracted the points. Now I need to
> take this points and regroup them into cells and put this cells back into
> the model. How can i do this????
> I also need to know the neighbor cells of each cell, so if i interact
with
> a specific poit inside a cell, this can affect all the points in that
cell,
> but also the points in the neighbor cells.
> Can someone tell me how to do this to???
>
> Thanks,
> Helder Carvalho
>
> _________________________________________________________________
> Tired of spam? Get advanced junk mail protection with MSN 8.
> http://join.msn.com/?page=features/junkmail
>
>
> --__--__--
>
> Message: 5
> From: "zhao yong qiang" <zhao-yq at cs.sjtu.edu.cn>
> To: <vtkusers at public.kitware.com>
> Date: Sun, 8 Jun 2003 11:01:39 +0800
> Subject: [vtkusers] Help--vtkFlRenderWindowInteractor
>
>
>
>
> Hi,everybody,
> I made a UI with FLTK and I wanted to render some VTK props in
> it.One of my friends recommended to me the
> class---vtkFlRenderWindowInteractor.And I used it to render some VTK
> props in a box and it did work. Then,I drew another box to render a cube
> made by FLTK. But this box could not work until I disabled the first
> one.So I want to ask if someone have ever met such case and is kind
> enough to give me the solution.
> Thanks a lot!
>
>
> yours,
>
> Sun Hao
>
>
>
>
> --__--__--
>
> _______________________________________________
> vtkusers mailing list
> vtkusers at public.kitware.com
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
> End of vtkusers Digest
More information about the vtkusers
mailing list