[vtk-developers] Is Surface Constrained Tracing Tested?

Kevin H. Hobbs hobbsk at ohio.edu
Sun Feb 10 11:58:32 EST 2013


The documentation of vtkStreamTracer claims that it will trace
streamlines constrained to the triangles of a vtkPolyData if that
is its input.

I at least cannot make it produce output when the input its a
vtkPolyData surface, and I do not see a test for this feature.

Attached are the code, input data, and the CMakeLists.txt.

The command line I tried was :

./surf_stream torus.vtp stream.vtp -0.264809 -0.0883817 0.109688

The resulting stream.vtp has zero points so there is no reason
for termination.

I've tried with both the system VTK and VTK compiled from git.
-------------- next part --------------
cmake_minimum_required(VERSION 2.8)

project( SurfStream )

find_package ( VTK )
include( ${VTK_USE_FILE} )

add_executable( surf_stream surf_stream.cxx )
target_link_libraries( surf_stream ${VTK_LIBRARIES} )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: surf_stream.cxx
Type: text/x-c++src
Size: 1079 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130210/a6eb9827/attachment-0001.cxx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: torus.vtp
Type: application/x-paraview
Size: 21001 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130210/a6eb9827/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130210/a6eb9827/attachment.sig>


More information about the vtk-developers mailing list