VTK: Filters/General/vtkMatricizeArray.h Source File

| VTK 9.3.1

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:
32 static vtkMatricizeArray* New();
33 vtkTypeMacro(vtkMatricizeArray, vtkArrayDataAlgorithm);
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
37
40 vtkGetMacro(SliceDimension, vtkIdType);
42
44
47 vtkSetMacro(SliceDimension, vtkIdType);
49
50 protected:
51 vtkMatricizeArray();
52 ~vtkMatricizeArray() override;
53
54 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
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
vtkArrayDataAlgorithm
Superclass for algorithms that produce vtkArrayDatas as output.
Definition: vtkArrayDataAlgorithm.h:35
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkMatricizeArray
Convert an array of arbitrary dimensions to a matrix.
Definition: vtkMatricizeArray.h:30
vtkMatricizeArray::vtkMatricizeArray
vtkMatricizeArray()
vtkMatricizeArray::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkMatricizeArray::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMatricizeArray::~vtkMatricizeArray
~vtkMatricizeArray() override
vtkMatricizeArray::New
static vtkMatricizeArray * New()
vtkArrayDataAlgorithm.h
vtkIdType
int vtkIdType
Definition: vtkType.h:315