#include <CutModelMainPanel.h>
Public Member Functions | |
~CutModelMainPanel () | |
void | setImageData (vtkImageData *img) |
void | setInteractor (vtkRenderWindowInteractor *interactor) |
void | setRenderer (vtkRenderer *renderer) |
void | initialize (std::string path) |
void | onCheckChanged () |
void | onExecuteCutPolygon () |
void | UpdatePolygon (bool isChecked) |
void | UpdatePolygon () |
void | onAddCutModel () |
void | onUndo () |
void | onRedo () |
void | changeOpacity (int id, int opacity) |
void | ShowViewBox (int id, bool check) |
void | ChangeShape (int id, int selection) |
void | changeColor (int id, double r, double g, double b) |
void | updateActorDirection (int id) |
void | RemoveActor (int id) |
void | ExecuteCut (int id, double *range, bool isinside) |
void | ExecuteAll () |
vtkImageData * | GetResultImage () |
void | ShowCurrentPanel (int id) |
void | ShowPopUpMenu (int id) |
void | ShowStatistics (int id) |
void | SetType (int type) |
int | GetType () |
Static Public Member Functions | |
static CutModelMainPanel * | getInstance (wxWindow *parent=NULL, std::string path="") |
Private Member Functions | |
CutModelMainPanel (wxWindow *parent, std::string path) | |
void | checkInvariant () throw ( CutModelException) |
void | showErrorDialog (std::string str) |
void | SaveCutModelData (std::string filename) |
void | LoadCutModelData (std::string filename) |
int | addNewViewPanel () throw ( CutModelException) |
CutModelView * | getModelView (int id) throw ( CutModelException) |
void | addPolygonCutterTab () |
Private Attributes | |
CutModelManager * | cutmanager |
std::vector< CutModelView * > | viewpanels |
wxAuiManager * | _wxauimanager |
int | _panelid |
int | _type |
wxAuiNotebook * | _notebook |
bool | _isCheck |
bool | _isFirstTime |
wxButton * | btnExecutePolygonCut |
wxStaticText * | lblMessagePolygon |
wxRadioBox * | _radioinsideout |
Static Private Attributes | |
static CutModelMainPanel * | instance = NULL |
Definition at line 49 of file CutModelMainPanel.h.
CutModelMainPanel::~CutModelMainPanel | ( | ) |
Definition at line 47 of file CutModelMainPanel.cxx.
References cutmanager, and viewpanels.
00047 { 00048 viewpanels.clear(); 00049 delete cutmanager; 00050 }
CutModelMainPanel::CutModelMainPanel | ( | wxWindow * | parent, | |
std::string | path | |||
) | [private] |
Definition at line 38 of file CutModelMainPanel.cxx.
References _isCheck, _isFirstTime, cutmanager, and initialize().
Referenced by getInstance().
00039 : wxPanel(parent, -1, wxDefaultPosition, wxDefaultSize){ 00040 00041 cutmanager=NULL; 00042 _isCheck=false; 00043 _isFirstTime=true; 00044 initialize(path); 00045 00046 }
int CutModelMainPanel::addNewViewPanel | ( | ) | throw ( CutModelException) [private] |
Definition at line 222 of file CutModelMainPanel.cxx.
References _panelid, _wxauimanager, cutmanager, CutModelView::getId(), CutModelManager::getImageRange(), CutModelView::setId(), and viewpanels.
Referenced by onAddCutModel().
00222 { 00223 00224 CutModelView* viewpanel = new CutModelView(this,cutmanager->getImageRange()); 00225 00226 wxAuiPaneInfo paneinfo0; 00227 _wxauimanager->AddPane(viewpanel, paneinfo0.DefaultPane().DestroyOnClose().Centre()); 00228 00229 viewpanel->setId(_panelid); 00230 viewpanels.push_back(viewpanel); 00231 00232 return viewpanel->getId(); 00233 00234 00235 }
void CutModelMainPanel::addPolygonCutterTab | ( | ) | [private] |
Definition at line 387 of file CutModelMainPanel.cxx.
References _notebook, _radioinsideout, btnExecutePolygonCut, lblMessagePolygon, PolygonCutterEventHandlerCutModel::onCheckChanged(), and PolygonCutterEventHandlerCutModel::onExecuteCutPolygon().
Referenced by initialize().
00387 { 00388 wxPanel *panel = new wxPanel(_notebook); 00389 panel->SetAutoLayout(true); 00390 wxBoxSizer *sizer = new wxBoxSizer(wxVERTICAL); 00391 panel->SetSizer(sizer); 00392 sizer->AddSpacer(20); 00393 00394 wxCheckBox *item = new wxCheckBox(panel,10,_T("Draw Polygon"),wxDefaultPosition,wxDefaultSize,0,wxDefaultValidator,_T("") ); 00395 item->SetValue(false); 00396 Connect(item->GetId(), wxEVT_COMMAND_CHECKBOX_CLICKED,(wxObjectEventFunction)(&PolygonCutterEventHandlerCutModel::onCheckChanged)); 00397 sizer->Add(item, 0, wxALIGN_LEFT); 00398 00399 lblMessagePolygon = new wxStaticText(panel,30,_T("No contour drawed"),wxDefaultPosition,wxDefaultSize,0,_T("") ); 00400 sizer->Add(lblMessagePolygon, 0, wxALIGN_LEFT); 00401 00402 wxString choices0[2]; 00403 choices0[0] = _T("inside"); 00404 choices0[1] = _T("outside"); 00405 _radioinsideout = new wxRadioBox(panel,-1,_T(""), wxDefaultPosition, wxDefaultSize,2,choices0); 00406 sizer->Add(_radioinsideout, wxALIGN_LEFT); 00407 00408 btnExecutePolygonCut = new wxButton(panel,20,_T("Execute Cut"),wxDefaultPosition,wxDefaultSize,0,wxDefaultValidator,_T("") ); 00409 Connect(btnExecutePolygonCut->GetId(), wxEVT_COMMAND_BUTTON_CLICKED,(wxObjectEventFunction)(&PolygonCutterEventHandlerCutModel::onExecuteCutPolygon)); 00410 sizer->Add(btnExecutePolygonCut, 0, wxALIGN_LEFT); 00411 00412 _notebook->AddPage(panel, _T("Polygon Cutter"), false); 00413 }
void CutModelMainPanel::changeColor | ( | int | id, | |
double | r, | |||
double | g, | |||
double | b | |||
) |
Definition at line 300 of file CutModelMainPanel.cxx.
References CutModelManager::changeColor(), checkInvariant(), cutmanager, CutModelException::getCause(), and showErrorDialog().
Referenced by CutModelViewEventHandler::onColorChange().
00300 { 00301 00302 try{ 00303 checkInvariant(); 00304 cutmanager->changeColor(id, r, g, b); 00305 00306 }catch(CutModelException e){ 00307 showErrorDialog(e.getCause()); 00308 } 00309 }
void CutModelMainPanel::changeOpacity | ( | int | id, | |
int | opacity | |||
) |
Definition at line 276 of file CutModelMainPanel.cxx.
References CutModelManager::changeOpacity(), checkInvariant(), cutmanager, CutModelException::getCause(), and showErrorDialog().
Referenced by CutModelViewEventHandler::onOpacityChange().
00276 { 00277 try{ 00278 checkInvariant(); 00279 cutmanager->changeOpacity(id, opacity); 00280 00281 }catch(CutModelException e){ 00282 showErrorDialog(e.getCause()); 00283 } 00284 }
void CutModelMainPanel::ChangeShape | ( | int | id, | |
int | selection | |||
) |
Definition at line 311 of file CutModelMainPanel.cxx.
References CutModelManager::ChangeShape(), checkInvariant(), cutmanager, CutModelException::getCause(), and showErrorDialog().
Referenced by CutModelViewEventHandler::onShapeChange().
00311 { 00312 try{ 00313 checkInvariant(); 00314 00315 cutmanager->ChangeShape(id, selection); 00316 00317 }catch(CutModelException e){ 00318 showErrorDialog(e.getCause()); 00319 } 00320 }
void CutModelMainPanel::checkInvariant | ( | ) | throw ( CutModelException) [private] |
Definition at line 113 of file CutModelMainPanel.cxx.
References cutmanager.
Referenced by changeColor(), changeOpacity(), ChangeShape(), ExecuteCut(), GetResultImage(), onAddCutModel(), onRedo(), onUndo(), RemoveActor(), setImageData(), setInteractor(), setRenderer(), ShowStatistics(), ShowViewBox(), and updateActorDirection().
00113 { 00114 if(cutmanager==NULL){ 00115 throw CutModelException("The manager is not initialize"); 00116 } 00117 }
void CutModelMainPanel::ExecuteAll | ( | ) |
Definition at line 342 of file CutModelMainPanel.cxx.
References viewpanels.
Referenced by ToolBarEventHandlerCutModel::onExecuteAll().
00342 { 00343 int i; 00344 for(i = 0; i < (int)viewpanels.size(); i++){ 00345 viewpanels[i]->ExecuteCut(); 00346 } 00347 }
void CutModelMainPanel::ExecuteCut | ( | int | id, | |
double * | range, | |||
bool | isinside | |||
) |
Definition at line 332 of file CutModelMainPanel.cxx.
References checkInvariant(), cutmanager, CutModelManager::ExecuteCut(), CutModelException::getCause(), and showErrorDialog().
Referenced by CutModelView::ExecuteCut().
00332 { 00333 try{ 00334 checkInvariant(); 00335 00336 cutmanager->ExecuteCut(id, range, isinside); 00337 }catch(CutModelException e){ 00338 showErrorDialog(e.getCause()); 00339 } 00340 }
CutModelMainPanel * CutModelMainPanel::getInstance | ( | wxWindow * | parent = NULL , |
|
std::string | path = "" | |||
) | [static] |
Definition at line 71 of file CutModelMainPanel.cxx.
References CutModelMainPanel(), and instance.
Referenced by CutModelView::Execute(), CutModelView::ExecuteCut(), ToolBarEventHandlerCutModel::onAdd(), PolygonCutterEventHandlerCutModel::onCheckChanged(), CutModelViewEventHandler::onColorChange(), ToolBarEventHandlerCutModel::onExecuteAll(), PolygonCutterEventHandlerCutModel::onExecuteCutPolygon(), CutModelViewEventHandler::onOpacityChange(), ToolBarEventHandlerCutModel::onRedo(), CutModelViewEventHandler::onShapeChange(), CutModelViewEventHandler::onStatistics(), ToolBarEventHandlerCutModel::onUndo(), CutModelViewEventHandler::onViewBoxChecked(), CutModelManager::setImageData(), wxMaracasDialog_NViewers::wxMaracasDialog_NViewers(), and CutModelView::~CutModelView().
00071 { 00072 if(instance==NULL){ 00073 if(parent == NULL){ 00074 parent = new wxFrame(); 00075 } 00076 instance = new CutModelMainPanel(parent, path); 00077 } 00078 return instance; 00079 }
CutModelView * CutModelMainPanel::getModelView | ( | int | id | ) | throw ( CutModelException) [private] |
Definition at line 236 of file CutModelMainPanel.cxx.
Referenced by onAddCutModel().
00237 { 00238 CutModelView* current = NULL; 00239 int i; 00240 for(i = 0; i < (int)viewpanels.size();i++) 00241 { 00242 if(viewpanels[i]->getId()==id) 00243 { 00244 current = viewpanels[i]; 00245 } 00246 } 00247 if(current == NULL) 00248 { 00249 std::string s = "Id not found"; 00250 throw CutModelException(s); 00251 } 00252 return current; 00253 }
vtkImageData * CutModelMainPanel::GetResultImage | ( | ) |
Definition at line 349 of file CutModelMainPanel.cxx.
References checkInvariant(), cutmanager, CutModelException::getCause(), CutModelManager::GetResultImage(), and showErrorDialog().
00349 { 00350 try{ 00351 checkInvariant(); 00352 return cutmanager->GetResultImage(); 00353 }catch(CutModelException e){ 00354 showErrorDialog(e.getCause()); 00355 } 00356 return NULL; 00357 }
int CutModelMainPanel::GetType | ( | ) |
Definition at line 383 of file CutModelMainPanel.cxx.
References _type.
Referenced by CutModelManager::setImageData().
00383 { 00384 return _type; 00385 }
void CutModelMainPanel::initialize | ( | std::string | path | ) |
Definition at line 52 of file CutModelMainPanel.cxx.
References _notebook, _panelid, _wxauimanager, addPolygonCutterTab(), and cutmanager.
Referenced by CutModelMainPanel().
00052 { 00053 cutmanager = new CutModelManager(path); 00054 _panelid = 0; 00055 _wxauimanager = new wxAuiManager(this); 00056 00057 wxAuiPaneInfo paneinfo; 00058 00059 //RaC 5-02-2010 Add tabs 00060 _notebook = new wxAuiNotebook(this,wxID_ANY,wxDefaultPosition,wxDefaultSize,wxAUI_NB_TOP |wxAUI_NB_TAB_MOVE | wxAUI_NB_SCROLL_BUTTONS); 00061 00062 _notebook->AddPage(new ToolBarCutModel(_notebook),_T("Cutter"),true); 00063 //_wxauimanager->AddPane(new ToolBarCutModel(this),paneinfo.ToolbarPane().Top()); 00064 _wxauimanager->AddPane(_notebook,paneinfo.Center()); 00065 addPolygonCutterTab(); 00066 _notebook->Update(); 00067 00068 _wxauimanager->Update(); 00069 }
void CutModelMainPanel::LoadCutModelData | ( | std::string | filename | ) | [private] |
Definition at line 375 of file CutModelMainPanel.cxx.
References cutmanager, and CutModelManager::LoadCutModelData().
00375 { 00376 cutmanager->LoadCutModelData(filename); 00377 }
void CutModelMainPanel::onAddCutModel | ( | ) |
Definition at line 193 of file CutModelMainPanel.cxx.
References _panelid, addNewViewPanel(), checkInvariant(), cutmanager, CutModelException::getCause(), getModelView(), CutModelManager::onAddCutModel(), ShowCurrentPanel(), and showErrorDialog().
Referenced by ToolBarEventHandlerCutModel::onAdd().
00193 { 00194 try{ 00195 checkInvariant(); 00196 00197 int id = addNewViewPanel(); 00198 cutmanager->onAddCutModel(id, getModelView(id)); 00199 00200 _panelid++; 00201 00202 ShowCurrentPanel(id); 00203 00204 }catch(CutModelException e){ 00205 showErrorDialog(e.getCause()); 00206 } 00207 }
void CutModelMainPanel::onCheckChanged | ( | ) |
Definition at line 149 of file CutModelMainPanel.cxx.
References _isCheck, _isFirstTime, _notebook, _radioinsideout, btnExecutePolygonCut, cutmanager, CutModelManager::InitializePolygonInteractorStyle(), lblMessagePolygon, CutModelManager::ParallelProjectionOff(), CutModelManager::ParallelProjectionOn(), and CutModelManager::UpdatePolygon().
Referenced by PolygonCutterEventHandlerCutModel::onCheckChanged().
00149 { 00150 00151 if(_isFirstTime==true){ 00152 _isFirstTime=false; 00153 cutmanager->InitializePolygonInteractorStyle(); 00154 } 00155 00156 if(_isCheck==false) 00157 { 00158 _isCheck=true; 00159 //Draw Polygon 00160 00161 cutmanager->ParallelProjectionOn(); 00162 btnExecutePolygonCut->Enable(false); 00163 _notebook->GetPage(0)->Enable(false); 00164 _radioinsideout->Enable(false); 00165 lblMessagePolygon->SetLabel(_T("Drawing polygon...")); 00166 } 00167 else 00168 { 00169 _isCheck=false; 00170 //Finish Drawing 00171 cout<<"Finish Drawing"<<endl; 00172 cutmanager->ParallelProjectionOff(); 00173 btnExecutePolygonCut->Enable(true); 00174 _notebook->GetPage(0)->Enable(true); 00175 _radioinsideout->Enable(true); 00176 lblMessagePolygon->SetLabel(_T("Contour saved! Click on Execute Cut")); 00177 } 00178 00179 cutmanager->UpdatePolygon(_isCheck); 00180 00181 }
void CutModelMainPanel::onExecuteCutPolygon | ( | ) |
Definition at line 185 of file CutModelMainPanel.cxx.
References _radioinsideout, cutmanager, CutModelManager::ExecuteCutPolygon(), and lblMessagePolygon.
Referenced by PolygonCutterEventHandlerCutModel::onExecuteCutPolygon().
00186 { 00187 //Cuts Polygon 00188 cutmanager->ExecuteCutPolygon(_radioinsideout->GetSelection()); 00189 lblMessagePolygon->SetLabel(_T("No contour drawed")); 00190 }
void CutModelMainPanel::onRedo | ( | ) |
Definition at line 266 of file CutModelMainPanel.cxx.
References checkInvariant(), cutmanager, CutModelException::getCause(), CutModelManager::Redo(), and showErrorDialog().
Referenced by ToolBarEventHandlerCutModel::onRedo().
00266 { 00267 try{ 00268 checkInvariant(); 00269 /*int result = */ cutmanager->Redo(); 00270 00271 }catch(CutModelException e){ 00272 showErrorDialog(e.getCause()); 00273 } 00274 }
void CutModelMainPanel::onUndo | ( | ) |
Definition at line 255 of file CutModelMainPanel.cxx.
References checkInvariant(), cutmanager, CutModelException::getCause(), showErrorDialog(), and CutModelManager::Undo().
Referenced by ToolBarEventHandlerCutModel::onUndo().
00256 { 00257 try{ 00258 checkInvariant(); 00259 /*int result = */ cutmanager->Undo(); // result unused// JPR 00260 00261 }catch(CutModelException e){ 00262 showErrorDialog(e.getCause()); 00263 } 00264 }
void CutModelMainPanel::RemoveActor | ( | int | id | ) |
Definition at line 124 of file CutModelMainPanel.cxx.
References checkInvariant(), cutmanager, CutModelException::getCause(), CutModelView::getId(), CutModelManager::RemoveActor(), showErrorDialog(), and viewpanels.
Referenced by CutModelView::~CutModelView().
00124 { 00125 try{ 00126 checkInvariant(); 00127 00128 if(!this->IsBeingDeleted()){ 00129 int i,j; 00130 for(i = 0; i < (int)viewpanels.size()-1;i++){ 00131 CutModelView* view = viewpanels[i]; 00132 if(view->getId()==id){ 00133 for(j = i; j < (int)viewpanels.size()-1;j++){ 00134 viewpanels[j]=viewpanels[j+1]; 00135 } 00136 i = viewpanels.size(); 00137 } 00138 } 00139 viewpanels.pop_back(); 00140 cutmanager->RemoveActor(id); 00141 } 00142 00143 }catch(CutModelException e){ 00144 showErrorDialog(e.getCause()); 00145 } 00146 }
void CutModelMainPanel::SaveCutModelData | ( | std::string | filename | ) | [private] |
Definition at line 371 of file CutModelMainPanel.cxx.
References cutmanager, and CutModelManager::SaveCutModelData().
00371 { 00372 cutmanager->SaveCutModelData(filename); 00373 }
void CutModelMainPanel::setImageData | ( | vtkImageData * | img | ) |
Definition at line 86 of file CutModelMainPanel.cxx.
References checkInvariant(), cutmanager, CutModelException::getCause(), CutModelManager::setImageData(), and showErrorDialog().
00086 { 00087 try{ 00088 checkInvariant(); 00089 cutmanager->setImageData(img); 00090 }catch(CutModelException e){ 00091 showErrorDialog(e.getCause()); 00092 } 00093 }
void CutModelMainPanel::setInteractor | ( | vtkRenderWindowInteractor * | interactor | ) |
Definition at line 95 of file CutModelMainPanel.cxx.
References checkInvariant(), cutmanager, CutModelException::getCause(), CutModelManager::setInteractor(), and showErrorDialog().
00095 { 00096 try{ 00097 checkInvariant(); 00098 cutmanager->setInteractor(interactor); 00099 }catch(CutModelException e){ 00100 showErrorDialog(e.getCause()); 00101 } 00102 }
void CutModelMainPanel::setRenderer | ( | vtkRenderer * | renderer | ) |
Definition at line 104 of file CutModelMainPanel.cxx.
References checkInvariant(), cutmanager, CutModelException::getCause(), CutModelManager::setRenderer(), and showErrorDialog().
00104 { 00105 try{ 00106 checkInvariant(); 00107 cutmanager->setRenderer(renderer); 00108 }catch(CutModelException e){ 00109 showErrorDialog(e.getCause()); 00110 } 00111 }
void CutModelMainPanel::SetType | ( | int | type | ) |
Definition at line 379 of file CutModelMainPanel.cxx.
References _type.
00379 { 00380 _type = type; 00381 }
void CutModelMainPanel::ShowCurrentPanel | ( | int | id | ) |
Definition at line 209 of file CutModelMainPanel.cxx.
References _wxauimanager, cutmanager, CutModelManager::RefreshActor(), and viewpanels.
Referenced by CutModelView::Execute(), and onAddCutModel().
00210 { 00211 int i; 00212 for(i = 0; i < (int) viewpanels.size();i++){ 00213 if(viewpanels[i]->getId()==id){ 00214 _wxauimanager->GetPane(viewpanels[i]).Show(true); 00215 cutmanager->RefreshActor(id); 00216 }else{ 00217 _wxauimanager->GetPane(viewpanels[i]).Show(false); 00218 } 00219 } 00220 _wxauimanager->Update(); 00221 }
void CutModelMainPanel::showErrorDialog | ( | std::string | str | ) | [private] |
Definition at line 119 of file CutModelMainPanel.cxx.
Referenced by changeColor(), changeOpacity(), ChangeShape(), ExecuteCut(), GetResultImage(), onAddCutModel(), onRedo(), onUndo(), RemoveActor(), setImageData(), setInteractor(), setRenderer(), ShowPopUpMenu(), ShowViewBox(), and updateActorDirection().
00119 { 00120 wxMessageDialog* diag = new wxMessageDialog(this, wxString(str.c_str(),wxConvUTF8 ), wxString(str.c_str(),wxConvUTF8 ), wxICON_ERROR); 00121 diag->ShowModal(); 00122 }
void CutModelMainPanel::ShowPopUpMenu | ( | int | id | ) |
Definition at line 296 of file CutModelMainPanel.cxx.
References showErrorDialog().
Referenced by CutModelView::Execute().
00296 { 00297 showErrorDialog("test"); 00298 }
void CutModelMainPanel::ShowStatistics | ( | int | id | ) |
Definition at line 359 of file CutModelMainPanel.cxx.
References checkInvariant(), cutmanager, CutModelManager::GetResultImage(), and HistogramDialog::initializeHistogram().
Referenced by CutModelViewEventHandler::onStatistics().
00359 { 00360 00361 checkInvariant(); 00362 HistogramDialog *histo = new HistogramDialog(this, _T("Statistics")); 00363 00364 histo->initializeHistogram(cutmanager->GetResultImage()); 00365 00366 histo->ShowModal(); 00367 00368 delete histo; 00369 }
void CutModelMainPanel::ShowViewBox | ( | int | id, | |
bool | check | |||
) |
Definition at line 286 of file CutModelMainPanel.cxx.
References checkInvariant(), cutmanager, CutModelException::getCause(), showErrorDialog(), and CutModelManager::ShowViewBox().
Referenced by CutModelViewEventHandler::onViewBoxChecked().
00286 { 00287 try{ 00288 checkInvariant(); 00289 cutmanager->ShowViewBox(id, check); 00290 00291 }catch(CutModelException e){ 00292 showErrorDialog(e.getCause()); 00293 } 00294 }
void CutModelMainPanel::updateActorDirection | ( | int | id | ) |
Definition at line 321 of file CutModelMainPanel.cxx.
References checkInvariant(), cutmanager, CutModelException::getCause(), showErrorDialog(), and CutModelManager::updateActorDirection().
Referenced by CutModelView::Execute().
00321 { 00322 try{ 00323 checkInvariant(); 00324 00325 cutmanager->updateActorDirection(id); 00326 00327 }catch(CutModelException e){ 00328 showErrorDialog(e.getCause()); 00329 } 00330 }
void CutModelMainPanel::UpdatePolygon | ( | ) |
void CutModelMainPanel::UpdatePolygon | ( | bool | isChecked | ) |
bool CutModelMainPanel::_isCheck [private] |
Definition at line 143 of file CutModelMainPanel.h.
Referenced by CutModelMainPanel(), and onCheckChanged().
bool CutModelMainPanel::_isFirstTime [private] |
Definition at line 145 of file CutModelMainPanel.h.
Referenced by CutModelMainPanel(), and onCheckChanged().
wxAuiNotebook* CutModelMainPanel::_notebook [private] |
Definition at line 138 of file CutModelMainPanel.h.
Referenced by addPolygonCutterTab(), initialize(), and onCheckChanged().
int CutModelMainPanel::_panelid [private] |
Definition at line 133 of file CutModelMainPanel.h.
Referenced by addNewViewPanel(), initialize(), and onAddCutModel().
wxRadioBox* CutModelMainPanel::_radioinsideout [private] |
Definition at line 149 of file CutModelMainPanel.h.
Referenced by addPolygonCutterTab(), onCheckChanged(), and onExecuteCutPolygon().
int CutModelMainPanel::_type [private] |
Definition at line 135 of file CutModelMainPanel.h.
wxAuiManager* CutModelMainPanel::_wxauimanager [private] |
Definition at line 127 of file CutModelMainPanel.h.
Referenced by addNewViewPanel(), initialize(), and ShowCurrentPanel().
wxButton* CutModelMainPanel::btnExecutePolygonCut [private] |
Definition at line 147 of file CutModelMainPanel.h.
Referenced by addPolygonCutterTab(), and onCheckChanged().
CutModelManager* CutModelMainPanel::cutmanager [private] |
Definition at line 115 of file CutModelMainPanel.h.
Referenced by addNewViewPanel(), changeColor(), changeOpacity(), ChangeShape(), checkInvariant(), CutModelMainPanel(), ExecuteCut(), GetResultImage(), initialize(), LoadCutModelData(), onAddCutModel(), onCheckChanged(), onExecuteCutPolygon(), onRedo(), onUndo(), RemoveActor(), SaveCutModelData(), setImageData(), setInteractor(), setRenderer(), ShowCurrentPanel(), ShowStatistics(), ShowViewBox(), updateActorDirection(), and ~CutModelMainPanel().
CutModelMainPanel * CutModelMainPanel::instance = NULL [static, private] |
Definition at line 113 of file CutModelMainPanel.h.
Referenced by getInstance().
wxStaticText* CutModelMainPanel::lblMessagePolygon [private] |
Definition at line 148 of file CutModelMainPanel.h.
Referenced by addPolygonCutterTab(), onCheckChanged(), and onExecuteCutPolygon().
std::vector<CutModelView*> CutModelMainPanel::viewpanels [private] |
Definition at line 125 of file CutModelMainPanel.h.
Referenced by addNewViewPanel(), ExecuteAll(), RemoveActor(), ShowCurrentPanel(), and ~CutModelMainPanel().