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

reflects a data set across a plane More...

#include <vtkReflectionFilter.h>

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

List of all members.

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 vtkObjectBaseNewInstanceInternal () 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

Reimplemented from vtkDataObjectAlgorithm.

Reimplemented in vtkPReflectionFilter.

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


Member Function Documentation

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

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.

Reimplemented from vtkDataObjectAlgorithm.

Reimplemented in vtkPReflectionFilter.

virtual vtkObjectBase* vtkReflectionFilter::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkDataObjectAlgorithm.

Reimplemented in vtkPReflectionFilter.

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.

Set the normal of the plane to use as mirror.

Definition at line 62 of file vtkReflectionFilter.h.

Set the normal of the plane to use as mirror.

Definition at line 63 of file vtkReflectionFilter.h.

Set the normal of the plane to use as mirror.

Definition at line 64 of file vtkReflectionFilter.h.

Set the normal of the plane to use as mirror.

Definition at line 65 of file vtkReflectionFilter.h.

Set the normal of the plane to use as mirror.

Definition at line 66 of file vtkReflectionFilter.h.

Set the normal of the plane to use as mirror.

Definition at line 67 of file vtkReflectionFilter.h.

Set the normal of the plane to use as mirror.

Definition at line 68 of file vtkReflectionFilter.h.

Set the normal of the plane to use as mirror.

Definition at line 69 of file vtkReflectionFilter.h.

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.

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.

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

Definition at line 112 of file vtkReflectionFilter.h.

Definition at line 113 of file vtkReflectionFilter.h.

Definition at line 114 of file vtkReflectionFilter.h.


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