[vtkusers] iso contour issue

Sebastien Calvi sebastien.calvi at yahoo.com
Wed Jan 9 11:38:34 EST 2013


Hello All,

I'm having a horizon viewer as follow:
/*****************************************************************/
/*                        PipeHorizon                            */
/*****************************************************************/
/*                 vtkSingleValueHorizonReader                   */
/*                             |                                */
/*                  vtkImageDataGeometryFilter                   */
/*                              |                                */
/*                       vtkWarpScalar                          */
/*                             |                                */
/*                      vtkElevationFilter                       */
/*                            |                                */
/*                      vtkTriangleFilter                        */
/*                              |                                */
/*                        vtkDecimatePro                         */
/*                              |                                */
/*                vtkWindowedSincPolyDataFilter                  */
/*                              |                                */
/*                     vtkPolyDataNormals                        */
/*                              |                                */
/*                         vtkStripper                           */
/*                              |                                */
/*                  vtkTransformPolyDataFilter                   */
/*                              |                                */
/*                      vtkPolydataMapper                        */
/*                              |                                */
/*                          vtkActor                             */
/*****************************************************************/


It works as needed so far but now I need to add/display iso contour to the mesh that I display through the vtkActor, these countours will be representative of the elevation...

How can I do that?
Do I need to use a different vtkActor to render the iso-contour?
I guess that I can take the output fromvtkWindowedSincPolyDataFilter (smoothing) and then go through a vtkContourFilter then transform, map...

But I'm not sure about how to have my two actors cohexisting and being able to "see" both (colored mesh of the volume and iso-contour lines) without having to deal with some transparency...

Any suggestion will be very appreciated!

Thank you by advance,
Sebastien.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130109/dbefb27d/attachment.htm>


More information about the vtkusers mailing list