[vtkusers] How to set colors for contour edges?

Vladimir Dudnik vladimir.dudnik at gmail.com
Thu Feb 16 03:47:59 EST 2012


Hello VTK users,

I'd like to set different colors for some contour edges. Let's consider a
closed rectangular contour, represented by vtkPolyData object.

Could you please provide an advice of what is the right way to set for
example red color for the contour right edge and green color for the left
edge?

I've attached a simple example of how contour rendering is currently done in
my program
http://vtk.1045678.n5.nabble.com/file/n5488892/vtk_polyline_colors.cxx
vtk_polyline_colors.cxx 
http://vtk.1045678.n5.nabble.com/file/n5488892/CMakeLists.txt CMakeLists.txt 

Thanks,
  Vladimir


--
View this message in context: http://vtk.1045678.n5.nabble.com/How-to-set-colors-for-contour-edges-tp5488892p5488892.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list