35 #ifndef __QGoTrackEditingWidget_h
36 #define __QGoTrackEditingWidget_h
41 #include "ui_TrackEditingWidget.h"
43 #include "QGoGUILibConfigure.h"
48 #include "vtkEventQtSlotConnect.h"
50 #include "vtkSmartPointer.h"
63 private Ui::TrackEditingWidget
82 std::list< std::list< unsigned int > > GetListOfTracksToBeCreated();
88 std::map< unsigned int, std::list< unsigned int > > GetListOfTracksToBeUpdated();
94 std::list< unsigned int > GetListOfTracksToBeDeleted();
101 void updateCurrentActorSelection(vtkObject *caller);
107 void restoreTrackIDs();
109 void updateMeshesActors(
bool );
119 void highlightFirstActor(
bool iHighlight );
126 void modifyMeshCollectionID(
unsigned int iMeshID,
unsigned int iCollectionID);
131 void computeMeshActors();
138 std::list< unsigned int > getMeshIDsInTrack(
unsigned int iCollection);
144 void initializeVisualization();
151 void cutTrack( vtkActor* iActor);
163 bool mergeTrack(
const unsigned int& iFirstMesh,
const unsigned int& iSecondMesh);
172 std::pair< std::pair<unsigned int, unsigned int>,
173 std::pair<unsigned int, unsigned int> >
174 getTrackBorders(
const unsigned int& iCollectionID );
179 void reassignTrackIDs();
187 void updateTracksIDs(
const unsigned int& iIDToDelete,
188 const unsigned int& iIDToUpdate);
193 void computeLineActors();
195 vtkActor* computeSphere(
unsigned int iTraceID,
double* iCenter,
double radius);
197 void getClosestPoints();
202 void removeLineActors();
212 vtkActor* createPolylineActor(
double* iCenter1,
double* iCenter2,
213 const double* iColor1 = NULL,
214 const double* iColor2 = NULL );
221 void computeLabelActor();
MultiIndexContainerType::template index< TraceID >::type::iterator MultiIndexContainerTraceIDIterator
Wraps a boost::multi_index_container of ContourMeshStructure. This class is specialized for the means...
Define the interactor behavior withing a vtkImage3D. 4 modes (Default, Zoom, Pan and Pick) ...