ITK  4.9.0
Insight Segmentation and Registration Toolkit
itkTimeVaryingVelocityFieldTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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  * http://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 itkTimeVaryingVelocityFieldTransform_h
19 #define itkTimeVaryingVelocityFieldTransform_h
20 
22 
23 namespace itk
24 {
25 
53 template<typename TParametersValueType, unsigned int NDimensions>
55  public VelocityFieldTransform<TParametersValueType, NDimensions>
56 {
57 public:
63 
66 
68  itkNewMacro( Self );
69 
72 
76 
80 
82  typedef typename VelocityFieldType::Pointer TimeVaryingVelocityFieldPointer;
83 
86 
93 
96 
98 
100 #if ! defined ( ITK_FUTURE_LEGACY_REMOVE )
102  {
103  return this->GetModifiableVelocityField();
104  }
105 #endif
107  {
108  return this->GetModifiableVelocityField();
109  }
111  {
112  return this->GetVelocityField();
113  }
115 
118  {
119  this->SetVelocityField( field );
120  }
121 
124  virtual void IntegrateVelocityField() ITK_OVERRIDE;
125 
126 protected:
128  virtual ~TimeVaryingVelocityFieldTransform();
129 
130 private:
131  TimeVaryingVelocityFieldTransform( const Self& ) ITK_DELETE_FUNCTION;
132  void operator=( const Self& ) ITK_DELETE_FUNCTION;
133 };
134 
135 } // end namespace itk
136 
137 #ifndef ITK_MANUAL_INSTANTIATION
138 # include "itkTimeVaryingVelocityFieldTransform.hxx"
139 #endif
140 
141 #endif // itkTimeVaryingVelocityFieldTransform_h
virtual VelocityFieldType * GetModifiableVelocityField()
Transform objects based on integration of a time-varying velocity field.
Superclass::InverseTransformBasePointer InverseTransformBasePointer
Light weight base class for most itk classes.
virtual void IntegrateVelocityField() override
VectorInterpolateImageFunction< DisplacementFieldType, ScalarType > InterpolatorType
Superclass::DisplacementFieldType DisplacementFieldType
Superclass::ParametersType ParametersType
VelocityFieldTransform< TParametersValueType, NDimensions > Superclass
virtual const VelocityFieldType * GetVelocityField() const
Superclass::NumberOfParametersType NumberOfParametersType
virtual void SetVelocityField(VelocityFieldType *)
Transform points and vectors from an input space to an output space.
Definition: itkTransform.h:82
Superclass::InverseTransformBasePointer InverseTransformBasePointer
Image< OutputVectorType, VelocityFieldDimension > VelocityFieldType
Superclass::VelocityFieldInterpolatorType VelocityFieldIntegratorType
VectorInterpolateImageFunction< VelocityFieldType, ScalarType > VelocityFieldInterpolatorType
virtual void SetTimeVaryingVelocityField(VelocityFieldType *field)
Superclass::NumberOfParametersType NumberOfParametersType
Superclass::DerivativeType DerivativeType
Transform< TParametersValueType, NDimensions, NDimensions >::Pointer TransformPointer
TParametersValueType ValueType
const VelocityFieldType * GetTimeVaryingVelocityField() const
Provides local/dense/high-dimensionality transformation via a a velocity field.
Superclass::FixedParametersType FixedParametersType