volcamcore  2019 march
Biblioteca volcamcore
Clases
Referencia del Archivo volcamoldtransfer.h

Clase para poder acoplar VolCAM_app (2018 o anterior) con VolCAM (2019) Más...

#include <QObject>
#include <QtWidgets>
#include "imagenes_wc.h"
#include "tagged_imagenes_wc.h"
#include "measure2d_imagenes_wc.h"
#include "conf_volcam.h"

Ir al código fuente de este archivo.

Clases

struct  Imagenes_Seleccionadas
 
class  VolcamOldTransfer
 

Descripción detallada

Clase para poder acoplar VolCAM_app (2018 o anterior) con VolCAM (2019)

Versión
1.0
Fecha
2019 march
Autor
Carlos Alberto Ospina Caicedo (SGC-OVSPo)

Con esta clase, es posible transformar calsificaciones y medidas realizadas con VolCAM_app (2018 o anterior) a la estructura usada por VolCAM (2019)

Para aprender a usar esta clase puedes ejecutar la función getHelp()

VOLCAM OldTransfer

Help to use VolcamOldTransfer.h

transformToImgsWC: This function allows to read all the old database of Volcam(files with Imagenes_Seleccionadas structure)

and transform it to the new Structure: ImgsWC

Example of: ¿How to transform data base of Old Volcam to new Volcam?

vtransfer->setConfig(vquery->config_global);
ImgsWC imgwc_old;
imgwc_old = vtransfer->transformToImgsWC(imgwc_old);
volcamlog_->append(vquery->imgwc_class->getImageWCList_text(imgwc_old,""));
qDebug() << "tagged_id" << vtransfer->taggedimgswc.tagged_id.size();
volcamlog_->append("\n");
volcamlog_->append(vquery->taggedimgswc_class->getTaggedImgwC_text(vtransfer->taggedimgswc));
qDebug() << "measure_id" << vtransfer->measured2d_imgwc.measure_id.size();
volcamlog_->append("\n");
volcamlog_->append(vquery->measured2dimgwc_class->getMeasured2DImgsWCList_text(vtransfer->measured2d_imgwc));
//Then you will need to use volcam_query to insert the old lectures to new database
//Please, take care when using this function to avoid problems or duplicates