44#ifndef vtkReflectionFilter_h
45#define vtkReflectionFilter_h
48#include "vtkFiltersGeneralModule.h"
78 vtkSetClampMacro(Plane,
int, 0, 8);
79 vtkGetMacro(Plane,
int);
96 vtkSetMacro(Center,
double);
97 vtkGetMacro(Center,
double);
118 vtkSetMacro(FlipAllInputArrays,
bool);
119 vtkGetMacro(FlipAllInputArrays,
bool);
120 vtkBooleanMacro(FlipAllInputArrays,
bool);
153 void FlipTuple(
double* tuple,
int* mirrorDir,
int nComp);
Superclass for algorithms that produce only data object as output.
general representation of visualization data
abstract class to specify dataset behavior
a simple class to control print indentation
reflects a data set across a plane
virtual vtkIdType ReflectNon3DCell(vtkDataSet *input, vtkUnstructuredGrid *output, vtkIdType cellId, vtkIdType numInputPoints)
Generate new, non-3D cell and return the generated cells id.
void SetPlaneToY()
Set the normal of the plane to use as mirror.
void SetPlaneToZMin()
Set the normal of the plane to use as mirror.
virtual int RequestDataInternal(vtkDataSet *input, vtkUnstructuredGrid *output, double bounds[6])
Actual implementation for reflection.
void SetPlaneToX()
Set the normal of the plane to use as mirror.
void SetPlaneToYMin()
Set the normal of the plane to use as mirror.
void FlipTuple(double *tuple, int *mirrorDir, int nComp)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetPlaneToXMax()
Set the normal of the plane to use as mirror.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void SetPlaneToZMax()
Set the normal of the plane to use as mirror.
void SetPlaneToYMax()
Set the normal of the plane to use as mirror.
virtual int ComputeBounds(vtkDataObject *input, double bounds[6])
Internal method to compute bounds.
static vtkReflectionFilter * New()
void SetPlaneToZ()
Set the normal of the plane to use as mirror.
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void SetPlaneToXMin()
Set the normal of the plane to use as mirror.
~vtkReflectionFilter() override
dataset represents arbitrary combinations of all possible cell types