Commit 1a79eef5 authored by Will Schroeder's avatar Will Schroeder
Browse files

ENH: Got tensors working

parent e0b7ab94
......@@ -27,7 +27,11 @@ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 1993, 1994
// lies along the major eigenvector, y-axis along the medium eigenvector, and
// z-axis along the minor.
// A scale factor is provided to control the amount of scaling. Also, you
// can turn off scaling completely if desired.
// can turn off scaling completely if desired. The boolean variable LogScaling
// controls whether the scaling is performed logarithmically. That is, the
// log base 10 of the scale factors (i.e., absolute values of eigenvalues)
// are used. This is useful in certain applications where singularities or
// large order of magnitude differences exist in the eigenvalues.
// Another instance variable, ExtractEigenvalues, has been provided to
// control extraction of eigenvalues/eigenvectors. If this boolean is false,
// then eigenvalues/eigenvectors are not extracted, and the columns of the
......@@ -35,7 +39,7 @@ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 1993, 1994
// This allows additional capability over the vtkGlyph3D object. That is, the
// glyph can be oriented in three directions instead of one.
// .SECTION See Also
// vtkGlyph3D
// vtkGlyph3D, vtkPointLoad, vtkHyperStreamline
#ifndef __vtkTensorGlyph_h
#define __vtkTensorGlyph_h
......@@ -60,8 +64,8 @@ public:
// Description:
// Turn on/off scaling of glyph with eigenvalues.
// Description:
// Specify scale factor to scale object by. (Scale factor always affects
......@@ -75,6 +79,21 @@ public:
// Description:
// Turn on/off coloring of glyph with input scalar data. If false, or
// input scalar data not present, then the scalars from the source
// object are passed through the filter.
// Description:
// Turn on/off logarithmic scaling. If scaling is on, the log base 10
// of the original scale factors are used to scale the glyphs.
void Execute();
......@@ -82,6 +101,8 @@ protected:
int Scaling; // Determine whether scaling of geometry is performed
float ScaleFactor; // Scale factor to use to scale geometry
int ExtractEigenvalues; // Boolean controls eigenfunction extraction
int ColorGlyphs; // Boolean controls coloring with input scalar data
int LogScaling; // Boolean controls logarithmic scaling
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment