///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Dec 17 2009)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#include "pasoscalibradobase.h"

///////////////////////////////////////////////////////////////////////////
using namespace GNC::GUI;

ProcesarCalibradoBase::ProcesarCalibradoBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
{
	wxBoxSizer* bSizer1;
	bSizer1 = new wxBoxSizer( wxVERTICAL );
	
	
	bSizer1->Add( 0, 80, 0, 0, 5 );
	
	m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("Pulse siguiente para lanzar el procesamiento de pegado.\nPuede tardar unos instantes."), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText1->Wrap( -1 );
	bSizer1->Add( m_staticText1, 0, wxALL, 5 );
	
	m_pProgreso = new wxGauge( this, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL );
	bSizer1->Add( m_pProgreso, 0, wxALL|wxEXPAND, 5 );
	
	m_pLabelProgreso = new wxStaticText( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	m_pLabelProgreso->Wrap( -1 );
	bSizer1->Add( m_pLabelProgreso, 0, wxALL, 5 );
	
	this->SetSizer( bSizer1 );
	this->Layout();
}

ProcesarCalibradoBase::~ProcesarCalibradoBase()
{
}

RefinarCalibradoBase::RefinarCalibradoBase( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
{
	this->Hide();
	
	wxBoxSizer* bSizer2;
	bSizer2 = new wxBoxSizer( wxVERTICAL );
	
	ViewInteractor2D = new wxVTKRenderWindowInteractor (this, wxID_ANY,
	wxDefaultPosition,
	wxDefaultSize,
	wxWANTS_CHARS | wxNO_FULL_REPAINT_ON_RESIZE,
	wxT(""));
	
	ViewImage2D = vtkGinkgoImageViewer::New();
	
	vtkRenderer* rend1 = vtkRenderer::New();
	
	ViewImage2D->SetRenderWindow ( this->ViewInteractor2D->GetRenderWindow() );
	ViewImage2D->SetRenderer (rend1);
	rend1->Delete();
	
	bSizer2->Add( ViewInteractor2D, 1, wxALL|wxEXPAND, 5 );
	
	this->SetSizer( bSizer2 );
	this->Layout();
}

RefinarCalibradoBase::~RefinarCalibradoBase()
{
}
