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