OpenWalnut 1.3.1
Public Member Functions | Static Public Member Functions | Friends
WFiber Class Reference

Represents a neural pathway. More...

#include <WFiber.h>

Inheritance diagram for WFiber:

List of all members.

Public Member Functions

 WFiber (const std::vector< WPosition > &points)
 Constructs a new fiber out of WPositions.
 WFiber ()
 Creates an empty fiber.

Static Public Member Functions

static double distDST (double thresholdSquare, const WFiber &q, const WFiber &r)
 This is the Smaller thresholded distance as described by Zhang: http://dx.doi.org/10.1109/TVCG.2008.52 .
static double distDLT (double thresholdSquare, const WFiber &q, const WFiber &r)
 This is the Larger thresholded distance as described by Zhang: http://dx.doi.org/10.1109/TVCG.2008.52 .

Friends

class WFiberTest

Detailed Description

Represents a neural pathway.

Definition at line 39 of file WFiber.h.


Constructor & Destructor Documentation

WFiber::WFiber ( const std::vector< WPosition > &  points) [explicit]

Constructs a new fiber out of WPositions.

Parameters:
pointsReference to the points which belong to this fiber

Definition at line 88 of file WFiber.cpp.

WFiber::WFiber ( )

Creates an empty fiber.

Definition at line 93 of file WFiber.cpp.


Member Function Documentation

double WFiber::distDLT ( double  thresholdSquare,
const WFiber q,
const WFiber r 
) [static]

This is the Larger thresholded distance as described by Zhang: http://dx.doi.org/10.1109/TVCG.2008.52 .

Parameters:
thresholdSquareThreshold upto which the distances should be ignored given as square for reasons of performance.
qFirst fiber
rSecond fiber
Returns:
The maximum of dt(Q,R) and dt(R,Q)

Definition at line 104 of file WFiber.cpp.

Referenced by WFiberTest::testDLTisSymmetric(), and WFiberTest::testDTMeasure().

double WFiber::distDST ( double  thresholdSquare,
const WFiber q,
const WFiber r 
) [static]

This is the Smaller thresholded distance as described by Zhang: http://dx.doi.org/10.1109/TVCG.2008.52 .

Parameters:
thresholdSquareThreshold upto which the distances should be ignored given as square for reasons of performance.
qFirst fiber
rSecond fiber
Returns:
The minimum of dt(Q,R) and dt(R,Q)

Definition at line 98 of file WFiber.cpp.

Referenced by WFiberTest::testDSTisSymmetric(), and WFiberTest::testDTMeasure().


The documentation for this class was generated from the following files: