vtkWarpTo Class Reference

#include <vtkWarpTo.h>

Inheritance diagram for vtkWarpTo:

Inheritance graph
[legend]
Collaboration diagram for vtkWarpTo:

Collaboration graph
[legend]

List of all members.


Detailed Description

deform geometry by warping towards a point

vtkWarpTo is a filter that modifies point coordinates by moving the points towards a user specified position.

Tests:
vtkWarpTo (Tests)

Definition at line 30 of file 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)
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 vtkWarpToNew ()
static int IsTypeOf (const char *type)
static vtkWarpToSafeDownCast (vtkObject *o)

Protected Member Functions

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

Protected Attributes

double ScaleFactor
double Position [3]
int Absolute

Member Typedef Documentation

Reimplemented from vtkPointSetAlgorithm.

Definition at line 34 of file vtkWarpTo.h.


Constructor & Destructor Documentation

vtkWarpTo::vtkWarpTo (  )  [protected]

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

Definition at line 59 of file vtkWarpTo.h.


Member Function Documentation

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

Reimplemented from vtkPointSetAlgorithm.

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

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.

virtual void vtkWarpTo::SetPosition ( double  ,
double  ,
double   
) [virtual]

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::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkPointSetAlgorithm.


Member Data Documentation

double vtkWarpTo::ScaleFactor [protected]

Definition at line 62 of file vtkWarpTo.h.

double vtkWarpTo::Position[3] [protected]

Definition at line 63 of file vtkWarpTo.h.

int vtkWarpTo::Absolute [protected]

Definition at line 64 of file vtkWarpTo.h.


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

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