SCIRun User Mailing List

Text archives Help


[SCIRUN-USERS] Re: Is there a way to open the following VTK file in SCIRun?


Chronological Thread 
  • From: "Martin Cole" <mjcoogle@gmail.com>
  • To: scirun-users@sci.utah.edu
  • Subject: [SCIRUN-USERS] Re: Is there a way to open the following VTK file in SCIRun?
  • Date: Tue, 3 Jun 2008 12:13:10 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=biJS6/K5LJLAB69suy3AeUKXo5rxy1aktP32ut/5fm8eK9NU3Ki0PHN2dz8BNzKtmchwHPBzvp6fbQggAkc0D/4v08ZMtUa2g4sU9dL5rMVdkAcYqJz51sgusRs1CPG7F/NRN7J8LNbcB9RYUrpFLdgZrCUaW3lxjppO4r0YbiA=

There is a limited VTK converter, but I don't think it handles Structured data atm. 

The easiest way to create data for volume rendering is to create a nrrd.
http://teem.sourceforge.net/

You can likely just wrap the data in the example as a nrrd then volume render it.

--mc

On Fri, May 30, 2008 at 3:56 AM, Farid Harhad <fharhad@cct.lsu.edu> wrote:
Greetings from France SCIRun community!

I would like to use open the following file using SCIRun and use volume rendering to plot the data.  Here the content of my file:

# vtk DataFile Version 2.0
Volume example
ASCII
DATASET STRUCTURED_POINTS
DIMENSIONS 3 4 6
ASPECT_RATIO 1 1 1
ORIGIN 0 0 0
POINT_DATA 72
SCALARS volume_scalars char 1
LOOKUP_TABLE default
0 0 0 0 0 0 0 0 0 0 0 0
0 5 10 15 20 25 25 20 15 10 5 0
0 10 20 30 40 50 50 40 30 20 10 0
0 10 20 30 40 50 50 40 30 20 10 0
0 5 10 15 20 25 25 20 15 10 5 0
0 0 0 0 0 0 0 0 0 0 0 0


I've also attached the file. 

Alternatively, is there documentation that explain how to create datasets in the proper format that SCIRun will be able to process.  I saw the following document in the Wiki, but it wasn't very helpful:

http://software.sci.utah.edu/SCIRunDocs/index.php/CIBC:Documentation:SCIRun:UserGuide:ImportExport


Thank you very much (merci beaucoup),
--Farid






  • [SCIRUN-USERS] Re: Is there a way to open the following VTK file in SCIRun?, Martin Cole, 06/03/2008

Archive powered by MHonArc 2.6.16.

Top of page