VTK
|
deform geometry with scalar data More...
#include <vtkWarpScalar.h>
Inherits vtkPointSetAlgorithm.
Public Types | |
typedef vtkPointSetAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkWarpScalar * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
int | FillInputPortInformation (int port, vtkInformation *info) |
virtual void | SetScaleFactor (double) |
virtual double | GetScaleFactor () |
virtual void | SetUseNormal (int) |
virtual int | GetUseNormal () |
virtual void | UseNormalOn () |
virtual void | UseNormalOff () |
virtual void | SetNormal (double, double, double) |
virtual void | SetNormal (double[3]) |
virtual double * | GetNormal () |
virtual void | GetNormal (double data[3]) |
virtual void | SetXYPlane (int) |
virtual int | GetXYPlane () |
virtual void | XYPlaneOn () |
virtual void | XYPlaneOff () |
Static Public Member Functions | |
static vtkWarpScalar * | New () |
static int | IsTypeOf (const char *type) |
static vtkWarpScalar * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkWarpScalar () | |
~vtkWarpScalar () | |
int | RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
double * | DataNormal (vtkIdType id, vtkDataArray *normals=NULL) |
double * | InstanceNormal (vtkIdType id, vtkDataArray *normals=NULL) |
double * | ZNormal (vtkIdType id, vtkDataArray *normals=NULL) |
Protected Attributes | |
double | ScaleFactor |
int | UseNormal |
double | Normal [3] |
int | XYPlane |
double *(vtkWarpScalar::* | PointNormal )(vtkIdType id, vtkDataArray *normals) |
deform geometry with scalar data
vtkWarpScalar is a filter that modifies point coordinates by moving points along point normals by the scalar amount times the scale factor. Useful for creating carpet or x-y-z plots.
If normals are not present in data, the Normal instance variable will be used as the direction along which to warp the geometry. If normals are present but you would like to use the Normal instance variable, set the UseNormal boolean to true.
If XYPlane boolean is set true, then the z-value is considered to be a scalar value (still scaled by scale factor), and the displacement is along the z-axis. If scalars are also present, these are copied through and can be used to color the surface.
Note that the filter passes both its point data and cell data to its output, except for normals, since these are distorted by the warping.
Definition at line 51 of file vtkWarpScalar.h.
typedef vtkPointSetAlgorithm vtkWarpScalar::Superclass |
Definition at line 55 of file vtkWarpScalar.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkWarpScalar* vtkWarpScalar::NewInstance | ( | ) | const |
void vtkWarpScalar::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Specify value to scale displacement.
|
virtual |
Specify value to scale displacement.
|
virtual |
Turn on/off use of user specified normal. If on, data normals will be ignored and instance variable Normal will be used instead.
|
virtual |
Turn on/off use of user specified normal. If on, data normals will be ignored and instance variable Normal will be used instead.
|
virtual |
Turn on/off use of user specified normal. If on, data normals will be ignored and instance variable Normal will be used instead.
|
virtual |
Turn on/off use of user specified normal. If on, data normals will be ignored and instance variable Normal will be used instead.
|
virtual |
Normal (i.e., direction) along which to warp geometry. Only used if UseNormal boolean set to true or no normals available in data.
|
virtual |
Normal (i.e., direction) along which to warp geometry. Only used if UseNormal boolean set to true or no normals available in data.
|
virtual |
Normal (i.e., direction) along which to warp geometry. Only used if UseNormal boolean set to true or no normals available in data.
|
virtual |
Normal (i.e., direction) along which to warp geometry. Only used if UseNormal boolean set to true or no normals available in data.
|
virtual |
Turn on/off flag specifying that input data is x-y plane. If x-y plane, then the z value is used to warp the surface in the z-axis direction (times the scale factor) and scalars are used to color the surface.
|
virtual |
Turn on/off flag specifying that input data is x-y plane. If x-y plane, then the z value is used to warp the surface in the z-axis direction (times the scale factor) and scalars are used to color the surface.
|
virtual |
Turn on/off flag specifying that input data is x-y plane. If x-y plane, then the z value is used to warp the surface in the z-axis direction (times the scale factor) and scalars are used to color the surface.
|
virtual |
Turn on/off flag specifying that input data is x-y plane. If x-y plane, then the z value is used to warp the surface in the z-axis direction (times the scale factor) and scalars are used to color the surface.
int vtkWarpScalar::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 102 of file vtkWarpScalar.h.
|
protected |
Definition at line 103 of file vtkWarpScalar.h.
|
protected |
Definition at line 104 of file vtkWarpScalar.h.
|
protected |
Definition at line 105 of file vtkWarpScalar.h.
|
protected |
Definition at line 108 of file vtkWarpScalar.h.