# TransferFunction Class Reference

`#include <TransferFunction.h>`

List of all members.

## Public Member Functions
| TransferFunction (void)
| ~TransferFunction (void)
QColor | getColorAtValue (float value) const
int | getElementAtPos (float pos, float epsilon)
void | removeElement (int index)
int | addElementAtPos (float pos)
int | hitsRangePosOfElement (float pos, int element, float epsilon)
void | tryMovingRangeMinTo (float newRangeMinPos, int element)
void | tryMovingRangeMaxTo (float newRangeMaxPos, int element)
void | tryMovingPosTo (float newPos, int element)

## Constructor & Destructor Documentation

TransferFunction::TransferFunction | ( | void |  | ) |

TransferFunction::~TransferFunction | ( | void |  | ) |

## Member Function Documentation

int TransferFunction::addElementAtPos | ( | float | pos | ) |

QColor TransferFunction::getColorAtValue | ( | float | value | ) | const

int TransferFunction::getElementAtPos | ( | float | pos,
|  | float | epsilon |
| ) |  |  |

int TransferFunction::hitsRangePosOfElement | ( | float | pos,
|  | int | element,
|  | float | epsilon |
| ) |  |  |

void TransferFunction::removeElement | ( | int | index | ) |

void TransferFunction::tryMovingPosTo | ( | float | newPos,
|  | int | element |
| ) |  |  |

void TransferFunction::tryMovingRangeMaxTo | ( | float | newRangeMaxPos,
|  | int | element |
| ) |  |  |

void TransferFunction::tryMovingRangeMinTo | ( | float | newRangeMinPos,
|  | int | element |
| ) |  |  |

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

- F:/Meine Dateien/Visual Studio 2005/Projects/InsightFlow/header/TransferFunction.h
- F:/Meine Dateien/Visual Studio 2005/Projects/InsightFlow/src/TransferFunction.cpp