35 #ifndef __TrackStructure_h
36 #define __TrackStructure_h
39 #include "QGoIOConfigure.h"
48 #ifndef DOXYGEN_SHOULD_SKIP_THIS
100 bool InsertElement(
const unsigned int& iTime,
double* iPoint);
108 bool DeleteElement(
const unsigned int& iTime);
113 friend std::ostream &
operator<<
116 os <<
"TraceID " << c.TraceID << std::endl;
117 os <<
"ActorXY " << c.ActorXY << std::endl;
118 os <<
"ActorXZ " << c.ActorXZ << std::endl;
119 os <<
"ActorYZ " << c.ActorYZ << std::endl;
120 os <<
"ActorXYZ " << c.ActorXYZ << std::endl;
121 os <<
"Nodes " << c.Nodes << std::endl;
122 os <<
"Average Volume " << c.m_AverageVolume << std::endl;
123 os <<
"Map " << std::endl;
125 std::map< unsigned int, double*>::const_iterator end = c.PointsMap.end();
126 std::map< unsigned int, double*>::const_iterator it = c.PointsMap.begin();
130 os <<
"Time: " << it->first << std::endl;
131 os <<
" Coordinate X: " << (it->second)[0] << std::endl;
132 os <<
" Coordinate Y: " << (it->second)[1] << std::endl;
133 os <<
" Coordinate Z: " << (it->second)[2] << std::endl;
137 os <<
"Highlighted " << c.Highlighted << std::endl;
138 os <<
"Visible " << c.Visible << std::endl;
139 os <<
"RGBA [" << c.rgba[0] <<
", " << c.rgba[1] <<
", " << c.rgba[2]
140 <<
", " << c.rgba[3] <<
"]" << std::endl;
145 void UpdateLineWidth(
const double& iWidth )
const;
147 void UpdateTracksRepresentation(
const double& iRadius,
148 const double& iRadius2 )
const;
152 void ModifyDivisionVisibility(
const bool& iVisibility );
153 void ModifyDivisionHighlight( vtkProperty* iProperty,
154 const bool& iHighlight );
156 void ModifyDivisionColorData(
const double* iColor );
158 void ModifyDivisionColorActor(
const double* iColor );
160 void AddDivisionArray( vtkIntArray* iArray );
162 void CreateDivisionNode( vtkPolyData* iNode);
164 const bool IsRoot()
const;
165 const bool IsLeaf()
const;
169 void AddVolume(
const double& iVolume);
virtual void ReleaseData() const
PointsMapType::const_iterator PointsMapConstIterator
TreeNodeStructure< Self > TreeNode
Structure which represent a track, and used for interaction between Visualization and TableWidget...
Structure which represent a tree node.
PointsMapType::iterator PointsMapIterator
std::map< unsigned int, double * > PointsMapType
Structure which represent a trace (contour, mesh, track, lineage), and used for interaction between V...