ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkAdditiveGaussianNoiseMeshFilter.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright NumFOCUS
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * https://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef itkAdditiveGaussianNoiseMeshFilter_h
19#define itkAdditiveGaussianNoiseMeshFilter_h
20
21#include <itkMeshToMeshFilter.h>
22
23namespace itk
24{
40template <typename TInput, typename TOutput = TInput>
42{
43
44public:
45 ITK_DISALLOW_COPY_AND_MOVE(AdditiveGaussianNoiseMeshFilter);
46
52
53 using InputMeshType = TInput;
54 using OutputMeshType = TOutput;
55 using InputMeshPointer = typename InputMeshType::Pointer;
56 using OutputMeshPointer = typename OutputMeshType::Pointer;
57
59 using CoordinateType = typename TInput::CoordinateType;
60
62 itkNewMacro(Self);
63
65 itkOverrideGetNameOfClassMacro(AdditiveGaussianNoiseMeshFilter);
66
68 itkGetConstMacro(Mean, CoordinateType);
70
72 itkGetConstMacro(Sigma, CoordinateType);
74
76 itkGetConstMacro(Seed, int);
77 itkSetMacro(Seed, int);
78
79protected:
82
83 void
84 PrintSelf(std::ostream & os, Indent indent) const override;
85
87 void
88 GenerateData() override;
89
92 int m_Seed;
93};
94
95} // namespace itk
96
97#ifndef ITK_MANUAL_INSTANTIATION
98# include "itkAdditiveGaussianNoiseMeshFilter.hxx"
99#endif
100
101#endif
void PrintSelf(std::ostream &os, Indent indent) const override
~AdditiveGaussianNoiseMeshFilter() override=default
Control indentation during Print() invocation.
Definition itkIndent.h:53
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
#define itkSetMacro(name, type)