Go to the documentation of this file.
38 #ifndef vtkAngularPeriodicFilter_h
39 #define vtkAngularPeriodicFilter_h
41 #include "vtkFiltersParallelModule.h"
48 #define VTK_ROTATION_MODE_DIRECT_ANGLE 0 // Use user-provided angle
49 #define VTK_ROTATION_MODE_ARRAY_VALUE 1 // Use array from input data as angle
64 vtkSetMacro(ComputeRotationsOnTheFly,
bool);
65 vtkGetMacro(ComputeRotationsOnTheFly,
bool);
66 vtkBooleanMacro(ComputeRotationsOnTheFly,
bool);
75 vtkSetClampMacro(RotationMode,
int,
77 vtkGetMacro(RotationMode,
int);
90 vtkSetMacro(RotationAngle,
double);
91 vtkGetMacro(RotationAngle,
double);
99 vtkSetStringMacro(RotationArrayName);
100 vtkGetStringMacro(RotationArrayName);
107 vtkSetClampMacro(RotationAxis,
int, 0, 2);
108 vtkGetMacro(RotationAxis,
int);
109 void SetRotationAxisToX();
110 void SetRotationAxisToY();
111 void SetRotationAxisToZ();
118 vtkSetVector3Macro(Center,
double);
119 vtkGetVector3Macro(Center,
double);
135 bool useCenter =
true,
136 bool normalize =
false);
141 void AppendPeriodicPiece(
double angle,
vtkIdType iPiece,
150 int nbPeriod)
override;
184 bool ComputeRotationsOnTheFly;
187 char* RotationArrayName;
190 double RotationAngle;
virtual void SetPeriodNumber(vtkCompositeDataIterator *loc, vtkCompositeDataSet *output, int nbPeriod)=0
Manually set the number of period on a specific leaf.
A filter to produce mapped angular periodic multiblock dataset from a single block,...
composite dataset to encapsulates pieces of dataset.
A filter to produce mapped periodic multiblock dataset from a single block.
represent and manipulate attribute data in a dataset
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkMultiBlockDataSetAlgorithm * New()
abstract superclass for arrays of numeric data
abstract superclass for composite (multi-block or AMR) datasets
void SetRotationModeToArrayValue()
#define VTK_ROTATION_MODE_DIRECT_ANGLE
void SetRotationModeToDirectAngle()
superclass for composite data iterators
a simple class to control print indentation
virtual void CreatePeriodicDataSet(vtkCompositeDataIterator *loc, vtkCompositeDataSet *output, vtkCompositeDataSet *input)=0
Create a periodic data, leaf of the tree.
abstract class for specifying dataset behavior
general representation of visualization data
#define VTK_ROTATION_MODE_ARRAY_VALUE