Defines a classification context.
More...
#include <PaletteRaster.h>
Defines a classification context.
The class GroupColor is a container of CubeColor objects allowing the generation of statistics ( mean value and standard deviation ) of the colors in the group. from Spring code
Definition at line 142 of file PaletteRaster.h.
◆ GroupColor()
te::rp::GroupColor::GroupColor |
( |
int |
ident | ) |
|
Constructor.
- Parameters
-
ident | group color identifier |
◆ ~GroupColor()
te::rp::GroupColor::~GroupColor |
( |
| ) |
|
◆ GetNCubeColors()
size_t te::rp::GroupColor::GetNCubeColors |
( |
| ) |
|
|
inline |
Returns the number of CubeColors in this GroupColor.
- Returns
- TRUE: successs or FALSE: failure
Definition at line 172 of file PaletteRaster.h.
◆ InsertCubeColor()
void te::rp::GroupColor::InsertCubeColor |
( |
CubeColor * |
cc | ) |
|
◆ MaxVar()
double te::rp::GroupColor::MaxVar |
( |
| ) |
|
|
inline |
◆ Mean()
double te::rp::GroupColor::Mean |
( |
int |
i | ) |
|
|
inline |
◆ RemoveCubeColor()
CubeColor* te::rp::GroupColor::RemoveCubeColor |
( |
| ) |
|
Removes the current item from the list.
◆ Split()
GroupColor* te::rp::GroupColor::Split |
( |
int |
newgcid | ) |
|
Splits the GroupColor in two ones. The new GroupColor will have its id given by newgcid. The list of ColorCubes in the original GroupColor will be divided with the new GroupColor.
- Parameters
-
newgcid | new group color identifier |
- Returns
- pointer to CubeColor (NULL if empty)
◆ m_CClist
std::list<CubeColor*> te::rp::GroupColor::m_CClist |
|
private |
◆ m_Ex
double te::rp::GroupColor::m_Ex[3] |
|
private |
◆ m_Ex2
double te::rp::GroupColor::m_Ex2[3] |
|
private |
◆ m_id
int te::rp::GroupColor::m_id |
|
private |
◆ m_itCC
std::list<CubeColor*>::iterator te::rp::GroupColor::m_itCC |
|
private |
◆ m_pop
double te::rp::GroupColor::m_pop |
|
private |
◆ m_var
double te::rp::GroupColor::m_var[3] |
|
private |
◆ m_varmax
double te::rp::GroupColor::m_varmax |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/rp/PaletteRaster.h