NAME
vtkVectorDot - generate scalars from dot product of vectors and normals (e.g., show displacement plot)
SYNOPSIS
#include "/opt/vtk-c++/graphics/vtkVectorDot.h"
class VTK_EXPORT vtkVectorDot : public vtkDataSetToDataSetFilter
vtkVectorDot();
static vtkVectorDot *New() {return new vtkVectorDot;};
const char *GetClassName() {return "vtkVectorDot";};
void PrintSelf(ostream& os, vtkIndent indent);
void SetScalarRange(float, float);
void SetScalarRange(float *);
float *GetScalarRange();
void GetScalarRange(float data[2]);
DESCRIPTION
vtkVectorDot is a filter to generate scalar values from a dataset. The scalar value at a point is created by computing the dot product between the normal and vector at that point. Combined with the appropriate color map, this can show nodal lines/mode shapes of vibration, or a displacement plot.
SUMMARY
void SetScalarRange(float, float)
void SetScalarRange(float *)
Specify range to map scalars into.
float *GetScalarRange()
void GetScalarRange(float data[2])
Get the range that scalars map into.
vtkVectorDot()
Construct object with scalar range is (-1,1).