18#ifndef itkPolydataDummyPenalty_h
19#define itkPolydataDummyPenalty_h
23#include "itkPointSet.h"
26#include <itkVectorContainer.h>
39template <
class TFixedPo
intSet,
class TMovingPo
intSet>
65 using typename Superclass::MeasureType;
66 using typename Superclass::DerivativeType;
83 using PointNormalType = Vector<typename TransformType::ScalarType, FixedPointSetDimension>;
86 DefaultStaticMeshTraits<PointNormalType, FixedPointSetDimension, FixedPointSetDimension, CoordRepType>;
87 using FixedMeshType = Mesh<PointNormalType, FixedPointSetDimension, MeshTraitsType>;
94 using VectorType =
typename FixedMeshType::PointType::VectorType;
174 DerivativeType & Derivative)
const override;
182 PrintSelf(std::ostream & os, Indent indent)
const override;
191#ifndef ITK_MANUAL_INSTANTIATION
192# include "itkPolydataDummyPenalty.hxx"
A dummy metric to generate transformed meshes each iteration.
typename MappedMeshContainerType::ConstPointer MappedMeshContainerConstPointer
typename FixedMeshType::PointType MeshPointType
void PrintSelf(std::ostream &os, Indent indent) const override
itkGetModifiableObjectMacro(MappedMeshContainer, MappedMeshContainerType)
VectorContainer< MeshIdType, FixedMeshPointer > MappedMeshContainerType
typename MeshPointsContainerType::ConstPointer MeshPointsContainerConstPointer
~MeshPenalty() override=default
typename FixedMeshType::PointsContainerIterator MeshPointsContainerIteratorType
typename TransformType::InputPointType FixedImagePointType
VectorContainer< MeshIdType, FixedMeshConstPointer > FixedMeshContainerType
typename MeshPointDataContainerType::Iterator MeshPointDataContainerIteratorType
typename FixedMeshType::PointDataContainerConstPointer MeshPointDataContainerConstPointer
typename TransformType::OutputPointType MovingImagePointType
Array< DerivativeValueType > MeshPointsDerivativeValueType
typename TransformType::SpatialJacobianType SpatialJacobianType
ITK_DISALLOW_COPY_AND_MOVE(MeshPenalty)
unsigned char DummyMeshPixelType
typename MeshPointsContainerType::Pointer MeshPointsContainerPointer
void GetValueAndDerivative(const TransformParametersType ¶meters, MeasureType &Value, DerivativeType &Derivative) const override
typename FixedMeshContainerType::ElementIdentifier FixedMeshContainerElementIdentifier
SmartPointer< const Self > ConstPointer
void Initialize() override
itkStaticConstMacro(FixedPointSetDimension, unsigned int, Superclass::FixedPointSetDimension)
Vector< typename TransformType::ScalarType, FixedPointSetDimension > PointNormalType
typename FixedMeshType::PointDataContainerPointer MeshPointDataContainerPointer
typename FixedMeshType::PointsContainerConstIterator MeshPointsContainerConstIteratorType
typename FixedMeshType::Pointer FixedMeshPointer
DefaultStaticMeshTraits< PointNormalType, FixedPointSetDimension, FixedPointSetDimension, CoordRepType > MeshTraitsType
typename FixedMeshType::PointType::VectorType VectorType
typename InputPointType::CoordRepType CoordRepType
typename TransformType::ParametersType TransformParametersType
typename FixedMeshType::PointDataContainerIterator MeshPointDataContainerConstIteratorType
typename FixedMeshType::PointDataContainer MeshPointDataContainerType
typename FixedMeshType::ConstPointer FixedMeshConstPointer
typename FixedMeshContainerType::ConstPointer FixedMeshContainerConstPointer
typename FixedMeshType::PointsContainer MeshPointsContainerType
Mesh< PointNormalType, FixedPointSetDimension, MeshTraitsType > FixedMeshType
typename MeshTraitsType::CellType CellInterfaceType
void GetDerivative(const TransformParametersType ¶meters, DerivativeType &Derivative) const override
typename MappedMeshContainerType::Pointer MappedMeshContainerPointer
MeasureType GetValue(const TransformParametersType ¶meters) const override
typename FixedMeshContainerType::Pointer FixedMeshContainerPointer
Computes similarity between two point sets.
typename TransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
typename TransformType::InputPointType InputPointType
typename TransformType::Pointer TransformPointer
typename DerivativeType::ValueType DerivativeValueType
typename TransformType::ParametersType TransformParametersType
typename TransformType::JacobianType TransformJacobianType
typename TransformType::OutputPointType OutputPointType