VTK: Filters/General/vtkNormalizeMatrixVectors.h Source File

| VTK 9.3.1

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:
28 static vtkNormalizeMatrixVectors* New();
29 vtkTypeMacro(vtkNormalizeMatrixVectors, vtkArrayDataAlgorithm);
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:
49 vtkNormalizeMatrixVectors();
50 ~vtkNormalizeMatrixVectors() override;
51
52 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
53
54 int VectorDimension;
55 double PValue;
56
57 private:
58 vtkNormalizeMatrixVectors(const vtkNormalizeMatrixVectors&) = delete;
59 void operator=(const vtkNormalizeMatrixVectors&) = delete;
60 };
61
62 VTK_ABI_NAMESPACE_END
63 #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
vtkNormalizeMatrixVectors
given a sparse input matrix, produces a sparse output matrix with each vector normalized to unit leng...
Definition: vtkNormalizeMatrixVectors.h:26
vtkNormalizeMatrixVectors::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkNormalizeMatrixVectors::New
static vtkNormalizeMatrixVectors * New()
vtkNormalizeMatrixVectors::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkNormalizeMatrixVectors::~vtkNormalizeMatrixVectors
~vtkNormalizeMatrixVectors() override
vtkNormalizeMatrixVectors::PValue
double PValue
Definition: vtkNormalizeMatrixVectors.h:55
vtkNormalizeMatrixVectors::vtkNormalizeMatrixVectors
vtkNormalizeMatrixVectors()
vtkNormalizeMatrixVectors::VectorDimension
int VectorDimension
Definition: vtkNormalizeMatrixVectors.h:54
vtkArrayDataAlgorithm.h