#include <CutModelManager.h>
Public Member Functions | |
CutModelManager (std::string path) | |
~CutModelManager () | |
void | setImageData (vtkImageData *img) |
vtkImageData * | getImageData () |
void | setInteractor (vtkRenderWindowInteractor *interactor) |
void | setRenderer (vtkRenderer *renderer) |
void | setBaseView (wxVtkBaseView *baseView) |
void | onAddCutModel (int id, vtkCommand *observer) throw ( CutModelException) |
double * | getImageRange () throw ( CutModelException) |
void | changeOpacity (int id, int opacity) throw ( CutModelException) |
void | ShowViewBox (int id, bool check) throw ( CutModelException) |
void | ChangeShape (int id, int selection) throw ( CutModelException) |
void | changeColor (int id, double r, double g, double b) throw ( CutModelException) |
void | updateActorDirection (int id) throw ( CutModelException) |
void | RemoveActor (int id) throw ( CutModelException) |
void | ExecuteCut (int id, double *range, bool isinside) throw ( CutModelException) |
vtkImageData * | GetResultImage () |
void | RefreshActor (int id) |
void | SaveCutModelData (std::string filename) throw ( CutModelException) |
void | LoadCutModelData (std::string filename) throw ( CutModelException) |
CutModelSaveBinInfo * | AddActionUndo (int id, UNDOTYPE type) throw ( CutModelException) |
int | Undo () throw ( CutModelException) |
int | Redo () throw ( CutModelException) |
void | ParallelProjectionOn () |
void | ParallelProjectionOff () |
void | UpdatePolygon (bool mode) |
void | ExecuteCutPolygon (bool inOutCut) |
void | InitializePolygonInteractorStyle () |
Private Member Functions | |
void | checkInvariant () throw ( CutModelException) |
CutModelData * | getCutModelData (int id) throw ( CutModelException) |
Private Attributes | |
int | _currentaction |
std::string | _path |
vtkImageData * | _img |
vtkImageData * | _img2 |
vtkRenderer * | _render |
vtkRenderWindowInteractor * | _interactor |
std::vector< CutModelData * > | _vectordata |
std::vector < CutModelSaveBinInfo * > | _undoredo |
CutModelPolygon * | _polygonCutter |
vtkPoints * | contourPoints |
double * | contourDirection |
vtkInteractorStyleTrackballCamera * | interactorstyle |
vtkInteractorStyleCutter * | cutterstyle |
vtkContourFilter * | contour |
vtkSampleFunction * | sample |
vtkPolyData * | actor |
vtkActor * | actor3D |
vtkImplicitSelectionLoop * | loop |
vtkPolyDataMapper * | mapper |
Definition at line 53 of file CutModelManager.h.
CutModelManager::CutModelManager | ( | std::string | path | ) |
Start of the manager class
Definition at line 25 of file CutModelManager.cxx.
References _currentaction, _img, _img2, _interactor, _path, and _render.
00025 { 00026 _path = path; 00027 _img = NULL; 00028 _img2 = NULL; 00029 _interactor = NULL; 00030 _render = NULL; 00031 _currentaction=0; 00032 00033 }
CutModelManager::~CutModelManager | ( | ) |
Definition at line 34 of file CutModelManager.cxx.
References _img, _img2, _interactor, _path, _render, and _vectordata.
00034 { 00035 std::string files = _path; 00036 files+="/infounrd_0_fig_0.info"; 00037 remove(files.c_str()); 00038 _vectordata.clear(); 00039 _img = NULL; 00040 _img2 = NULL; 00041 _interactor = NULL; 00042 _render = NULL; 00043 }
CutModelSaveBinInfo * CutModelManager::AddActionUndo | ( | int | id, | |
UNDOTYPE | type | |||
) | throw ( CutModelException) |
Definition at line 244 of file CutModelManager.cxx.
References CUTMODEL_CUT, CutModelSaveBinInfo::saveMatrix4x4(), and CutModelSaveBinInfo::setCurrentShape().
00244 { 00245 00246 for(int i = _undoredo.size()-1; i > _currentaction;i--){ 00247 delete _undoredo[i]; 00248 _undoredo.pop_back(); 00249 } 00250 00251 CutModelSaveBinInfo* cutmodel = new CutModelSaveBinInfo(idc, _currentaction, type, _path); 00252 if(type == CUTMODEL_CUT){ 00253 cutmodel->saveMatrix4x4(this->getCutModelData(idc)->getCurrentMatrix()->GetMatrix()); 00254 cutmodel->setCurrentShape(this->getCutModelData(idc)->getCurrentShape()); 00255 } 00256 00257 _undoredo.push_back(cutmodel); 00258 00259 _currentaction++;// = _undoredo.size(); 00260 //std::cout<<"current index "<<_currentaction; 00261 00262 return cutmodel; 00263 }
void CutModelManager::changeColor | ( | int | id, | |
double | r, | |||
double | g, | |||
double | b | |||
) | throw ( CutModelException) |
Definition at line 168 of file CutModelManager.cxx.
References CutModelData::changeColor().
Referenced by CutModelMainPanel::changeColor().
00168 { 00169 00170 checkInvariant(); 00171 CutModelData* current = getCutModelData(id); 00172 current->changeColor(r,g,b); 00173 _render->Render(); 00174 }
void CutModelManager::changeOpacity | ( | int | id, | |
int | opacity | |||
) | throw ( CutModelException) |
Definition at line 123 of file CutModelManager.cxx.
References CutModelData::changeOpacity().
Referenced by CutModelMainPanel::changeOpacity().
00123 { 00124 checkInvariant(); 00125 CutModelData* current = getCutModelData(id); 00126 current->changeOpacity(opacity); 00127 }
void CutModelManager::ChangeShape | ( | int | id, | |
int | selection | |||
) | throw ( CutModelException) |
Definition at line 135 of file CutModelManager.cxx.
References CutModelData::ChangeShape().
Referenced by CutModelMainPanel::ChangeShape().
00135 { 00136 checkInvariant(); 00137 CutModelData* current = getCutModelData(id); 00138 current->ChangeShape(selection); 00139 _render->Render(); 00140 }
void CutModelManager::checkInvariant | ( | ) | throw ( CutModelException) [private] |
Definition at line 103 of file CutModelManager.cxx.
References _img, _img2, _interactor, and _render.
Referenced by getImageRange(), GetResultImage(), and RefreshActor().
00103 { 00104 if(_img==NULL){ 00105 throw CutModelException("The image is not set"); 00106 } 00107 if(_img2==NULL){ 00108 throw CutModelException("The image is not set"); 00109 } 00110 if(_interactor==NULL){ 00111 throw CutModelException("Interactor not set"); 00112 } 00113 if(_render==NULL){ 00114 throw CutModelException("Render not set"); 00115 } 00116 }
void CutModelManager::ExecuteCut | ( | int | id, | |
double * | range, | |||
bool | isinside | |||
) | throw ( CutModelException) |
Definition at line 196 of file CutModelManager.cxx.
References CUTMODEL_CUT, CutModelData::ExecuteCut(), CutModelSaveBinInfo::setIsInside(), and CutModelSaveBinInfo::setRange().
Referenced by CutModelMainPanel::ExecuteCut().
00196 { 00197 checkInvariant(); 00198 00199 CutModelData* current = getCutModelData(id); 00200 current->ExecuteCut(range, isinside,_img2); 00201 00202 00203 /* 00204 Setting extra information for the undo 00205 */ 00206 CutModelSaveBinInfo* undoaction = this->AddActionUndo(id, CUTMODEL_CUT); 00207 undoaction->setRange(range); 00208 undoaction->setIsInside(isinside); 00209 00210 }
void CutModelManager::ExecuteCutPolygon | ( | bool | inOutCut | ) |
Definition at line 394 of file CutModelManager.cxx.
References _img2, _polygonCutter, contourDirection, contourPoints, CutModelPolygon::processOutImage(), CutModelPolygon::setDirection(), CutModelPolygon::setInImage(), and CutModelPolygon::setPoints().
Referenced by CutModelMainPanel::onExecuteCutPolygon().
00394 { 00395 00396 _polygonCutter->setInImage(_img2); 00397 _polygonCutter->setPoints(contourPoints); 00398 _polygonCutter->setDirection(contourDirection); 00399 _polygonCutter->processOutImage(inOutCut); 00400 }
CutModelData * CutModelManager::getCutModelData | ( | int | id | ) | throw ( CutModelException) [private] |
Definition at line 142 of file CutModelManager.cxx.
References CutModelData::getId().
Referenced by Redo(), RefreshActor(), and Undo().
00142 { 00143 00144 CutModelData* current = NULL; 00145 for(int i= 0; i < _vectordata.size();i++){ 00146 CutModelData* temp = _vectordata[i]; 00147 std::cout<<"id in CutModelManager:: "<<id<<std::endl; 00148 std::cout<<"vectordataid in CutModelManager:: "<<temp->getId()<<std::endl; 00149 00150 if(temp->getId() == id){ 00151 current = temp; 00152 } 00153 } 00154 if(current ==NULL){ 00155 00156 throw CutModelException("Data not found"); 00157 } 00158 return current; 00159 }
vtkImageData * CutModelManager::getImageData | ( | ) |
Definition at line 46 of file CutModelManager.cxx.
References _img2.
00046 { 00047 return _img2; 00048 }
double * CutModelManager::getImageRange | ( | ) | throw ( CutModelException) |
Definition at line 118 of file CutModelManager.cxx.
References _img, and checkInvariant().
Referenced by CutModelMainPanel::addNewViewPanel().
00118 { 00119 checkInvariant(); 00120 return _img->GetScalarRange(); 00121 }
vtkImageData * CutModelManager::GetResultImage | ( | ) |
Definition at line 212 of file CutModelManager.cxx.
References _img2, and checkInvariant().
Referenced by CutModelMainPanel::GetResultImage(), and CutModelMainPanel::ShowStatistics().
00212 { 00213 checkInvariant(); 00214 return _img2; 00215 }
void CutModelManager::InitializePolygonInteractorStyle | ( | ) |
Definition at line 402 of file CutModelManager.cxx.
References _interactor, cutterstyle, interactorstyle, and vtkInteractorStyleCutter::New().
Referenced by CutModelMainPanel::onCheckChanged().
00402 { 00403 00404 cutterstyle = vtkInteractorStyleCutter::New(); 00405 interactorstyle = vtkInteractorStyleTrackballCamera ::New(); 00406 interactorstyle->SetInteractor ( _interactor ); 00407 _interactor->SetInteractorStyle( interactorstyle ); 00408 }
void CutModelManager::LoadCutModelData | ( | std::string | filename | ) | throw ( CutModelException) |
Definition at line 238 of file CutModelManager.cxx.
Referenced by CutModelMainPanel::LoadCutModelData().
00238 { 00239 00240 throw CutModelException("not implemented"); 00241 00242 }
void CutModelManager::onAddCutModel | ( | int | id, | |
vtkCommand * | observer | |||
) | throw ( CutModelException) |
Definition at line 90 of file CutModelManager.cxx.
References CutModelData::getActor().
Referenced by CutModelMainPanel::onAddCutModel().
00090 { 00091 checkInvariant(); 00092 00093 00094 CutModelData* data = new CutModelData(id,_interactor, observer, _img); 00095 _vectordata.push_back(data); 00096 00097 _render->AddActor(data->getActor()); 00098 00099 //_render->UpdateCamera(); 00100 _render->Render(); 00101 }
void CutModelManager::ParallelProjectionOff | ( | ) |
Definition at line 319 of file CutModelManager.cxx.
References _render.
Referenced by CutModelMainPanel::onCheckChanged().
00319 { 00320 _render->GetActiveCamera()->ParallelProjectionOff(); 00321 }
void CutModelManager::ParallelProjectionOn | ( | ) |
Definition at line 315 of file CutModelManager.cxx.
References _render.
Referenced by CutModelMainPanel::onCheckChanged().
00315 { 00316 _render->GetActiveCamera()->ParallelProjectionOn(); 00317 }
int CutModelManager::Redo | ( | ) | throw ( CutModelException) |
Definition at line 292 of file CutModelManager.cxx.
References _currentaction, _img2, _undoredo, CUTMODEL_CUT, CutModelData::ExecuteCut(), CutModelSaveBinInfo::getActionType(), CutModelSaveBinInfo::getCurrentShape(), getCutModelData(), CutModelSaveBinInfo::getId(), CutModelSaveBinInfo::getIsInside(), CutModelSaveBinInfo::getRange(), CutModelSaveBinInfo::getTransformFromMatrixFile(), CutModelData::setCurrentShape(), and CutModelData::setTransform().
Referenced by CutModelMainPanel::onRedo().
00292 { 00293 00294 if(_currentaction >= 0 && _currentaction < _undoredo.size()){ 00295 00296 CutModelSaveBinInfo* currentundo = _undoredo[_currentaction]; 00297 CutModelData* currentmodel; 00298 00299 if(currentundo->getActionType()==CUTMODEL_CUT){ 00300 //Redo the cut 00301 vtkTransform* transform = currentundo->getTransformFromMatrixFile(); 00302 currentmodel = getCutModelData(currentundo->getId()); 00303 currentmodel->setTransform(transform, _img2); 00304 currentmodel->setCurrentShape(currentundo->getCurrentShape()); 00305 currentmodel->ExecuteCut(currentundo->getRange(), currentundo->getIsInside(), _img2); 00306 } 00307 00308 _currentaction++; 00309 00310 return 0; 00311 } 00312 return -1; 00313 }
void CutModelManager::RefreshActor | ( | int | id | ) |
Definition at line 217 of file CutModelManager.cxx.
References _render, checkInvariant(), CutModelData::getActor(), getCutModelData(), and CutModelData::RefreshViewBox().
Referenced by CutModelMainPanel::ShowCurrentPanel().
00217 { 00218 checkInvariant(); 00219 CutModelData* current = getCutModelData(id); 00220 _render->RemoveActor(current->getActor()); 00221 _render->AddActor(current->getActor()); 00222 current->RefreshViewBox(); 00223 _render->Render(); 00224 }
void CutModelManager::RemoveActor | ( | int | id | ) | throw ( CutModelException) |
Definition at line 175 of file CutModelManager.cxx.
References CutModelData::getActor().
Referenced by CutModelMainPanel::RemoveActor().
00175 { 00176 00177 checkInvariant(); 00178 00179 CutModelData* current = getCutModelData(id); 00180 for(int i = 0; i < _vectordata.size()-1;i++){ 00181 if(_vectordata[i]->getId()==id){ 00182 for(int j = i; j < _vectordata.size()-1;j++){ 00183 _vectordata[j]=_vectordata[j+1]; 00184 } 00185 i = _vectordata.size(); 00186 } 00187 } 00188 _render->RemoveViewProp(current->getActor()); 00189 //_render->RemoveViewProp(current->get 00190 delete current; 00191 _vectordata.pop_back(); 00192 _render->Render(); 00193 00194 }
void CutModelManager::SaveCutModelData | ( | std::string | filename | ) | throw ( CutModelException) |
Definition at line 226 of file CutModelManager.cxx.
Referenced by CutModelMainPanel::SaveCutModelData().
00226 { 00227 00228 00229 throw CutModelException("not implemented"); 00230 00231 00232 00233 00234 }
void CutModelManager::setBaseView | ( | wxVtkBaseView * | baseView | ) |
void CutModelManager::setImageData | ( | vtkImageData * | img | ) |
Definition at line 50 of file CutModelManager.cxx.
References _img, _img2, CutModelMainPanel::getInstance(), and CutModelMainPanel::GetType().
Referenced by CutModelMainPanel::setImageData().
00050 { 00051 int type = CutModelMainPanel::getInstance()->GetType(); 00052 if( type == 0) 00053 { 00054 _img = img; 00055 00056 if(_img2!=NULL){ 00057 _img2->Delete(); 00058 } 00059 _img2 = vtkImageData::New(); 00060 _img2->SetExtent(_img->GetExtent()); 00061 _img2->SetSpacing(_img->GetSpacing()); 00062 _img2->AllocateScalars(); 00063 00064 _img2->DeepCopy(_img); 00065 } 00066 else 00067 { 00068 _img2 = img; 00069 00070 if(_img!=NULL){ 00071 _img->Delete(); 00072 } 00073 _img = vtkImageData::New(); 00074 _img->SetExtent(_img2->GetExtent()); 00075 _img->SetSpacing(_img2->GetSpacing()); 00076 _img->AllocateScalars(); 00077 00078 _img->DeepCopy(_img2); 00079 } 00080 }
void CutModelManager::setInteractor | ( | vtkRenderWindowInteractor * | interactor | ) |
Definition at line 82 of file CutModelManager.cxx.
References _interactor.
Referenced by CutModelMainPanel::setInteractor().
00082 { 00083 _interactor = interactor; 00084 }
void CutModelManager::setRenderer | ( | vtkRenderer * | renderer | ) |
Definition at line 86 of file CutModelManager.cxx.
References _render.
Referenced by CutModelMainPanel::setRenderer().
00086 { 00087 _render = renderer; 00088 }
void CutModelManager::ShowViewBox | ( | int | id, | |
bool | check | |||
) | throw ( CutModelException) |
Definition at line 129 of file CutModelManager.cxx.
References CutModelData::ShowViewBox().
Referenced by CutModelMainPanel::ShowViewBox().
00129 { 00130 checkInvariant(); 00131 CutModelData* current = getCutModelData(id); 00132 current->ShowViewBox(check); 00133 }
int CutModelManager::Undo | ( | ) | throw ( CutModelException) |
Definition at line 265 of file CutModelManager.cxx.
References _currentaction, _img, _img2, _undoredo, CUTMODEL_CUT, CutModelData::ExecuteUnCut(), CutModelSaveBinInfo::getActionType(), CutModelSaveBinInfo::getCurrentShape(), getCutModelData(), CutModelSaveBinInfo::getId(), CutModelSaveBinInfo::getIsInside(), CutModelSaveBinInfo::getTransformFromMatrixFile(), CutModelData::setCurrentShape(), and CutModelData::setTransform().
Referenced by CutModelMainPanel::onUndo().
00265 { 00266 //&& _currentaction < _undoredo.size() 00267 if(_currentaction > 0){ 00268 int tempaction = _currentaction-1; 00269 CutModelSaveBinInfo* currentundo = _undoredo[tempaction]; 00270 CutModelData* currentmodel; 00271 00272 if(currentundo->getActionType()==CUTMODEL_CUT){ 00273 //Undo the cut 00274 vtkTransform* transform = currentundo->getTransformFromMatrixFile(); 00275 00276 currentmodel = getCutModelData(currentundo->getId()); 00277 00278 currentmodel->setTransform(transform, _img2); 00279 00280 currentmodel->setCurrentShape(currentundo->getCurrentShape()); 00281 00282 currentmodel->ExecuteUnCut(currentundo->getIsInside(), _img, _img2); 00283 00284 } 00285 //Every thing ok 00286 _currentaction--; 00287 return 0; 00288 } 00289 return -1; 00290 }
void CutModelManager::updateActorDirection | ( | int | id | ) | throw ( CutModelException) |
Definition at line 161 of file CutModelManager.cxx.
References CutModelData::udapteActorDirection().
Referenced by CutModelMainPanel::updateActorDirection().
00161 { 00162 checkInvariant(); 00163 CutModelData* current = getCutModelData(id); 00164 current->udapteActorDirection(); 00165 00166 }
void CutModelManager::UpdatePolygon | ( | bool | mode | ) |
Printing Points
Definition at line 325 of file CutModelManager.cxx.
References _interactor, _polygonCutter, _render, actor, actor3D, contour, contourDirection, contourPoints, cutterstyle, vtkInteractorStyleCutter::Finished(), interactorstyle, loop, mapper, vtkInteractorStyleCutter::New(), sample, and vtkInteractorStyleCutter::VisibilityOff().
Referenced by CutModelMainPanel::onCheckChanged().
00326 { 00327 if(mode) 00328 { 00329 cutterstyle->Delete(); 00330 cutterstyle = vtkInteractorStyleCutter::New(); 00331 00332 cutterstyle->SetInteractor ( _interactor ); 00333 _interactor ->SetInteractorStyle( cutterstyle ); 00334 } 00335 else 00336 { 00337 cutterstyle->VisibilityOff(); 00338 00339 loop = vtkImplicitSelectionLoop::New(); 00340 mapper = vtkPolyDataMapper::New(); 00341 if(cutterstyle->Finished()) 00342 { 00343 if(actor3D != NULL) 00344 { 00345 _render->RemoveActor(actor3D); 00346 } 00347 00348 loop->SetLoop( cutterstyle->GetLoopPoints() ); 00349 loop->SetNormal( cutterstyle->GetDirection()); 00350 00351 00353 int numPoints = cutterstyle->GetLoopPoints()->GetNumberOfPoints(); 00354 contourDirection = cutterstyle->GetDirection(); 00355 00356 contourPoints = cutterstyle->GetLoopPoints(); 00357 00358 _polygonCutter = new CutModelPolygon(); 00359 00360 cout<<"RaC ContourDrawer::Update Printing points"<<endl; 00361 for(int t=0;t<numPoints;t++) 00362 { 00363 double point[3]; 00364 cutterstyle->GetLoopPoints()->GetPoint(t,point); 00365 cout<<"Initial Point:"<<t<<" XX:"<<point[0]<<" YY:"<<point[1]<<" ZZ:"<<point[2]<<endl; 00366 } 00367 cout<<endl; 00368 00369 sample = vtkSampleFunction::New(); 00370 00371 sample->SetImplicitFunction(loop); 00372 sample->CappingOn(); 00373 00374 contour = vtkContourFilter::New(); 00375 contour->SetInput((vtkDataObject *)sample->GetOutput()); 00376 contour->SetValue(0,1); 00377 00378 actor = contour->GetOutput(); 00379 00380 actor3D = vtkActor::New(); 00381 mapper->SetInput(actor); 00382 mapper->SetScalarModeToUseCellData(); 00383 actor3D->SetMapper( mapper); 00384 _render->AddActor(actor3D); 00385 } 00386 00387 interactorstyle->SetInteractor ( _interactor ); 00388 _interactor->SetInteractorStyle( interactorstyle ); 00389 } 00390 00391 _interactor->Render(); 00392 _render->ResetCameraClippingRange(); 00393 }
int CutModelManager::_currentaction [private] |
Definition at line 113 of file CutModelManager.h.
Referenced by CutModelManager(), Redo(), and Undo().
vtkImageData* CutModelManager::_img [private] |
Definition at line 117 of file CutModelManager.h.
Referenced by checkInvariant(), CutModelManager(), getImageRange(), setImageData(), Undo(), and ~CutModelManager().
vtkImageData* CutModelManager::_img2 [private] |
Definition at line 118 of file CutModelManager.h.
Referenced by checkInvariant(), CutModelManager(), ExecuteCutPolygon(), getImageData(), GetResultImage(), Redo(), setImageData(), Undo(), and ~CutModelManager().
vtkRenderWindowInteractor* CutModelManager::_interactor [private] |
Definition at line 120 of file CutModelManager.h.
Referenced by checkInvariant(), CutModelManager(), InitializePolygonInteractorStyle(), setInteractor(), UpdatePolygon(), and ~CutModelManager().
std::string CutModelManager::_path [private] |
Definition at line 116 of file CutModelManager.h.
Referenced by CutModelManager(), and ~CutModelManager().
CutModelPolygon* CutModelManager::_polygonCutter [private] |
Definition at line 126 of file CutModelManager.h.
Referenced by ExecuteCutPolygon(), and UpdatePolygon().
vtkRenderer* CutModelManager::_render [private] |
Definition at line 119 of file CutModelManager.h.
Referenced by checkInvariant(), CutModelManager(), ParallelProjectionOff(), ParallelProjectionOn(), RefreshActor(), setRenderer(), UpdatePolygon(), and ~CutModelManager().
std::vector<CutModelSaveBinInfo*> CutModelManager::_undoredo [private] |
Definition at line 123 of file CutModelManager.h.
std::vector<CutModelData*> CutModelManager::_vectordata [private] |
Definition at line 122 of file CutModelManager.h.
Referenced by ~CutModelManager().
vtkPolyData* CutModelManager::actor [private] |
Definition at line 133 of file CutModelManager.h.
Referenced by UpdatePolygon().
vtkActor* CutModelManager::actor3D [private] |
Definition at line 134 of file CutModelManager.h.
Referenced by UpdatePolygon().
vtkContourFilter* CutModelManager::contour [private] |
Definition at line 131 of file CutModelManager.h.
Referenced by UpdatePolygon().
double* CutModelManager::contourDirection [private] |
Definition at line 128 of file CutModelManager.h.
Referenced by ExecuteCutPolygon(), and UpdatePolygon().
vtkPoints* CutModelManager::contourPoints [private] |
Definition at line 127 of file CutModelManager.h.
Referenced by ExecuteCutPolygon(), and UpdatePolygon().
Definition at line 130 of file CutModelManager.h.
Referenced by InitializePolygonInteractorStyle(), and UpdatePolygon().
vtkInteractorStyleTrackballCamera* CutModelManager::interactorstyle [private] |
Definition at line 129 of file CutModelManager.h.
Referenced by InitializePolygonInteractorStyle(), and UpdatePolygon().
vtkImplicitSelectionLoop* CutModelManager::loop [private] |
Definition at line 135 of file CutModelManager.h.
Referenced by UpdatePolygon().
vtkPolyDataMapper* CutModelManager::mapper [private] |
Definition at line 136 of file CutModelManager.h.
Referenced by UpdatePolygon().
vtkSampleFunction* CutModelManager::sample [private] |
Definition at line 132 of file CutModelManager.h.
Referenced by UpdatePolygon().