class wxVtkMPR3DViewCntrlPanel: public wxPanel
{
public:
- wxVtkMPR3DViewCntrlPanel(wxWindow *parent, wxVtkMPR3DView *wxvtkmpr3Dview);
+ wxVtkMPR3DViewCntrlPanel(wxWindow *parent, wxVtkMPR3DView *wxvtkmpr3Dview, bool align);
~wxVtkMPR3DViewCntrlPanel();
void OnVisibleAxisX(wxCommandEvent& event);
void OnVisibleAxisY(wxCommandEvent& event);
void OnVisibleAxisXYZ(wxCommandEvent& event);
void OnVisiblePlane(wxCommandEvent& event);
void OnEditColorTable(wxCommandEvent& event);
+
+ void OnVisibleFreePlaneX(wxCommandEvent& event);
+ void OnVisibleFreePlaneY(wxCommandEvent& event);
+ void OnVisibleFreePlaneZ(wxCommandEvent& event);
+ void OnVisibleFreePlaneInteraction(wxCommandEvent& event);
+
+
+
virtual void Refresh();
void UpdateControlPanel();
+ bool GetVisibleX();
+ bool GetVisibleY();
+ bool GetVisibleZ();
+ bool GetVisibleXYZ();
+ bool GetVisiblePlane();
+ void SetVisibleX(bool value);
+ void SetVisibleY(bool value);
+ void SetVisibleZ(bool value);
+ void SetVisibleXYZ(bool value);
+ void SetVisiblePlane(bool value);
+
private:
wxVtkMPR3DView *_wxvtkmpr3Dview;
wxSlider *_positionX;
wxSlider *_positionY;
wxSlider *_positionZ;
+
+ //CPR: Added 30 nov 2009
+ wxCheckBox *ckBoxX;
+ wxCheckBox *ckBoxY;
+ wxCheckBox *ckBoxZ;
wxCheckBox *_ckBoxXYZ;
wxCheckBox *_ckBoxPlane;
+
+ wxCheckBox *_ckFreePlaneX;
+ wxCheckBox *_ckFreePlaneY;
+ wxCheckBox *_ckFreePlaneZ;
+ wxCheckBox *_ckFreePlaneInteraction;
protected: