bbSetOutputMask(mask);
bbSetOutputValue(value);
}
-void nDimensions::CreateWidget()
+void nDimensions::CreateWidget(wxWindow* parent)
{
vtkImageData* img = bbGetInputIn();
std::vector<vtkImageData*> selectedimages;
selectedimages.push_back(img);
- wxFrame* frame1 = new wxFrame(bbGetWxParent(), wxID_ANY, wxT("ROI Application - Evaluation version, 23 Oct 2008 "), wxPoint(400,50), wxSize(800, 600) );
+ wxFrame* frame1 = new wxFrame(parent, wxID_ANY, wxT("ROI Application - Evaluation version, 23 Oct 2008 "), wxPoint(400,50), wxSize(800, 600) );
frame = wxContourMainFrame::getInstance(frame1, wxID_ANY, wxString(_T("")), wxPoint(100,50), wxSize(800, 600), selectedimages );
//new wxContourMainFrame( frame1, wxID_ANY, _T(""), wxPoint(50,50), wxSize(800, 600),selectedimages );
frame1->CreateStatusBar();
bbSetInputGet(0);
}
-void nDimensions::bbUserCopyConstructor()
+void nDimensions::bbUserCopyConstructor(bbtk::BlackBox::Pointer)
{
}
/// User callback called in the box contructor
virtual void bbUserConstructor();
/// User callback called in the box copy constructor
-virtual void bbUserCopyConstructor();
+virtual void bbUserCopyConstructor(bbtk::BlackBox::Pointer);
/// User callback called in the box destructor
virtual void bbUserDestructor();
//==================================================================
BBTK_PROCESS(Process);
void Process();
BBTK_CREATE_WIDGET(CreateWidget);
- void CreateWidget();
+ void CreateWidget(wxWindow*);
BBTK_DECLARE_OUTPUT(Mask,vtkImageData*);
BBTK_DECLARE_OUTPUT(Value,vtkImageData*);