27#ifndef vtkEnsembleSource_h
28#define vtkEnsembleSource_h
31#include "vtkCommonExecutionModelModule.h"
33struct vtkEnsembleSourceInternal;
70 vtkSetMacro(CurrentMember,
unsigned int);
71 vtkGetMacro(CurrentMember,
unsigned int);
97 friend class vtkInformationEnsembleMemberRequestKey;
Superclass for all sources, filters, and sinks in VTK.
source that manages dataset ensembles
static vtkEnsembleSource * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
unsigned int GetNumberOfMembers()
Returns the number of ensemble members.
static vtkInformationIntegerKey * DATA_MEMBER()
unsigned int CurrentMember
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
void AddMember(vtkAlgorithm *)
Add an algorithm (source) that will produce the next ensemble member.
static vtkInformationIntegerRequestKey * UPDATE_MEMBER()
Key used to request a particular ensemble member.
vtkAlgorithm * GetCurrentReader(vtkInformation *)
void SetMetaData(vtkTable *)
Set the meta-data that will be propagated downstream.
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
vtkEnsembleSourceInternal * Internal
~vtkEnsembleSource() override
void RemoveAllMembers()
Removes all ensemble members.
static vtkInformationDataObjectMetaDataKey * META_DATA()
Meta-data for the ensemble.
a simple class to control print indentation
A table, which contains similar-typed columns of data.