22 #include "wxProjectionDialog.hh"
33 wxWindowID
id,
const wxString& title,
35 : wxDialog(parent, id, title, wxDefaultPosition, wxSize(500, 550),
36 wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER)
47 wxSizer* buttonSizer =
new wxBoxSizer(wxHORIZONTAL);
48 buttonSizer->Add(
new wxButton(
this, wxID_OK, wxT(
"OK")));
49 buttonSizer->Add(
new wxButton(
this, wxID_CANCEL, wxT(
"Cancel")));
51 wxSizer* mainSizer =
new wxBoxSizer(wxVERTICAL);
52 mainSizer->Add(projgui_, 1, wxEXPAND | wxALL, 5);
53 mainSizer->Add(buttonSizer, 0, wxBOTTOM | wxALIGN_CENTER, 5);
const Projection & GetProjection() const
Panel for displaying and editing projections.
This class hides the underlying projection model, like projection matrix, spherical camera...
const Projection & GetProjection() const
void SetProjection(const Projection &projection)
wxProjectionDialog(const Projection &projection, wxWindow *parent=NULL, wxWindowID id=-1, const wxString &title=wxT("Projection"), bool createButtons=true)