GOFIGURE2
0.9.0
|
Structure which represent a track, and used for interaction between Visualization and TableWidget. More...
#include <Code/IO/TrackStructure.h>
Public Types | |
typedef PointsMapType::const_iterator | PointsMapConstIterator |
typedef PointsMapType::iterator | PointsMapIterator |
typedef std::map< unsigned int, double * > | PointsMapType |
typedef TrackStructure | Self |
Public Member Functions | |
void | AddDivisionArray (vtkIntArray *iArray) |
void | AddVolume (const double &iVolume) |
GoFigureTrackAttributes | ComputeAttributes () const |
void | CreateDivisionNode (vtkPolyData *iNode) |
bool | DeleteElement (const unsigned int &iTime) |
Delete the point at the current time point. More... | |
bool | InsertElement (const unsigned int &iTime, double *iPoint) |
Insert a point at the current time point. More... | |
const bool | IsLeaf () const |
const bool | IsRoot () const |
void | ModifyDivisionColorActor (const double *iColor) |
void | ModifyDivisionColorData (const double *iColor) |
void | ModifyDivisionHighlight (vtkProperty *iProperty, const bool &iHighlight) |
void | ModifyDivisionVisibility (const bool &iVisibility) |
void | ReleaseData () const |
TrackStructure () | |
TrackStructure (const TrackStructure &iE) | |
void | UpdateLineWidth (const double &iWidth) const |
void | UpdateTracksRepresentation (const double &iRadius, const double &iRadius2) const |
~TrackStructure () | |
![]() | |
void | RenderWithOriginalColors () const |
Render with original colors (Remove the active scalars data). More... | |
void | ResetNodes () const |
void | SetActorProperties (vtkProperty *iProperty) const |
Set Property for all actors. More... | |
void | SetActorVisibility (const bool &iVisible) const |
Set Visibility for all actors. More... | |
void | SetLookupTable (const vtkLookupTable *iLut) const |
Set the lookup table. More... | |
void | SetScalarData (const std::string &iName, const double &iValue) const |
Set Scalar Data associated to the elements (use for color coding) More... | |
void | SetScalarRange (const double &iMin, const double &iMax) const |
Set the scalar range (use for color coding) More... | |
TraceStructure () | |
TraceStructure (const unsigned int &iTraceID, const unsigned int &iCollectionID, std::vector< vtkActor * > iActors, vtkPolyData *iNodes, const bool &iHighlighted, const bool &iVisible, const double &r, const double &g, const double &b, const double &alpha) | |
TraceStructure (const unsigned int &iTraceID, const unsigned int &iCollectionID, std::vector< vtkActor * > iActors, vtkPolyData *iNodes, const bool &iHighlighted, const bool &iVisible, double iRgba[4]) | |
TraceStructure (const unsigned int &iTraceID, const unsigned int &iCollectionID, vtkActor *iActorXY, vtkActor *iActorYZ, vtkActor *iActorXZ, vtkActor *iActorXYZ, vtkPolyData *iNodes, const bool &iHighlighted, const bool &iVisible, const double &r, const double &g, const double &b, const double &alpha) | |
TraceStructure (const TraceStructure &iE) | |
virtual | ~TraceStructure () |
Public Attributes | |
double | m_AverageVolume |
PointsMapType | PointsMap |
TreeNodeStructure< Self > | TreeNode |
![]() | |
vtkActor * | ActorXY |
vtkActor * | ActorXYZ |
vtkActor * | ActorXZ |
vtkActor * | ActorYZ |
unsigned int | CollectionID |
bool | Highlighted |
vtkPolyData * | Nodes |
double | rgba [4] |
unsigned int | TraceID |
bool | Visible |
Friends | |
std::ostream & | operator<< (std::ostream &os, const TrackStructure &c) |
Structure which represent a track, and used for interaction between Visualization and TableWidget.
Definition at line 65 of file TrackStructure.h.
typedef PointsMapType::const_iterator TrackStructure::PointsMapConstIterator |
Definition at line 79 of file TrackStructure.h.
typedef PointsMapType::iterator TrackStructure::PointsMapIterator |
Definition at line 78 of file TrackStructure.h.
typedef std::map< unsigned int, double* > TrackStructure::PointsMapType |
Map containing all the polydata points ordered by time
Definition at line 77 of file TrackStructure.h.
typedef TrackStructure TrackStructure::Self |
Definition at line 69 of file TrackStructure.h.
TrackStructure::TrackStructure | ( | ) |
Default Constructor
Definition at line 53 of file TrackStructure.cxx.
TrackStructure::TrackStructure | ( | const TrackStructure & | iE | ) |
Constructor by copy
Definition at line 60 of file TrackStructure.cxx.
TrackStructure::~TrackStructure | ( | ) |
Destructor
Definition at line 70 of file TrackStructure.cxx.
void TrackStructure::AddDivisionArray | ( | vtkIntArray * | iArray | ) |
Definition at line 363 of file TrackStructure.cxx.
void TrackStructure::AddVolume | ( | const double & | iVolume | ) |
Definition at line 409 of file TrackStructure.cxx.
GoFigureTrackAttributes TrackStructure::ComputeAttributes | ( | ) | const |
Definition at line 225 of file TrackStructure.cxx.
void TrackStructure::CreateDivisionNode | ( | vtkPolyData * | iNode | ) |
Definition at line 378 of file TrackStructure.cxx.
bool TrackStructure::DeleteElement | ( | const unsigned int & | iTime | ) |
Delete the point at the current time point.
[in] | iTime | time point where we want to delete the mesh |
Definition at line 92 of file TrackStructure.cxx.
bool TrackStructure::InsertElement | ( | const unsigned int & | iTime, |
double * | iPoint | ||
) |
Insert a point at the current time point.
[in] | iTime | time point where we want to insert the point |
[in] | iPoint | new point to be inserted |
Definition at line 78 of file TrackStructure.cxx.
const bool TrackStructure::IsLeaf | ( | ) | const |
Definition at line 400 of file TrackStructure.cxx.
const bool TrackStructure::IsRoot | ( | ) | const |
Definition at line 391 of file TrackStructure.cxx.
void TrackStructure::ModifyDivisionColorActor | ( | const double * | iColor | ) |
Definition at line 339 of file TrackStructure.cxx.
void TrackStructure::ModifyDivisionColorData | ( | const double * | iColor | ) |
Definition at line 327 of file TrackStructure.cxx.
void TrackStructure::ModifyDivisionHighlight | ( | vtkProperty * | iProperty, |
const bool & | iHighlight | ||
) |
Definition at line 317 of file TrackStructure.cxx.
void TrackStructure::ModifyDivisionVisibility | ( | const bool & | iVisibility | ) |
Definition at line 304 of file TrackStructure.cxx.
|
virtual |
Reimplemented from TraceStructure.
Definition at line 115 of file TrackStructure.cxx.
void TrackStructure::UpdateLineWidth | ( | const double & | iWidth | ) | const |
Definition at line 136 of file TrackStructure.cxx.
void TrackStructure::UpdateTracksRepresentation | ( | const double & | iRadius, |
const double & | iRadius2 | ||
) | const |
Definition at line 180 of file TrackStructure.cxx.
|
friend |
Printing one element. std::cout << element << std::endl;
Definition at line 114 of file TrackStructure.h.
double TrackStructure::m_AverageVolume |
Definition at line 172 of file TrackStructure.h.
PointsMapType TrackStructure::PointsMap |
Definition at line 81 of file TrackStructure.h.
TreeNodeStructure<Self> TrackStructure::TreeNode |
Definition at line 72 of file TrackStructure.h.