#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 248 of file CutModelManager.cxx.
References CUTMODEL_CUT, CutModelSaveBinInfo::saveMatrix4x4(), and CutModelSaveBinInfo::setCurrentShape().
00248 { 00249 00250 for(int i = _undoredo.size()-1; i > _currentaction;i--){ 00251 delete _undoredo[i]; 00252 _undoredo.pop_back(); 00253 } 00254 00255 CutModelSaveBinInfo* cutmodel = new CutModelSaveBinInfo(idc, _currentaction, type, _path); 00256 if(type == CUTMODEL_CUT){ 00257 cutmodel->saveMatrix4x4(this->getCutModelData(idc)->getCurrentMatrix()->GetMatrix()); 00258 cutmodel->setCurrentShape(this->getCutModelData(idc)->getCurrentShape()); 00259 } 00260 00261 _undoredo.push_back(cutmodel); 00262 00263 _currentaction++;// = _undoredo.size(); 00264 //std::cout<<"current index "<<_currentaction; 00265 00266 return cutmodel; 00267 }
void CutModelManager::changeColor | ( | int | id, | |
double | r, | |||
double | g, | |||
double | b | |||
) | throw ( CutModelException) |
Definition at line 170 of file CutModelManager.cxx.
References CutModelData::changeColor().
Referenced by CutModelMainPanel::changeColor().
00170 { 00171 00172 checkInvariant(); 00173 CutModelData* current = getCutModelData(id); 00174 current->changeColor(r,g,b); 00175 _render->Render(); 00176 }
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 200 of file CutModelManager.cxx.
References CUTMODEL_CUT, CutModelData::ExecuteCut(), CutModelSaveBinInfo::setIsInside(), and CutModelSaveBinInfo::setRange().
Referenced by CutModelMainPanel::ExecuteCut().
00200 { 00201 checkInvariant(); 00202 00203 CutModelData* current = getCutModelData(id); 00204 current->ExecuteCut(range, isinside,_img2); 00205 00206 00207 /* 00208 Setting extra information for the undo 00209 */ 00210 CutModelSaveBinInfo* undoaction = this->AddActionUndo(id, CUTMODEL_CUT); 00211 undoaction->setRange(range); 00212 undoaction->setIsInside(isinside); 00213 00214 }
void CutModelManager::ExecuteCutPolygon | ( | bool | inOutCut | ) |
Definition at line 398 of file CutModelManager.cxx.
References _img2, _polygonCutter, contourDirection, contourPoints, CutModelPolygon::processOutImage(), CutModelPolygon::setDirection(), CutModelPolygon::setInImage(), and CutModelPolygon::setPoints().
Referenced by CutModelMainPanel::onExecuteCutPolygon().
00398 { 00399 00400 _polygonCutter->setInImage(_img2); 00401 _polygonCutter->setPoints(contourPoints); 00402 _polygonCutter->setDirection(contourDirection); 00403 _polygonCutter->processOutImage(inOutCut); 00404 }
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 int i; 00146 for(i= 0; i < (int)_vectordata.size();i++) 00147 { 00148 CutModelData* temp = _vectordata[i]; 00149 std::cout<<"id in CutModelManager:: "<<id<<std::endl; 00150 std::cout<<"vectordataid in CutModelManager:: "<<temp->getId()<<std::endl; 00151 00152 if(temp->getId() == id){ 00153 current = temp; 00154 } 00155 } 00156 if(current ==NULL){ 00157 00158 throw CutModelException("Data not found"); 00159 } 00160 return current; 00161 }
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 216 of file CutModelManager.cxx.
References _img2, and checkInvariant().
Referenced by CutModelMainPanel::GetResultImage(), and CutModelMainPanel::ShowStatistics().
00216 { 00217 checkInvariant(); 00218 return _img2; 00219 }
void CutModelManager::InitializePolygonInteractorStyle | ( | ) |
Definition at line 406 of file CutModelManager.cxx.
References _interactor, cutterstyle, interactorstyle, and vtkInteractorStyleCutter::New().
Referenced by CutModelMainPanel::onCheckChanged().
00406 { 00407 00408 cutterstyle = vtkInteractorStyleCutter::New(); 00409 interactorstyle = vtkInteractorStyleTrackballCamera ::New(); 00410 interactorstyle->SetInteractor ( _interactor ); 00411 _interactor->SetInteractorStyle( interactorstyle ); 00412 }
void CutModelManager::LoadCutModelData | ( | std::string | filename | ) | throw ( CutModelException) |
Definition at line 242 of file CutModelManager.cxx.
Referenced by CutModelMainPanel::LoadCutModelData().
00242 { 00243 00244 throw CutModelException("not implemented"); 00245 00246 }
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 323 of file CutModelManager.cxx.
References _render.
Referenced by CutModelMainPanel::onCheckChanged().
00323 { 00324 _render->GetActiveCamera()->ParallelProjectionOff(); 00325 }
void CutModelManager::ParallelProjectionOn | ( | ) |
Definition at line 319 of file CutModelManager.cxx.
References _render.
Referenced by CutModelMainPanel::onCheckChanged().
00319 { 00320 _render->GetActiveCamera()->ParallelProjectionOn(); 00321 }
int CutModelManager::Redo | ( | ) | throw ( CutModelException) |
Definition at line 296 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().
00296 { 00297 00298 if(_currentaction >= 0 && _currentaction < (int)_undoredo.size()){ 00299 00300 CutModelSaveBinInfo* currentundo = _undoredo[_currentaction]; 00301 CutModelData* currentmodel; 00302 00303 if(currentundo->getActionType()==CUTMODEL_CUT){ 00304 //Redo the cut 00305 vtkTransform* transform = currentundo->getTransformFromMatrixFile(); 00306 currentmodel = getCutModelData(currentundo->getId()); 00307 currentmodel->setTransform(transform, _img2); 00308 currentmodel->setCurrentShape(currentundo->getCurrentShape()); 00309 currentmodel->ExecuteCut(currentundo->getRange(), currentundo->getIsInside(), _img2); 00310 } 00311 00312 _currentaction++; 00313 00314 return 0; 00315 } 00316 return -1; 00317 }
void CutModelManager::RefreshActor | ( | int | id | ) |
Definition at line 221 of file CutModelManager.cxx.
References _render, checkInvariant(), CutModelData::getActor(), getCutModelData(), and CutModelData::RefreshViewBox().
Referenced by CutModelMainPanel::ShowCurrentPanel().
00221 { 00222 checkInvariant(); 00223 CutModelData* current = getCutModelData(id); 00224 _render->RemoveActor(current->getActor()); 00225 _render->AddActor(current->getActor()); 00226 current->RefreshViewBox(); 00227 _render->Render(); 00228 }
void CutModelManager::RemoveActor | ( | int | id | ) | throw ( CutModelException) |
Definition at line 177 of file CutModelManager.cxx.
References CutModelData::getActor().
Referenced by CutModelMainPanel::RemoveActor().
00177 { 00178 00179 checkInvariant(); 00180 00181 CutModelData* current = getCutModelData(id); 00182 int i,j; 00183 for(i = 0; i < (int)_vectordata.size()-1;i++) 00184 { 00185 if(_vectordata[i]->getId()==id){ 00186 for(j = i; j < (int)_vectordata.size()-1;j++){ 00187 _vectordata[j]=_vectordata[j+1]; 00188 } 00189 i = _vectordata.size(); 00190 } 00191 } 00192 _render->RemoveViewProp(current->getActor()); 00193 //_render->RemoveViewProp(current->get 00194 delete current; 00195 _vectordata.pop_back(); 00196 _render->Render(); 00197 00198 }
void CutModelManager::SaveCutModelData | ( | std::string | filename | ) | throw ( CutModelException) |
Definition at line 230 of file CutModelManager.cxx.
Referenced by CutModelMainPanel::SaveCutModelData().
00230 { 00231 00232 00233 throw CutModelException("not implemented"); 00234 00235 00236 00237 00238 }
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 269 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().
00269 { 00270 //&& _currentaction < _undoredo.size() 00271 if(_currentaction > 0){ 00272 int tempaction = _currentaction-1; 00273 CutModelSaveBinInfo* currentundo = _undoredo[tempaction]; 00274 CutModelData* currentmodel; 00275 00276 if(currentundo->getActionType()==CUTMODEL_CUT){ 00277 //Undo the cut 00278 vtkTransform* transform = currentundo->getTransformFromMatrixFile(); 00279 00280 currentmodel = getCutModelData(currentundo->getId()); 00281 00282 currentmodel->setTransform(transform, _img2); 00283 00284 currentmodel->setCurrentShape(currentundo->getCurrentShape()); 00285 00286 currentmodel->ExecuteUnCut(currentundo->getIsInside(), _img, _img2); 00287 00288 } 00289 //Every thing ok 00290 _currentaction--; 00291 return 0; 00292 } 00293 return -1; 00294 }
void CutModelManager::updateActorDirection | ( | int | id | ) | throw ( CutModelException) |
Definition at line 163 of file CutModelManager.cxx.
References CutModelData::udapteActorDirection().
Referenced by CutModelMainPanel::updateActorDirection().
00163 { 00164 checkInvariant(); 00165 CutModelData* current = getCutModelData(id); 00166 current->udapteActorDirection(); 00167 00168 }
void CutModelManager::UpdatePolygon | ( | bool | mode | ) |
Printing Points
Definition at line 329 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().
00330 { 00331 if(mode) 00332 { 00333 cutterstyle->Delete(); 00334 cutterstyle = vtkInteractorStyleCutter::New(); 00335 00336 cutterstyle->SetInteractor ( _interactor ); 00337 _interactor ->SetInteractorStyle( cutterstyle ); 00338 } 00339 else 00340 { 00341 cutterstyle->VisibilityOff(); 00342 00343 loop = vtkImplicitSelectionLoop::New(); 00344 mapper = vtkPolyDataMapper::New(); 00345 if(cutterstyle->Finished()) 00346 { 00347 if(actor3D != NULL) 00348 { 00349 _render->RemoveActor(actor3D); 00350 } 00351 00352 loop->SetLoop( cutterstyle->GetLoopPoints() ); 00353 loop->SetNormal( cutterstyle->GetDirection()); 00354 00355 00357 int numPoints = cutterstyle->GetLoopPoints()->GetNumberOfPoints(); 00358 contourDirection = cutterstyle->GetDirection(); 00359 00360 contourPoints = cutterstyle->GetLoopPoints(); 00361 00362 _polygonCutter = new CutModelPolygon(); 00363 00364 cout<<"RaC Printing points......"<<endl; 00365 for(int t=0;t<numPoints;t++) 00366 { 00367 double point[3]; 00368 cutterstyle->GetLoopPoints()->GetPoint(t,point); 00369 cout<<"Initial Point:"<<t<<" XX:"<<point[0]<<" YY:"<<point[1]<<" ZZ:"<<point[2]<<endl; 00370 } 00371 cout<<endl; 00372 00373 sample = vtkSampleFunction::New(); 00374 00375 sample->SetImplicitFunction(loop); 00376 sample->CappingOn(); 00377 00378 contour = vtkContourFilter::New(); 00379 contour->SetInput((vtkDataObject *)sample->GetOutput()); 00380 contour->SetValue(0,1); 00381 00382 actor = contour->GetOutput(); 00383 00384 actor3D = vtkActor::New(); 00385 mapper->SetInput(actor); 00386 mapper->SetScalarModeToUseCellData(); 00387 actor3D->SetMapper( mapper); 00388 _render->AddActor(actor3D); 00389 } 00390 00391 interactorstyle->SetInteractor ( _interactor ); 00392 _interactor->SetInteractorStyle( interactorstyle ); 00393 } 00394 00395 _interactor->Render(); 00396 _render->ResetCameraClippingRange(); 00397 }
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().