#include <ColorModel.h>
◆ ColorField() [1/3]
ColorField::ColorField |
( |
| ) |
|
◆ ColorField() [2/3]
ColorField::ColorField |
( |
const ColorField & |
rclCF | ) |
|
◆ ColorField() [3/3]
ColorField::ColorField |
( |
const ColorModel & |
rclModel, |
|
|
float |
fMin, |
|
|
float |
fMax, |
|
|
std::size_t |
usCt |
|
) |
| |
◆ ~ColorField()
virtual App::ColorField::~ColorField |
( |
| ) |
|
|
virtualdefault |
◆ getColor() [1/2]
Color App::ColorField::getColor |
( |
float |
fVal | ) |
const |
◆ getColor() [2/2]
Color App::ColorField::getColor |
( |
std::size_t |
usIndex | ) |
const |
◆ getColorIndex()
std::size_t App::ColorField::getColorIndex |
( |
float |
fVal | ) |
const |
◆ getColorModel()
const ColorModel & App::ColorField::getColorModel |
( |
| ) |
const |
◆ getCountColors()
std::size_t App::ColorField::getCountColors |
( |
| ) |
const |
◆ getMaxValue()
float App::ColorField::getMaxValue |
( |
| ) |
const |
◆ getMinColors()
std::size_t App::ColorField::getMinColors |
( |
| ) |
const |
◆ getMinValue()
float App::ColorField::getMinValue |
( |
| ) |
const |
◆ getRange()
void App::ColorField::getRange |
( |
float & |
rfMin, |
|
|
float & |
rfMax |
|
) |
| |
◆ interpolate()
void ColorField::interpolate |
( |
Color |
clCol1, |
|
|
std::size_t |
usPos1, |
|
|
Color |
clCol2, |
|
|
std::size_t |
usPos2 |
|
) |
| |
|
protected |
◆ operator=()
◆ rebuild()
void ColorField::rebuild |
( |
| ) |
|
|
protected |
References colorField, colorModel, App::ColorModel::colors, ctColors, fAscent, fConstant, fMax, fMin, App::ColorModel::getCountColors(), and interpolate().
Referenced by set(), and setColorModel().
◆ set()
void ColorField::set |
( |
const ColorModel & |
rclModel, |
|
|
float |
fMin, |
|
|
float |
fMax, |
|
|
std::size_t |
usCt |
|
) |
| |
◆ setColorModel()
void ColorField::setColorModel |
( |
const ColorModel & |
rclModel | ) |
|
◆ setCountColors()
void App::ColorField::setCountColors |
( |
std::size_t |
usCt | ) |
|
◆ setDirect()
void App::ColorField::setDirect |
( |
std::size_t |
usInd, |
|
|
Color |
clCol |
|
) |
| |
◆ setRange()
void App::ColorField::setRange |
( |
float |
fMin, |
|
|
float |
fMax |
|
) |
| |
◆ colorField
std::vector<Color> App::ColorField::colorField |
|
protected |
◆ colorModel
◆ ctColors
std::size_t App::ColorField::ctColors |
|
protected |
◆ fAscent
float App::ColorField::fAscent |
|
protected |
◆ fConstant
float App::ColorField::fConstant |
|
protected |
◆ fMax
float App::ColorField::fMax |
|
protected |
◆ fMin
float App::ColorField::fMin |
|
protected |
The documentation for this class was generated from the following files:
- FreeCAD/src/App/ColorModel.h
- FreeCAD/src/App/ColorModel.cpp