diff --git a/Modules/MatchPointRegistration/Rendering/mitkRegEvalStyleProperty.h b/Modules/MatchPointRegistration/Rendering/mitkRegEvalStyleProperty.h index 00113c15ca..56de51dda9 100644 --- a/Modules/MatchPointRegistration/Rendering/mitkRegEvalStyleProperty.h +++ b/Modules/MatchPointRegistration/Rendering/mitkRegEvalStyleProperty.h @@ -1,100 +1,100 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #ifndef _MITK_REG_EVAL_STYLE_PROPERTY__H_ #define _MITK_REG_EVAL_STYLE_PROPERTY__H_ // MITK #include // MITK #include "MitkMatchPointRegistrationExports.h" namespace mitk { #ifdef _MSC_VER # pragma warning(push) # pragma warning(disable: 4522) #endif /** * Encapsulates the enumeration for visualization styles. Valid values are: * 0/Blend 1/Color Blend 2/Checkerboard, 3/Wipe, 4/Difference, 5/Contour * Default is "Blend" */ class MITKMATCHPOINTREGISTRATION_EXPORT RegEvalStyleProperty : public EnumerationProperty { public: mitkClassMacro( RegEvalStyleProperty, EnumerationProperty ); itkNewMacro(RegEvalStyleProperty); mitkNewMacro1Param(RegEvalStyleProperty, const IdType&); mitkNewMacro1Param(RegEvalStyleProperty, const std::string&); using BaseProperty::operator=; protected: /** * Constructor. Sets the representation to a default value of 0 */ RegEvalStyleProperty( ); /** * Constructor. Sets the enumeration to the given value. If it is not * valid, the enumeration is set to 0 */ RegEvalStyleProperty( const IdType& value ); /** * Constructor. Sets the enumeration to the given value. If it is not * valid, the enumeration is set to 0 */ RegEvalStyleProperty( const std::string& value ); /** * this function is overridden as protected, so that the user may not add * additional invalid interpolation types. */ bool AddEnum( const std::string& name, const IdType& id ) override; /** * Adds the enumeration types */ - virtual void AddTypes(); + void AddTypes(); private: // purposely not implemented RegEvalStyleProperty(const RegEvalStyleProperty&); RegEvalStyleProperty& operator=(const RegEvalStyleProperty&); }; #ifdef _MSC_VER # pragma warning(pop) #endif } // end of namespace mitk #endif diff --git a/Modules/MatchPointRegistration/Rendering/mitkRegEvalWipeStyleProperty.h b/Modules/MatchPointRegistration/Rendering/mitkRegEvalWipeStyleProperty.h index f50f6df220..4f73bc8059 100644 --- a/Modules/MatchPointRegistration/Rendering/mitkRegEvalWipeStyleProperty.h +++ b/Modules/MatchPointRegistration/Rendering/mitkRegEvalWipeStyleProperty.h @@ -1,100 +1,100 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #ifndef _MITK_REG_EVAL_WIPE_STYLE_PROPERTY__H_ #define _MITK_REG_EVAL_WIPE_STYLE_PROPERTY__H_ // MITK #include // MITK #include "MitkMatchPointRegistrationExports.h" namespace mitk { #ifdef _MSC_VER # pragma warning(push) # pragma warning(disable: 4522) #endif /** * Encapsulates the enumeration for visualization styles. Valid values are: * 0/Cross 1/horizontal wipe 2/vertical wipe * Default is "Cross" */ class MITKMATCHPOINTREGISTRATION_EXPORT RegEvalWipeStyleProperty : public EnumerationProperty { public: mitkClassMacro( RegEvalWipeStyleProperty, EnumerationProperty ); itkNewMacro(RegEvalWipeStyleProperty); mitkNewMacro1Param(RegEvalWipeStyleProperty, const IdType&); mitkNewMacro1Param(RegEvalWipeStyleProperty, const std::string&); using BaseProperty::operator=; protected: /** * Constructor. Sets the representation to a default value of 0 */ RegEvalWipeStyleProperty( ); /** * Constructor. Sets the enumeration to the given value. If it is not * valid, the enumeration is set to 0 */ RegEvalWipeStyleProperty( const IdType& value ); /** * Constructor. Sets the enumeration to the given value. If it is not * valid, the enumeration is set to 0 */ RegEvalWipeStyleProperty( const std::string& value ); /** * this function is overridden as protected, so that the user may not add * additional invalid interpolation types. */ bool AddEnum( const std::string& name, const IdType& id ) override; /** * Adds the enumeration types */ - virtual void AddTypes(); + void AddTypes(); private: // purposely not implemented RegEvalWipeStyleProperty(const RegEvalWipeStyleProperty&); RegEvalWipeStyleProperty& operator=(const RegEvalWipeStyleProperty&); }; #ifdef _MSC_VER # pragma warning(pop) #endif } // end of namespace mitk #endif diff --git a/Modules/MatchPointRegistration/Rendering/mitkRegVisColorStyleProperty.h b/Modules/MatchPointRegistration/Rendering/mitkRegVisColorStyleProperty.h index 9dcb291ceb..f504ce3dac 100644 --- a/Modules/MatchPointRegistration/Rendering/mitkRegVisColorStyleProperty.h +++ b/Modules/MatchPointRegistration/Rendering/mitkRegVisColorStyleProperty.h @@ -1,98 +1,98 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #ifndef _MITK_REG_VIS_COLOR_STYLE_PROPERTY__H_ #define _MITK_REG_VIS_COLOR_STYLE_PROPERTY__H_ // MITK #include // MITK #include "MitkMatchPointRegistrationExports.h" namespace mitk { #ifdef _MSC_VER # pragma warning(push) # pragma warning(disable: 4522) #endif /** * Encapsulates the enumeration for direction for the registration visualization. Valid values are: * 0/UniColor, 1/VectorMagnitude * Default is "UniColor" */ class MITKMATCHPOINTREGISTRATION_EXPORT RegVisColorStyleProperty : public EnumerationProperty { public: mitkClassMacro( RegVisColorStyleProperty, EnumerationProperty ); itkNewMacro(RegVisColorStyleProperty); mitkNewMacro1Param(RegVisColorStyleProperty, const IdType&); mitkNewMacro1Param(RegVisColorStyleProperty, const std::string&); using BaseProperty::operator=; protected: /** * Constructor. Sets the representation to a default value of 0 */ RegVisColorStyleProperty( ); /** * Constructor. Sets the enumeration to the given value. If it is not * valid, the enumeration is set to 0 */ RegVisColorStyleProperty( const IdType& value ); /** * Constructor. Sets the enumeration to the given value. If it is not * valid, the enumeration is set to 0 */ RegVisColorStyleProperty( const std::string& value ); /** * this function is overridden as protected, so that the user may not add * additional invalid interpolation types. */ bool AddEnum( const std::string& name, const IdType& id ) override; /** * Adds the enumeration types */ - virtual void AddTypes(); + void AddTypes(); private: // purposely not implemented RegVisColorStyleProperty(const RegVisColorStyleProperty&); RegVisColorStyleProperty& operator=(const RegVisColorStyleProperty&); }; #ifdef _MSC_VER # pragma warning(pop) #endif } // end of namespace mitk #endif diff --git a/Modules/MatchPointRegistration/Rendering/mitkRegVisDirectionProperty.h b/Modules/MatchPointRegistration/Rendering/mitkRegVisDirectionProperty.h index 4d1d9d6ec9..94c012c539 100644 --- a/Modules/MatchPointRegistration/Rendering/mitkRegVisDirectionProperty.h +++ b/Modules/MatchPointRegistration/Rendering/mitkRegVisDirectionProperty.h @@ -1,98 +1,98 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #ifndef _MITK_REG_VIS_DIRECTION_PROPERTY__H_ #define _MITK_REG_VIS_DIRECTION_PROPERTY__H_ // MITK #include // MITK #include "MitkMatchPointRegistrationExports.h" namespace mitk { #ifdef _MSC_VER # pragma warning(push) # pragma warning(disable: 4522) #endif /** * Encapsulates the enumeration for direction for the registration visualization. Valid values are: * 0/Direct, 1/Inverse * Default is "Inverse" */ class MITKMATCHPOINTREGISTRATION_EXPORT RegVisDirectionProperty : public EnumerationProperty { public: mitkClassMacro( RegVisDirectionProperty, EnumerationProperty ); itkNewMacro(RegVisDirectionProperty); mitkNewMacro1Param(RegVisDirectionProperty, const IdType&); mitkNewMacro1Param(RegVisDirectionProperty, const std::string&); using BaseProperty::operator=; protected: /** * Constructor. Sets the representation to a default value of 1 */ RegVisDirectionProperty( ); /** * Constructor. Sets the enumeration to the given value. If it is not * valid, the enumeration is set to 1 */ RegVisDirectionProperty( const IdType& value ); /** * Constructor. Sets the enumeration to the given value. If it is not * valid, the enumeration is set to 1 */ RegVisDirectionProperty( const std::string& value ); /** * this function is overridden as protected, so that the user may not add * additional invalid interpolation types. */ bool AddEnum( const std::string& name, const IdType& id ) override; /** * Adds the enumeration types */ - virtual void AddTypes(); + void AddTypes(); private: // purposely not implemented RegVisDirectionProperty(const RegVisDirectionProperty&); RegVisDirectionProperty& operator=(const RegVisDirectionProperty&); }; #ifdef _MSC_VER # pragma warning(pop) #endif } // end of namespace mitk #endif diff --git a/Modules/MatchPointRegistration/Rendering/mitkRegVisStyleProperty.h b/Modules/MatchPointRegistration/Rendering/mitkRegVisStyleProperty.h index 046cd78df7..11f9b1ab0e 100644 --- a/Modules/MatchPointRegistration/Rendering/mitkRegVisStyleProperty.h +++ b/Modules/MatchPointRegistration/Rendering/mitkRegVisStyleProperty.h @@ -1,100 +1,100 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #ifndef _MITK_REG_VIS_STYLE_PROPERTY__H_ #define _MITK_REG_VIS_STYLE_PROPERTY__H_ // MITK #include // MITK #include "MitkMatchPointRegistrationExports.h" namespace mitk { #ifdef _MSC_VER # pragma warning(push) # pragma warning(disable: 4522) #endif /** * Encapsulates the enumeration for visualization styles. Valid values are: * 0/Grid, 1/Glyph, 2/Points * Default is "Grid" */ class MITKMATCHPOINTREGISTRATION_EXPORT RegVisStyleProperty : public EnumerationProperty { public: mitkClassMacro( RegVisStyleProperty, EnumerationProperty ); itkNewMacro(RegVisStyleProperty); mitkNewMacro1Param(RegVisStyleProperty, const IdType&); mitkNewMacro1Param(RegVisStyleProperty, const std::string&); using BaseProperty::operator=; protected: /** * Constructor. Sets the representation to a default value of 0 */ RegVisStyleProperty( ); /** * Constructor. Sets the enumeration to the given value. If it is not * valid, the enumeration is set to 0 */ RegVisStyleProperty( const IdType& value ); /** * Constructor. Sets the enumeration to the given value. If it is not * valid, the enumeration is set to 0 */ RegVisStyleProperty( const std::string& value ); /** * this function is overridden as protected, so that the user may not add * additional invalid interpolation types. */ bool AddEnum( const std::string& name, const IdType& id ) override; /** * Adds the enumeration types */ - virtual void AddTypes(); + void AddTypes(); private: // purposely not implemented RegVisStyleProperty(const RegVisStyleProperty&); RegVisStyleProperty& operator=(const RegVisStyleProperty&); }; #ifdef _MSC_VER # pragma warning(pop) #endif } // end of namespace mitk #endif