VTK
vtkAppendPoints.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAppendPoints.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 =========================================================================*/
31 #ifndef vtkAppendPoints_h
32 #define vtkAppendPoints_h
33 
34 #include "vtkFiltersGeneralModule.h" // For export macro
35 #include "vtkPolyDataAlgorithm.h"
36 
37 class VTKFILTERSGENERAL_EXPORT vtkAppendPoints : public vtkPolyDataAlgorithm
38 {
39 public:
40  static vtkAppendPoints *New();
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
45 
50  vtkSetStringMacro(InputIdArrayName);
51  vtkGetStringMacro(InputIdArrayName);
53 
55 
64  vtkSetMacro(OutputPointsPrecision,int);
65  vtkGetMacro(OutputPointsPrecision,int);
67 
68 protected:
70  ~vtkAppendPoints() override;
71 
72  // Usual data generation method
75  int FillInputPortInformation(int, vtkInformation *) override;
76 
79 private:
80  vtkAppendPoints(const vtkAppendPoints&) = delete;
81  void operator=(const vtkAppendPoints&) = delete;
82 };
83 
84 #endif
85 
86 
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
appends points of one or more vtkPolyData data sets
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.