[vtkusers] compute a geodesic distance

Burlen burlen at apollo.sr.unh.edu
Mon Jun 6 16:47:59 EDT 2005


Hi maybe this isn't the best way, but if you could get a series of points along the path between the start and end point (maybe using the vtkPlane and vtkCutter) and estimate the arc length using some numerical integration technique...

On Monday 06 June 2005 03:56 pm, José Nsasi B. wrote:
> Hi All,
> 
> 
> Is any one knows how to compute a geodesic distance (surface distance) from one vertex to an other vertex in a given vtkPolyData? Is this computation available in VTK?
> 
> 
> Joseph.
> 
> 
> 
>  
>  
> 
> 
> 
> >From: vtkusers-request at vtk.org
> >Reply-To: vtkusers at vtk.org
> >To: vtkusers at vtk.org
> >Subject: vtkusers Digest, Vol 14, Issue 12
> >Date: Mon, 6 Jun 2005 12:00:56 -0400 (EDT)
> >
> >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: vtk and video (Simon Drouin)
> > 2. can i pass an array like argument to vtkBMPreader (med ali)
> > 3. Do to use STL Vector effectively? (Munenori Yoshioka)
> > 4. VTK CVS build on OSX 10.4 fails...any ideas? (Dan White)
> > 5. Stretching and shrinking 2D images (julien.barneoud at kodak.com)
> >
> >
> >----------------------------------------------------------------------
> >
> >Message: 1
> >Date: Mon, 06 Jun 2005 09:34:12 -0400
> >From: Simon Drouin <sdrouin at bic.mni.mcgill.ca>
> >Subject: Re: [vtkusers] vtk and video
> >To: Perrine Guillemot <guillemot_perrine at yahoo.fr>
> >Cc: Marwan Darwish <darwish at aub.edu.lb>, vtkusers at vtk.org
> >Message-ID: <42A450D4.4060505 at bic.mni.mcgill.ca>
> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> >Perrine Guillemot wrote:
> >
> > >Hi everybody,
> > >
> > >Can anyone please explain me how to use vtkVideoSource
> > >or where can I find some examples for using this
> > >class?
> > >
> > >
> >Here's the simplest piece of code you can write to grab a video frame.
> >
> >/* Create the source. Replace the vtkVideoSource::New() with
> >vtkMILVideoSource::New() or vtkWin32VideoSource::New() depending on the
> >type of frame grabber you use. */
> >vtkVideoSource * source = vtkVideoSource::New();
> >
> >// image size
> >source->SetFrameSize( 640, 480, 1 );
> >
> >// will output grayscale image.
> >source->SetOutputFormatToLuminance();
> >
> >// 15 frames/sec
> >source->SetFrameRate(15);
> >
> >// Set parameter in frame grabber hardware, mainly
> >source->Initialize();
> >
> >// Grab a frame to the buffer ( warning: it is not available in the
> >output unless you update the pipeline ).
> >source->Grab();
> >
> >then you can use source->GetOutput() to get the current frame.
> >
> >If you have any more questions, please ask.
> >
> >s.
> >
> >
> >------------------------------
> >
> >Message: 2
> >Date: Mon, 6 Jun 2005 16:00:30 +0200 (CEST)
> >From: med ali <daalyusmo at yahoo.fr>
> >Subject: [vtkusers] can i pass an array like argument to vtkBMPreader
> >
> >To: xujf at sjtu.edu.cn, vtkusers at vtk.org
> >Message-ID: <20050606140030.53862.qmail at web26409.mail.ukl.yahoo.com>
> >Content-Type: text/plain; charset="iso-8859-1"
> >
> >
> >Hi all,
> >
> >
> >
> >i want use vtkBMPReader but not directly on the files
> >
> > instead of passing the prefix of slices can i pass the array data of pixels to vtkBMPReader
> >
> >/*
> >
> >bmp= vtkBMPReader::New();
> >
> >bmp->SetFilePrefix (prefix);
> >
> >bmp->SetFileNameSliceOffset(1);
> >
> >bmp->SetFilePattern("%s%d.bmp");
> >
> >*/
> >
> >
> >---------------------------------
> > Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos !
> >Créez votre Yahoo! Mail
> >-------------- next part --------------
> >An HTML attachment was scrubbed...
> >URL: http://public.kitware.com/pipermail/vtkusers/attachments/20050606/e1b465cd/attachment-0001.htm
> >
> >------------------------------
> >
> >Message: 3
> >Date: Mon, 6 Jun 2005 23:03:17 +0900
> >From: "Munenori Yoshioka" <munenori at indigo.plala.or.jp>
> >Subject: [vtkusers] Do to use STL Vector effectively?
> >To: <vtkusers at vtk.org>
> >Message-ID: <001301c56aa0$7d2f9870$0c01a8c0 at osaka>
> >Content-Type: text/plain; charset="iso-2022-jp"
> >
> >Hello to all user.
> >
> >For instance, what method do you use by the method of most smoothly
> >displaying the memory data of 512*512*1 stored in STL Vector?
> >
> >Thanks very much to everyone that helps.
> >
> >Munenori Yoshioka, in japan munenori at indigo.plala.or.jp
> >
> >
> >
> >------------------------------
> >
> >Message: 4
> >Date: Mon, 6 Jun 2005 18:05:02 +0300
> >From: Dan White <dan at chalkie.org.uk>
> >Subject: [vtkusers] VTK CVS build on OSX 10.4 fails...any ideas?
> >To: vtkusers at vtk.org
> >Message-ID: <C3CE123D-AEA6-44A4-962D-E5DDCBEE0C0A at chalkie.org.uk>
> >Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
> >
> >Hi,
> >
> > I am trying to make a VTK CVS build on an apple G5 with 10.4 Tiger.
> > using the apple supplied gcc 4
> > for this project:
> > www.bioimagexd.org
> >
> > I'm getting errors in the linking stage...
> > looks like some symbol has the same name in the gcc libs as in
> >vtk or
> > something:
> >
> > when building libvtkImaging.dylib I get
> > ld: multiple definitions of symbol
> > in
> > libgcc.a and libgcc_s.dylib
> > the symbols are
> > ___divdi3
> > and
> > ___udivdi3
> >
> > Before killing myself trying to fix it,
> >
> > I wondered if you had any good tips for getting the OSX 10.4
> >build to
> >
> > work with the current CVS
> >
> > cheers
> >
> > Dan
> >
> >
> >
> >Dr. Daniel James White BSc. (Hons.) PhD
> >Bioimaging Coordinator
> >Nanoscience Centre and Department of Biological and Environmental
> >Sciences
> >Division of Molecular Recognition
> >Ambiotica C242
> >PO Box 35
> >University of Jyväskylä
> >Jyväskylä
> >FIN 40014
> >Finland
> >
> >+358 14 260 4183 (work)
> >+358 468102840 (mobile)
> >http://www.bioimagexd.org
> >http://www.chalkie.org.uk
> >dan at chalkie.org.uk
> >white at cc.jyu.fi
> >
> >
> >
> >
> >------------------------------
> >
> >Message: 5
> >Date: Mon, 6 Jun 2005 17:09:43 +0200
> >From: julien.barneoud at kodak.com
> >Subject: [vtkusers] Stretching and shrinking 2D images
> >To: vtkusers at vtk.org
> >Message-ID:
> > <OF7781A066.AC89291C-ONC1257018.0052CB93-C1257018.005349B9 at knotes.kodak.com>
> >
> >Content-Type: text/plain; charset="us-ascii"
> >
> >Hi Tanya,
> >
> >Thanks for your help. I am now also using the same classes as you did ...
> >Thank you very much.
> >
> >Regards,
> >
> >
> >Julien BARNEOUD
> >-------------- next part --------------
> >An HTML attachment was scrubbed...
> >URL: http://public.kitware.com/pipermail/vtkusers/attachments/20050606/38abd10e/attachment-0001.html
> >
> >------------------------------
> >
> >_______________________________________________
> >vtkusers mailing list
> >vtkusers at vtk.org
> >http://www.vtk.org/mailman/listinfo/vtkusers
> >
> >
> >End of vtkusers Digest, Vol 14, Issue 12
> >****************************************



More information about the vtkusers mailing list