Skip to content

Examples

chunmingchen edited this page Sep 16, 2013 · 5 revisions

All examples are in /VTK/examples

Simple examples

  1. StreamlineSimpleVTK: Opens a VTK vector file and compute streamlines
  2. gcbStreamlineVTK: example modified from gcbStreamline press 's' to compute, 't' to show results
  3. StreamlineSimpleVTKUnstructured: another simple streamline computation example but loading unstructured grids

Advanced examples

  1. StreamlineSimpleVTKPipeline: example using vtkOSUFlow filter under VTK pipeline

Interactive Tools using VTK pipeline

  1. StreamlineRenderVec: loads and render vec files. Press 'i' to change the initial rake. Usage: StreamlineRenderVec [flow.vec]
  2. StreamlineRenderPlot3D: loads plot3D. Press 'i' to change the initial rake. Usage: StreamlineRenderPlot3D [xyz file] [q file]
  3. StreamlineRenderUnstructured: loads vtu file. Press 'i' to change the initial rake. Usage: StreamlineRenderPlot3D [flow.vtu]

Conversion tool

  1. vec2vti: converts vec file to vtk regular grids so that it can be rendered under Paraview
  2. vti2vec: Converts back from vtk regular grids to vec format.

Clone this wiki locally