VTK  9.1.0
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 =========================================================================*/
24#ifndef vtkStructuredGridAppend_h
25#define vtkStructuredGridAppend_h
26
27#include "vtkFiltersCoreModule.h" // For export macro
29
30class VTKFILTERSCORE_EXPORT vtkStructuredGridAppend : public vtkStructuredGridAlgorithm
31{
32public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
43 virtual void ReplaceNthInputConnection(int idx, vtkAlgorithmOutput* input);
44
46
51 void SetInputData(int num, vtkDataObject* input);
52 void SetInputData(vtkDataObject* input) { this->SetInputData(0, input); }
54
56
62 vtkDataObject* GetInput() { return this->GetInput(0); }
64
71
72protected:
75
77
79
81
82 // see vtkAlgorithm for docs.
84
85private:
87 void operator=(const vtkStructuredGridAppend&) = delete;
88};
89
90#endif
Proxy object to connect input/output ports.
int GetNumberOfInputConnections(int port)
Get the number of inputs currently connected to a port.
general representation of visualization data
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only structured grid as output.
Collects data from multiple inputs into one structured grid.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void SetInputData(vtkDataObject *input)
Assign a data object as input.
~vtkStructuredGridAppend() override
vtkDataObject * GetInput(int num)
Get one input to this filter.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetInputData(int num, vtkDataObject *input)
Assign a data object as input.
static vtkStructuredGridAppend * New()
int GetNumberOfInputs()
Get the number of inputs to this filter.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
virtual void ReplaceNthInputConnection(int idx, vtkAlgorithmOutput *input)
Replace one of the input connections with a new input.
vtkDataObject * GetInput()
Get one input to this filter.