VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkRotationFilter Class Reference

Duplicates a data set by rotation about an axis. More...

#include <vtkRotationFilter.h>

Inherits vtkUnstructuredGridAlgorithm.

Public Types

enum  RotationAxis { USE_X = 0, USE_Y = 1, USE_Z = 2 }
 
typedef
vtkUnstructuredGridAlgorithm 
Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkRotationFilterNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetAxis (int)
 
virtual int GetAxis ()
 
void SetAxisToX ()
 
void SetAxisToY ()
 
void SetAxisToZ ()
 
virtual void SetAngle (double)
 
virtual double GetAngle ()
 
virtual void SetCenter (double, double, double)
 
virtual void SetCenter (double[3])
 
virtual double * GetCenter ()
 
virtual void GetCenter (double &, double &, double &)
 
virtual void GetCenter (double[3])
 
virtual void SetNumberOfCopies (int)
 
virtual int GetNumberOfCopies ()
 
virtual void SetCopyInput (int)
 
virtual int GetCopyInput ()
 
virtual void CopyInputOn ()
 
virtual void CopyInputOff ()
 

Static Public Member Functions

static vtkRotationFilterNew ()
 
static int IsTypeOf (const char *type)
 
static vtkRotationFilterSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkRotationFilter ()
 
 ~vtkRotationFilter ()
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 

Protected Attributes

int Axis
 
double Angle
 
double Center [3]
 
int NumberOfCopies
 
int CopyInput
 

Detailed Description

Duplicates a data set by rotation about an axis.

The vtkRotationFilter duplicates a data set by rotation about one of the 3 axis of the dataset's reference. Since it converts data sets into unstructured grids, it is not efficient for structured data sets.

Thanks:
Theophane Foggia of The Swiss National Supercomputing Centre (CSCS) for creating and contributing this filter
Tests:
vtkRotationFilter (Tests)

Definition at line 37 of file vtkRotationFilter.h.

Member Typedef Documentation

typedef vtkUnstructuredGridAlgorithm vtkRotationFilter::Superclass

Definition at line 41 of file vtkRotationFilter.h.

Member Enumeration Documentation

Enumerator
USE_X 
USE_Y 
USE_Z 

Definition at line 45 of file vtkRotationFilter.h.

Constructor & Destructor Documentation

vtkRotationFilter::vtkRotationFilter ( )
protected
vtkRotationFilter::~vtkRotationFilter ( )
protected

Member Function Documentation

static vtkRotationFilter* vtkRotationFilter::New ( )
static
static int vtkRotationFilter::IsTypeOf ( const char *  type)
static
virtual int vtkRotationFilter::IsA ( const char *  type)
virtual
static vtkRotationFilter* vtkRotationFilter::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkRotationFilter::NewInstanceInternal ( ) const
protectedvirtual
vtkRotationFilter* vtkRotationFilter::NewInstance ( ) const
void vtkRotationFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkRotationFilter::SetAxis ( int  )
virtual

Set the axis of rotation to use. It is set by default to Z.

virtual int vtkRotationFilter::GetAxis ( )
virtual

Set the axis of rotation to use. It is set by default to Z.

void vtkRotationFilter::SetAxisToX ( )
inline

Set the axis of rotation to use. It is set by default to Z.

Definition at line 57 of file vtkRotationFilter.h.

void vtkRotationFilter::SetAxisToY ( )
inline

Set the axis of rotation to use. It is set by default to Z.

Definition at line 58 of file vtkRotationFilter.h.

void vtkRotationFilter::SetAxisToZ ( )
inline

Set the axis of rotation to use. It is set by default to Z.

Definition at line 59 of file vtkRotationFilter.h.

virtual void vtkRotationFilter::SetAngle ( double  )
virtual

Set the rotation angle to use.

virtual double vtkRotationFilter::GetAngle ( )
virtual

Set the rotation angle to use.

virtual void vtkRotationFilter::SetCenter ( double  ,
double  ,
double   
)
virtual

Set the rotation center coordinates.

virtual void vtkRotationFilter::SetCenter ( double  [3])
virtual

Set the rotation center coordinates.

virtual double* vtkRotationFilter::GetCenter ( )
virtual

Set the rotation center coordinates.

virtual void vtkRotationFilter::GetCenter ( double &  ,
double &  ,
double &   
)
virtual

Set the rotation center coordinates.

virtual void vtkRotationFilter::GetCenter ( double  [3])
virtual

Set the rotation center coordinates.

virtual void vtkRotationFilter::SetNumberOfCopies ( int  )
virtual

Set the number of copies to create. The source will be rotated N times and a new polydata copy of the original created at each angular position All copies will be appended to form a single output

virtual int vtkRotationFilter::GetNumberOfCopies ( )
virtual

Set the number of copies to create. The source will be rotated N times and a new polydata copy of the original created at each angular position All copies will be appended to form a single output

virtual void vtkRotationFilter::SetCopyInput ( int  )
virtual

If on (the default), copy the input geometry to the output. If off, the output will only contain the rotation.

virtual int vtkRotationFilter::GetCopyInput ( )
virtual

If on (the default), copy the input geometry to the output. If off, the output will only contain the rotation.

virtual void vtkRotationFilter::CopyInputOn ( )
virtual

If on (the default), copy the input geometry to the output. If off, the output will only contain the rotation.

virtual void vtkRotationFilter::CopyInputOff ( )
virtual

If on (the default), copy the input geometry to the output. If off, the output will only contain the rotation.

virtual int vtkRotationFilter::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual int vtkRotationFilter::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

Member Data Documentation

int vtkRotationFilter::Axis
protected

Definition at line 98 of file vtkRotationFilter.h.

double vtkRotationFilter::Angle
protected

Definition at line 99 of file vtkRotationFilter.h.

double vtkRotationFilter::Center[3]
protected

Definition at line 100 of file vtkRotationFilter.h.

int vtkRotationFilter::NumberOfCopies
protected

Definition at line 101 of file vtkRotationFilter.h.

int vtkRotationFilter::CopyInput
protected

Definition at line 102 of file vtkRotationFilter.h.


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