#include <ColorModel.h>
|
| ColorGradient () |
|
| ColorGradient (const ColorGradient &)=default |
|
| ColorGradient (float fMin, float fMax, std::size_t usCtColors, ColorBarStyle tS, VisibilityFlags fl=Visibility::Default) |
|
Color | getColor (float fVal) const |
|
std::size_t | getColorIndex (float fVal) const |
|
const ColorModel & | getColorModel () const |
|
std::vector< std::string > | getColorModelNames () const |
|
std::size_t | getColorModelType () const |
|
std::size_t | getCountColors () const |
|
float | getMaxValue () const |
|
std::size_t | getMinColors () const |
|
float | getMinValue () const |
|
const ColorGradientProfile & | getProfile () const |
|
void | getRange (float &rfMin, float &rfMax) const |
|
ColorBarStyle | getStyle () const |
|
bool | isOutOfRange (float fVal) const |
|
bool | isOutsideGrayed () const |
|
bool | isOutsideInvisible () const |
|
ColorGradient & | operator= (const ColorGradient &)=default |
|
void | set (float fMin, float fMax, std::size_t usCt, ColorBarStyle tS, VisibilityFlags fl) |
|
void | setColorModel (std::size_t tModel) |
|
void | setCountColors (std::size_t usCt) |
|
void | setOutsideGrayed (bool value) |
|
void | setOutsideInvisible (bool value) |
|
void | setProfile (const ColorGradientProfile &pro) |
|
void | setRange (float fMin, float fMax) |
|
void | setStyle (ColorBarStyle tS) |
|
◆ ColorGradient() [1/3]
ColorGradient::ColorGradient |
( |
| ) |
|
◆ ColorGradient() [2/3]
◆ ColorGradient() [3/3]
◆ createStandardPacks()
void ColorGradient::createStandardPacks |
( |
| ) |
|
|
protected |
◆ getColor()
Color App::ColorGradient::getColor |
( |
float |
fVal | ) |
const |
◆ getColorIndex()
std::size_t App::ColorGradient::getColorIndex |
( |
float |
fVal | ) |
const |
◆ getColorModel()
const ColorModel & App::ColorGradient::getColorModel |
( |
| ) |
const |
◆ getColorModelNames()
std::vector< std::string > ColorGradient::getColorModelNames |
( |
| ) |
const |
◆ getColorModelType()
std::size_t App::ColorGradient::getColorModelType |
( |
| ) |
const |
◆ getCountColors()
std::size_t App::ColorGradient::getCountColors |
( |
| ) |
const |
◆ getMaxValue()
float App::ColorGradient::getMaxValue |
( |
| ) |
const |
◆ getMinColors()
std::size_t ColorGradient::getMinColors |
( |
| ) |
const |
◆ getMinValue()
float App::ColorGradient::getMinValue |
( |
| ) |
const |
◆ getProfile()
◆ getRange()
void App::ColorGradient::getRange |
( |
float & |
rfMin, |
|
|
float & |
rfMax |
|
) |
| const |
◆ getStyle()
◆ isOutOfRange()
bool App::ColorGradient::isOutOfRange |
( |
float |
fVal | ) |
const |
◆ isOutsideGrayed()
bool App::ColorGradient::isOutsideGrayed |
( |
| ) |
const |
◆ isOutsideInvisible()
bool App::ColorGradient::isOutsideInvisible |
( |
| ) |
const |
◆ operator=()
◆ rebuild()
void ColorGradient::rebuild |
( |
| ) |
|
|
protected |
References App::ColorModelPack::bottomModel, colorField1, colorField2, App::ColorGradientProfile::ctColors, currentModelPack, App::FLOW, App::ColorGradientProfile::fMax, App::ColorGradientProfile::fMin, profile, App::ColorField::set(), App::ColorModelPack::topModel, App::ColorModelPack::totalModel, App::ColorGradientProfile::tStyle, and App::ZERO_BASED.
Referenced by set(), setColorModel(), and setProfile().
◆ set()
◆ setColorModel() [1/2]
void ColorGradient::setColorModel |
( |
| ) |
|
|
protected |
References App::ColorModelPack::bottomModel, colorField1, colorField2, currentModelPack, App::FLOW, modelPacks, profile, App::ColorField::setColorModel(), App::ColorGradientProfile::tColorModel, App::ColorModelPack::topModel, App::ColorModelPack::totalModel, App::ColorGradientProfile::tStyle, and App::ZERO_BASED.
Referenced by ColorGradient(), setColorModel(), and setProfile().
◆ setColorModel() [2/2]
void ColorGradient::setColorModel |
( |
std::size_t |
tModel | ) |
|
◆ setCountColors()
void App::ColorGradient::setCountColors |
( |
std::size_t |
usCt | ) |
|
◆ setOutsideGrayed()
void App::ColorGradient::setOutsideGrayed |
( |
bool |
value | ) |
|
◆ setOutsideInvisible()
void App::ColorGradient::setOutsideInvisible |
( |
bool |
value | ) |
|
◆ setProfile()
◆ setRange()
void App::ColorGradient::setRange |
( |
float |
fMin, |
|
|
float |
fMax |
|
) |
| |
◆ setStyle()
◆ colorField1
◆ colorField2
◆ currentModelPack
◆ modelPacks
◆ profile
The documentation for this class was generated from the following files:
- FreeCAD/src/App/ColorModel.h
- FreeCAD/src/App/ColorModel.cpp