[vtkusers] How to change radius in vtkTubeFilter using parametric spline?

Bill Lorensen bill.lorensen at gmail.com
Thu Jan 17 12:29:32 EST 2013


Do you want a constant color? If so,

tubeMapper->ScalarVisibiltyOff();

Then you can color the tubeActor

Something like:
#include <vtkProperty.h>
tubeActor->GetProperty()->SetColor(1, .5, .5);


On Thu, Jan 17, 2013 at 12:07 PM, reaper84 <sankowski at gmail.com> wrote:
> This is Exactly what I needed! Thank You so much for help Bill. I didn't know
> about TupleInterpolator. I have one quick question about Your code: how do
> You change color of tube? (couldn't find it)
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/How-to-change-radius-in-vtkTubeFilter-using-parametric-spline-tp5717990p5717998.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtkusers mailing list