vtkReflectionFilter Class Reference

#include <vtkReflectionFilter.h>

Inheritance diagram for vtkReflectionFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkReflectionFilter:

Collaboration graph
[legend]

List of all members.


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 32 of file vtkReflectionFilter.h.


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
vtkUnstructuredGridAlgorithm 
Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 (vtkObject *o)

Protected Member Functions

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

Protected Attributes

int Plane
double Center
int CopyInput

Member Typedef Documentation

Reimplemented from vtkUnstructuredGridAlgorithm.

Definition at line 37 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 41 of file vtkReflectionFilter.h.


Constructor & Destructor Documentation

vtkReflectionFilter::vtkReflectionFilter (  )  [protected]

vtkReflectionFilter::~vtkReflectionFilter (  )  [protected]


Member Function Documentation

static vtkReflectionFilter* vtkReflectionFilter::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkUnstructuredGridAlgorithm.

virtual const char* vtkReflectionFilter::GetClassName (  )  [virtual]

Reimplemented from vtkUnstructuredGridAlgorithm.

static int vtkReflectionFilter::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 vtkUnstructuredGridAlgorithm.

virtual int vtkReflectionFilter::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 vtkUnstructuredGridAlgorithm.

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

Reimplemented from vtkUnstructuredGridAlgorithm.

void vtkReflectionFilter::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 vtkUnstructuredGridAlgorithm.

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 59 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToY (  )  [inline]

Set the normal of the plane to use as mirror.

Definition at line 60 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToZ (  )  [inline]

Set the normal of the plane to use as mirror.

Definition at line 61 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToXMin (  )  [inline]

Set the normal of the plane to use as mirror.

Definition at line 62 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToYMin (  )  [inline]

Set the normal of the plane to use as mirror.

Definition at line 63 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToZMin (  )  [inline]

Set the normal of the plane to use as mirror.

Definition at line 64 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToXMax (  )  [inline]

Set the normal of the plane to use as mirror.

Definition at line 65 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToYMax (  )  [inline]

Set the normal of the plane to use as mirror.

Definition at line 66 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToZMax (  )  [inline]

Set the normal of the plane to use as mirror.

Definition at line 67 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::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

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

Reimplemented from vtkUnstructuredGridAlgorithm.

virtual int vtkReflectionFilter::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, 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 vtkUnstructuredGridAlgorithm.

void vtkReflectionFilter::FlipVector ( double  tuple[3],
int  mirrorDir[3] 
) [protected]


Member Data Documentation

int vtkReflectionFilter::Plane [protected]

Definition at line 92 of file vtkReflectionFilter.h.

double vtkReflectionFilter::Center [protected]

Definition at line 93 of file vtkReflectionFilter.h.

Definition at line 94 of file vtkReflectionFilter.h.


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

Generated on Sat Dec 27 13:47:07 2008 for VTK by  doxygen 1.5.6