VTK
|
use a control polyhedron to deform an input vtkPointSet More...
#include <vtkDeformPointSet.h>
Inherits vtkPointSetAlgorithm.
Public Member Functions | |
void | SetControlMeshConnection (vtkAlgorithmOutput *algOutput) |
void | SetControlMeshData (vtkPolyData *controlMesh) |
vtkPolyData * | GetControlMeshData () |
virtual void | SetInitializeWeights (int) |
virtual int | GetInitializeWeights () |
virtual void | InitializeWeightsOn () |
virtual void | InitializeWeightsOff () |
Protected Member Functions | |
vtkDeformPointSet () | |
~vtkDeformPointSet () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
int | InitializeWeights |
vtkIdType | InitialNumberOfControlMeshPoints |
vtkIdType | InitialNumberOfControlMeshCells |
vtkIdType | InitialNumberOfPointSetPoints |
vtkIdType | InitialNumberOfPointSetCells |
vtkSmartPointer< vtkDoubleArray > | Weights |
typedef vtkPointSetAlgorithm | Superclass |
static vtkDeformPointSet * | New () |
static int | IsTypeOf (const char *type) |
static vtkDeformPointSet * | SafeDownCast (vtkObjectBase *o) |
virtual int | IsA (const char *type) |
vtkDeformPointSet * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkObjectBase * | NewInstanceInternal () const |
use a control polyhedron to deform an input vtkPointSet
vtkDeformPointSet is a filter that uses a control polyhdron to deform an input dataset of type vtkPointSet. The control polyhedron (or mesh) must be a closed, manifold surface.
The filter executes as follows. In initial pipeline execution, the control mesh and input vtkPointSet are assumed in undeformed position, and an initial set of interpolation weights are computed for each point in the vtkPointSet (one interpolation weight value for each point in the control mesh). The filter then stores these interpolation weights after filter execution. The next time the filter executes, assuming that the number of points/cells in the control mesh and vtkPointSet have not changed, the points in the vtkPointSet are recomputed based on the original weights. Hence if the control mesh has been deformed, it will in turn cause deformation in the vtkPointSet. This can be used to animate or edit the geometry of the vtkPointSet.
Definition at line 76 of file vtkDeformPointSet.h.
typedef vtkPointSetAlgorithm vtkDeformPointSet::Superclass |
Standard methods for instantiable (i.e., concrete) class.
Definition at line 82 of file vtkDeformPointSet.h.
|
protected |
|
protected |
|
static |
Standard methods for instantiable (i.e., concrete) class.
|
static |
Standard methods for instantiable (i.e., concrete) class.
|
virtual |
Standard methods for instantiable (i.e., concrete) class.
|
static |
Standard methods for instantiable (i.e., concrete) class.
|
protectedvirtual |
Standard methods for instantiable (i.e., concrete) class.
vtkDeformPointSet* vtkDeformPointSet::NewInstance | ( | ) | const |
Standard methods for instantiable (i.e., concrete) class.
void vtkDeformPointSet::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
Standard methods for instantiable (i.e., concrete) class.
void vtkDeformPointSet::SetControlMeshData | ( | vtkPolyData * | controlMesh | ) |
Specify the control mesh to deform the input vtkPointSet. The control mesh must be a closed, non-self-intersecting, manifold mesh.
vtkPolyData* vtkDeformPointSet::GetControlMeshData | ( | ) |
Specify the control mesh to deform the input vtkPointSet. The control mesh must be a closed, non-self-intersecting, manifold mesh.
void vtkDeformPointSet::SetControlMeshConnection | ( | vtkAlgorithmOutput * | algOutput | ) |
Specify the point locations used to probe input. Any geometry can be used. New style. Equivalent to SetInputConnection(1, algOutput).
|
virtual |
Specify whether to regenerate interpolation weights or not. Initially the filter will reexecute no matter what this flag is set to (initial weights must be computed). Also, this flag is ignored if the number of input points/cells or the number of control mesh points/cells changes between executions. Thus flag is used to force reexecution and recomputation of weights.
|
virtual |
Specify whether to regenerate interpolation weights or not. Initially the filter will reexecute no matter what this flag is set to (initial weights must be computed). Also, this flag is ignored if the number of input points/cells or the number of control mesh points/cells changes between executions. Thus flag is used to force reexecution and recomputation of weights.
|
virtual |
Specify whether to regenerate interpolation weights or not. Initially the filter will reexecute no matter what this flag is set to (initial weights must be computed). Also, this flag is ignored if the number of input points/cells or the number of control mesh points/cells changes between executions. Thus flag is used to force reexecution and recomputation of weights.
|
virtual |
Specify whether to regenerate interpolation weights or not. Initially the filter will reexecute no matter what this flag is set to (initial weights must be computed). Also, this flag is ignored if the number of input points/cells or the number of control mesh points/cells changes between executions. Thus flag is used to force reexecution and recomputation of weights.
|
protectedvirtual |
|
protected |
Definition at line 113 of file vtkDeformPointSet.h.
|
protected |
Definition at line 116 of file vtkDeformPointSet.h.
|
protected |
Definition at line 117 of file vtkDeformPointSet.h.
|
protected |
Definition at line 118 of file vtkDeformPointSet.h.
|
protected |
Definition at line 119 of file vtkDeformPointSet.h.
|
protected |
Definition at line 120 of file vtkDeformPointSet.h.