GOFIGURE2
0.9.0
|
Wraps a boost multi index container of TrackStructure. This class intends to synchronize Track representation in the Visualization and in the TableWidget. More...
#include <Code/GUI/lib/VisualizationTraceContainers/TrackContainer.h>
Public Types | |
enum | BorderType { FIRST = 0, LAST = 1 } |
typedef Superclass::MultiIndexContainerType | MultiIndexContainerType |
typedef TrackType::PointsMapConstIterator | PointsMapConstIterator |
typedef TrackType::PointsMapIterator | PointsMapIterator |
typedef TrackType::PointsMapType | PointsMapType |
typedef TraceContainerBase < boost::MultiIndexTrackContainer > | Superclass |
typedef Superclass::MultiIndexContainerElementType | TrackType |
![]() | |
typedef MultiIndexContainerType::template index< CollectionID > ::type::iterator | MultiIndexContainerCollectionIDIterator |
typedef MultiIndexContainerType::value_type | MultiIndexContainerElementType |
typedef MultiIndexContainerType::template index< Highlighted > ::type::iterator | MultiIndexContainerHighlightedIterator |
typedef MultiIndexContainerType::template index< TraceID > ::type::iterator | MultiIndexContainerTraceIDIterator |
typedef boost::MultiIndexTrackContainer | MultiIndexContainerType |
typedef MultiIndexContainerType::template index< Visible > ::type::iterator | MultiIndexContainerVisibleIterator |
Public Slots | |
void | AddVolume (const unsigned int &iTrackID, const double &iVolume) |
void | ChangeColorCode (const QString &iColorCode) |
Color code the track by an array. More... | |
void | ChangeDivisionsColorCode (const QString &iColorCode) |
Color code the lineage by an array. More... | |
void | DeleteADivision (const unsigned int &iMotherID) |
void | DeleteCollection (unsigned int) |
void | HighlightCollection (const unsigned int &iRootTrackID, const bool &iHighlighted) |
int | ModifyDivisionHighlight (MultiIndexContainerTraceIDIterator &it, const bool &iHighlight) |
int | ModifyDivisionVisibility (MultiIndexContainerTraceIDIterator &it, const bool &iVisibility) |
void | ShowCollection (const unsigned int &, const bool &) |
void | UpdateCollectionDelete (MultiIndexContainerTraceIDIterator &it) |
void | UpdateCollectionHighlighted (MultiIndexContainerTraceIDIterator &it, const bool &iHighlighted) |
void | UpdateCollectionVisibility (MultiIndexContainerTraceIDIterator &it, const bool &iVisibility) |
virtual void | UpdateElementHighlightingWithGivenTraceIDs (const QStringList &iList, const Qt::CheckState &iCheck) |
Change elements highlighting property given a list of TraceIDs and the new status. More... | |
virtual void | UpdateElementVisibilityWithGivenTraceIDs (const QStringList &iList, const Qt::CheckState &iCheck) |
Change elements visibility property given a list of TraceIDs and the new status. More... | |
void | UpdateTracksRepresentation (const double &iRadius, const double &iRadius2, const double &iWidth) |
Signals | |
void | NeedMeshesInfoForImportedTrack (unsigned int) |
When we want to import meshes into a track. More... | |
void | TracePicked (unsigned int, Qt::CheckState) |
When one track has been picked (highlighted) from the visualization. More... | |
void | TraceVisibilityChanged (unsigned int, Qt::CheckState) |
When one track's visibility has been changed from the visualization. More... | |
void | UpdateLineageHighlightingFromTrackRootID (unsigned int) |
Public Member Functions | |
void | AddDivision (const unsigned int &iMotherID, const unsigned int &iDaughter1ID, const unsigned int &iDaughter2ID, const bool &iVisible=true) |
std::vector< vtkActor * > | CreateDivisionActor (vtkPolyData *iPolyData, const bool &iVisible=true) |
void | CreateDivisionPolydata (const unsigned int &iMother) |
void | CreateTrackActors (TrackStructure &iStructure) |
Create new actors for the current polydata and update and visualize the current actors. More... | |
std::list< unsigned int > | DeleteAllHighlightedElements () |
Delete all highlighted elements. More... | |
bool | DeleteElement (const unsigned int &iId) |
Remove the element which TraceId = iId. More... | |
bool | DeleteElement (MultiIndexContainerTraceIDIterator iIter) |
vtkMutableDirectedGraph * | ExportLineage (const unsigned int &iTrackID) |
double * | GetBorderOfTheTrack (const unsigned int &iTrackID, const BorderType &iBorder) |
unsigned int | GetCollectionMaxDepth (const unsigned int &iTrackRootID) |
unsigned int | GetCollectionMinDepth (const unsigned int &iTrackRootID) |
unsigned int | GetCollectionNumberOfDivisions (const unsigned int &iTrackRootID) |
unsigned int | GetCollectionNumberOfLeaves (const unsigned int &iTrackRootID) |
GoFigureLineageAttributes | GetLineageAttributes (unsigned int iTrackRootID) |
void | GetRootIterator (MultiIndexContainerTraceIDIterator &iMotherIterator) |
std::list< unsigned int > | GetSubLineage (const unsigned int &iTrackID) |
int | getTimeInterval () |
void | ImportTrackInCurrentElement (std::map< unsigned int, double * > &iMeshes) |
Update the current element map then polydata. More... | |
void | MergeTrack (const unsigned int &iId1, const unsigned int &iId2) |
void | RenderAllDivisionsWithOriginalColors () |
void | SetCollectionColorCode (const std::string &iColumnName, const std::map< unsigned int, std::string > &iValues) |
void | SetDivisionRandomColor (const std::string &iColumnName, const std::map< unsigned int, std::string > &iValues) |
void | SetListOfDivisions (std::list< unsigned int > &iListOfDivisions) |
void | SetLookupTableForAllDivisionsColorCoding (const vtkLookupTable *iLut) |
void | SetScalarRangeForAllDivisions (const double &iMin, const double &iMax) |
void | setTimeInterval (const int &iTimeInterval) |
TrackContainer (QObject *iParent, QGoImageView3D *iView) | |
Constructor. More... | |
void | UpdateCollectionColors (const unsigned int &iTrackID, const double *color) |
void | UpdateCollectionColorsData (const unsigned int &iTrackID, const double *color) |
void | UpdateCollectionHighlighting (const unsigned int &iTraceId) |
void | UpdateCollectionMaxDepth (MultiIndexContainerTraceIDIterator &it, const unsigned int &iDivisionDepth, unsigned int &iLineageDepth) |
void | UpdateCollectionMinDepth (MultiIndexContainerTraceIDIterator &it, const unsigned int &iDivisionDepth, unsigned int &iLineageDepth) |
void | UpdateCollectionNumberOfDivisions (MultiIndexContainerTraceIDIterator &it, unsigned int &iNumberOfDivisions) |
void | UpdateCollectionNumberOfLeaves (MultiIndexContainerTraceIDIterator &it, unsigned int &iNumberOfLeaves) |
GoFigureLineageAttributes | UpdateCollectionScalars (const unsigned int &iTrackID) |
void | UpdateDivisionColor (MultiIndexContainerTraceIDIterator &iMotherIterator, const double *iColor) |
void | UpdateDivisionColorData (MultiIndexContainerTraceIDIterator &iMotherIterator, const double *iColor) |
void | UpdateDivisionScalar (MultiIndexContainerTraceIDIterator &iMotherIterator, const unsigned int &iDepth) |
void | UpdateDivisionScalarData (MultiIndexContainerTraceIDIterator &it, const std::string &iColumnName, const double &iValue, double &iMin, double &iMax) |
GoFigureLineageAttributes | UpdateDivisionsForALineage (unsigned int iTrackIDRoot, double *color) |
update the color and the divisions scalars of an all lineage which has iTrackIDRoot as track root More... | |
void | UpdateElementHighlighting (const unsigned int &TraceId) |
Update highlighting property of one element given one actor. More... | |
void | UpdateElementVisibility (const unsigned int &iTraceID, const bool &iState) |
Update highlighting property of one element given one actor. More... | |
void | UpdateLineage (MultiIndexContainerTraceIDIterator &it, vtkMutableDirectedGraph *iGraph, unsigned int iPedrigree, vtkIdType mother, unsigned int iDepth, vtkDoubleArray *iDepthArray, vtkDoubleArray *iIDArray) |
TrackStructure * | UpdatePointsForATrack (const unsigned int &iTrackID, std::list< double * > &iListCenterBoundingBoxes) |
get the element with iTrackID into the current element, remove it from the container, recalculate the points from the iListCenterBoundingBox and emit a signal for the current element to be saved into the database More... | |
void | UpdateSubLineage (MultiIndexContainerTraceIDIterator it, std::list< unsigned int > &iList) |
void | UpdateTrackActors (TrackStructure &iStructure) |
template<class TList > | |
void | UpdateTracksStrings (const TList &iTrackList) |
Update the points strings of the tracks for each element of the list { 1 -Add trackID to current element 2- Remove old element 3- Get corresponding meshes centers 4- convert coordinates 5- fill map 6- generate new polydata 7- emit signal (to save in DB + insert element) 8- update the visu }. More... | |
bool | UpdateTrackStructurePolyData (const TrackStructure &iTrackStructure) |
Update the TrackStructure polydata according to the current map. More... | |
virtual | ~TrackContainer () |
Destructor. More... | |
![]() | |
std::vector< vtkActor * > | GetActorGivenTraceID (unsigned int iTraceID) |
unsigned int | GetCollectionIDOfGivenTraceID (unsigned int iTraceID) |
Get the CollectionID given a TraceID. More... | |
double * | GetCurrentElementColor () |
Get the color of the current element track. More... | |
vtkPolyData * | GetCurrentElementNodes () |
Get the polydata representing the current element track. More... | |
std::list< vtkPolyData * > | GetHighlightedElements () |
Get all highlighted elements by pair<ID, Polydata>. More... | |
std::list< unsigned int > | GetHighlightedElementsCollectionID () |
std::list< unsigned int > | GetHighlightedElementsTraceID () |
Get the list of highlighted elements TraceID. More... | |
vtkProperty * | GetHighlightedProperty () |
Get property for highlighted traces. More... | |
void | Insert (const MultiIndexContainerElementType &iE) |
Insert one element in the container. More... | |
void | InsertCurrentElement () |
Insert Current Element in the container. More... | |
void | Print (TIterator iBegin, TIterator iEnd) |
Print the container content in the application output. More... | |
void | Print () |
Print the container content in the application output according to the template parameter. More... | |
void | Print () |
Print the container content in the application output. More... | |
bool | RemoveElementFromVisualizationWithGivenTraceID (const unsigned int &iId) |
Remove element from visualization. More... | |
void | ResetCurrentElement () |
Reset Current Element to a default state. More... | |
void | SetColorCode (const std::string &iColumnName, const std::map< unsigned int, std::string > &iValues) |
Color code contour / mesh according to values provided. More... | |
void | SetColorCode (const std::string &iColumnName, const std::map< unsigned int, TValue > &iValues) |
Color code contour / mesh according to values provided. More... | |
void | SetHighlightedProperty (vtkProperty *iProperty) |
Set property whenever the trace is highlighted. More... | |
void | SetIntersectionLineWidth (const float &iWidth) |
void | SetLookupTableForColorCoding (vtkLookupTable *iLut) |
Apply the given lookup table to all traces in the container. More... | |
void | SetRandomColor (const std::string &iColumnName, const std::map< unsigned int, unsigned int > &iIds) |
void | SetRandomColor (const std::string &iColumnName, const std::map< unsigned int, std::string > &iValues) |
TraceContainerBase (QObject *iParent, QGoImageView3D *iView) | |
Constructor. More... | |
std::list< unsigned int > | UpdateAllHighlightedElementsWithGivenColor (QColor iColor) |
Update all highlighted elements in the container with a given color. More... | |
void | UpdateCurrentElementCollection (unsigned int iCollectionID) |
void | UpdateCurrentElementFromDB (unsigned int iTraceID, double irgba[4], bool IsVisible=false) |
Update Current Element from te database. More... | |
bool | UpdateCurrentElementFromExistingOne (unsigned int iTraceID, bool iErase=true) |
put the information of the existing element into m_CurrentElement and remove the existing element from the container,the visu and the memory More... | |
bool | UpdateCurrentElementFromExistingOne (typename MultiIndexContainerType::template index< TIndex >::type::iterator iIt) |
bool | UpdateElementHighlightingWithGivenTraceID (const unsigned int &iId) |
Update element highlighting given it TraceId. More... | |
bool | UpdateElementVisibilityWithGivenTraceID (const unsigned int &iId) |
Update element visibility given it TraceId. More... | |
void | UpdateVisualizationForGivenElement (typename MultiIndexContainerType::template index< TIndex >::type::iterator &iIt, std::vector< vtkActor * > iActors, const bool &iHighlighted, const bool &iVisible) |
Update Actors, Highlighted, Visibility (properties) of given a element. More... | |
void | UpdateVisualizationForGivenIDs (TList iList) |
Update Visualization of the given TraceIDs. More... | |
virtual | ~TraceContainerBase () |
Destructor. More... | |
![]() | |
bool | blockSignals (bool block) |
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
const QObjectList & | children () const |
const char * | className () const |
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const QObject *receiver, const char *method) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) const |
QList< T > | findChildren (const QString &name) const |
bool | inherits (const char *className) const |
void | insertChild (QObject *object) |
void | installEventFilter (QObject *filterObj) |
bool | isA (const char *className) const |
bool | isWidgetType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () const |
QVariant | property (const char *name) const |
QObject (QObject *parent) | |
QObject (QObject *parent, const char *name) | |
void | removeChild (QObject *object) |
void | removeEventFilter (QObject *obj) |
void | setName (const char *name) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval) |
QThread * | thread () const |
virtual | ~QObject () |
Protected Member Functions | |
void | ComputeSpeed () |
void | RecomputeMap (TrackStructure *iStructure, std::list< double * > &iPoints) |
Recompute a polydata from a list of point (coordinates) for the current element. If the current element is a new track, then the polydata, actors are allocated and added in consequence. More... | |
double * | setDivisionNodeScalars (const QString &iArrayName) |
Changes the divisions scalars to be displayed and return the new range. More... | |
double * | setTrackNodeScalars (const QString &iArrayName) |
Changes the scalars to be displayed and return the new range. More... | |
![]() | |
void | RenderAllElementsWithOriginalColors () |
Render with original colors. More... | |
void | SetScalarRangeForAllElements (const double &iMin, const double &iMax) |
Set the scalar range. More... | |
void | UpdateCurrentElementFromVisuBase (std::vector< vtkActor * > &iActors, vtkPolyData *iNodes, const bool &iHighlighted, const bool &iVisible) |
virtual void | UpdateElementHighlightingWithGivenTraceIDsBase (const QStringList &iList, const Qt::CheckState &iCheck) |
Change elements highlighting property given a list of TraceIDs and the new status. More... | |
void | UpdateElementHighlightingWithTraceID (const unsigned int &oTraceId, Qt::CheckState &oState) |
Update highlighting property of one element given one actor. More... | |
virtual void | UpdateElementVisibilityWithGivenTraceIDsBase (const QStringList &iList, const Qt::CheckState &iCheck) |
Change elements visibility property given a list of TraceIDs and the new status. More... | |
void | UpdateElementVisibilityWithTraceID (const unsigned int &oTraceId, const bool &iState) |
![]() | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Private Member Functions | |
Q_DISABLE_COPY (TrackContainer) | |
Private Attributes | |
QString | m_ActiveDivisionScalars |
QString | m_ActiveTrackScalars |
int | m_TimeInterval |
Additional Inherited Members | |
![]() | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
![]() | |
MultiIndexContainerType | m_Container |
Trace Contaienr. More... | |
MultiIndexContainerElementType | m_CurrentElement |
Current Element of the trace type. More... | |
QGoImageView3D * | m_ImageView |
Link to the visualization. More... | |
![]() | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
![]() | |
vtkProperty * | m_HighlightedProperty |
float | m_IntersectionLineWidth |
![]() | |
objectName | |
Wraps a boost multi index container of TrackStructure. This class intends to synchronize Track representation in the Visualization and in the TableWidget.
Definition at line 245 of file TrackContainer.h.
Definition at line 253 of file TrackContainer.h.
typedef TrackType::PointsMapConstIterator TrackContainer::PointsMapConstIterator |
Definition at line 258 of file TrackContainer.h.
typedef TrackType::PointsMapIterator TrackContainer::PointsMapIterator |
Definition at line 257 of file TrackContainer.h.
typedef TrackType::PointsMapType TrackContainer::PointsMapType |
Definition at line 256 of file TrackContainer.h.
Definition at line 251 of file TrackContainer.h.
Definition at line 254 of file TrackContainer.h.
Enumerator | |
---|---|
FIRST | |
LAST |
Definition at line 440 of file TrackContainer.h.
|
explicit |
Constructor.
Definition at line 66 of file TrackContainer.cxx.
|
virtual |
Destructor.
Definition at line 78 of file TrackContainer.cxx.
void TrackContainer::AddDivision | ( | const unsigned int & | iMotherID, |
const unsigned int & | iDaughter1ID, | ||
const unsigned int & | iDaughter2ID, | ||
const bool & | iVisible = true |
||
) |
Definition at line 799 of file TrackContainer.cxx.
|
slot |
Definition at line 2022 of file TrackContainer.cxx.
|
slot |
Color code the track by an array.
[in] | iColorCode | name of the active array |
Definition at line 476 of file TrackContainer.cxx.
|
slot |
Color code the lineage by an array.
[in] | iColorCode | name of the active array |
Definition at line 509 of file TrackContainer.cxx.
|
protected |
std::vector< vtkActor * > TrackContainer::CreateDivisionActor | ( | vtkPolyData * | iPolyData, |
const bool & | iVisible = true |
||
) |
Definition at line 954 of file TrackContainer.cxx.
void TrackContainer::CreateDivisionPolydata | ( | const unsigned int & | iMother | ) |
Definition at line 866 of file TrackContainer.cxx.
void TrackContainer::CreateTrackActors | ( | TrackStructure & | iStructure | ) |
Create new actors for the current polydata and update and visualize the current actors.
[in] | iStructure | Structure to be updated |
Definition at line 296 of file TrackContainer.cxx.
|
slot |
Definition at line 1193 of file TrackContainer.cxx.
|
virtual |
Delete all highlighted elements.
Implements TraceContainerBase< boost::MultiIndexTrackContainer >.
Definition at line 142 of file TrackContainer.cxx.
|
slot |
Definition at line 1060 of file TrackContainer.cxx.
|
virtual |
Remove the element which TraceId = iId.
[in] | iId | TraceID of the element to be deleted |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Implements TraceContainerBase< boost::MultiIndexTrackContainer >.
Definition at line 94 of file TrackContainer.cxx.
|
virtual |
Implements TraceContainerBase< boost::MultiIndexTrackContainer >.
Definition at line 107 of file TrackContainer.cxx.
vtkMutableDirectedGraph * TrackContainer::ExportLineage | ( | const unsigned int & | iTrackID | ) |
Definition at line 1705 of file TrackContainer.cxx.
double * TrackContainer::GetBorderOfTheTrack | ( | const unsigned int & | iTrackID, |
const BorderType & | iBorder | ||
) |
Definition at line 740 of file TrackContainer.cxx.
unsigned int TrackContainer::GetCollectionMaxDepth | ( | const unsigned int & | iTrackRootID | ) |
Definition at line 1479 of file TrackContainer.cxx.
unsigned int TrackContainer::GetCollectionMinDepth | ( | const unsigned int & | iTrackRootID | ) |
Definition at line 1533 of file TrackContainer.cxx.
unsigned int TrackContainer::GetCollectionNumberOfDivisions | ( | const unsigned int & | iTrackRootID | ) |
Definition at line 1588 of file TrackContainer.cxx.
unsigned int TrackContainer::GetCollectionNumberOfLeaves | ( | const unsigned int & | iTrackRootID | ) |
Definition at line 1638 of file TrackContainer.cxx.
GoFigureLineageAttributes TrackContainer::GetLineageAttributes | ( | unsigned int | iTrackRootID | ) |
Definition at line 1660 of file TrackContainer.cxx.
void TrackContainer::GetRootIterator | ( | MultiIndexContainerTraceIDIterator & | iMotherIterator | ) |
Definition at line 1297 of file TrackContainer.cxx.
std::list< unsigned int > TrackContainer::GetSubLineage | ( | const unsigned int & | iTrackID | ) |
Definition at line 1228 of file TrackContainer.cxx.
int TrackContainer::getTimeInterval | ( | ) |
Definition at line 690 of file TrackContainer.cxx.
|
slot |
Definition at line 998 of file TrackContainer.cxx.
void TrackContainer::ImportTrackInCurrentElement | ( | std::map< unsigned int, double * > & | iMeshes | ) |
Update the current element map then polydata.
[in] | iMeshes | meshes to be added in the map |
Definition at line 270 of file TrackContainer.cxx.
void TrackContainer::MergeTrack | ( | const unsigned int & | iId1, |
const unsigned int & | iId2 | ||
) |
|
slot |
Definition at line 1164 of file TrackContainer.cxx.
|
slot |
Definition at line 1134 of file TrackContainer.cxx.
|
signal |
When we want to import meshes into a track.
|
private |
|
protected |
Recompute a polydata from a list of point (coordinates) for the current element. If the current element is a new track, then the polydata, actors are allocated and added in consequence.
[in] | iPoints | list of points to generate the new polydata |
Definition at line 404 of file TrackContainer.cxx.
void TrackContainer::RenderAllDivisionsWithOriginalColors | ( | ) |
Definition at line 583 of file TrackContainer.cxx.
void TrackContainer::SetCollectionColorCode | ( | const std::string & | iColumnName, |
const std::map< unsigned int, std::string > & | iValues | ||
) |
Definition at line 1785 of file TrackContainer.cxx.
|
protected |
Changes the divisions scalars to be displayed and return the new range.
[in] | iArrayName | Array to be displayed |
Definition at line 641 of file TrackContainer.cxx.
void TrackContainer::SetDivisionRandomColor | ( | const std::string & | iColumnName, |
const std::map< unsigned int, std::string > & | iValues | ||
) |
Definition at line 1916 of file TrackContainer.cxx.
void TrackContainer::SetListOfDivisions | ( | std::list< unsigned int > & | iListOfDivisions | ) |
Definition at line 776 of file TrackContainer.cxx.
void TrackContainer::SetLookupTableForAllDivisionsColorCoding | ( | const vtkLookupTable * | iLut | ) |
Definition at line 564 of file TrackContainer.cxx.
void TrackContainer::SetScalarRangeForAllDivisions | ( | const double & | iMin, |
const double & | iMax | ||
) |
Definition at line 545 of file TrackContainer.cxx.
void TrackContainer::setTimeInterval | ( | const int & | iTimeInterval | ) |
Definition at line 680 of file TrackContainer.cxx.
|
protected |
Changes the scalars to be displayed and return the new range.
[in] | iArrayName | Array to be displayed |
Definition at line 603 of file TrackContainer.cxx.
|
slot |
Definition at line 1015 of file TrackContainer.cxx.
|
signal |
When one track has been picked (highlighted) from the visualization.
|
signal |
When one track's visibility has been changed from the visualization.
void TrackContainer::UpdateCollectionColors | ( | const unsigned int & | iTrackID, |
const double * | color | ||
) |
Definition at line 1388 of file TrackContainer.cxx.
void TrackContainer::UpdateCollectionColorsData | ( | const unsigned int & | iTrackID, |
const double * | color | ||
) |
Definition at line 1434 of file TrackContainer.cxx.
|
slot |
Definition at line 1077 of file TrackContainer.cxx.
|
slot |
Definition at line 1105 of file TrackContainer.cxx.
void TrackContainer::UpdateCollectionHighlighting | ( | const unsigned int & | iTraceId | ) |
Definition at line 1273 of file TrackContainer.cxx.
void TrackContainer::UpdateCollectionMaxDepth | ( | MultiIndexContainerTraceIDIterator & | it, |
const unsigned int & | iDivisionDepth, | ||
unsigned int & | iLineageDepth | ||
) |
Definition at line 1501 of file TrackContainer.cxx.
void TrackContainer::UpdateCollectionMinDepth | ( | MultiIndexContainerTraceIDIterator & | it, |
const unsigned int & | iDivisionDepth, | ||
unsigned int & | iLineageDepth | ||
) |
Definition at line 1555 of file TrackContainer.cxx.
void TrackContainer::UpdateCollectionNumberOfDivisions | ( | MultiIndexContainerTraceIDIterator & | it, |
unsigned int & | iNumberOfDivisions | ||
) |
Definition at line 1610 of file TrackContainer.cxx.
void TrackContainer::UpdateCollectionNumberOfLeaves | ( | MultiIndexContainerTraceIDIterator & | it, |
unsigned int & | iNumberOfLeaves | ||
) |
Definition at line 1677 of file TrackContainer.cxx.
GoFigureLineageAttributes TrackContainer::UpdateCollectionScalars | ( | const unsigned int & | iTrackID | ) |
Definition at line 1333 of file TrackContainer.cxx.
|
slot |
Definition at line 1032 of file TrackContainer.cxx.
void TrackContainer::UpdateDivisionColor | ( | MultiIndexContainerTraceIDIterator & | iMotherIterator, |
const double * | iColor | ||
) |
Definition at line 1405 of file TrackContainer.cxx.
void TrackContainer::UpdateDivisionColorData | ( | MultiIndexContainerTraceIDIterator & | iMotherIterator, |
const double * | iColor | ||
) |
Definition at line 1451 of file TrackContainer.cxx.
void TrackContainer::UpdateDivisionScalar | ( | MultiIndexContainerTraceIDIterator & | iMotherIterator, |
const unsigned int & | iDepth | ||
) |
Definition at line 1351 of file TrackContainer.cxx.
void TrackContainer::UpdateDivisionScalarData | ( | MultiIndexContainerTraceIDIterator & | it, |
const std::string & | iColumnName, | ||
const double & | iValue, | ||
double & | iMin, | ||
double & | iMax | ||
) |
Definition at line 1877 of file TrackContainer.cxx.
GoFigureLineageAttributes TrackContainer::UpdateDivisionsForALineage | ( | unsigned int | iTrackIDRoot, |
double * | color | ||
) |
update the color and the divisions scalars of an all lineage which has iTrackIDRoot as track root
Definition at line 1313 of file TrackContainer.cxx.
|
inline |
Update highlighting property of one element given one actor.
[in] | iActor | Actor of the element to be modified |
Definition at line 373 of file TrackContainer.h.
|
virtualslot |
Change elements highlighting property given a list of TraceIDs and the new status.
[in] | iList | list of TraceIDs |
[in] | iCheck |
Definition at line 453 of file TrackContainer.cxx.
|
inline |
Update highlighting property of one element given one actor.
[in] | iActor | Actor of the element to be modified |
Definition at line 404 of file TrackContainer.h.
|
virtualslot |
Change elements visibility property given a list of TraceIDs and the new status.
[in] | iList | list of TraceIDs |
[in] | iCheck |
Definition at line 466 of file TrackContainer.cxx.
void TrackContainer::UpdateLineage | ( | MultiIndexContainerTraceIDIterator & | it, |
vtkMutableDirectedGraph * | iGraph, | ||
unsigned int | iPedrigree, | ||
vtkIdType | mother, | ||
unsigned int | iDepth, | ||
vtkDoubleArray * | iDepthArray, | ||
vtkDoubleArray * | iIDArray | ||
) |
Definition at line 1747 of file TrackContainer.cxx.
|
signal |
TrackStructure * TrackContainer::UpdatePointsForATrack | ( | const unsigned int & | iTrackID, |
std::list< double * > & | iListCenterBoundingBoxes | ||
) |
get the element with iTrackID into the current element, remove it from the container, recalculate the points from the iListCenterBoundingBox and emit a signal for the current element to be saved into the database
[in] | iTrackID | ID for the track to be updated |
[in] | iListCenterBoundingBoxes | list of the center of the bounding boxes for the meshes belonging to this track |
Definition at line 350 of file TrackContainer.cxx.
void TrackContainer::UpdateSubLineage | ( | MultiIndexContainerTraceIDIterator | it, |
std::list< unsigned int > & | iList | ||
) |
Definition at line 1248 of file TrackContainer.cxx.
void TrackContainer::UpdateTrackActors | ( | TrackStructure & | iStructure | ) |
Definition at line 334 of file TrackContainer.cxx.
|
slot |
Definition at line 700 of file TrackContainer.cxx.
|
inline |
Update the points strings of the tracks for each element of the list { 1 -Add trackID to current element 2- Remove old element 3- Get corresponding meshes centers 4- convert coordinates 5- fill map 6- generate new polydata 7- emit signal (to save in DB + insert element) 8- update the visu }.
[in] | iTrackList | List containing IDs of the track of interest |
Definition at line 317 of file TrackContainer.h.
bool TrackContainer::UpdateTrackStructurePolyData | ( | const TrackStructure & | iTrackStructure | ) |
Update the TrackStructure polydata according to the current map.
[in] | iTrackStructure | Structure to be updated |
Definition at line 191 of file TrackContainer.cxx.
|
private |
Definition at line 848 of file TrackContainer.h.
|
private |
Definition at line 847 of file TrackContainer.h.
|
private |
Definition at line 846 of file TrackContainer.h.