VTK
vtkEnsembleSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkEnsembleSource.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
29 #ifndef vtkEnsembleSource_h
30 #define vtkEnsembleSource_h
31 
32 #include "vtkCommonExecutionModelModule.h" // For export macro
33 #include "vtkAlgorithm.h"
34 
35 struct vtkEnsembleSourceInternal;
36 class vtkTable;
40 
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
52 
55 
57  unsigned int GetNumberOfMembers();
58 
60 
65  vtkSetMacro(CurrentMember, unsigned int);
66  vtkGetMacro(CurrentMember, unsigned int);
68 
73 
76 
79 
80 protected:
83 
85 
86  friend class vtkInformationEnsembleMemberRequestKey;
87 
88  virtual int ProcessRequest(vtkInformation *request,
89  vtkInformationVector **inputVector,
90  vtkInformationVector *outputVector);
92 
94 
95  vtkEnsembleSourceInternal* Internal;
96  unsigned int CurrentMember;
97 
99 
100 private:
101  vtkEnsembleSource(const vtkEnsembleSource&); // Not implemented.
102  void operator=(const vtkEnsembleSource&); // Not implemented.
103 };
104 
105 #endif
vtkEnsembleSource::FillOutputPortInformation
virtual int FillOutputPortInformation(int, vtkInformation *)
vtkEnsembleSource::ProcessRequest
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkInformationDataObjectMetaDataKey
key used to define meta-data of type vtkDataObject vtkInformationDataObjectMetaDataKey is a vtkInform...
Definition: vtkInformationDataObjectMetaDataKey.h:34
vtkEnsembleSource::CurrentMember
unsigned int CurrentMember
Definition: vtkEnsembleSource.h:96
vtkEnsembleSource::META_DATA
static vtkInformationDataObjectMetaDataKey * META_DATA()
vtkEnsembleSource
source that manages dataset ensembles
Definition: vtkEnsembleSource.h:42
VTKCOMMONEXECUTIONMODEL_EXPORT
#define VTKCOMMONEXECUTIONMODEL_EXPORT
Definition: vtkCommonExecutionModelModule.h:15
vtkEnsembleSource::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:62
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
vtkEnsembleSource::~vtkEnsembleSource
~vtkEnsembleSource()
vtkEnsembleSource::vtkEnsembleSource
vtkEnsembleSource()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkEnsembleSource::GetNumberOfMembers
unsigned int GetNumberOfMembers()
vtkEnsembleSource::GetCurrentReader
vtkAlgorithm * GetCurrentReader(vtkInformation *)
vtkEnsembleSource::Internal
vtkEnsembleSourceInternal * Internal
Definition: vtkEnsembleSource.h:95
vtkEnsembleSource::RemoveAllMembers
void RemoveAllMembers()
vtkCommonExecutionModelModule.h
vtkEnsembleSource::UPDATE_MEMBER
static vtkInformationIntegerRequestKey * UPDATE_MEMBER()
vtkEnsembleSource::New
static vtkEnsembleSource * New()
vtkInformationIntegerRequestKey
key that can used to request integer values from the pipeline vtkInformationIntegerRequestKey is a vt...
Definition: vtkInformationIntegerRequestKey.h:44
vtkAlgorithm.h
vtkEnsembleSource::MetaData
vtkTable * MetaData
Definition: vtkEnsembleSource.h:98
vtkInformationIntegerKey
Key for integer values in vtkInformation.
Definition: vtkInformationIntegerKey.h:34
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkEnsembleSource::DATA_MEMBER
static vtkInformationIntegerKey * DATA_MEMBER()
vtkEnsembleSource::SetMetaData
void SetMetaData(vtkTable *)
vtkEnsembleSource::AddMember
void AddMember(vtkAlgorithm *)