go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
elastix::PolydataDummyPenalty< TElastix > Class Template Reference

#include <elxPolydataDummyPenalty.h>

Detailed Description

template<class TElastix>
class elastix::PolydataDummyPenalty< TElastix >

A dummy metric to generate transformed meshes at each iteration. This metric does not contribute to the cost function, but provides the options to read vtk polydata meshes from the command-line and write the transformed meshes to disk each iteration or resolution level. The command-line options for input meshes is: -fmesh<[A-Z]><MetricNumber>. This metric can be used as a base for other mesh-based penalties.

The parameters used in this class are:

Parameters:

Metric: Select this metric as follows:
(Metric "PolydataDummyPenalty")

(WriteResultMeshAfterEachIteration "True")

(WriteResultMeshAfterEachResolution "True")

Definition at line 63 of file elxPolydataDummyPenalty.h.

+ Inheritance diagram for elastix::PolydataDummyPenalty< TElastix >:

Public Types

typedef Superclass1::CellInterfaceType CellInterfaceType
 
typedef itk::AdvancedCombinationTransform< CoordRepType, itkGetStaticConstMacro(FixedImageDimension) > CombinationTransformType
 
typedef Superclass2::ConfigurationPointer ConfigurationPointer
 
typedef Superclass2::ConfigurationType ConfigurationType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass1::CoordinateRepresentationType CoordinateRepresentationType
 
typedef OutputPointType::CoordRepType CoordRepType
 
typedef Superclass1::DerivativeType DerivativeType
 
typedef Superclass2::ElastixPointer ElastixPointer
 
typedef Superclass2::ElastixType ElastixType
 
typedef Superclass1::FixedImageMaskPointer FixedImageMaskPointer
 
typedef Superclass1::FixedImageMaskType FixedImageMaskType
 
typedef Superclass2::FixedImageType FixedImageType
 
typedef Superclass1::FixedMeshConstPointer FixedMeshConstPointer
 
typedef Superclass1::FixedMeshContainerPointer FixedMeshContainerPointer
 
typedef Superclass1::FixedMeshContainerType FixedMeshContainerType
 
typedef Superclass1::FixedMeshPointer FixedMeshPointer
 
typedef Superclass1::FixedMeshType FixedMeshType
 
typedef Superclass1::FixedPointSetConstPointer FixedPointSetConstPointer
 
typedef Superclass1::FixedPointSetType FixedPointSetType
 
typedef FixedImageType ImageType
 
typedef CombinationTransformType::InitialTransformType InitialTransformType
 
typedef Superclass1::InputPointType InputPointType
 
typedef Superclass2::ITKBaseType ITKBaseType
 
typedef Superclass1::MappedMeshContainerPointer MappedMeshContainerPointer
 
typedef Superclass1::MappedMeshContainerType MappedMeshContainerType
 
typedef Superclass1::MeasureType MeasureType
 
typedef Superclass1::MeshIdType MeshIdType
 
typedef FixedMeshType MeshType
 
typedef Superclass1::MovingImageMaskPointer MovingImageMaskPointer
 
typedef Superclass1::MovingImageMaskType MovingImageMaskType
 
typedef Superclass2::MovingImageType MovingImageType
 
typedef Superclass1::MovingPointSetConstPointer MovingPointSetConstPointer
 
typedef Superclass1::MovingPointSetType MovingPointSetType
 
typedef itk::Object ObjectType
 
typedef Superclass1::OutputPointType OutputPointType
 
typedef Superclass1::ParametersType ParametersType
 
typedef itk::SmartPointer< SelfPointer
 
typedef FixedPointSetType PointSetType
 
typedef Superclass2::RegistrationPointer RegistrationPointer
 
typedef Superclass2::RegistrationType RegistrationType
 
typedef PolydataDummyPenalty Self
 
typedef itk::MeshPenalty< typename MetricBase< TElastix >::FixedPointSetType, typename MetricBase< TElastix >::MovingPointSetTypeSuperclass1
 
typedef MetricBase< TElastix > Superclass2
 
typedef Superclass1::TransformJacobianType TransformJacobianType
 
typedef Superclass1::TransformParametersType TransformParametersType
 
typedef Superclass1::TransformPointer TransformPointer
 
typedef Superclass1::TransformType TransformType
 
- Public Types inherited from itk::MeshPenalty< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
typedef MeshTraitsType::CellType CellInterfaceType
 
typedef SmartPointer< const SelfConstPointer
 
typedef InputPointType::CoordRepType CoordRepType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef Superclass::DerivativeValueType DerivativeValueType
 
typedef unsigned char DummyMeshPixelType
 
typedef TransformType::InputPointType FixedImagePointType
 
typedef FixedMeshType::ConstPointer FixedMeshConstPointer
 
typedef FixedMeshContainerType::ConstPointer FixedMeshContainerConstPointer
 
typedef FixedMeshContainerType::ElementIdentifier FixedMeshContainerElementIdentifier
 
typedef FixedMeshContainerType::Pointer FixedMeshContainerPointer
 
typedef VectorContainer< MeshIdType, FixedMeshConstPointerFixedMeshContainerType
 
typedef FixedMeshType::Pointer FixedMeshPointer
 
typedef Mesh< PointNormalType, FixedPointSetDimension, MeshTraitsTypeFixedMeshType
 
typedef Superclass::InputPointType InputPointType
 
typedef MappedMeshContainerType::ConstPointer MappedMeshContainerConstPointer
 
typedef MappedMeshContainerType::Pointer MappedMeshContainerPointer
 
typedef VectorContainer< MeshIdType, FixedMeshPointerMappedMeshContainerType
 
typedef Superclass::MeasureType MeasureType
 
typedef unsigned int MeshIdType
 
typedef FixedMeshType::PointDataContainerIterator MeshPointDataContainerConstIteratorType
 
typedef FixedMeshType::PointDataContainerConstPointer MeshPointDataContainerConstPointer
 
typedef MeshPointDataContainerType::Iterator MeshPointDataContainerIteratorType
 
typedef FixedMeshType::PointDataContainerPointer MeshPointDataContainerPointer
 
typedef FixedMeshType::PointDataContainer MeshPointDataContainerType
 
typedef FixedMeshType::PointsContainerConstIterator MeshPointsContainerConstIteratorType
 
typedef MeshPointsContainerType::ConstPointer MeshPointsContainerConstPointer
 
typedef FixedMeshType::PointsContainerIterator MeshPointsContainerIteratorType
 
typedef MeshPointsContainerType::Pointer MeshPointsContainerPointer
 
typedef FixedMeshType::PointsContainer MeshPointsContainerType
 
typedef Array< DerivativeValueTypeMeshPointsDerivativeValueType
 
typedef FixedMeshType::PointType MeshPointType
 
typedef DefaultStaticMeshTraits< PointNormalType, FixedPointSetDimension, FixedPointSetDimension, CoordRepTypeMeshTraitsType
 
typedef TransformType::OutputPointType MovingImagePointType
 
typedef Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef SmartPointer< SelfPointer
 
typedef Vector< typename TransformType::ScalarType, FixedPointSetDimension > PointNormalType
 
typedef MeshPenalty Self
 
typedef TransformType::SpatialJacobianType SpatialJacobianType
 
typedef SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetTypeSuperclass
 
typedef Superclass::TransformJacobianType TransformJacobianType
 
typedef Superclass::TransformParametersType TransformParametersType
 
typedef Superclass::TransformPointer TransformPointer
 
typedef Superclass::TransformType TransformType
 
typedef FixedMeshType::PointType::VectorType VectorType
 
typedef vnl_vector< CoordRepTypeVnlVectorType
 
- Public Types inherited from itk::SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::ParametersValueType CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef DerivativeType::ValueType DerivativeValueType
 
typedef FixedImageMaskType::ConstPointer FixedImageMaskConstPointer
 
typedef FixedImageMaskType::Pointer FixedImageMaskPointer
 
typedef SpatialObject< itkGetStaticConstMacro(FixedPointSetDimension) > FixedImageMaskType
 
typedef FixedPointSetType::ConstPointer FixedPointSetConstPointer
 
typedef FixedPointSetType::PixelType FixedPointSetPixelType
 
typedef MetricBase< TElastix >::FixedPointSetType FixedPointSetType
 
typedef TransformType::InputPointType InputPointType
 
typedef Superclass::MeasureType MeasureType
 
typedef MovingImageMaskType::ConstPointer MovingImageMaskConstPointer
 
typedef MovingImageMaskType::Pointer MovingImageMaskPointer
 
typedef SpatialObject< itkGetStaticConstMacro(MovingPointSetDimension) > MovingImageMaskType
 
typedef MovingPointSetType::ConstPointer MovingPointSetConstPointer
 
typedef MovingPointSetType::PixelType MovingPointSetPixelType
 
typedef MetricBase< TElastix >::MovingPointSetType MovingPointSetType
 
typedef TransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef TransformType::OutputPointType OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef FixedPointSetType::PointDataContainer::ConstIterator PointDataIterator
 
typedef SmartPointer< SelfPointer
 
typedef FixedPointSetType::PointsContainer::ConstIterator PointIterator
 
typedef SingleValuedPointSetToPointSetMetric Self
 
typedef SingleValuedCostFunction Superclass
 
typedef TransformType::JacobianType TransformJacobianType
 
typedef TransformType::ParametersType TransformParametersType
 
typedef TransformType::Pointer TransformPointer
 
typedef AdvancedTransform< CoordinateRepresentationType, itkGetStaticConstMacro(FixedPointSetDimension), itkGetStaticConstMacro(MovingPointSetDimension) > TransformType
 
- Public Types inherited from elastix::MetricBase< TElastix >
typedef itk::AdvancedImageToImageMetric< FixedImageType, MovingImageTypeAdvancedMetricType
 
typedef Superclass::ConfigurationPointer ConfigurationPointer
 
typedef Superclass::ConfigurationType ConfigurationType
 
typedef ITKBaseType::ParametersValueType CoordinateRepresentationType
 
typedef Superclass::ElastixPointer ElastixPointer
 
typedef Superclass::ElastixType ElastixType
 
typedef ElastixType::FixedImageType FixedImageType
 
typedef itk::PointSet< CoordinateRepresentationType, FixedImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, FixedImageDimension, FixedImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > FixedPointSetType
 
typedef FixedImageType::PointType FixedPointType
 
typedef FixedPointType::ValueType FixedPointValueType
 
typedef AdvancedMetricType::ImageSamplerType ImageSamplerBaseType
 
typedef itk::SingleValuedCostFunction ITKBaseType
 
typedef ITKBaseType::MeasureType MeasureType
 
typedef AdvancedMetricType::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
 
typedef ElastixType::MovingImageType MovingImageType
 
typedef itk::PointSet< CoordinateRepresentationType, MovingImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, MovingImageDimension, MovingImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > MovingPointSetType
 
typedef MovingImageType::PointType MovingPointType
 
typedef MovingPointType::ValueType MovingPointValueType
 
typedef Superclass::RegistrationPointer RegistrationPointer
 
typedef Superclass::RegistrationType RegistrationType
 
typedef MetricBase Self
 
typedef BaseComponentSE< TElastix > Superclass
 
- Public Types inherited from elastix::BaseComponentSE< TElastix >
typedef Configuration::Pointer ConfigurationPointer
 
typedef Configuration ConfigurationType
 
typedef itk::WeakPointer< ElastixTypeElastixPointer
 
typedef TElastix ElastixType
 
typedef RegistrationTypeRegistrationPointer
 
typedef ElastixType::RegistrationBaseType RegistrationType
 
typedef BaseComponentSE Self
 
typedef BaseComponent Superclass
 

Public Member Functions

void AfterEachIteration (void) override
 
void AfterEachResolution (void) override
 
int BeforeAllBase (void) override
 
void BeforeRegistration (void) override
 
 elxClassNameMacro ("PolydataDummyPenalty")
 
virtual const char * GetClassName () const
 
void Initialize (void) override
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
unsigned int ReadMesh (const std::string &meshFileName, typename FixedMeshType::Pointer &mesh)
 
unsigned int ReadTransformixPoints (const std::string &filename, typename MeshType::Pointer &mesh)
 
void SelectNewSamples (void) override
 
void WriteResultMesh (const char *filename, MeshIdType meshId)
 
- Public Member Functions inherited from itk::MeshPenalty< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
virtual const char * GetClassName () const
 
void GetDerivative (const TransformParametersType &parameters, DerivativeType &Derivative) const override
 
virtual const FixedMeshContainerTypeGetFixedMeshContainer ()
 
MeasureType GetValue (const TransformParametersType &parameters) const override
 
void GetValueAndDerivative (const TransformParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const override
 
void Initialize (void) override
 
 itkGetModifiableObjectMacro (MappedMeshContainer, MappedMeshContainerType)
 
 itkStaticConstMacro (FixedPointSetDimension, unsigned int, Superclass::FixedPointSetDimension)
 
virtual void SetFixedMeshContainer (const FixedMeshContainerType *_arg)
 
virtual void SetMappedMeshContainer (MappedMeshContainerType *_arg)
 
- Public Member Functions inherited from itk::SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
virtual void BeforeThreadedGetValueAndDerivative (const TransformParametersType &parameters) const
 
virtual const char * GetClassName () const
 
virtual const FixedImageMaskTypeGetFixedImageMask ()
 
virtual const FixedPointSetTypeGetFixedPointSet ()
 
virtual const MovingImageMaskTypeGetMovingImageMask ()
 
virtual const MovingPointSetTypeGetMovingPointSet ()
 
unsigned int GetNumberOfParameters (void) const override
 
virtual const TransformTypeGetTransform ()
 
virtual const boolGetUseMetricSingleThreaded ()
 
virtual void Initialize (void)
 
 itkStaticConstMacro (FixedPointSetDimension, unsigned int, TFixedPointSet::PointDimension)
 
 itkStaticConstMacro (MovingPointSetDimension, unsigned int, TMovingPointSet::PointDimension)
 
virtual void SetFixedImageMask (const FixedImageMaskType *_arg)
 
virtual void SetFixedPointSet (const FixedPointSetType *_arg)
 
virtual void SetMovingImageMask (const MovingImageMaskType *_arg)
 
virtual void SetMovingPointSet (const MovingPointSetType *_arg)
 
virtual void SetTransform (TransformType *_arg)
 
void SetTransformParameters (const ParametersType &parameters) const
 
virtual void SetUseMetricSingleThreaded (bool _arg)
 
virtual void UseMetricSingleThreadedOff ()
 
virtual void UseMetricSingleThreadedOn ()
 
- Public Member Functions inherited from elastix::MetricBase< TElastix >
void AfterEachIterationBase (void) override
 
void BeforeEachResolutionBase (void) override
 
virtual ImageSamplerBaseTypeGetAdvancedMetricImageSampler (void) const
 
virtual bool GetAdvancedMetricUseImageSampler (void) const
 
virtual ITKBaseTypeGetAsITKBaseType (void)
 
virtual const ITKBaseTypeGetAsITKBaseType (void) const
 
virtual const char * GetClassName () const
 
virtual MeasureType GetCurrentExactMetricValue (void) const
 
virtual bool GetShowExactMetricValue (void) const
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
virtual void SelectNewSamples (void)
 
virtual void SetAdvancedMetricImageSampler (ImageSamplerBaseType *sampler)
 
- Public Member Functions inherited from elastix::BaseComponentSE< TElastix >
ConfigurationTypeGetConfiguration (void) const
 
ElastixTypeGetElastix (void) const
 
RegistrationPointer GetRegistration (void) const
 
 ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponentSE)
 
void SetConfiguration (ConfigurationType *_arg)
 
void SetElastix (ElastixType *_arg)
 
- Public Member Functions inherited from elastix::BaseComponent
virtual void AfterEachIteration (void)
 
virtual void AfterEachIterationBase (void)
 
virtual void AfterEachResolution (void)
 
virtual void AfterEachResolutionBase (void)
 
virtual void AfterRegistration (void)
 
virtual void AfterRegistrationBase (void)
 
virtual int BeforeAll (void)
 
virtual int BeforeAllBase (void)
 
virtual void BeforeEachResolution (void)
 
virtual void BeforeEachResolutionBase (void)
 
virtual void BeforeRegistration (void)
 
virtual void BeforeRegistrationBase (void)
 
virtual const char * elxGetClassName (void) const
 
const char * GetComponentLabel (void) const
 
 ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponent)
 
 itkTypeMacroNoParent (BaseComponent)
 
void SetComponentLabel (const char *label, unsigned int idx)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::MeshPenalty< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
static Pointer New ()
 
- Static Public Member Functions inherited from elastix::BaseComponent
static std::string ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision)
 
static void InitializeElastixExecutable ()
 
static bool IsElastixLibrary ()
 

Protected Member Functions

 PolydataDummyPenalty ()
 
 ~PolydataDummyPenalty () override
 
- Protected Member Functions inherited from itk::MeshPenalty< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
 MeshPenalty ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~MeshPenalty () override
 
- Protected Member Functions inherited from itk::SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
void PrintSelf (std::ostream &os, Indent indent) const override
 
 SingleValuedPointSetToPointSetMetric ()
 
 ~SingleValuedPointSetToPointSetMetric () override
 
- Protected Member Functions inherited from elastix::MetricBase< TElastix >
virtual MeasureType GetExactValue (const ParametersType &parameters)
 
 MetricBase ()
 
 ~MetricBase () override
 
- Protected Member Functions inherited from elastix::BaseComponentSE< TElastix >
 BaseComponentSE ()=default
 
 ~BaseComponentSE () override=default
 
- Protected Member Functions inherited from elastix::BaseComponent
 BaseComponent ()=default
 
virtual ~BaseComponent ()=default
 

Private Member Functions

void operator= (const Self &)
 
 PolydataDummyPenalty (const Self &)
 

Private Attributes

unsigned int m_NumberOfMeshes
 

Additional Inherited Members

- Protected Types inherited from elastix::MetricBase< TElastix >
typedef ExactMetricImageSamplerType::Pointer ExactMetricImageSamplerPointer
 
typedef itk::ImageGridSampler< FixedImageTypeExactMetricImageSamplerType
 
typedef ExactMetricImageSamplerType::SampleGridSpacingType ExactMetricSampleGridSpacingType
 
typedef ITKBaseType::ParametersType ParametersType
 
- Protected Attributes inherited from itk::MeshPenalty< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
FixedMeshContainerConstPointer m_FixedMeshContainer
 
MappedMeshContainerPointer m_MappedMeshContainer
 
- Protected Attributes inherited from itk::SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
FixedImageMaskConstPointer m_FixedImageMask
 
FixedPointSetConstPointer m_FixedPointSet
 
MovingImageMaskConstPointer m_MovingImageMask
 
MovingPointSetConstPointer m_MovingPointSet
 
unsigned int m_NumberOfPointsCounted
 
TransformPointer m_Transform
 
bool m_UseMetricSingleThreaded
 
- Protected Attributes inherited from elastix::MetricBase< TElastix >
MeasureType m_CurrentExactMetricValue
 
unsigned int m_ExactMetricEachXNumberOfIterations
 
ExactMetricSampleGridSpacingType m_ExactMetricSampleGridSpacing
 
ExactMetricImageSamplerPointer m_ExactMetricSampler
 
bool m_ShowExactMetricValue
 
- Protected Attributes inherited from elastix::BaseComponentSE< TElastix >
ConfigurationPointer m_Configuration {}
 
ElastixPointer m_Elastix {}
 
RegistrationPointer m_Registration {}
 

Member Typedef Documentation

◆ CellInterfaceType

template<class TElastix >
typedef Superclass1::CellInterfaceType elastix::PolydataDummyPenalty< TElastix >::CellInterfaceType

Definition at line 107 of file elxPolydataDummyPenalty.h.

◆ CombinationTransformType

template<class TElastix >
typedef itk::AdvancedCombinationTransform< CoordRepType, itkGetStaticConstMacro( FixedImageDimension ) > elastix::PolydataDummyPenalty< TElastix >::CombinationTransformType

Definition at line 136 of file elxPolydataDummyPenalty.h.

◆ ConfigurationPointer

template<class TElastix >
typedef Superclass2::ConfigurationPointer elastix::PolydataDummyPenalty< TElastix >::ConfigurationPointer

Definition at line 144 of file elxPolydataDummyPenalty.h.

◆ ConfigurationType

template<class TElastix >
typedef Superclass2::ConfigurationType elastix::PolydataDummyPenalty< TElastix >::ConfigurationType

Definition at line 143 of file elxPolydataDummyPenalty.h.

◆ ConstPointer

template<class TElastix >
typedef itk::SmartPointer< const Self > elastix::PolydataDummyPenalty< TElastix >::ConstPointer

Definition at line 79 of file elxPolydataDummyPenalty.h.

◆ CoordinateRepresentationType

template<class TElastix >
typedef Superclass1::CoordinateRepresentationType elastix::PolydataDummyPenalty< TElastix >::CoordinateRepresentationType

Definition at line 98 of file elxPolydataDummyPenalty.h.

◆ CoordRepType

template<class TElastix >
typedef OutputPointType::CoordRepType elastix::PolydataDummyPenalty< TElastix >::CoordRepType

Definition at line 125 of file elxPolydataDummyPenalty.h.

◆ DerivativeType

template<class TElastix >
typedef Superclass1::DerivativeType elastix::PolydataDummyPenalty< TElastix >::DerivativeType

Definition at line 122 of file elxPolydataDummyPenalty.h.

◆ ElastixPointer

template<class TElastix >
typedef Superclass2::ElastixPointer elastix::PolydataDummyPenalty< TElastix >::ElastixPointer

Definition at line 142 of file elxPolydataDummyPenalty.h.

◆ ElastixType

template<class TElastix >
typedef Superclass2::ElastixType elastix::PolydataDummyPenalty< TElastix >::ElastixType

Typedefs inherited from elastix.

Definition at line 141 of file elxPolydataDummyPenalty.h.

◆ FixedImageMaskPointer

template<class TElastix >
typedef Superclass1::FixedImageMaskPointer elastix::PolydataDummyPenalty< TElastix >::FixedImageMaskPointer

Definition at line 118 of file elxPolydataDummyPenalty.h.

◆ FixedImageMaskType

template<class TElastix >
typedef Superclass1::FixedImageMaskType elastix::PolydataDummyPenalty< TElastix >::FixedImageMaskType

Definition at line 117 of file elxPolydataDummyPenalty.h.

◆ FixedImageType

template<class TElastix >
typedef Superclass2::FixedImageType elastix::PolydataDummyPenalty< TElastix >::FixedImageType

Definition at line 148 of file elxPolydataDummyPenalty.h.

◆ FixedMeshConstPointer

template<class TElastix >
typedef Superclass1::FixedMeshConstPointer elastix::PolydataDummyPenalty< TElastix >::FixedMeshConstPointer

Definition at line 96 of file elxPolydataDummyPenalty.h.

◆ FixedMeshContainerPointer

template<class TElastix >
typedef Superclass1::FixedMeshContainerPointer elastix::PolydataDummyPenalty< TElastix >::FixedMeshContainerPointer

Definition at line 102 of file elxPolydataDummyPenalty.h.

◆ FixedMeshContainerType

template<class TElastix >
typedef Superclass1::FixedMeshContainerType elastix::PolydataDummyPenalty< TElastix >::FixedMeshContainerType

Definition at line 101 of file elxPolydataDummyPenalty.h.

◆ FixedMeshPointer

template<class TElastix >
typedef Superclass1::FixedMeshPointer elastix::PolydataDummyPenalty< TElastix >::FixedMeshPointer

Definition at line 95 of file elxPolydataDummyPenalty.h.

◆ FixedMeshType

template<class TElastix >
typedef Superclass1::FixedMeshType elastix::PolydataDummyPenalty< TElastix >::FixedMeshType

Typedefs from the superclass.

Definition at line 94 of file elxPolydataDummyPenalty.h.

◆ FixedPointSetConstPointer

template<class TElastix >
typedef Superclass1::FixedPointSetConstPointer elastix::PolydataDummyPenalty< TElastix >::FixedPointSetConstPointer

Definition at line 100 of file elxPolydataDummyPenalty.h.

◆ FixedPointSetType

template<class TElastix >
typedef Superclass1::FixedPointSetType elastix::PolydataDummyPenalty< TElastix >::FixedPointSetType

Definition at line 99 of file elxPolydataDummyPenalty.h.

◆ ImageType

template<class TElastix >
typedef FixedImageType elastix::PolydataDummyPenalty< TElastix >::ImageType

Definition at line 162 of file elxPolydataDummyPenalty.h.

◆ InitialTransformType

template<class TElastix >
typedef CombinationTransformType::InitialTransformType elastix::PolydataDummyPenalty< TElastix >::InitialTransformType

Definition at line 138 of file elxPolydataDummyPenalty.h.

◆ InputPointType

template<class TElastix >
typedef Superclass1::InputPointType elastix::PolydataDummyPenalty< TElastix >::InputPointType

Definition at line 112 of file elxPolydataDummyPenalty.h.

◆ ITKBaseType

template<class TElastix >
typedef Superclass2::ITKBaseType elastix::PolydataDummyPenalty< TElastix >::ITKBaseType

Definition at line 147 of file elxPolydataDummyPenalty.h.

◆ MappedMeshContainerPointer

template<class TElastix >
typedef Superclass1::MappedMeshContainerPointer elastix::PolydataDummyPenalty< TElastix >::MappedMeshContainerPointer

Definition at line 104 of file elxPolydataDummyPenalty.h.

◆ MappedMeshContainerType

template<class TElastix >
typedef Superclass1::MappedMeshContainerType elastix::PolydataDummyPenalty< TElastix >::MappedMeshContainerType

Definition at line 103 of file elxPolydataDummyPenalty.h.

◆ MeasureType

template<class TElastix >
typedef Superclass1::MeasureType elastix::PolydataDummyPenalty< TElastix >::MeasureType

Definition at line 121 of file elxPolydataDummyPenalty.h.

◆ MeshIdType

template<class TElastix >
typedef Superclass1::MeshIdType elastix::PolydataDummyPenalty< TElastix >::MeshIdType

Definition at line 127 of file elxPolydataDummyPenalty.h.

◆ MeshType

template<class TElastix >
typedef FixedMeshType elastix::PolydataDummyPenalty< TElastix >::MeshType

Definition at line 161 of file elxPolydataDummyPenalty.h.

◆ MovingImageMaskPointer

template<class TElastix >
typedef Superclass1::MovingImageMaskPointer elastix::PolydataDummyPenalty< TElastix >::MovingImageMaskPointer

Definition at line 120 of file elxPolydataDummyPenalty.h.

◆ MovingImageMaskType

template<class TElastix >
typedef Superclass1::MovingImageMaskType elastix::PolydataDummyPenalty< TElastix >::MovingImageMaskType

Definition at line 119 of file elxPolydataDummyPenalty.h.

◆ MovingImageType

template<class TElastix >
typedef Superclass2::MovingImageType elastix::PolydataDummyPenalty< TElastix >::MovingImageType

Definition at line 149 of file elxPolydataDummyPenalty.h.

◆ MovingPointSetConstPointer

template<class TElastix >
typedef Superclass1::MovingPointSetConstPointer elastix::PolydataDummyPenalty< TElastix >::MovingPointSetConstPointer

Definition at line 106 of file elxPolydataDummyPenalty.h.

◆ MovingPointSetType

template<class TElastix >
typedef Superclass1::MovingPointSetType elastix::PolydataDummyPenalty< TElastix >::MovingPointSetType

Definition at line 105 of file elxPolydataDummyPenalty.h.

◆ ObjectType

template<class TElastix >
typedef itk::Object elastix::PolydataDummyPenalty< TElastix >::ObjectType

Other typedef's.

Definition at line 129 of file elxPolydataDummyPenalty.h.

◆ OutputPointType

template<class TElastix >
typedef Superclass1::OutputPointType elastix::PolydataDummyPenalty< TElastix >::OutputPointType

Definition at line 113 of file elxPolydataDummyPenalty.h.

◆ ParametersType

template<class TElastix >
typedef Superclass1::ParametersType elastix::PolydataDummyPenalty< TElastix >::ParametersType

Definition at line 123 of file elxPolydataDummyPenalty.h.

◆ Pointer

template<class TElastix >
typedef itk::SmartPointer< Self > elastix::PolydataDummyPenalty< TElastix >::Pointer

Definition at line 78 of file elxPolydataDummyPenalty.h.

◆ PointSetType

template<class TElastix >
typedef FixedPointSetType elastix::PolydataDummyPenalty< TElastix >::PointSetType

Assuming fixed and moving pointsets are of equal type, which implicitly assumes that the fixed and moving image are of the same type.

Definition at line 160 of file elxPolydataDummyPenalty.h.

◆ RegistrationPointer

template<class TElastix >
typedef Superclass2::RegistrationPointer elastix::PolydataDummyPenalty< TElastix >::RegistrationPointer

Definition at line 146 of file elxPolydataDummyPenalty.h.

◆ RegistrationType

template<class TElastix >
typedef Superclass2::RegistrationType elastix::PolydataDummyPenalty< TElastix >::RegistrationType

Definition at line 145 of file elxPolydataDummyPenalty.h.

◆ Self

template<class TElastix >
typedef PolydataDummyPenalty elastix::PolydataDummyPenalty< TElastix >::Self

Standard ITK-stuff.

Definition at line 73 of file elxPolydataDummyPenalty.h.

◆ Superclass1

template<class TElastix >
typedef itk::MeshPenalty< typename MetricBase< TElastix >::FixedPointSetType, typename MetricBase< TElastix >::MovingPointSetType > elastix::PolydataDummyPenalty< TElastix >::Superclass1

Definition at line 76 of file elxPolydataDummyPenalty.h.

◆ Superclass2

template<class TElastix >
typedef MetricBase< TElastix > elastix::PolydataDummyPenalty< TElastix >::Superclass2

Definition at line 77 of file elxPolydataDummyPenalty.h.

◆ TransformJacobianType

template<class TElastix >
typedef Superclass1::TransformJacobianType elastix::PolydataDummyPenalty< TElastix >::TransformJacobianType

Definition at line 115 of file elxPolydataDummyPenalty.h.

◆ TransformParametersType

template<class TElastix >
typedef Superclass1::TransformParametersType elastix::PolydataDummyPenalty< TElastix >::TransformParametersType

Definition at line 114 of file elxPolydataDummyPenalty.h.

◆ TransformPointer

template<class TElastix >
typedef Superclass1::TransformPointer elastix::PolydataDummyPenalty< TElastix >::TransformPointer

Definition at line 111 of file elxPolydataDummyPenalty.h.

◆ TransformType

template<class TElastix >
typedef Superclass1::TransformType elastix::PolydataDummyPenalty< TElastix >::TransformType

Definition at line 110 of file elxPolydataDummyPenalty.h.

Constructor & Destructor Documentation

◆ PolydataDummyPenalty() [1/2]

template<class TElastix >
elastix::PolydataDummyPenalty< TElastix >::PolydataDummyPenalty ( )
protected

The constructor.

◆ ~PolydataDummyPenalty()

template<class TElastix >
elastix::PolydataDummyPenalty< TElastix >::~PolydataDummyPenalty ( )
inlineoverrideprotected

The destructor.

Definition at line 202 of file elxPolydataDummyPenalty.h.

◆ PolydataDummyPenalty() [2/2]

template<class TElastix >
elastix::PolydataDummyPenalty< TElastix >::PolydataDummyPenalty ( const Self )
private

The private constructor.

Member Function Documentation

◆ AfterEachIteration()

template<class TElastix >
void elastix::PolydataDummyPenalty< TElastix >::AfterEachIteration ( void  )
overridevirtual

Reimplemented from elastix::BaseComponent.

◆ AfterEachResolution()

template<class TElastix >
void elastix::PolydataDummyPenalty< TElastix >::AfterEachResolution ( void  )
overridevirtual

Reimplemented from elastix::BaseComponent.

◆ BeforeAllBase()

template<class TElastix >
int elastix::PolydataDummyPenalty< TElastix >::BeforeAllBase ( void  )
overridevirtual

Do some things before registration:

  • Load and set the pointsets.

Reimplemented from elastix::BaseComponent.

◆ BeforeRegistration()

template<class TElastix >
void elastix::PolydataDummyPenalty< TElastix >::BeforeRegistration ( void  )
overridevirtual

Reimplemented from elastix::BaseComponent.

◆ elxClassNameMacro()

template<class TElastix >
elastix::PolydataDummyPenalty< TElastix >::elxClassNameMacro ( "PolydataDummyPenalty< TElastix >"  )

Name of this class. Use this name in the parameter file to select this specific metric.
example: (Metric "PolydataDummyPenalty")

◆ GetClassName()

template<class TElastix >
virtual const char * elastix::PolydataDummyPenalty< TElastix >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from elastix::MetricBase< TElastix >.

◆ Initialize()

template<class TElastix >
void elastix::PolydataDummyPenalty< TElastix >::Initialize ( void  )
overridevirtual

Typedef for timer. Sets up a timer to measure the initialization time and calls the Superclass' implementation.

Reimplemented from itk::SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >.

◆ itkStaticConstMacro() [1/2]

template<class TElastix >
elastix::PolydataDummyPenalty< TElastix >::itkStaticConstMacro ( FixedImageDimension  ,
unsigned int  ,
FixedImageType::ImageDimension   
)

The fixed image dimension.

◆ itkStaticConstMacro() [2/2]

template<class TElastix >
elastix::PolydataDummyPenalty< TElastix >::itkStaticConstMacro ( MovingImageDimension  ,
unsigned int  ,
MovingImageType::ImageDimension   
)

◆ New()

template<class TElastix >
static Pointer elastix::PolydataDummyPenalty< TElastix >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TElastix >
void elastix::PolydataDummyPenalty< TElastix >::operator= ( const Self )
private

The private copy constructor.

◆ ReadMesh()

template<class TElastix >
unsigned int elastix::PolydataDummyPenalty< TElastix >::ReadMesh ( const std::string &  meshFileName,
typename FixedMeshType::Pointer &  mesh 
)

Function to read the corresponding points.

◆ ReadTransformixPoints()

template<class TElastix >
unsigned int elastix::PolydataDummyPenalty< TElastix >::ReadTransformixPoints ( const std::string &  filename,
typename MeshType::Pointer &  mesh 
)

◆ SelectNewSamples()

template<class TElastix >
void elastix::PolydataDummyPenalty< TElastix >::SelectNewSamples ( void  )
inlineoverridevirtual

Overwrite to silence warning.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 195 of file elxPolydataDummyPenalty.h.

◆ WriteResultMesh()

template<class TElastix >
void elastix::PolydataDummyPenalty< TElastix >::WriteResultMesh ( const char *  filename,
MeshIdType  meshId 
)

Field Documentation

◆ m_NumberOfMeshes

template<class TElastix >
unsigned int elastix::PolydataDummyPenalty< TElastix >::m_NumberOfMeshes
private

Definition at line 211 of file elxPolydataDummyPenalty.h.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo