VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkVectorDot Class Reference

generate scalars from dot product of vectors and normals (e.g., show displacement plot) More...

#include <vtkVectorDot.h>

Inheritance diagram for vtkVectorDot:
Inheritance graph
[legend]
Collaboration diagram for vtkVectorDot:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkDataSetAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkVectorDotNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetScalarRange (double, double)
void SetScalarRange (double[2])
virtual doubleGetScalarRange ()
virtual void GetScalarRange (double data[2])

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkVectorDotSafeDownCast (vtkObjectBase *o)
static vtkVectorDotNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkVectorDot ()
 ~vtkVectorDot ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

double ScalarRange [2]

Detailed Description

generate scalars from dot product of vectors and normals (e.g., show displacement plot)

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.

Tests:
vtkVectorDot (Tests)

Definition at line 34 of file vtkVectorDot.h.


Member Typedef Documentation

Reimplemented from vtkDataSetAlgorithm.

Definition at line 37 of file vtkVectorDot.h.


Constructor & Destructor Documentation

vtkVectorDot::vtkVectorDot ( ) [protected]
vtkVectorDot::~vtkVectorDot ( ) [inline, protected]

Definition at line 55 of file vtkVectorDot.h.


Member Function Documentation

static int vtkVectorDot::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetAlgorithm.

virtual int vtkVectorDot::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetAlgorithm.

Reimplemented from vtkDataSetAlgorithm.

virtual vtkObjectBase* vtkVectorDot::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkDataSetAlgorithm.

Reimplemented from vtkDataSetAlgorithm.

void vtkVectorDot::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkDataSetAlgorithm.

static vtkVectorDot* vtkVectorDot::New ( ) [static]

Construct object with scalar range is (-1,1).

Reimplemented from vtkDataSetAlgorithm.

virtual void vtkVectorDot::SetScalarRange ( double  ,
double   
) [virtual]

Specify range to map scalars into.

Specify range to map scalars into.

virtual double* vtkVectorDot::GetScalarRange ( ) [virtual]

Get the range that scalars map into.

virtual void vtkVectorDot::GetScalarRange ( double  data[2]) [virtual]

Get the range that scalars map into.

This is called within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process.

Reimplemented from vtkDataSetAlgorithm.


Member Data Documentation

Definition at line 58 of file vtkVectorDot.h.


The documentation for this class was generated from the following file: