Greetings all,<br><br>I have stack of contours which generated using someother algorithm outside VTK.<br>Each contour consists of several curves .<br><br>Please refer to image at : <br><br><a href="http://oi52.tinypic.com/14xkobc.jpg">http://oi52.tinypic.com/14xkobc.jpg</a><br>
<br><br>As seen in the image, each curve has an ID to identify which level it is.(Curves in same level have identical color)<br><br>Now I want to generate Meshes using "vtkVoxelContoursToSurfaceFilter" for each of this Curve set belong.<br>
That is, one mesh for contours in Blue color , another mesh for contours in Orange color ..and so on..<br>And I should keep the relative positions of these Meshes. And should color each generated mesh in different color.<br>
<br>I keep a list of "vtkAppendPolyData" for each Curve set.<br><br>But I am not sure where I should go after this?<br>1.Shall I create seperate Actors for each Mesh ? If so how can I keep the relative positions of Meshes. (vtkVoxelContoursToSurfaceFilter change the origin right?)<br>
2.Can I use vtkVoxelContoursToSurfaceFilter.SetInputConnection(int port,vtkAlgorithmOutput) and use different port number for each curves "vtkAppendPolyData".<br><br>Any tips,<br><br>thanks in advance,<br>umanga<br>
<br>