1 #ifndef __vtkKWBlackBoxDialog_h_INCLUDED__
2 #define __vtkKWBlackBoxDialog_h_INCLUDED__
6 #include "bbtkKWBlackBox.h"
7 #include "vtkKWDialog.h"
8 #include "vtkKWFrame.h"
11 typedef bbtk::KWBlackBox::Pointer BBPointer;
12 typedef bbtk::KWBlackBox::WeakPointer BBWeakPointer;
14 class BBTK_EXPORT vtkKWBlackBoxDialog : public vtkKWDialog
15 //public vtkKWBlackBoxWindow
21 static vtkKWBlackBoxDialog* New();
23 vtkTypeRevisionMacro(vtkKWBlackBoxDialog,vtkKWDialog);
28 bool bbIsShown() { return mShown; }
29 void bbSetBlackBox(BBPointer box)
32 mBox.lock()->bbSetWindow(this);
34 virtual BBPointer bbGetBlackBox() { return mBox.lock(); }
35 vtkKWFrame* GetFrame() { return mFrame; }
39 vtkKWBlackBoxDialog();
40 ~vtkKWBlackBoxDialog();
42 vtkKWBlackBoxDialog(const vtkKWBlackBoxDialog&); // Not implemented.
43 void operator=(const vtkKWBlackBoxDialog&); // Not implemented.
48 //==================================================================