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 67 vtkSetMacro(ComputeRotationsOnTheFly,
bool);
68 vtkGetMacro(ComputeRotationsOnTheFly,
bool);
69 vtkBooleanMacro(ComputeRotationsOnTheFly,
bool);
78 vtkSetClampMacro(RotationMode,
int,
80 vtkGetMacro(RotationMode,
int);
93 vtkSetMacro(RotationAngle,
double);
94 vtkGetMacro(RotationAngle,
double);
102 vtkSetStringMacro(RotationArrayName);
103 vtkGetStringMacro(RotationArrayName);
110 vtkSetClampMacro(RotationAxis,
int, 0, 2);
111 vtkGetMacro(RotationAxis,
int);
112 void SetRotationAxisToX();
113 void SetRotationAxisToY();
114 void SetRotationAxisToZ();
121 vtkSetVector3Macro(Center,
double);
122 vtkGetVector3Macro(Center,
double);
138 bool useCenter =
true,
139 bool normalize =
false);
144 void AppendPeriodicPiece(
double angle,
vtkIdType iPiece,
153 int nbPeriod)
override;
187 bool ComputeRotationsOnTheFly;
190 char* RotationArrayName;
193 double RotationAngle;
virtual void SetPeriodNumber(vtkCompositeDataIterator *loc, vtkCompositeDataSet *output, int nbPeriod)=0
Manually set the number of period on a specific leaf.
#define VTK_ROTATION_MODE_ARRAY_VALUE
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.
abstract class for specifying dataset behavior
#define VTK_ROTATION_MODE_DIRECT_ANGLE
void SetRotationModeToArrayValue()
Set/Get The rotation mode.
static vtkMultiBlockDataSetAlgorithm * New()
superclass for composite data iterators
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
composite dataset to encapsulates pieces of dataset.
abstract superclass for arrays of numeric data
represent and manipulate attribute data in a dataset
A filter to produce mapped periodic multiblock dataset from a single block.
A filter to produce mapped angular periodic multiblock dataset from a single block, by rotation.
virtual void CreatePeriodicDataSet(vtkCompositeDataIterator *loc, vtkCompositeDataSet *output, vtkCompositeDataSet *input)=0
Create a periodic data, leaf of the tree.
void SetRotationModeToDirectAngle()
Set/Get The rotation mode.
general representation of visualization data