Commit 4bc00f32 authored by Rashad Kanavath's avatar Rashad Kanavath

Merge branch '1710-macros-without-proper-semi-colon' into 'develop'

Resolve "macros without proper semi-colon"

Closes #1710

See merge request orfeotoolbox/otb!249
parents 314e8cb7 a8540d39
......@@ -82,7 +82,7 @@ public:
typedef itk::SmartPointer<const Self> ConstPointer;
/** Standard macro */
itkTypeMacro(LearningApplicationBase, otb::Application)
itkTypeMacro(LearningApplicationBase, otb::Application);
typedef TInputValue InputValueType;
typedef TOutputValue OutputValueType;
......
......@@ -54,7 +54,7 @@ public:
typedef itk::SmartPointer<const Self> ConstPointer;
/** Standard macro */
itkTypeMacro( TrainImagesBase, Superclass )
itkTypeMacro( TrainImagesBase, Superclass );
/** filters typedefs*/
typedef otb::OGRDataToSamplePositionFilter<FloatVectorImageType, UInt8ImageType, otb::PeriodicSampler> PeriodicSamplerType;
......
......@@ -59,7 +59,7 @@ public:
typedef itk::SmartPointer<const Self> ConstPointer;
/** Standard macro */
itkTypeMacro(Self, Superclass)
itkTypeMacro(Self, Superclass);
typedef Superclass::SampleType SampleType;
typedef Superclass::ListSampleType ListSampleType;
......
......@@ -77,7 +77,7 @@ public:
typedef itk::SmartPointer<const Self> ConstPointer;
/** Standard macro */
itkTypeMacro(TrainDimensionalityReductionApplicationBase, otb::Application)
itkTypeMacro(TrainDimensionalityReductionApplicationBase, otb::Application);
typedef TInputValue InputValueType;
typedef TOutputValue OutputValueType;
......
......@@ -56,10 +56,10 @@ public:
typedef itk::SmartPointer<const Self> ConstPointer;
/** Method for creation through the object factory. */
itkNewMacro(Self)
itkNewMacro(Self);
/** Run-time type information (and related methods). */
itkTypeMacro(RandomPointSetSource, PointSetSource)
itkTypeMacro(RandomPointSetSource, PointSetSource);
/** Some convenient typedefs. */
typedef itk::DataObject::Pointer DataObjectPointer;
......@@ -72,13 +72,13 @@ public:
typedef GeneratorType::Pointer GeneratorPointerType;
typedef GeneratorType::IntegerType SeedType;
itkSetMacro(NumberOfPoints, unsigned int)
itkGetMacro(NumberOfPoints, unsigned int)
itkSetMacro(NumberOfPoints, unsigned int);
itkGetMacro(NumberOfPoints, unsigned int);
itkSetMacro(MinPoint, PointType)
itkGetMacro(MinPoint, PointType)
itkSetMacro(MaxPoint, PointType)
itkGetMacro(MaxPoint, PointType)
itkSetMacro(MinPoint, PointType);
itkGetMacro(MinPoint, PointType);
itkSetMacro(MaxPoint, PointType);
itkGetMacro(MaxPoint, PointType);
void SetSeed(SeedType seed)
{
......
......@@ -27,7 +27,7 @@
#include "itkBinaryErodeImageFilter.h"
#include "itkBinaryDilateImageFilter.h"
#include "itkBinaryBallStructuringElement.h"
#include "itkMacro.h"
#include "itkSobelEdgeDetectionImageFilter.h"
#include "otbEdgeDetectorImageFilter.h"
#include "otbEdgeDensityImageFilter.h"
......
......@@ -22,8 +22,8 @@
#define otbScalarImageToAdvancedTexturesFilter_h
#include "otbGreyLevelCooccurrenceIndexedList.h"
#include "itkMacro.h"
#include "itkImageToImageFilter.h"
namespace otb
{
/**
......
......@@ -59,35 +59,35 @@ public :
typedef typename OutputImageType::RegionType OutputImageRegionType;
/** Method for creation through the object factory. */
itkNewMacro(Self)
itkNewMacro(Self);
/** Run-time type information (and related methods). */
itkTypeMacro(ComputeHistoFilter, ImageToImageFilter)
itkTypeMacro(ComputeHistoFilter, ImageToImageFilter);
/** Get/Set macro to get/set the nodata value */
itkSetMacro(NoData, InputPixelType)
itkGetMacro(NoData, InputPixelType)
itkSetMacro(NoData, InputPixelType);
itkGetMacro(NoData, InputPixelType);
/** Get/Set macro to get/set the nodata flag value */
itkBooleanMacro(NoDataFlag)
itkGetMacro(NoDataFlag, bool)
itkSetMacro(NoDataFlag, bool)
itkBooleanMacro(NoDataFlag);
itkGetMacro(NoDataFlag, bool);
itkSetMacro(NoDataFlag, bool);
/** Get/Set macro to get/set the ThumbSizeFromSpacing flag value */
itkBooleanMacro(ThumbSizeFromSpacing)
itkGetMacro(ThumbSizeFromSpacing, bool)
itkSetMacro(ThumbSizeFromSpacing, bool)
itkBooleanMacro(ThumbSizeFromSpacing);
itkGetMacro(ThumbSizeFromSpacing, bool);
itkSetMacro(ThumbSizeFromSpacing, bool);
/** Get/Set macro to get/set the thumbnail's size */
itkSetMacro(ThumbSize, typename InputImageType::SizeType)
itkGetMacro(ThumbSize, typename InputImageType::SizeType)
itkSetMacro(ThumbSize, typename InputImageType::SizeType);
itkGetMacro(ThumbSize, typename InputImageType::SizeType);
/** Get/Set macro to get/set the minimum value */
itkSetMacro(Min, InputPixelType)
itkGetMacro(Min, InputPixelType)
itkSetMacro(Min, InputPixelType);
itkGetMacro(Min, InputPixelType);
/** Get/Set macro to get/set the maximum value */
itkSetMacro(Max, InputPixelType)
itkGetMacro(Max, InputPixelType)
itkSetMacro(Max, InputPixelType);
itkGetMacro(Max, InputPixelType);
/** Set the input look up table*/
void SetInputLut( const LutType * lut) ;
......
......@@ -78,12 +78,12 @@ public :
typedef typename InputImageType::PixelType InputPixelType;
typedef typename OutputImageType::RegionType OutputImageRegionType;
/** Method for creation through the object factory. */
itkNewMacro(Self)
itkNewMacro(Self);
/** Run-time type information (and related methods). */
itkTypeMacro(CLHistogramEqualizationFilter, ImageToImageFilter)
itkTypeMacro(CLHistogramEqualizationFilter, ImageToImageFilter);
itkGetMacro(Min , InputPixelType)
// itkSetMacro(Min, InputPixelType)
itkGetMacro(Min , InputPixelType);
// itkSetMacro(Min, InputPixelType);
void SetMin( InputPixelType min )
{
m_HistoFilter->SetMin(min);
......@@ -92,8 +92,8 @@ public :
m_Min = min;
};
itkGetMacro(Max , InputPixelType)
// itkSetMacro(Max, InputPixelType)
itkGetMacro(Max , InputPixelType);
// itkSetMacro(Max, InputPixelType);
void SetMax( InputPixelType max )
{
m_HistoFilter->SetMax(max);
......@@ -102,16 +102,16 @@ public :
m_Max = max;
};
itkGetMacro(NbBin , unsigned long)
// itkSetMacro(NbBin, unsigned long)
itkGetMacro(NbBin , unsigned long);
// itkSetMacro(NbBin, unsigned long);
void SetNbBin( unsigned long bin )
{
m_HistoFilter->SetNbBin(bin);
m_NbBin = bin;
};
itkGetMacro(ThumbSize , typename InputImageType::SizeType)
// itkSetMacro(ThumbSize, typename InputImageType::SizeType)
itkGetMacro(ThumbSize , typename InputImageType::SizeType);
// itkSetMacro(ThumbSize, typename InputImageType::SizeType);
void SetThumbSize( typename InputImageType::SizeType size )
{
m_HistoFilter->SetThumbSize(size);
......@@ -120,16 +120,16 @@ public :
m_ThumbSize = size;
};
itkGetMacro(Threshold , double)
// itkSetMacro(Threshold, double)
itkGetMacro(Threshold , double);
// itkSetMacro(Threshold, double);
void SetThreshold( double t )
{
m_HistoFilter->SetThreshold(t);
m_Threshold = t;
};
itkGetMacro(NoData , InputPixelType)
// itkSetMacro(NoData, InputPixelType)
itkGetMacro(NoData , InputPixelType);
// itkSetMacro(NoData, InputPixelType);
void SetNoData( InputPixelType n )
{
m_HistoFilter->SetNoData(n);
......@@ -138,8 +138,8 @@ public :
}
itkGetMacro(NoDataFlag , bool)
// itkSetMacro(NoDataFlag, bool)
itkGetMacro(NoDataFlag , bool);
// itkSetMacro(NoDataFlag, bool);
void SetNoDataFlag( bool flag )
{
m_HistoFilter->SetNoDataFlag(flag);
......
......@@ -61,21 +61,21 @@ public:
typedef typename OutputImageType::RegionType OutputImageRegionType;
/** Method for creation through the object factory. */
itkNewMacro(Self)
itkNewMacro(Self);
/** Run-time type information (and related methods). */
itkTypeMacro(ComputeGainLutFilter, ImageToImageFilter)
itkTypeMacro(ComputeGainLutFilter, ImageToImageFilter);
/** Get/Set macro to get/set the number of pixel by histogram */
itkSetMacro(NbPixel, unsigned long)
itkGetMacro(NbPixel, unsigned long)
itkSetMacro(NbPixel, unsigned long);
itkGetMacro(NbPixel, unsigned long);
/** Get/Set macro to get/set the minimum value */
itkSetMacro(Min, double)
itkGetMacro(Min, double)
itkSetMacro(Min, double);
itkGetMacro(Min, double);
/** Get/Set macro to get/set the maximum value */
itkSetMacro(Max, double)
itkGetMacro(Max, double)
itkSetMacro(Max, double);
itkGetMacro(Max, double);
protected:
ComputeGainLutFilter() ;
......
......@@ -60,39 +60,39 @@ public:
typedef typename OutputImageType::RegionType OutputImageRegionType;
/** Method for creation through the object factory. */
itkNewMacro(Self)
itkNewMacro(Self);
/** Run-time type information (and related methods). */
itkTypeMacro(ComputeHistoFilter, ImageToImageFilter)
itkTypeMacro(ComputeHistoFilter, ImageToImageFilter);
/** Get/Set macro to get/set the number of bin. Default value is 256 */
itkSetMacro(NbBin, unsigned int)
itkGetMacro(NbBin, unsigned int)
itkSetMacro(NbBin, unsigned int);
itkGetMacro(NbBin, unsigned int);
/** Get/Set macro to get/set the minimum value */
itkSetMacro(Min, InputPixelType)
itkGetMacro(Min, InputPixelType)
itkSetMacro(Min, InputPixelType);
itkGetMacro(Min, InputPixelType);
/** Get/Set macro to get/set the maximum value */
itkSetMacro(Max, InputPixelType)
itkGetMacro(Max, InputPixelType)
itkSetMacro(Max, InputPixelType);
itkGetMacro(Max, InputPixelType);
/** Get/Set macro to get/set the nodata value */
itkSetMacro(NoData, InputPixelType)
itkGetMacro(NoData, InputPixelType)
itkSetMacro(NoData, InputPixelType);
itkGetMacro(NoData, InputPixelType);
/** Get/Set macro to get/set the nodata flag value */
itkBooleanMacro(NoDataFlag)
itkGetMacro(NoDataFlag, bool)
itkSetMacro(NoDataFlag, bool)
itkBooleanMacro(NoDataFlag);
itkGetMacro(NoDataFlag, bool);
itkSetMacro(NoDataFlag, bool);
/** Get/Set macro to get/set the thumbnail's size */
itkSetMacro(ThumbSize, SizeType)
itkGetMacro(ThumbSize, SizeType)
itkSetMacro(ThumbSize, SizeType);
itkGetMacro(ThumbSize, SizeType);
/** Get/Set macro to get/set the threshold parameter */
itkSetMacro(Threshold , float)
itkGetMacro(Threshold , float)
itkSetMacro(Threshold , float);
itkGetMacro(Threshold , float);
typename OutputImageType::Pointer GetHistoOutput();
......
......@@ -56,10 +56,10 @@ public:
typedef itk::SmartPointer< const Self > ConstPointer;
/** Method for creation through the object factory. */
itkNewMacro(Self)
itkNewMacro(Self);
/** Run-time type information (and related methods). */
itkTypeMacro(InPlacePassFilter, InPlaceImageFilter)
itkTypeMacro(InPlacePassFilter, InPlaceImageFilter);
protected:
InPlacePassFilter() {
......
......@@ -81,11 +81,11 @@ public:
typedef itk::SmartPointer<const Self> ConstPointer;
/** Method for creation through the object factory. */
itkNewMacro(Self)
itkNewMacro(Self);
;
/** Run-time type information (and related methods). */
itkTypeMacro(MaskMuParserFilter, itk::ImageToImageFilter)
itkTypeMacro(MaskMuParserFilter, itk::ImageToImageFilter);
;
/** Some convenient typedefs. */
......
......@@ -159,7 +159,7 @@ public:
typedef typename TImage::PixelType PixelType;
typedef typename TImage::InternalPixelType InternalPixelType;
itkTypeMacro(FastImageRegionConstIterator, ImageRegionConstIterator)
itkTypeMacro(FastImageRegionConstIterator, ImageRegionConstIterator);
;
FastImageRegionConstIterator() :
......@@ -468,8 +468,8 @@ public:
typedef double RealType;
/** Type macro */
itkTypeMacro(MeanShiftSmoothingImageFilter, ImageToImageFilter)
; itkNewMacro(Self)
itkTypeMacro(MeanShiftSmoothingImageFilter, ImageToImageFilter);
; itkNewMacro(Self);
;
/** Template parameters typedefs */
......
......@@ -53,21 +53,21 @@ public:
/** Method for creation through the object factory. */
itkNewMacro(Self);
itkGetMacro(LonOrigin, double)
itkSetMacro(LonOrigin, double)
itkGetMacro(LatOrigin, double)
itkSetMacro(LatOrigin, double)
itkGetMacro(LonSpacing, double)
itkSetMacro(LonSpacing, double)
itkGetMacro(LatSpacing, double)
itkSetMacro(LatSpacing, double)
itkGetMacro(LonRotation, double)
itkSetMacro(LonRotation, double)
itkGetMacro(LatRotation, double)
itkSetMacro(LatRotation, double)
itkGetMacro(LonOrigin, double);
itkSetMacro(LonOrigin, double);
itkGetMacro(LatOrigin, double);
itkSetMacro(LatOrigin, double);
itkGetMacro(LonSpacing, double);
itkSetMacro(LonSpacing, double);
itkGetMacro(LatSpacing, double);
itkSetMacro(LatSpacing, double);
itkGetMacro(LonRotation, double);
itkSetMacro(LonRotation, double);
itkGetMacro(LatRotation, double);
itkSetMacro(LatRotation, double);
itkGetStringMacro(ImageFilename)
itkSetStringMacro(ImageFilename)
itkGetStringMacro(ImageFilename);
itkSetStringMacro(ImageFilename);
void Update();
......
......@@ -93,7 +93,7 @@ public:
}
/** Set the SVM type to C_SVC, NU_SVC, ONE_CLASS, EPSILON_SVR, NU_SVR */
otbSetSVMParameterMacro(SVMType, svm_type, int)
otbSetSVMParameterMacro(SVMType, svm_type, int);
/** Get the SVM type (C_SVC, NU_SVC, ONE_CLASS, EPSILON_SVR, NU_SVR) */
int GetSVMType(void) const
......@@ -106,7 +106,7 @@ public:
polynomial: (gamma*u'*v + coef0)^degree
radial basis function: exp(-gamma*|u-v|^2)
sigmoid: tanh(gamma*u'*v + coef0)*/
otbSetSVMParameterMacro(KernelType, kernel_type, int)
otbSetSVMParameterMacro(KernelType, kernel_type, int);
/** Get the kernel type */
int GetKernelType(void) const
......@@ -115,7 +115,7 @@ public:
}
/** Set the degree of the polynomial kernel */
otbSetSVMParameterMacro(PolynomialKernelDegree,degree,int)
otbSetSVMParameterMacro(PolynomialKernelDegree,degree,int);
/** Get the degree of the polynomial kernel */
int GetPolynomialKernelDegree(void) const
......@@ -124,7 +124,7 @@ public:
}
/** Set the gamma parameter for poly/rbf/sigmoid kernels */
otbSetSVMParameterMacro(KernelGamma,gamma,double)
otbSetSVMParameterMacro(KernelGamma,gamma,double);
/** Get the gamma parameter for poly/rbf/sigmoid kernels */
double GetKernelGamma(void) const
......@@ -133,7 +133,7 @@ public:
}
/** Set the coef0 parameter for poly/sigmoid kernels */
otbSetSVMParameterMacro(KernelCoef0,coef0,double)
otbSetSVMParameterMacro(KernelCoef0,coef0,double);
/** Get the coef0 parameter for poly/sigmoid kernels */
double GetKernelCoef0(void) const
......@@ -142,7 +142,7 @@ public:
}
/** Set the C parameter for the training for C_SVC, EPSILON_SVR and C_SVR */
otbSetSVMParameterMacro(C,C,double)
otbSetSVMParameterMacro(C,C,double);
/** Get the C parameter for the training for C_SVC, EPSILON_SVR and NU_SVR */
double GetC(void) const
......@@ -169,7 +169,7 @@ public:
bool HasProbabilities(void) const;
/** Set the tolerance for the stopping criterion for the training*/
otbSetSVMParameterMacro(Epsilon,eps,double)
otbSetSVMParameterMacro(Epsilon,eps,double);
/** Get the tolerance for the stopping criterion for the training*/
double GetEpsilon(void) const
......@@ -178,7 +178,7 @@ public:
}
/** Set the value of p for EPSILON_SVR */
otbSetSVMParameterMacro(P,p,double)
otbSetSVMParameterMacro(P,p,double);
/** Get the value of p for EPSILON_SVR */
double GetP(void) const
......@@ -187,7 +187,7 @@ public:
}
/** Set the Nu parameter for the training */
otbSetSVMParameterMacro(Nu,nu,double)
otbSetSVMParameterMacro(Nu,nu,double);
/** Set the Nu parameter for the training */
double GetNu(void) const
......
......@@ -117,44 +117,44 @@ public:
typedef typename LabelMapToLabelImageFilterType::Pointer LabelMapToLabelImageFilterPointer;
/** Standard Macro*/
itkTypeMacro(ImageSimulationMethod, ImageSource)
; itkNewMacro(Self)
itkTypeMacro(ImageSimulationMethod, ImageSource);
; itkNewMacro(Self);
;
itkSetMacro(NumberOfComponentsPerPixel, unsigned int)
; itkGetMacro(NumberOfComponentsPerPixel, unsigned int)
itkSetMacro(NumberOfComponentsPerPixel, unsigned int);
; itkGetMacro(NumberOfComponentsPerPixel, unsigned int);
;
//prolate radius
itkSetMacro(Radius, unsigned int)
; itkGetMacro(Radius, unsigned int)
itkSetMacro(Radius, unsigned int);
; itkGetMacro(Radius, unsigned int);
;
itkSetMacro(SatRSRFilename, std::string)
; itkGetMacro(SatRSRFilename, std::string)
itkSetMacro(SatRSRFilename, std::string);
; itkGetMacro(SatRSRFilename, std::string);
;
itkSetMacro(PathRoot, std::string)
; itkGetMacro(PathRoot, std::string)
itkSetMacro(PathRoot, std::string);
; itkGetMacro(PathRoot, std::string);
;
itkSetMacro(Mean, double)
; itkGetMacro(Mean, double)
itkSetMacro(Mean, double);
; itkGetMacro(Mean, double);
;
itkSetMacro(Variance, double)
; itkGetMacro(Variance, double)
itkSetMacro(Variance, double);
; itkGetMacro(Variance, double);
;
itkSetObjectMacro(Spatialisation, SpatialisationType)
itkSetObjectMacro(Spatialisation, SpatialisationType);
;
// itkSetObjectMacro(LabelMapToSimulatedImage, LabelMapToSimulatedImageType);
// itkSetObjectMacro(FTM, FTMType);
/** Set/Get Input */
itkSetObjectMacro(InputVectorData, InputVectorDataType)
; itkGetConstObjectMacro(InputVectorData, InputVectorDataType)
itkSetObjectMacro(InputVectorData, InputVectorDataType);
; itkGetConstObjectMacro(InputVectorData, InputVectorDataType);
;
// void SetInput(const InputVectorDataType *object);
// InputVectorDataType * GetInput();
......
......@@ -89,20 +89,20 @@ public:
typedef typename InputRSRType::RSRVectorType RSRVectorType;
typedef typename std::vector<ValuePrecisionType> ReduceSpectralResponseVectorType;
/** Standard macros */
itkNewMacro(Self)
; itkTypeMacro(ReduceSpectralResponse, DataObject)
itkNewMacro(Self);
; itkTypeMacro(ReduceSpectralResponse, DataObject);
;
itkGetConstObjectMacro(InputSatRSR, InputRSRType)
; itkSetObjectMacro(InputSatRSR, InputRSRType)
itkGetConstObjectMacro(InputSatRSR, InputRSRType);
; itkSetObjectMacro(InputSatRSR, InputRSRType);
;
itkGetConstObjectMacro(InputSpectralResponse, InputSpectralResponseType)
; itkSetObjectMacro(InputSpectralResponse, InputSpectralResponseType)
itkGetConstObjectMacro(InputSpectralResponse, InputSpectralResponseType);
; itkSetObjectMacro(InputSpectralResponse, InputSpectralResponseType);
;
/** The GetReduceResponse method gives the output. The first value in the pair is the central wavelength of the band (see SpectralResponse). */
itkGetObjectMacro(ReduceResponse, InputSpectralResponseType)
itkGetObjectMacro(ReduceResponse, InputSpectralResponseType);
;
itkSetMacro(ReflectanceMode, bool);
......
......@@ -55,17 +55,17 @@ public:
typedef itk::SmartPointer<const Self> ConstPointer;
/** Standard macros */
itkNewMacro(Self)
; itkTypeMacro(SatelliteRSR, DataObject)
itkNewMacro(Self);
; itkTypeMacro(SatelliteRSR, DataObject);
;
/** Set the number of band of the satellite from an ASCII file
* Need to parse first all the file to determine the number of columns */
itkGetConstMacro(NbBands, unsigned int)
; itkSetMacro(NbBands, unsigned int)
itkGetConstMacro(NbBands, unsigned int);
; itkSetMacro(NbBands, unsigned int);
;
itkSetMacro(SortBands, bool)
itkSetMacro(SortBands, bool);
;
/** Template parameters typedef */
......
......@@ -59,8 +59,8 @@ public:
/** Standard Macro*/
itkTypeMacro(SimulationStep1Base, ProcessObject);
itkSetMacro(Parameters, ParametersType)
itkGetMacro(Parameters, ParametersType)
itkSetMacro(Parameters, ParametersType);
itkGetMacro(Parameters, ParametersType);
//virtual void SetInput(const ParametersType &) = 0;
virtual SpectralResponseType * GetReflectance() = 0;
......
......@@ -55,11 +55,11 @@ public:
typedef itk::Array<ParametersValueType> ParametersType;
/** Standard Macro*/
itkTypeMacro(SimulationStep2Base, ProcessObject)
itkTypeMacro(SimulationStep2Base, ProcessObject);
;
itkSetMacro(Parameters, ParametersType)
itkGetMacro(Parameters, ParametersType)
itkSetMacro(Parameters, ParametersType);
itkGetMacro(Parameters, ParametersType);
//;
virtual void SetReflectance(const SpectralResponseType *) = 0;
......
......@@ -122,44 +122,44 @@ public:
/**
* Run-time type information (and related methods)
*/
itkTypeMacro(VectorDataToLabelMapWithAttributesFilter, ImageToImageFilter)
itkTypeMacro(VectorDataToLabelMapWithAttributesFilter, ImageToImageFilter);
;
/**
* Method for creation through the object factory.
*/
itkNewMacro(Self)
itkNewMacro(Self);
;
/**
* Set/Get the value used as "background" in the output image.
* Defaults to NumericTraits<PixelType>::NonpositiveMin().
*/
itkSetMacro(BackgroundValue, OutputLabelMapPixelType)
; itkGetConstMacro(BackgroundValue, OutputLabelMapPixelType)
itkSetMacro(BackgroundValue, OutputLabelMapPixelType);
; itkGetConstMacro(BackgroundValue, OutputLabelMapPixelType);
;
/** Set the size of the output image. */
itkSetMacro(Size, SizeType)
itkSetMacro(Size, SizeType);
;
/** Get the size of the output image. */
itkGetConstReferenceMacro(Size, SizeType)
itkGetConstReferenceMacro(Size, SizeType);
;
/** Set the origin of the vector data.
* \sa GetOrigin() */
itkSetMacro(Origin, OriginType)
itkSetMacro(Origin, OriginType);
;
virtual void SetOrigin(const double origin[2]);
virtual void SetOrigin(const float origin[2]);
itkGetConstReferenceMacro(Origin, OriginType)
itkGetConstReferenceMacro(Origin, OriginType);
;
/** Get/Set start index*/
itkGetConstReferenceMacro(StartIndex, IndexType)
; itkSetMacro(StartIndex, IndexType)
itkGetConstReferenceMacro(StartIndex, IndexType);
; itkSetMacro(StartIndex, IndexType);
;
/** Set the spacing (size of a pixel) of the vector data.
* \sa GetSignedSpacing() */
......@@ -167,7 +167,7 @@ public:
virtual void SetSpacing(const double spacing[2]);
virtual void SetSpacing(const float spacing[2]);
itkGetConstReferenceMacro(Spacing, SpacingType)
itkGetConstReferenceMacro(Spacing, SpacingType);
;
/** Set/Get the Vector data input of this process object. */
......@@ -178,13 +178,13 @@ public:
const InputVectorDataType * GetInput(unsigned int idx);
/** Set/Get Automatic size computation mode*/
itkSetMacro(AutomaticSizeComputation, bool)
; itkGetMacro(AutomaticSizeComputation, bool)
itkSetMacro(AutomaticSizeComputation, bool);
; itkGetMacro(AutomaticSizeComputation, bool);
;
/** Set/Get Initial label value */
itkSetMacro(InitialLabel, LabelType)
; itkGetMacro(InitialLabel, LabelType)