MeVisLabToolboxReference
MeVisLab/Standard/Sources/Inventor/SoCSO/CSOProcessor/CSOLiveWireProcessor/CSOLiveWireGraph.h File Reference

The class maintains a graph for applying a shortest path algorithm on. More...

#include "SoCSOSystem.h"
#include "CSOLiveWireNode.h"
#include <CSOTools/CSOObjectHeap.h>

Go to the source code of this file.

Classes

class  ml::CSOLiveWireGraph
 The class maintains a graph for applying a shortest path algorithm on. More...

Namespaces

namespace  ml
 

Define the namespace name like in the ML. Default is ml.


Enumerations

enum  ml::CSOLiveWireNeighborhoodMode { ml::CSO_LIVE_WIRE_4_NEIGHBORHOOD = 0, ml::CSO_LIVE_WIRE_8_NEIGHBORHOOD = 1 }
 NW N NE \ | / \ | / W -------- E /|\ / | \ SW S SE. More...

Variables

const float ml::EULER_FACTOR = 1.0f / (6.0f * 2.718281828459f * 2.718281828459f)
 Constant factor for normalizing the result of the Laplacian kernel convolution.
const float ml::SQRT_2 = 1.414213562373f
 Constant factor: square root of 2.
Direction constants. They are sorted in a way that horizontal directions range from 0 to 3 and diagonal directions from 4 to 7.
const unsigned char ml::DIR_N = 0
 Direction: North.
const unsigned char ml::DIR_E = 1
 Direction: East.
const unsigned char ml::DIR_S = 2
 Direction: South.
const unsigned char ml::DIR_W = 3
 Direction: West.
const unsigned char ml::DIR_NE = 4
 Direction: North East.
const unsigned char ml::DIR_SE = 5
 Direction: South East.
const unsigned char ml::DIR_SW = 6
 Direction: South West.
const unsigned char ml::DIR_NW = 7
 Direction: North West.

Detailed Description

The class maintains a graph for applying a shortest path algorithm on.

Author:
Olaf Konrad, Frank Heckel
Date:
01/2007

Definition in file CSOLiveWireGraph.h.