![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Weighted graph edge. More...
Public Types | |
| typedef std::pair< unsigned, unsigned > | Key |
| Unique edge key type. More... | |
Public Member Functions | |
| Edge () | |
| Edge (const VertexIterator &A, unsigned _nearestPointIndex, float _nearestPointSquareDist) | |
| bool | operator< (const Edge &e) const |
| Edge () | |
| Edge (const VertexIterator &A, unsigned _nearestPointIndex, float _nearestPointSquareDist) | |
| bool | operator< (const Edge &e) const |
| Edge (unsigned v1, unsigned v2, float weight) | |
| Default constructor. More... | |
| bool | operator< (const Edge &other) const |
| Strict weak ordering operator (required by std::priority_queue) More... | |
| const unsigned & | v1 () const |
| Returns first vertex (index) More... | |
| const unsigned & | v2 () const |
| Returns second vertex (index) More... | |
Static Public Member Functions | |
| static Key | ConstructKey (unsigned v1, unsigned v2) |
| Returns the unique key of an edge (no vertex order) More... | |
Public Attributes | |
| VertexIterator | itA |
| unsigned | nearestPointIndex |
| float | nearestPointSquareDist |
Protected Attributes | |
| Key | m_key |
| Unique key. More... | |
| float | m_weight |
| Associated weight. More... | |
Weighted graph edge.
Definition at line 491 of file PointProjectionTools.cpp.
| typedef std::pair<unsigned, unsigned> Edge::Key |
Unique edge key type.
Definition at line 30 of file ecvMinimumSpanningTreeForNormsDirection.cpp.
|
inline |
Definition at line 492 of file PointProjectionTools.cpp.
|
inline |
Definition at line 494 of file PointProjectionTools.cpp.
|
inline |
Definition at line 45 of file ecvContourExtractor.cpp.
|
inline |
Definition at line 47 of file ecvContourExtractor.cpp.
|
inline |
Default constructor.
Definition at line 38 of file ecvMinimumSpanningTreeForNormsDirection.cpp.
References m_weight.
|
inlinestatic |
Returns the unique key of an edge (no vertex order)
Definition at line 33 of file ecvMinimumSpanningTreeForNormsDirection.cpp.
References cloudViewer::core::make_pair(), v1(), and v2().
Referenced by Graph::addEdge(), and Graph::weight().
|
inline |
Definition at line 55 of file ecvContourExtractor.cpp.
References e, and nearestPointSquareDist.
|
inline |
Definition at line 502 of file PointProjectionTools.cpp.
References e.
|
inline |
Strict weak ordering operator (required by std::priority_queue)
Definition at line 44 of file ecvMinimumSpanningTreeForNormsDirection.cpp.
References m_weight.
|
inline |
Returns first vertex (index)
Definition at line 49 of file ecvMinimumSpanningTreeForNormsDirection.cpp.
References m_key.
Referenced by ConstructKey(), and ResolveNormalsWithMST().
|
inline |
Returns second vertex (index)
Definition at line 51 of file ecvMinimumSpanningTreeForNormsDirection.cpp.
References m_key.
Referenced by ConstructKey(), and ResolveNormalsWithMST().
| VertexIterator Edge::itA |
Definition at line 506 of file PointProjectionTools.cpp.
|
protected |
Unique key.
Definition at line 55 of file ecvMinimumSpanningTreeForNormsDirection.cpp.
|
protected |
Associated weight.
Definition at line 58 of file ecvMinimumSpanningTreeForNormsDirection.cpp.
Referenced by Edge(), and operator<().
| unsigned Edge::nearestPointIndex |
Definition at line 507 of file PointProjectionTools.cpp.
| float Edge::nearestPointSquareDist |
Definition at line 508 of file PointProjectionTools.cpp.
Referenced by operator<().