Ejemplo n.º 1
0
GNKVisualizator::Vista2D::~Vista2D()
{
//	GNC::GCS::IEntorno::Instance()->GetControladorCarga()->FreeLoader(&m_pLoader);
        m_IgnorarModificaciones = true;
        try {
                DetenerPipeline();
        } catch (GIL::IntegrationException& x) {
                LOG_ERROR("Vista2D", x.str());
        }
}
Ejemplo n.º 2
0
// Paso 2: Inicializacion del pipeline. Metodo sincrono con la interfaz.
void GNKVisualizator::Vista2D::IniciarPipeline()
{
        try {
                GVista->IniciarPipeline(VisualizatorStudy->hangingLayout);

                std::string modality("");
                GetEstudio()->GetTagActiveImage(GKDCM_Modality, modality);
                GetToolController()->LoadStatus("viewer.view2d", modality); // XXX

        } catch (const std::bad_alloc&) {
                DetenerPipeline();
                m_Cargada = false;
                throw GNC::GCS::VistaException(_Std("Error: System out of memory. Close some studies to free memory."));
        } catch (GNC::GCS::VistaException&) {
                DetenerPipeline();
                m_Cargada = false;
                throw;
        }

        m_Cargada = true;
        GenerarTitulo();
}
Ejemplo n.º 3
0
GNKVisualizator::Vista2D::~Vista2D()
{
//	GNC::GCS::IEntorno::Instance()->GetControladorCarga()->FreeLoader(&m_pLoader);
        m_IgnorarModificaciones = true;
        DetenerPipeline();
}