Base Class for Tube Graph Edges.
More...
#include <mitkTubeGraphEdge.h>
Base Class for Tube Graph Edges.
Definition at line 27 of file mitkTubeGraphEdge.h.
◆ TubeGraphEdge()
mitk::TubeGraphEdge::TubeGraphEdge |
( |
| ) |
|
◆ ~TubeGraphEdge()
virtual mitk::TubeGraphEdge::~TubeGraphEdge |
( |
| ) |
|
|
virtual |
◆ AddTubeElement()
void mitk::TubeGraphEdge::AddTubeElement |
( |
TubeElement * |
element | ) |
|
Adds a new TubeElement at the end of this edge.
- Parameters
-
◆ AddTubeElementAt()
void mitk::TubeGraphEdge::AddTubeElementAt |
( |
unsigned int |
position, |
|
|
TubeElement * |
element |
|
) |
| |
Adds a new TubeElement at the given position.
- Parameters
-
◆ GetEdgeAverageDiameter()
Calculates the average diameter of tube graph edge inc. the source and target vertex.
- Parameters
-
source | the source vertex of the edge |
target | the target vertex of the edge |
- Returns
- the average diameter of the edge
◆ GetEdgeLength()
Calculates the length of tube graph edge inc. the source and target vertex..
- Parameters
-
source | the source vertex of the edge |
target | the target vertex of the edge |
- Returns
- the length of the edge in mm
◆ GetElementVector()
std::vector<TubeElement *> mitk::TubeGraphEdge::GetElementVector |
( |
| ) |
|
Returns the vector which contains all TubeElements.
- Returns
- vector with all TubeElements.
◆ GetNumberOfElements()
unsigned int mitk::TubeGraphEdge::GetNumberOfElements |
( |
| ) |
const |
Returns the number of TubeElements which are contained in this tube.
- Returns
- Number of TubeElements.
◆ GetTubeElement()
TubeElement* mitk::TubeGraphEdge::GetTubeElement |
( |
unsigned int |
position | ) |
|
Returns the TubeElement at the given position.
- Parameters
-
position | The position of the Element. |
- Returns
- The TubeElement at the given position.
◆ operator==()
bool mitk::TubeGraphEdge::operator== |
( |
const TubeGraphEdge & |
right | ) |
const |
Comparison operation between this object and the given object.
- Parameters
-
right | The object to compare with. |
- Returns
- true, if the object is the same;false, if not.
◆ SetElementVector()
void mitk::TubeGraphEdge::SetElementVector |
( |
std::vector< TubeElement * > |
elementVector | ) |
|
Set the vector which contains all TubeElements.
- Parameters
-
elementVector | Vector with all TubeElements |
The documentation for this class was generated from the following file: