SCIRun User Mailing List

Text archives Help


[SCIRUN-USERS] SampleField


Chronological Thread 
  • From: "Elisha Hughes" <erh0509@westminstercollege.edu>
  • To: <scirun-users@sci.utah.edu>
  • Subject: [SCIRUN-USERS] SampleField
  • Date: Sat, 09 Apr 2005 09:12:01 -0600

Dear scirun-users,

I am currently calling the SampleField module from another module in order to 
get a pointCloudField of random points. I'm using the following code:

ProgressReporter *pr = new ProgressReporter(); 
FieldHandle rph=SampleFieldRandomAlgoT<typename FSP::mesh_type>::execute(pr, 
myfieldH, numpts, (int)(100*drand48()), "uniuni", 0);

This seems kind of strange - I don't really want a ProgressReporter. Is there 
a better way to do this?

Thank you 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         ==
===========================================================================





Archive powered by MHonArc 2.6.16.

Top of page