VTK
|
generate scalars from dot product of vectors and normals (e.g., show displacement plot) More...
#include <vtkVectorDot.h>
Public Types | |
typedef vtkDataSetAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkVectorDot * | NewInstance () const |
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 vtkVectorDot * | SafeDownCast (vtkObjectBase *o) |
static vtkVectorDot * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkVectorDot () | |
~vtkVectorDot () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
double | ScalarRange [2] |
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.
Definition at line 34 of file vtkVectorDot.h.
Reimplemented from vtkDataSetAlgorithm.
Definition at line 37 of file vtkVectorDot.h.
vtkVectorDot::vtkVectorDot | ( | ) | [protected] |
vtkVectorDot::~vtkVectorDot | ( | ) | [inline, protected] |
Definition at line 55 of file vtkVectorDot.h.
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.
static vtkVectorDot* vtkVectorDot::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkDataSetAlgorithm.
virtual vtkObjectBase* vtkVectorDot::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkDataSetAlgorithm.
vtkVectorDot* vtkVectorDot::NewInstance | ( | ) | const |
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.
double vtkVectorDot::ScalarRange[2] [protected] |
Definition at line 58 of file vtkVectorDot.h.