SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] SCIRun cells


Chronological Thread 
  • From: Michael Callahan <callahan@sci.utah.edu>
  • To: Elisha Hughes <erh0509@westminstercollege.edu>
  • Cc: scirun-users@sci.utah.edu
  • Subject: Re: [SCIRUN-USERS] SCIRun cells
  • Date: Fri, 18 Mar 2005 20:49:25 -0700

The SampleField module does this.

http://software.sci.utah.edu/src/Dataflow/XML/SampleField.html

src/nets/Modules/FieldsCreate/SampleField-weightedrandom.net

  Michael


On Fri, 2005-03-18 at 18:06 -0700, Elisha Hughes wrote:
> I apologize for being vague!
> 
> I probably should have asked my question this way: 
> Given the index of a tetrahedral cell, how can I find the coordinates of 
> it's 4 corners?
> 
> Here is a little context:
> I am working with a program that randomly selects a node from a TetVolMesh, 
> and places a new node in the same coordinate location in a PointCloudField.
> 
> I would like for these new nodes in the PointCloudField to be placed in 
> positions that correspond to randomly selected points in the TetVolMesh.
> 
> The problem is that in the TetVolMesh some nodes are closer together, and 
> some are farther apart, so picking a random node is not the same as picking 
> a random location in the mesh.
> 
> In order to make this process more random, I would like to get the 
> coordinates to a point inside a cell. 
> 
> Thanks for you help!
> Elisha
> 
> 
> 
> 
> >>> David Weinstein <dmw@sci.utah.edu> 03/18/05 11:39 AM >>>
> Hi Elisha,
> 
> I'm not sure what you mean.  Can you please give us a little more  
> context?
> 
> Cheers,
> Dave
> 
> 
> On Mar 18, 2005, at 11:13 AM, Elisha Hughes wrote:
> 
> > Dear SCIRun,
> >
> > I would like to access points inside of cells. How can I do this?
> >
> > Thanks for your help,
> > Elisha
> >
> > ======================================================================= 
> > ====
> > == The SCIRun Users mailing list: send email to majordomo@sci.utah.edu  
> >   ==
> > == for more details.                                                    
> >   ==
> > == Please acknowledge use of SCIRun in your papers and reports:         
> >   ==
> > ==   see http://software.sci.utah.edu/scirun-biopse_citation.bib        ;
> >   ==
> > ======================================================================= 
> > ====
> 
> 
> ===========================================================================
> == The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
> == for more details.                                                     ==
> == Please acknowledge use of SCIRun in your papers and reports:          ==
> ==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
> ===========================================================================

===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================





Archive powered by MHonArc 2.6.16.

Top of page