VTK
vtkStructuredGridAppend.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkStructuredGridAppend.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  =========================================================================*/
26 #ifndef vtkStructuredGridAppend_h
27 #define vtkStructuredGridAppend_h
28 
29 #include "vtkFiltersCoreModule.h" // For export macro
31 
33 {
34  public:
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
44 
46 
50  void SetInputData(vtkDataObject *input) { this->SetInputData(0, input); };
52 
54 
58  vtkDataObject *GetInput() { return this->GetInput(0); };
60 
64  int GetNumberOfInputs() { return this->GetNumberOfInputConnections(0); };
65 
66  protected:
69 
73 
77 
78  virtual int RequestData(vtkInformation *,
81 
82  // see vtkAlgorithm for docs.
84 
85  private:
86  vtkStructuredGridAppend(const vtkStructuredGridAppend&); // Not implemented.
87  void operator=(const vtkStructuredGridAppend&); // Not implemented.
88 };
89 
90 #endif
vtkStructuredGridAlgorithm.h
vtkStructuredGridAppend::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkStructuredGridAppend::SetInputData
void SetInputData(vtkDataObject *input)
Definition: vtkStructuredGridAppend.h:50
vtkStructuredGridAppend::ReplaceNthInputConnection
virtual void ReplaceNthInputConnection(int idx, vtkAlgorithmOutput *input)
vtkStructuredGridAppend
Collects data from multiple inputs into one structured grid.
Definition: vtkStructuredGridAppend.h:33
vtkStructuredGridAlgorithm
Superclass for algorithms that produce only structured grid as output.
Definition: vtkStructuredGridAlgorithm.h:41
vtkStructuredGridAppend::~vtkStructuredGridAppend
~vtkStructuredGridAppend()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkStructuredGridAppend::GetNumberOfInputs
int GetNumberOfInputs()
Definition: vtkStructuredGridAppend.h:64
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkStructuredGridAppend::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkgl::input
GLenum GLenum GLenum input
Definition: vtkgl.h:15941
vtkFiltersCoreModule.h
vtkStructuredGridAppend::SetInputData
void SetInputData(int num, vtkDataObject *input)
vtkStructuredGridAppend::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkStructuredGridAppend::New
static vtkStructuredGridAppend * New()
vtkStructuredGridAppend::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkStructuredGridAppend::GetInput
vtkDataObject * GetInput(int num)
vtkgl::num
GLuint GLuint num
Definition: vtkgl.h:16907
VTKFILTERSCORE_EXPORT
#define VTKFILTERSCORE_EXPORT
Definition: vtkFiltersCoreModule.h:15
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkStructuredGridAppend::vtkStructuredGridAppend
vtkStructuredGridAppend()
vtkStructuredGridAppend::FillInputPortInformation
virtual int FillInputPortInformation(int, vtkInformation *)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:39
vtkStructuredGridAppend::GetInput
vtkDataObject * GetInput()
Definition: vtkStructuredGridAppend.h:58
vtkAlgorithm::GetNumberOfInputConnections
int GetNumberOfInputConnections(int port)
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65