Skip to content
Snippets Groups Projects
Commit c9f5f978 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

ENH: virtual not needed in itkBase.i

parent ca470c1e
No related branches found
No related tags found
1 merge request!29ApplicationEngine new services
...@@ -89,7 +89,7 @@ class Size ...@@ -89,7 +89,7 @@ class Size
{ {
public: public:
Size(); Size();
virtual ~Size(); ~Size();
void Fill(unsigned long val); void Fill(unsigned long val);
SizeValueType GetElement(unsigned long element) const; SizeValueType GetElement(unsigned long element) const;
void SetElement(unsigned long element, SizeValueType val); void SetElement(unsigned long element, SizeValueType val);
...@@ -101,7 +101,7 @@ class Index ...@@ -101,7 +101,7 @@ class Index
{ {
public: public:
Index(); Index();
virtual ~Index(); ~Index();
void Fill(signed long val); void Fill(signed long val);
IndexValueType GetElement(unsigned long element) const; IndexValueType GetElement(unsigned long element) const;
void SetElement(unsigned long element, IndexValueType val); void SetElement(unsigned long element, IndexValueType val);
...@@ -114,7 +114,7 @@ class ImageRegion ...@@ -114,7 +114,7 @@ class ImageRegion
public: public:
ImageRegion(); ImageRegion();
ImageRegion(const Index<VDim> &index, const Size<VDim> &size); ImageRegion(const Index<VDim> &index, const Size<VDim> &size);
virtual ~ImageRegion(); ~ImageRegion();
void SetIndex(const Index<VDim> &index); void SetIndex(const Index<VDim> &index);
void SetSize(const Size<VDim> &size); void SetSize(const Size<VDim> &size);
void SetUpperIndex(const Index<VDim> &idx); void SetUpperIndex(const Index<VDim> &idx);
...@@ -133,7 +133,7 @@ class FixedArray ...@@ -133,7 +133,7 @@ class FixedArray
{ {
public: public:
FixedArray(); FixedArray();
virtual ~FixedArray(); ~FixedArray();
unsigned int Size(); unsigned int Size();
void SetElement(unsigned short idx, const TValue &val); void SetElement(unsigned short idx, const TValue &val);
const TValue & GetElement(unsigned short idx); const TValue & GetElement(unsigned short idx);
...@@ -144,7 +144,7 @@ class Vector: public FixedArray<TValue,NDim> ...@@ -144,7 +144,7 @@ class Vector: public FixedArray<TValue,NDim>
{ {
public: public:
Vector(); Vector();
virtual ~Vector(); ~Vector();
typedef NumericTraits<TValue>::RealType RealValueType; typedef NumericTraits<TValue>::RealType RealValueType;
RealValueType GetNorm() const; RealValueType GetNorm() const;
RealValueType GetSquaredNorm() const; RealValueType GetSquaredNorm() const;
...@@ -156,7 +156,7 @@ class Point: public FixedArray<TCoord,NDim> ...@@ -156,7 +156,7 @@ class Point: public FixedArray<TCoord,NDim>
{ {
public: public:
Point(); Point();
virtual ~Point(); ~Point();
}; };
// Instanciate the needed templates // Instanciate the needed templates
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment