VTK
|
deform geometry by warping towards a point More...
#include <vtkWarpTo.h>
Public Types | |
typedef vtkPointSetAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
int | FillInputPortInformation (int port, vtkInformation *info) |
virtual void | SetScaleFactor (double) |
virtual double | GetScaleFactor () |
virtual double * | GetPosition () |
virtual void | GetPosition (double data[3]) |
virtual void | SetPosition (double, double, double) |
virtual void | SetPosition (double[3]) |
virtual void | SetAbsolute (int) |
virtual int | GetAbsolute () |
virtual void | AbsoluteOn () |
virtual void | AbsoluteOff () |
Static Public Member Functions | |
static vtkWarpTo * | New () |
static int | IsTypeOf (const char *type) |
static vtkWarpTo * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkWarpTo () | |
~vtkWarpTo () | |
int | RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
double | ScaleFactor |
double | Position [3] |
int | Absolute |
deform geometry by warping towards a point
vtkWarpTo is a filter that modifies point coordinates by moving the points towards a user specified position.
Definition at line 30 of file vtkWarpTo.h.
Reimplemented from vtkPointSetAlgorithm.
Definition at line 34 of file vtkWarpTo.h.
vtkWarpTo::vtkWarpTo | ( | ) | [protected] |
vtkWarpTo::~vtkWarpTo | ( | ) | [inline, protected] |
Definition at line 61 of file vtkWarpTo.h.
static vtkWarpTo* vtkWarpTo::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPointSetAlgorithm.
virtual const char* vtkWarpTo::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPointSetAlgorithm.
static int vtkWarpTo::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 vtkPointSetAlgorithm.
virtual int vtkWarpTo::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 vtkPointSetAlgorithm.
Reimplemented from vtkPointSetAlgorithm.
void vtkWarpTo::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 vtkPointSetAlgorithm.
virtual void vtkWarpTo::SetScaleFactor | ( | double | ) | [virtual] |
Set/Get the value to scale displacement.
virtual double vtkWarpTo::GetScaleFactor | ( | ) | [virtual] |
Set/Get the value to scale displacement.
virtual double* vtkWarpTo::GetPosition | ( | ) | [virtual] |
Set/Get the position to warp towards.
virtual void vtkWarpTo::GetPosition | ( | double | data[3] | ) | [virtual] |
Set/Get the position to warp towards.
Set/Get the position to warp towards.
virtual void vtkWarpTo::SetPosition | ( | double | [3] | ) | [virtual] |
Set/Get the position to warp towards.
virtual void vtkWarpTo::SetAbsolute | ( | int | ) | [virtual] |
Set/Get the Absolute ivar. Turning Absolute on causes scale factor of the new position to be one unit away from Position.
virtual int vtkWarpTo::GetAbsolute | ( | ) | [virtual] |
Set/Get the Absolute ivar. Turning Absolute on causes scale factor of the new position to be one unit away from Position.
virtual void vtkWarpTo::AbsoluteOn | ( | ) | [virtual] |
Set/Get the Absolute ivar. Turning Absolute on causes scale factor of the new position to be one unit away from Position.
virtual void vtkWarpTo::AbsoluteOff | ( | ) | [virtual] |
Set/Get the Absolute ivar. Turning Absolute on causes scale factor of the new position to be one unit away from Position.
int vtkWarpTo::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkPointSetAlgorithm.
int vtkWarpTo::RequestDataObject | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPointSetAlgorithm.
int vtkWarpTo::RequestData | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPointSetAlgorithm.
double vtkWarpTo::ScaleFactor [protected] |
Definition at line 69 of file vtkWarpTo.h.
double vtkWarpTo::Position[3] [protected] |
Definition at line 70 of file vtkWarpTo.h.
int vtkWarpTo::Absolute [protected] |
Definition at line 71 of file vtkWarpTo.h.