VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkWarpTo Class Reference

deform geometry by warping towards a point More...

#include <vtkWarpTo.h>

Inheritance diagram for vtkWarpTo:
Inheritance graph
[legend]
Collaboration diagram for vtkWarpTo:
Collaboration graph
[legend]

List of all members.

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 doubleGetPosition ()
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 RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

double ScaleFactor
double Position [3]
int Absolute

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.


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 61 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 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.

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::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.


Member Data Documentation

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.


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