ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccColorScale::Label Struct Reference

Color scale label (value + optional text) More...

#include <ecvColorScale.h>

Public Member Functions

 Label (double v)
 
 Label (double v, const QString &t)
 
bool operator< (const Label &otherLabel) const
 

Public Attributes

double value = 0.0
 
QString text
 

Detailed Description

Color scale label (value + optional text)

Definition at line 146 of file ecvColorScale.h.

Constructor & Destructor Documentation

◆ Label() [1/2]

ccColorScale::Label::Label ( double  v)
inline

Definition at line 147 of file ecvColorScale.h.

◆ Label() [2/2]

ccColorScale::Label::Label ( double  v,
const QString &  t 
)
inline

Definition at line 149 of file ecvColorScale.h.

Member Function Documentation

◆ operator<()

bool ccColorScale::Label::operator< ( const Label otherLabel) const
inline

Definition at line 154 of file ecvColorScale.h.

References value.

Member Data Documentation

◆ text

QString ccColorScale::Label::text

Definition at line 152 of file ecvColorScale.h.

Referenced by define_ccColorScale().

◆ value

double ccColorScale::Label::value = 0.0

Definition at line 151 of file ecvColorScale.h.

Referenced by define_ccColorScale(), and operator<().


The documentation for this struct was generated from the following file: