VTK  9.3.1
vtkSparseArrayToTable.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
4 
27 #ifndef vtkSparseArrayToTable_h
28 #define vtkSparseArrayToTable_h
29 
30 #include "vtkInfovisCoreModule.h" // For export macro
31 #include "vtkTableAlgorithm.h"
32 
33 VTK_ABI_NAMESPACE_BEGIN
34 class VTKINFOVISCORE_EXPORT vtkSparseArrayToTable : public vtkTableAlgorithm
35 {
36 public:
37  static vtkSparseArrayToTable* New();
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
46  vtkGetStringMacro(ValueColumn);
47  vtkSetStringMacro(ValueColumn);
49 
50 protected:
52  ~vtkSparseArrayToTable() override;
53 
54  int FillInputPortInformation(int, vtkInformation*) override;
55 
57 
58  char* ValueColumn;
59 
60 private:
62  void operator=(const vtkSparseArrayToTable&) = delete;
63 };
64 
65 VTK_ABI_NAMESPACE_END
66 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkTableAlgorithm * New()
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:28
Converts a sparse array to a vtkTable.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.