nux-1.16.0
nux::ColorMarkGroup Class Reference

List of all members.

Classes

class  ColorMark

Public Member Functions

 ColorMarkGroup (const ColorMarkGroup &Other)
ColorMarkGroupoperator= (const ColorMarkGroup &Other)
void AddColorMark (DOUBLE x, Color color, bool selected=false)
bool isKnotSelected (int i) const
const ColorMarkoperator[] (int i) const
ColorMarkoperator[] (int i)
void EraseKnot (int i)
void EraseSelectedKnot ()
void SelectKnot (int i, bool b)
t_u32 GetNumSelectedKnot ()
void SelectAllKnot ()
void UnSelectAllKnot ()
const std::vector< double > GetXArray ()
const std::vector< Color > GetColorArray ()
int GetNumColorMark () const
ColorMark GetColorMark (int i) const
void Reset ()

Detailed Description

Definition at line 36 of file ColorGradient.h.


Member Function Documentation

void nux::ColorMarkGroup::Reset ( ) [inline]

Erase all knots.

Definition at line 304 of file ColorGradient.h.

    {
      m_ColorMarkArray.clear();
      //        AddKnot(0,0);
      //        AddKnot(1,1);
    }

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends