vtkVectorDot Class Reference

#include <vtkVectorDot.h>

Inheritance diagram for vtkVectorDot:

Inheritance graph
[legend]
Collaboration diagram for vtkVectorDot:

Collaboration graph
[legend]

List of all members.


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 33 of file vtkVectorDot.h.


Public Types

typedef vtkDataSetAlgorithm Superclass

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

 vtkVectorDot ()
 ~vtkVectorDot ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

double ScalarRange [2]

Member Typedef Documentation

Reimplemented from vtkDataSetAlgorithm.

Definition at line 36 of file vtkVectorDot.h.


Constructor & Destructor Documentation

vtkVectorDot::vtkVectorDot (  )  [protected]

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

Definition at line 54 of file vtkVectorDot.h.


Member Function Documentation

virtual const char* vtkVectorDot::GetClassName (  )  [virtual]

Reimplemented from vtkDataSetAlgorithm.

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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetAlgorithm.

static vtkVectorDot* vtkVectorDot::SafeDownCast ( vtkObject o  )  [static]

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.

void vtkVectorDot::SetScalarRange ( double  [2]  ) 

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.

int vtkVectorDot::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

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

double vtkVectorDot::ScalarRange[2] [protected]

Definition at line 57 of file vtkVectorDot.h.


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

Generated on Sat Dec 27 13:57:13 2008 for VTK by  doxygen 1.5.6