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 34 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 vtkDataObjectAlgorithm 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 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

Member Typedef Documentation

Reimplemented from vtkDataObjectAlgorithm.

Reimplemented in vtkPReflectionFilter.

Definition at line 39 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 43 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 vtkDataObjectAlgorithm.

Reimplemented in vtkPReflectionFilter.

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

Reimplemented from vtkDataObjectAlgorithm.

Reimplemented in vtkPReflectionFilter.

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

Reimplemented from vtkDataObjectAlgorithm.

Reimplemented in vtkPReflectionFilter.

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

Reimplemented from vtkDataObjectAlgorithm.

Reimplemented in vtkPReflectionFilter.

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

Reimplemented from vtkDataObjectAlgorithm.

Reimplemented in vtkPReflectionFilter.

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

Reimplemented in vtkPReflectionFilter.

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

void vtkReflectionFilter::SetPlaneToY (  )  [inline]

Set the normal of the plane to use as mirror.

Definition at line 62 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToZ (  )  [inline]

Set the normal of the plane to use as mirror.

Definition at line 63 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToXMin (  )  [inline]

Set the normal of the plane to use as mirror.

Definition at line 64 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToYMin (  )  [inline]

Set the normal of the plane to use as mirror.

Definition at line 65 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToZMin (  )  [inline]

Set the normal of the plane to use as mirror.

Definition at line 66 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToXMax (  )  [inline]

Set the normal of the plane to use as mirror.

Definition at line 67 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToYMax (  )  [inline]

Set the normal of the plane to use as mirror.

Definition at line 68 of file vtkReflectionFilter.h.

void vtkReflectionFilter::SetPlaneToZMax (  )  [inline]

Set the normal of the plane to use as mirror.

Definition at line 69 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  
) [protected, virtual]

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

Reimplemented from vtkDataObjectAlgorithm.

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

Actual implementation for reflection.

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

Internal method to compute bounds.

Reimplemented in vtkPReflectionFilter.

virtual int vtkReflectionFilter::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkDataObjectAlgorithm.

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

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


Member Data Documentation

int vtkReflectionFilter::Plane [protected]

Definition at line 111 of file vtkReflectionFilter.h.

double vtkReflectionFilter::Center [protected]

Definition at line 112 of file vtkReflectionFilter.h.

Definition at line 113 of file vtkReflectionFilter.h.


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

Generated on Wed Aug 24 12:02:42 2011 for VTK by  doxygen 1.5.6