35 #ifndef vtkPeriodicFilter_h
36 #define vtkPeriodicFilter_h
38 #include "vtkFiltersParallelModule.h"
49 #define VTK_ITERATION_MODE_DIRECT_NB 0
50 #define VTK_ITERATION_MODE_MAX 1
65 vtkGetMacro(IterationMode,
int);
75 vtkSetMacro(NumberOfPeriods,
int);
76 vtkGetMacro(NumberOfPeriods,
int);
130 std::set<vtkIdType> Indices;
superclass for composite data iterators
abstract superclass for composite (multi-block or AMR) datasets
superclass for composite data iterators
a simple class to control print indentation
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
composite dataset to encapsulates pieces of dataset.
A filter to produce mapped periodic multiblock dataset from a single block.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetIterationModeToDirectNb()
void SetIterationModeToMax()
virtual void AddIndex(unsigned int index)
Select the periodic pieces indices.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkPeriodicFilter() override
virtual void RemoveAllIndices()
Clear selected indices tree.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
std::vector< int > PeriodNumbers
virtual void RemoveIndex(unsigned int index)
Remove an index from selected indices tress.
virtual void SetPeriodNumber(vtkCompositeDataIterator *loc, vtkCompositeDataSet *output, int nbPeriod)=0
Manually set the number of period on a specific leaf.
virtual void CreatePeriodicDataSet(vtkCompositeDataIterator *loc, vtkCompositeDataSet *output, vtkCompositeDataSet *input)=0
Create a periodic data, leaf of the tree.
#define VTK_ITERATION_MODE_DIRECT_NB
#define VTK_ITERATION_MODE_MAX