VTK  9.3.20240419
vtkMatricizeArray.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-NVIDIA-USGov
4 
22 #ifndef vtkMatricizeArray_h
23 #define vtkMatricizeArray_h
24 
25 #include "vtkArrayDataAlgorithm.h"
26 #include "vtkFiltersGeneralModule.h" // For export macro
27 
28 VTK_ABI_NAMESPACE_BEGIN
29 class VTKFILTERSGENERAL_EXPORT vtkMatricizeArray : public vtkArrayDataAlgorithm
30 {
31 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
37 
40  vtkGetMacro(SliceDimension, vtkIdType);
42 
44 
47  vtkSetMacro(SliceDimension, vtkIdType);
49 
50 protected:
52  ~vtkMatricizeArray() override;
53 
55 
56 private:
57  vtkMatricizeArray(const vtkMatricizeArray&) = delete;
58  void operator=(const vtkMatricizeArray&) = delete;
59 
60  class Generator;
61 
62  vtkIdType SliceDimension;
63 };
64 
65 VTK_ABI_NAMESPACE_END
66 #endif
Superclass for algorithms that produce vtkArrayDatas as output.
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Convert an array of arbitrary dimensions to a matrix.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkMatricizeArray() override
static vtkMatricizeArray * New()
int vtkIdType
Definition: vtkType.h:315