18 #ifndef __itkPolydataDummyPenalty_h 19 #define __itkPolydataDummyPenalty_h 23 #include "itkPointSet.h" 26 #include <itkVectorContainer.h> 39 template<
class TFixedPo
intSet,
class TMovingPo
intSet >
82 itkStaticConstMacro( FixedPointSetDimension,
unsigned int,
83 Superclass::FixedPointSetDimension );
88 typedef DefaultStaticMeshTraits< PointNormalType,
89 FixedPointSetDimension, FixedPointSetDimension, CoordRepType >
MeshTraitsType;
90 typedef Mesh< PointNormalType, FixedPointSetDimension,
98 typedef typename FixedMeshType::PointType::VectorType
VectorType;
125 itkSetConstObjectMacro( FixedMeshContainer, FixedMeshContainerType );
126 itkGetConstObjectMacro( FixedMeshContainer, FixedMeshContainerType );
128 itkSetObjectMacro( MappedMeshContainer, MappedMeshContainerType );
129 itkGetObjectMacro( MappedMeshContainer, MappedMeshContainerType );
156 virtual void Initialize(
void ) throw ( ExceptionObject );
166 MeasureType GetValue( const TransformParametersType & parameters ) const;
169 void GetDerivative( const TransformParametersType & parameters,
170 DerivativeType & Derivative ) const;
173 void GetValueAndDerivative( const TransformParametersType & parameters,
174 MeasureType & Value, DerivativeType & Derivative ) const;
179 virtual ~MeshPenalty();
182 void PrintSelf(
std::ostream & os, Indent indent ) const;
185 mutable FixedMeshContainerConstPointer m_FixedMeshContainer;
186 mutable MappedMeshContainerPointer m_MappedMeshContainer;
190 MeshPenalty( const Self & );
191 void operator=( const Self & );
197 #ifndef ITK_MANUAL_INSTANTIATION 198 #include "itkPolydataDummyPenalty.hxx" vnl_vector< CoordRepType > VnlVectorType
FixedMeshContainerType::ConstPointer FixedMeshContainerConstPointer
Superclass::TransformType TransformType
VectorContainer< MeshIdType, FixedMeshPointer > MappedMeshContainerType
FixedMeshType::PointsContainerConstIterator MeshPointsContainerConstIteratorType
FixedMeshType::PointsContainerIterator MeshPointsContainerIteratorType
SmartPointer< Self > Pointer
FixedMeshType::PointDataContainerIterator MeshPointDataContainerConstIteratorType
DefaultStaticMeshTraits< PointNormalType, FixedPointSetDimension, FixedPointSetDimension, CoordRepType > MeshTraitsType
FixedMeshContainerType::ElementIdentifier FixedMeshContainerElementIdentifier
A dummy metric to generate transformed meshes each iteration.
FixedMeshType::PointDataContainerPointer MeshPointDataContainerPointer
Superclass::OutputPointType OutputPointType
Vector< typename TransformType::ScalarType, FixedPointSetDimension > PointNormalType
MappedMeshContainerType::Pointer MappedMeshContainerPointer
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Superclass::TransformJacobianType TransformJacobianType
FixedMeshType::Pointer FixedMeshPointer
FixedMeshType::PointDataContainerConstPointer MeshPointDataContainerConstPointer
InputPointType::CoordRepType CoordRepType
MeshPointDataContainerType::Iterator MeshPointDataContainerIteratorType
SmartPointer< const Self > ConstPointer
VectorContainer< MeshIdType, FixedMeshConstPointer > FixedMeshContainerType
Superclass::MeasureType MeasureType
FixedMeshType::ConstPointer FixedMeshConstPointer
TransformType::InputPointType FixedImagePointType
Array< DerivativeValueType > MeshPointsDerivativeValueType
Superclass::TransformPointer TransformPointer
Mesh< PointNormalType, FixedPointSetDimension, MeshTraitsType > FixedMeshType
TransformType::SpatialJacobianType SpatialJacobianType
FixedMeshType::PointType MeshPointType
MeshPointsContainerType::ConstPointer MeshPointsContainerConstPointer
MeshTraitsType::CellType::CellInterface CellInterfaceType
MeshPointsContainerType::Pointer MeshPointsContainerPointer
unsigned char DummyMeshPixelType
FixedMeshType::PointDataContainer MeshPointDataContainerType
Computes similarity between two point sets.
FixedMeshType::PointType::VectorType VectorType
MappedMeshContainerType::ConstPointer MappedMeshContainerConstPointer
TransformType::OutputPointType MovingImagePointType
FixedMeshContainerType::Pointer FixedMeshContainerPointer
Superclass::TransformParametersType TransformParametersType
Superclass::DerivativeType DerivativeType
FixedMeshType::PointsContainer MeshPointsContainerType
Superclass::DerivativeValueType DerivativeValueType
SingleValuedPointSetToPointSetMetric< TFixedPointSet, TMovingPointSet > Superclass
Superclass::InputPointType InputPointType