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
vtkReflectionFilter Class Reference

reflects a data set across a plane More...

#include <vtkReflectionFilter.h>

Inheritance diagram for vtkReflectionFilter:
[legend]

Public Types

enum  ReflectionPlane {
  USE_X_MIN = 0, USE_Y_MIN = 1, USE_Z_MIN = 2, USE_X_MAX = 3,
  USE_Y_MAX = 4, USE_Z_MAX = 5, USE_X = 6, USE_Y = 7,
  USE_Z = 8
}
 
typedef vtkDataObjectAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkReflectionFilterNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetPlane (int)
 
virtual int GetPlane ()
 
void SetPlaneToX ()
 
void SetPlaneToY ()
 
void SetPlaneToZ ()
 
void SetPlaneToXMin ()
 
void SetPlaneToYMin ()
 
void SetPlaneToZMin ()
 
void SetPlaneToXMax ()
 
void SetPlaneToYMax ()
 
void SetPlaneToZMax ()
 
virtual void SetCenter (double)
 
virtual double GetCenter ()
 
virtual void SetCopyInput (int)
 
virtual int GetCopyInput ()
 
virtual void CopyInputOn ()
 
virtual void CopyInputOff ()
 

Static Public Member Functions

static vtkReflectionFilterNew ()
 
static int IsTypeOf (const char *type)
 
static vtkReflectionFilterSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkReflectionFilter ()
 
 ~vtkReflectionFilter ()
 
virtual int ComputeBounds (vtkDataObject *input, double bounds[6])
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
void FlipVector (double tuple[3], int mirrorDir[3])
 
virtual int RequestDataObject (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestDataInternal (vtkDataSet *input, vtkUnstructuredGrid *output, double bounds[6])
 

Protected Attributes

int Plane
 
double Center
 
int CopyInput
 

Detailed Description

reflects a data set across a plane

The vtkReflectionFilter reflects a data set across one of the planes formed by the data set's bounding box. Since it converts data sets into unstructured grids, it is not effeicient for structured data sets.

Tests:
vtkReflectionFilter (Tests)

Definition at line 35 of file vtkReflectionFilter.h.

Member Typedef Documentation

typedef vtkDataObjectAlgorithm vtkReflectionFilter::Superclass

Definition at line 40 of file vtkReflectionFilter.h.

Member Enumeration Documentation

Enumerator
USE_X_MIN 
USE_Y_MIN 
USE_Z_MIN 
USE_X_MAX 
USE_Y_MAX 
USE_Z_MAX 
USE_X 
USE_Y 
USE_Z 

Definition at line 44 of file vtkReflectionFilter.h.

Constructor & Destructor Documentation

vtkReflectionFilter::vtkReflectionFilter ( )
protected
vtkReflectionFilter::~vtkReflectionFilter ( )
protected

Member Function Documentation

static vtkReflectionFilter* vtkReflectionFilter::New ( )
static
static int vtkReflectionFilter::IsTypeOf ( const char *  type)
static
virtual int vtkReflectionFilter::IsA ( const char *  type)
virtual

Reimplemented in vtkPReflectionFilter.

static vtkReflectionFilter* vtkReflectionFilter::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkReflectionFilter::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented in vtkPReflectionFilter.

vtkReflectionFilter* vtkReflectionFilter::NewInstance ( ) const
void vtkReflectionFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkReflectionFilter::SetPlane ( int  )
virtual

Set the normal of the plane to use as mirror.

virtual int vtkReflectionFilter::GetPlane ( )
virtual

Set the normal of the plane to use as mirror.

void vtkReflectionFilter::SetPlaneToX ( )
inline

Set the normal of the plane to use as mirror.

Definition at line 62 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToY ( )
inline

Set the normal of the plane to use as mirror.

Definition at line 63 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToZ ( )
inline

Set the normal of the plane to use as mirror.

Definition at line 64 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToXMin ( )
inline

Set the normal of the plane to use as mirror.

Definition at line 65 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToYMin ( )
inline

Set the normal of the plane to use as mirror.

Definition at line 66 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToZMin ( )
inline

Set the normal of the plane to use as mirror.

Definition at line 67 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToXMax ( )
inline

Set the normal of the plane to use as mirror.

Definition at line 68 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToYMax ( )
inline

Set the normal of the plane to use as mirror.

Definition at line 69 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToZMax ( )
inline

Set the normal of the plane to use as mirror.

Definition at line 70 of file vtkReflectionFilter.h.

virtual void vtkReflectionFilter::SetCenter ( double  )
virtual

If the reflection plane is set to X, Y or Z, this variable is use to set the position of the plane.

virtual double vtkReflectionFilter::GetCenter ( )
virtual

If the reflection plane is set to X, Y or Z, this variable is use to set the position of the plane.

virtual void vtkReflectionFilter::SetCopyInput ( int  )
virtual

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

virtual int vtkReflectionFilter::GetCopyInput ( )
virtual

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

virtual void vtkReflectionFilter::CopyInputOn ( )
virtual

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

virtual void vtkReflectionFilter::CopyInputOff ( )
virtual

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

virtual int vtkReflectionFilter::RequestDataObject ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

This is called by the superclass. This is the method you should override. Overridden to create the correct type of output.

virtual int vtkReflectionFilter::RequestDataInternal ( vtkDataSet *  input,
vtkUnstructuredGrid *  output,
double  bounds[6] 
)
protectedvirtual

Actual implementation for reflection.

virtual int vtkReflectionFilter::ComputeBounds ( vtkDataObject *  input,
double  bounds[6] 
)
protectedvirtual

Internal method to compute bounds.

Reimplemented in vtkPReflectionFilter.

virtual int vtkReflectionFilter::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual int vtkReflectionFilter::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual
void vtkReflectionFilter::FlipVector ( double  tuple[3],
int  mirrorDir[3] 
)
protected

Member Data Documentation

int vtkReflectionFilter::Plane
protected

Definition at line 112 of file vtkReflectionFilter.h.

double vtkReflectionFilter::Center
protected

Definition at line 113 of file vtkReflectionFilter.h.

int vtkReflectionFilter::CopyInput
protected

Definition at line 114 of file vtkReflectionFilter.h.


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