38 #include "vtkPolyData.h"
39 #include "vtkProperty.h"
41 #include "vtkMapper.h"
42 #include "vtkDoubleArray.h"
43 #include "vtkPointData.h"
44 #include "vtkLookupTable.h"
56 const unsigned int & iCollectionID,
57 std::vector< vtkActor * > iActors,
59 const unsigned int & iT,
60 const bool & iHighlighted,
61 const bool & iVisible,
65 const double & alpha) :
66 TraceStructure(iTraceID, iCollectionID, iActors, iNodes, iHighlighted,
67 iVisible, r, g, b, alpha),
70 if ( iActors.size() == 4 )
79 std::cerr <<
"iActors.size() != 4" << std::endl;
85 this->
rgba[3] = alpha;
92 const unsigned int & iCollectionID,
93 std::vector< vtkActor * > iActors,
95 const unsigned int & iT,
96 const bool & iHighlighted,
97 const bool & iVisible,
99 TraceStructure(iTraceID, iCollectionID, iActors, iNodes, iHighlighted, iVisible, iRgba),
108 const unsigned int & iCollectionID,
114 const unsigned int & iT,
115 const bool & iHighlighted,
116 const bool & iVisible,
120 const double & alpha) :
121 TraceStructure(iTraceID, iCollectionID, iActorXY, iActorYZ, iActorXZ, iActorXYZ, iNodes,
122 iHighlighted, iVisible, r, g, b, alpha),
158 this->
Nodes->GetBounds(bounds);
162 for (
int i = 0; i < 3; i++ )
164 if ( bounds[2 * i] == bounds[2 * i + 1] )
int GetDirection()
Return the direction of a given contour iContour.
void ModifyCollectionID(unsigned int iCollectionID)
unsigned int CollectionID
Structure which represent a contour or a mesh, and used for interaction between Visualization and Tab...
bool IsAContour()
Is it a contour or a mesh ?
Structure which represent a trace (contour, mesh, track, lineage), and used for interaction between V...