Skip to article

 

Tensor Glyph (TensorGlyphFilter)

Scale and orient glyph(s) according to eigenvalues and eigenvectors of symmetrical tensor

TensorGlyphFilter is a filter that copies a geometric representation (specified as polygonal data) to every input point. The geometric representation, or glyph, is scaled and rotated according to the tensor at the input point. Scaling and rotation is controlled by the eigenvalues/eigenvectors of the symmetrical tensor as follows. For each tensor, the eigenvalues (and associated eigenvectors) are sorted to determine the major, medium, and minor eigenvalues/eigenvectors. For each tensor, three source glyphs DoubleArrow are produced, each of them oriented along an eigenvector and scaled according to the corresponding eigenvector. Point (0,0,0) in the source will be placed in the data point. A scale factor is provided to control the amount of scaling.

Property Description Default(s) Restrictions
Input This property specifies the input to the Tensor Glyph filter.   Accepts input of following types:
  • vtkDataSet
The dataset must contain a field array (point) with 6,7,8,9,10,11,12 component(s).
Tensors This property indicates the name of the tensor array on which to operate. The indicated array's eigenvalues and eigenvectors are used for scaling and orienting the glyphs.    
Scale This property specifies the scale factor to scale every glyph by. 1.0 The value must be less than the largest dimension of the dataset multiplied by a scale factor of 0.1.
GlyphMode This property indicates the mode that will be used to generate glyphs from the dataset. 2 The value(s) is an enumeration of the following:
  • All Points (0)
  • Every Nth Point (1)
  • Uniform Spatial Distribution (Bounds Based) (2)
Stride This property specifies the stride that will be used when glyphing by Every Nth Point. 1  
Seed This property specifies the seed that will be used for generating a uniform distribution of glyph points when a Uniform Spatial Distribution is used. 10339  
MaximumNumberOfSamplePoints This property specifies the maximum number of sample points to use when sampling the space when Uniform Spatial Distribution is used. 5000