ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkExtensionVelocitiesImageFilter.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 itkExtensionVelocitiesImageFilter_h
19#define itkExtensionVelocitiesImageFilter_h
20
24
25namespace itk
26{
47template <typename TLevelSet, typename TAuxValue = float, unsigned int VAuxDimension = 1>
48class ITK_TEMPLATE_EXPORT ExtensionVelocitiesImageFilter : public ReinitializeLevelSetImageFilter<TLevelSet>
49{
50public:
51 ITK_DISALLOW_COPY_AND_MOVE(ExtensionVelocitiesImageFilter);
52
58
60 itkNewMacro(Self);
61
63 itkOverrideGetNameOfClassMacro(ExtensionVelocitiesImageFilter);
64
73
75 static constexpr unsigned int SetDimension = LevelSetType::SetDimension;
76
85
87 static constexpr unsigned int AuxDimension = VAuxDimension;
88
90 void
91 SetInputVelocityImage(const AuxImageType * ptr, unsigned int idx = 0);
92
93 const AuxImageType *
94 GetInputVelocityImage(unsigned int idx = 0);
95
98 GetOutputVelocityImage(unsigned int idx = 0);
99
100 itkConceptMacro(AuxValueHasNumericTraitsCheck, (Concept::HasNumericTraits<TAuxValue>));
101 itkConceptMacro(LevelSetOStreamWritableCheck, (Concept::OStreamWritable<PixelType>));
102
103protected:
106
107 void
109
110 void
112
113 void
114 AllocateOutput() override;
115
116 void
118
119private:
122
126
128
130};
131} // namespace itk
132
133#ifndef ITK_MANUAL_INSTANTIATION
134# include "itkExtensionVelocitiesImageFilter.hxx"
135#endif
136
137#endif
Level set auxiliary variables type information.
Definition itkLevelSet.h:86
VectorContainer< unsigned int, AuxValueVectorType > AuxValueContainer
Base class for all data objects in ITK.
const AuxImageType * GetInputVelocityImage(unsigned int idx=0)
void SetInputVelocityImage(const AuxImageType *ptr, unsigned int idx=0)
AuxImageType * GetOutputVelocityImage(unsigned int idx=0)
typename LevelSetType::LevelSetConstPointer LevelSetConstPointer
typename AuxVarType::AuxValueContainer AuxValueContainer
typename AuxVarType::AuxImageConstPointer AuxImageConstPointer
FastMarchingImageFilterType::Pointer m_Marcher
typename AuxVarType::AuxValueVectorType AuxValueVectorType
FastMarchingExtensionImageFilter< TLevelSet, TAuxValue, VAuxDimension, SpeedImageType > FastMarchingImageFilterType
LevelSetVelocityNeighborhoodExtractor< TLevelSet, TAuxValue, VAuxDimension > LocatorType
typename LevelSetType::LevelSetPointer LevelSetPointer
void EnlargeOutputRequestedRegion(DataObject *) override
typename LevelSetType::NodeContainerPointer NodeContainerPointer
AuxVarTypeDefault< TAuxValue, VAuxDimension, Self::SetDimension > AuxVarType
ReinitializeLevelSetImageFilter< TLevelSet > Superclass
typename LevelSetType::NodeContainer NodeContainer
~ExtensionVelocitiesImageFilter() override=default
typename AuxVarType::AuxImagePointer AuxImagePointer
Image< float, Self::SetDimension > SpeedImageType
Extend auxiliary variables smoothly using Fast Marching.
Templated n-dimensional image class.
Definition itkImage.h:89
Level set type information.
Definition itkLevelSet.h:41
LevelSetNode< PixelType, Self::SetDimension > NodeType
Definition itkLevelSet.h:58
typename TLevelSet::PixelType PixelType
Definition itkLevelSet.h:55
typename TLevelSet::ConstPointer LevelSetConstPointer
Definition itkLevelSet.h:52
typename NodeContainer::Pointer NodeContainerPointer
Definition itkLevelSet.h:64
static constexpr unsigned int SetDimension
Definition itkLevelSet.h:48
VectorContainer< unsigned int, NodeType > NodeContainer
Definition itkLevelSet.h:61
typename TLevelSet::Pointer LevelSetPointer
Definition itkLevelSet.h:51
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....