VTK  9.3.20240419
vtkNormalizeMatrixVectors.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 
18 #ifndef vtkNormalizeMatrixVectors_h
19 #define vtkNormalizeMatrixVectors_h
20 
21 #include "vtkArrayDataAlgorithm.h"
22 #include "vtkFiltersGeneralModule.h" // For export macro
23 
24 VTK_ABI_NAMESPACE_BEGIN
25 class VTKFILTERSGENERAL_EXPORT vtkNormalizeMatrixVectors : public vtkArrayDataAlgorithm
26 {
27 public:
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
33 
36  vtkGetMacro(VectorDimension, int);
37  vtkSetMacro(VectorDimension, int);
39 
41 
44  vtkGetMacro(PValue, double);
45  vtkSetMacro(PValue, double);
47 
48 protected:
51 
53 
55  double PValue;
56 
57 private:
59  void operator=(const vtkNormalizeMatrixVectors&) = delete;
60 };
61 
62 VTK_ABI_NAMESPACE_END
63 #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.
given a sparse input matrix, produces a sparse output matrix with each vector normalized to unit leng...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkNormalizeMatrixVectors * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkNormalizeMatrixVectors() override