[vtkusers] vtkContourFilter::SetValue-Can anyone help me ?
Anh Tuan
lara_tin2 at yahoo.com
Thu Oct 23 03:08:36 EDT 2003
Hi all VTK users!
I'm a VTK newbie;I'm developing a VTK Application .
I want render 3D volume from a serie of 2D slices(images)!
I've used code like in VTK example (vtk\Examples\Medical\TCL\Medical3.tcl) :
1 vtkContourFilter skinExtractor
2 skinExtractor SetInput [v16 GetOutput]
3 skinExtractor SetValue 0 500
4 vtkPolyDataNormals skinNormals
5 skinNormals SetInput [skinExtractor GetOutput]
6 skinNormals SetFeatureAngle 60.0
7 vtkStripper skinStripper
8 skinStripper SetInput [skinNormals GetOutput]
9 vtkPolyDataMapper skinMapper
10 skinMapper SetInput [skinStripper GetOutput]
11 skinMapper ScalarVisibilityOff
12 vtkActor skin
..... And so on!
It works well.
but my problem is with a specific serie of slices , I can't determine
which value is used in SetValue function in line 3 (for example , this is 500 but i dont know how to calculator it)
(Both Parameters , but 2nd Parameter is more imporant).
I ve tried to find the solution in VTK document,example ... but it has no good result.
Can anyone help me ?
I'm using vtk4.2 !
Thanks !
---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20031023/1c860240/attachment.htm>
More information about the vtkusers
mailing list