Go to the documentation of this file.
41 #ifndef vtkAngularPeriodicFilter_h
42 #define vtkAngularPeriodicFilter_h
44 #include "vtkFiltersParallelModule.h"
51 #define VTK_ROTATION_MODE_DIRECT_ANGLE 0 // Use user-provided angle
52 #define VTK_ROTATION_MODE_ARRAY_VALUE 1 // Use array from input data as angle
68 vtkGetMacro(ComputeRotationsOnTheFly,
bool);
78 vtkSetClampMacro(RotationMode,
int,
80 vtkGetMacro(RotationMode,
int);
94 vtkGetMacro(RotationAngle,
double);
102 vtkSetStringMacro(RotationArrayName);
110 vtkSetClampMacro(RotationAxis,
int, 0, 2);
111 vtkGetMacro(RotationAxis,
int);
121 vtkSetVector3Macro(Center,
double);
122 vtkGetVector3Macro(Center,
double);
138 bool useCenter =
true,
139 bool normalize =
false);
187 bool ComputeRotationsOnTheFly;
190 char* RotationArrayName;
193 double RotationAngle;
A filter to produce mapped angular periodic multiblock dataset from a single block,...
void CreatePeriodicDataSet(vtkCompositeDataIterator *loc, vtkCompositeDataSet *output, vtkCompositeDataSet *input)
Create a periodic data, leaf of the tree.
composite dataset to encapsulates pieces of dataset.
void SetRotationAxisToZ()
void ComputeAngularPeriodicData(vtkDataSetAttributes *data, vtkDataSetAttributes *rotatedData, double angle)
Compute periodic point/cell data, using provided angle.
A filter to produce mapped periodic multiblock dataset from a single block.
represent and manipulate attribute data in a dataset
~vtkAngularPeriodicFilter()
abstract superclass for arrays of numeric data
abstract superclass for composite (multi-block or AMR) datasets
void SetRotationAxisToY()
void SetRotationModeToArrayValue()
#define VTK_ROTATION_MODE_DIRECT_ANGLE
void SetRotationModeToDirectAngle()
superclass for composite data iterators
a simple class to control print indentation
void AppendPeriodicPiece(double angle, vtkIdType iPiece, vtkDataObject *inputNode, vtkMultiPieceDataSet *multiPiece)
Append a periodic piece to dataset, by computing rotated mesh and data.
static vtkAngularPeriodicFilter * New()
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkAngularPeriodicFilter()
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkDataArray * TransformDataArray(vtkDataArray *inputArray, double angle, bool useCenter=true, bool normalize=false)
Create a transform copy of the provided data array.
void SetRotationAxisToX()
virtual void SetPeriodNumber(vtkCompositeDataIterator *loc, vtkCompositeDataSet *output, int nbPeriod)
Manually set the number of period on a specific leaf.
abstract class for specifying dataset behavior
void ComputePeriodicMesh(vtkPointSet *dataset, vtkPointSet *rotatedDataset, double angle)
Compute periodic pointset, rotating point, using provided angle.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual void GeneratePieceName(vtkCompositeDataSet *input, vtkCompositeDataIterator *inputLoc, vtkMultiPieceDataSet *output, vtkIdType outputId)
Generate a name for a piece in the periodic dataset from the input dataset.
general representation of visualization data
#define VTK_ROTATION_MODE_ARRAY_VALUE
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.