vtkTubeFilter
Jordi Cabot
cabot at tele.ucl.ac.be
Fri Oct 29 08:10:56 EDT 1999
Stéphane MOREAU wrote:
>
I have just tried the following code and it works fine
vtkLineSource l
l SetPoint1 0 0 0
l SetPoint2 50 0 0
vtkScalars s
s InsertNextScalar 10
s InsertNextScalar 100
vtkTubeFilter t
t SetInput [l GetOutput]
[[t GetInput] GetPointData] SetScalars s
t SetNumberOfSides 10
t SetVaryRadiusToVaryRadiusByScalar
t SetRadiusFactor 100
vtkPolyDataMapper m
m SetInput [t GetOutput]
.
.
.
jordi
> Hi,
>
> Can someone give me an simple example using vtkTubeFilter AND the
> option SetVaryRadiusToVaryRadiusByScalar () or
> SetVaryRadiusToVaryRadiusByVector () ?
> I try it, but it doesn't work... I am sur I'm doing sthg wrong, but I
> don't know where.
>
> Thanks
>
> --
> ============================
> Stéphane MOREAU
> Ingénieur de recherche
> ADERSA
> Tél : 01-60-13-53-47
> Fax : 01-69-20-05-63
> mailto:moreau at adersa.asso.fr
> http://www.adersa.asso.fr
>
> -----------------------------------------------------------------------------
> This is the private VTK discussion list. Please keep messages on-topic.
> Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
> To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> <majordomo at gsao.med.ge.com>. For help, send message body containing
> "info vtkusers" to the same address. Live long and prosper.
> -----------------------------------------------------------------------------
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list