GraphTriangulation.h
Go to the documentation of this file.
1
// *****************************************************************
2
// Filename: AspectGraphProcessor.h
3
// Copyright: Kai Welke, Chair Prof. Dillmann (IAIM),
4
// Institute for Computer Science and Engineering (CSE),
5
// University of Karlsruhe. All rights reserved.
6
// Author: Kai Welke
7
// Date: 12.06.2007
8
// *****************************************************************
9
10
#pragma once
11
12
// *****************************************************************
13
// forward declarations
14
// *****************************************************************
15
16
// *****************************************************************
17
// includes
18
// *****************************************************************
19
#include "
SphericalGraph.h
"
20
#include "Base/DataStructures/Graph/Convexhull/C3DNode.h"
21
#include "Base/DataStructures/Graph/Convexhull/HalfSpace.h"
22
#include "Base/DataStructures/Graph/Convexhull/CHGiftWrap.h"
23
#include <float.h>
24
25
// *****************************************************************
26
// namespaces
27
// *****************************************************************
28
29
// *****************************************************************
30
// namespace GraphTriangulation
31
// *****************************************************************
32
class
GraphTriangulation
33
{
34
public
:
35
static
void
delaunayTriangulationQuadratic
(
CSphericalGraph
* pGraph);
36
// triangulate with O(n^2) spherical
37
static
void
triangulationQuadraticSpherical
(
CSphericalGraph
* pGraph);
38
// triangulate with O(n^4)
39
static
void
triangulationQuartic
(
CSphericalGraph
* pGraph,
float
fThreshold = FLT_MAX);
40
// triangulate with O(n^2)
41
static
void
triangulationQuadratic
(
CSphericalGraph
* pGraph);
42
43
private
:
44
static
void
updateLeftFace(
CSphericalGraph
* pGraph,
int
nEdgeIndex,
int
nIndex1,
int
nIndex2,
int
nFace);
45
static
void
completeFacet(
CSphericalGraph
* pGraph,
int
nEdgeIndex,
int
nFaces);
46
47
static
CSphericalGraph
* doubleNodes(
CSphericalGraph
* pSourceGraph);
48
49
};
50
SphericalGraph.h
GraphTriangulation::triangulationQuartic
static void triangulationQuartic(CSphericalGraph *pGraph, float fThreshold=FLT_MAX)
Definition:
GraphTriangulation.cpp:116
GraphTriangulation
Definition:
GraphTriangulation.h:32
GraphTriangulation::triangulationQuadratic
static void triangulationQuadratic(CSphericalGraph *pGraph)
Definition:
GraphTriangulation.cpp:193
GraphTriangulation::triangulationQuadraticSpherical
static void triangulationQuadraticSpherical(CSphericalGraph *pGraph)
Definition:
GraphTriangulation.cpp:53
GraphTriangulation::delaunayTriangulationQuadratic
static void delaunayTriangulationQuadratic(CSphericalGraph *pGraph)
Definition:
GraphTriangulation.cpp:20
CSphericalGraph
Definition:
SphericalGraph.h:93
RobotAPI
components
EarlyVisionGraph
GraphTriangulation.h
Generated on Sat Oct 12 2024 09:14:06 for armarx_documentation by
1.8.17