![]() |
OpenCV 5.0.0
Open Source Computer Vision
|
#include <opencv2/geometry/2d.hpp>
クラス | |
| struct | QuadEdge |
| struct | Vertex |
公開型 | |
| enum | { PTLOC_ERROR = -2 , PTLOC_OUTSIDE_RECT = -1 , PTLOC_INSIDE = 0 , PTLOC_VERTEX = 1 , PTLOC_ON_EDGE = 2 } |
| enum | { NEXT_AROUND_ORG = 0x00 , NEXT_AROUND_DST = 0x22 , PREV_AROUND_ORG = 0x11 , PREV_AROUND_DST = 0x33 , NEXT_AROUND_LEFT = 0x13 , NEXT_AROUND_RIGHT = 0x31 , PREV_AROUND_LEFT = 0x20 , PREV_AROUND_RIGHT = 0x02 } |
公開メンバ関数 | |
| Subdiv2D () | |
| Subdiv2D (Rect rect) | |
| Subdiv2D (Rect2f rect2f) | |
| int | edgeDst (int edge, Point2f *dstpt=0) const |
| エッジの終点を返す。 | |
| int | edgeOrg (int edge, Point2f *orgpt=0) const |
| エッジの始点を返す。 | |
| int | findNearest (Point2f pt, Point2f *nearestPt=0) |
| 与えられた点に最も近い細分割頂点を見つける。 | |
| int | getEdge (int edge, int nextEdgeType) const |
| 与えられたエッジに関連するエッジのいずれかを返す。 | |
| void | getEdgeList (std::vector< Vec4f > &edgeList) const |
| すべてのエッジのリストを返す。 | |
| void | getLeadingEdgeList (std::vector< int > &leadingEdgeList) const |
| 各三角形に接続された先頭エッジIDのリストを返す。 | |
| void | getTriangleList (std::vector< Vec6f > &triangleList) const |
| すべての三角形のリストを返す。 | |
| Point2f | getVertex (int vertex, int *firstEdge=0) const |
| 頂点IDから頂点位置を返す。 | |
| void | getVoronoiFacetList (const std::vector< int > &idx, std::vector< std::vector< Point2f > > &facetList, std::vector< Point2f > &facetCenters) |
| すべてのボロノイ面のリストを返す。 | |
| void | initDelaunay (Rect rect) |
| 新しい空のドロネー細分割を作成する。 | |
| void | initDelaunay (Rect2f rect) |
| 新しい空のドロネー細分割を作成する。 | |
| void | insert (const std::vector< Point2f > &ptvec) |
| ドロネー三角形分割に複数の点を挿入する。 | |
| int | insert (Point2f pt) |
| ドロネー三角形分割に1つの点を挿入する。 | |
| int | locate (Point2f pt, int &edge, int &vertex) |
| ドロネー三角形分割内における点の位置を返す。 | |
| int | nextEdge (int edge) const |
| エッジ始点まわりの次のエッジを返す。 | |
| int | rotateEdge (int edge, int rotate) const |
| 同じクワッドエッジの別のエッジを返す。 | |
| int | symEdge (int edge) const |
限定公開メンバ関数 | |
| void | calcVoronoi () |
| void | checkSubdiv () const |
| void | clearVoronoi () |
| int | connectEdges (int edgeA, int edgeB) |
| void | deleteEdge (int edge) |
| void | deletePoint (int vtx) |
| int | isRightOf (Point2f pt, int edge) const |
| int | newEdge () |
| int | newPoint (Point2f pt, bool isvirtual, int firstEdge=0) |
| void | setEdgePoints (int edge, int orgPt, int dstPt) |
| void | splice (int edgeA, int edgeB) |
| void | swapEdges (int edge) |
限定公開変数類 | |
| Point2f | bottomRight |
| バウンディング矩形の右下隅。 | |
| int | freePoint |
| int | freeQEdge |
| std::vector< QuadEdge > | qedges |
| すべてのエッジ。 | |
| int | recentEdge |
| Point2f | topLeft |
| バウンディング矩形の左上隅。 | |
| bool | validGeometry |
| std::vector< Vertex > | vtx |
| すべての頂点。 | |