36 #include <Base/Common/BIASpragma.hh>
38 #include <Gui/wxProjectionDialog.hh>
39 #include <Gui/StringConv.hh>
40 #include <Utils/Param.hh>
50 class MyApp :
public wxApp
53 virtual bool OnInit();
58 class MyFrame : public wxFrame
75 MyFrame *frame =
new MyFrame();
83 : wxFrame(NULL, -1, _T(
"ProjectionGUI"), wxDefaultPosition, wxSize(400,600) )
85 if(wxTheApp->argc > 1)
86 proj.XMLRead(WxToAscii(wxTheApp->argv[1]));
90 K[0][0]=K[1][1] = 200;
91 K[0][2]=400;K[1][2]=300;
92 proj.CreatePerspective (pose,K, 800, 600);
97 void MyFrame::ShowDialog()
Dialog containing a wxProjectionPanel.
Represents 3d pose transformations, parametrized as Euclidean translation and unit quaternion orienta...
This class hides the underlying projection model, like projection matrix, spherical camera...
K describes the mapping from world coordinates (wcs) to pixel coordinates (pcs).