-
-
Save luisibanez/647335 to your computer and use it in GitHub Desktop.
test |
typedef Self[1] MeasurementVectorType;
typedef
itk::NumericTraits< T[1] >
template< >
class NumericTraits< bool > :public vcl_numeric_limits< bool >
template< >
class NumericTraits< bool > :public vcl_numeric_limits< bool >
{
public:
typedef bool ValueType;
typedef bool PrintType;
typedef unsigned char AbsType;
typedef unsigned char AccumulateType;
typedef double RealType;
typedef RealType ScalarRealType;
typedef float FloatType;
static const bool ITKCommon_EXPORT Zero;
static const bool ITKCommon_EXPORT One;
static bool min() { return false; }
static bool max() { return true; }
static bool min(bool) { return min(); }
static bool max(bool) { return max(); }
static bool NonpositiveMin() { return false; }
static bool IsPositive(bool val) { return val; }
static bool IsNonpositive(bool val) { return !val; }
static bool IsNegative(bool val) { return val ? false : false; }
static bool IsNonnegative(bool val) { return val ? true : true; }
static bool ZeroValue() { return Zero; }
static bool OneValue() { return One; }
};
typedef typename ValueType[1] MeasurementVectorType;
typedef Self[1] MeasurementVectorType;
typedef Self MeasurementVectorType[1];
template
class NumericTraits
{
};
template
class NumericTraits< T[1] >
{
};
typedef unsigned long long[1] MeasurementVectorType;