[prev in list] [next in list] [prev in thread] [next in thread]
List: vtkusers
Subject: Re: Surface Rendering - Rat heart arteriole
From: Joey Mukherjee <joey () rolaren ! space ! swri ! edu>
Date: 2000-03-28 19:47:33
Message-ID: 200003281935.NAA18767 () rolaren ! space ! swri ! edu
[Download RAW message or body]
> I have just started to use VTK(C++) and have gotten some
>preliminary examples up and running. The purpose of my project is to
>take
>multiple images, extract points from the images and create a 3d surface
>representation from those points.
>for example:
>slice 1 points:
>
> + + +
> + +
> + + +
>
>slice 2 points:
> + + +
> + +
> + + +
>
>therefore by stacking these two slices, I would get a cube.
>My data is not structured like the above examples.
>Any recommendations on where to begin, what pipline to use?
>
I kind of did that so I feel qualified to answer.
The easiest thing to do is get your data into a structured format where the
topology is easy. With that, you can the use the vtkStructuredGrid dataset.
If you choose not (or can not) do that, use a vtkUnstructuredGrid (or
vtkPolyData) and insert your data into it. Next, do a Delaunay3D over the
dataset and from there you have a dataset which can either be mapped directly or
vtkContourFilter'ed and the mapped.
Your pipelines would be :
vtkDataSet (either vtkStructuredGrid or vtkPolyData->vtkDelaunay3D)
vtkContourFilter (will create iso-surfaces)
vtkPolyDataMapper
vtkRenderer
Hope this helps!
Joey
+--------------------------------------------------------------------------+
+ Joey Mukherjee "I am amused by the simplicity +
+ joey@swri.org of this game. Bring me your +
+ http://www.space.swri.edu/~joey finest meats and cheeses." +
+ +
+--------------------------------------------------------------------------+
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo@public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic