Commit 1f26b4df authored by Stéphane Albert's avatar Stéphane Albert

REFAC: Renamed 'HistogramSequence' to 'HistogramModel'.

parent b719aa8c
......@@ -34,7 +34,7 @@
//
// Monteverdi includes (sorted by alphabetic order)
#include "mvdHistogramSequence.h"
#include "mvdHistogramModel.h"
namespace mvd
{
......@@ -64,7 +64,7 @@ void
AbstractImageModel
::virtual_BuildModel()
{
/* HistogramSequence* histogramModel = */ newChildModel< HistogramSequence >();
newChildModel< HistogramModel >();
}
/*******************************************************************************/
......
......@@ -16,7 +16,7 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "mvdHistogramSequence.h"
#include "mvdHistogramModel.h"
/*****************************************************************************/
......@@ -42,7 +42,7 @@
namespace mvd
{
/*
TRANSLATOR mvd::HistogramSequence
TRANSLATOR mvd::HistogramModel
Necessary for lupdate to be aware of C++ namespaces.
......@@ -54,25 +54,25 @@ namespace mvd
/* CLASS IMPLEMENTATION SECTION */
/*******************************************************************************/
HistogramSequence
::HistogramSequence( QObject* parent ) :
HistogramModel
::HistogramModel( QObject* parent ) :
AbstractModel( parent ),
m_Histograms()
{
}
/*******************************************************************************/
HistogramSequence
::~HistogramSequence()
HistogramModel
::~HistogramModel()
{
}
/*******************************************************************************/
void
HistogramSequence
HistogramModel
::virtual_BuildModel()
{
template_BuildModel_I< VectorImageModel::SourceImageType >();
// template_BuildModel_I< VectorImageModel::SourceImageType >();
template_BuildModel_M< VectorImageModel >();
// template_BuildModel< otb::Image< FixedArray< double, 4 >, 2 > >();
......
......@@ -16,8 +16,8 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef __mvdHistogramSequence_h
#define __mvdHistogramSequence_h
#ifndef __mvdHistogramModel_h
#define __mvdHistogramModel_h
//
// Configuration include.
......@@ -68,9 +68,9 @@ namespace mvd
/* CLASS DEFINITION SECTION */
/**
* \class HistogramSequence
* \class HistogramModel
*/
class Monteverdi2_EXPORT HistogramSequence :
class Monteverdi2_EXPORT HistogramModel :
public AbstractModel
{
......@@ -85,10 +85,10 @@ class Monteverdi2_EXPORT HistogramSequence :
public:
/** Constructor */
HistogramSequence( QObject* parent =NULL );
HistogramModel( QObject* parent =NULL );
/** Destructor */
virtual ~HistogramSequence();
virtual ~HistogramModel();
/*-[ SIGNALS SECTION ]-----------------------------------------------------*/
......@@ -178,7 +178,7 @@ namespace mvd
template< typename TImage >
inline
void
HistogramSequence
HistogramModel
::template_BuildModel_I()
{
QTime lMain;
......@@ -269,7 +269,7 @@ HistogramSequence
template< typename TImageModel >
inline
void
HistogramSequence
HistogramModel
::template_BuildModel_M()
{
QTime lMain;
......@@ -355,4 +355,4 @@ HistogramSequence
} // end namespace 'mvd'
#endif // __mvdHistogramSequence_h
#endif // __mvdHistogramModel_h
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment