ParaView/User Created Plugins

From KitwarePublic
< ParaView
Revision as of 21:22, 13 January 2010 by Berk (talk | contribs) (New page: === General === * [http://www.paraview.org/Wiki/images/4/46/AddVerticesPlugin.zip Add Vertices] - If a dataset contains points (geometry) but no vertices (topology), Paraview will not disp...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

General

  • Add Vertices - If a dataset contains points (geometry) but no vertices (topology), Paraview will not display anything. Use this filter to add vertices to your dataset.
    • Inputs: 1 polydata
    • Outputs: 1 polydata

Registration

  • Iterative Closest Point Transform Filter - Register one point set to another point set using the Iterative Closest Point (ICP) algorithm.
    • Inputs: 2 polydata (Source and Target - the source will attempt to be moved to the target)
    • Outputs: 1 polydata - the transformed source dataset
  • Landmark Transform Filter - Select three or more corresponding points from two data sets and align the two data sets using a Landmark Transform.
    • Inputs: 1 polydata, 2 datasets - 1) SourceLandmarks (vtkDataSet) - A set of points extracted from the source dataset 2) TargetLandmarks (vtkDataSet) - A set of points from the target dataset corresponding (and ordered the same as) the points in the source dataset 3) SourceDataset (vtkPolyData) - The source dataset which will be transformed
    • Outputs: 1 polydata - the transformed source dataset
  • Superquadric Tensor Glyph Filter - The filter generates a superquadric glyph at every point in the input data set. The glyphs are oriented and scaled according to eigenvalues and eigenvectors of tensors of the input data set, interpreting the entries of the 3x3 matrix as principal axes of the superquadric and their norm as the length of these axes. Set both roundness values to 0.0 to get rectangular glyphs, set them to 1.0 to get ellipsoidal glyphs, set theta roundness to 1.0 and phi roundness to 0.0 to get cylindrical glyphs. Other values lead to superquadric glyphs which are in general favorable as they can be distinguished easily for all view angles. The Superquadric Tensor Glyph filter operates on any type of data set. Its output is polygonal.


Instructions

To use these plugins, you must have compiled Paraview from source

  • Unzip the plugin
  • Create a bin directory in the directory in which you have unzipped the plugin:

<source lang="bash"> mkdir bin </source>

  • From the bin directory, run cmake to create the make files:

<source lang="bash"> cmake ../ </source>

  • Compile the plugin:

<source lang="bash"> make </source>

  • Load the plugin in Paraview: 1) Tools -> Manage Plugins/Extensions 2) On the right pane, click Load New. 3) Browse to the bin directory you were just working in and load libYOURPLUGIN.so
  • You can now use the plugin by selecting an object in the Pipeline Browser and then selecting the plugin you have just added from the Filters menu.