3
* $Id: controladorcarga.h 3518 2011-03-16 13:53:24Z carlos $
6
* Copyright 2008-10 MetaEmotion S.L. All rights reserved.
7
* http://ginkgo-cadx.com
9
* This file is licensed under LGPL v3 license.
10
* See License.txt for details
16
#include <api/icontroladorcarga.h>
18
class wxCriticalSection;
22
class EXTAPI ControladorCarga : public IControladorCarga {
24
virtual vtkSmartPointer<vtkImageData> CargarITKMultidimensional(IComando* cmd, ListaRutas& listaFicheros, int* orientacion, double* spacing = NULL);
25
virtual vtkSmartPointer<vtkImageData> CargarITK(IComando* cmd, std::string& path, int* orientacion, double* spacing = NULL);
27
virtual void CargaAsincrona(GNC::GCS::IVista* pVista, GnkPtr<GIL::IModeloIntegracion>& ModeloIntegracion, const std::string& uidEstudioDiagnostico);
29
static ControladorCarga *Instance();
30
static void FreeInstance();
32
//region Creacion y destruccion de componente de carga en streaming
33
virtual GNC::GCS::IStreamingLoader* NewLoader();
34
virtual void FreeLoader(GNC::GCS::IStreamingLoader** loader);
38
vtkSmartPointer<vtkImageData> CargarITKMultidimensionalRGB(IComando* cmd, ListaRutas& listaFicheros, double* spacing = NULL);
39
vtkSmartPointer<vtkImageData> CargarITKMultidimensionalUnsignedShort(IComando* cmd, ListaRutas& listaFicheros, int* orientacion,double* spacing = NULL);
43
static ControladorCarga* m_psInstancia;
44
static wxCriticalSection* m_pCriticalSection;