summaryrefslogtreecommitdiffstats
path: root/Project/TransferFunctionForm.h
blob: 269eda6f8e3a59a9003e6982a9e1e9a2d86552cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef TRANSFERFUNCTIONFORM_H
#define TRANSFERFUNCTIONFORM_H

#include "ElementForm.h"

class TransferFunction;

class TransferFunctionForm : public TransferFunctionFormBase
{
public:
    TransferFunctionForm(wxWindow* parent, TransferFunction* transferFunction);
    virtual ~TransferFunctionForm();
    bool ValidateData();

protected:
    virtual void OnCancelClick(wxCommandEvent& event);
    virtual void OnOKClick(wxCommandEvent& event);
    void LoadTFData();
    
    wxWindow* m_parent = NULL;
    TransferFunction* m_tf = NULL;
};
#endif // TRANSFERFUNCTIONFORM_H