Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Member Functions | Static Public Attributes
ON_Color Class Reference

#include <pcl/surface/3rdparty/opennurbs/opennurbs_color.h>

+ Collaboration diagram for ON_Color:

Public Member Functions

 ON_Color ()
 
 ON_Color (int red, int green, int blue)
 
 ON_Color (int red, int green, int blue, int alpha)
 
 ON_Color (unsigned int)
 
 operator unsigned int () const
 
unsigned int WindowsRGB () const
 
int Compare (const ON_Color &) const
 
int Red () const
 
int Green () const
 
int Blue () const
 
int Alpha () const
 
double FractionRed () const
 
double FractionGreen () const
 
double FractionBlue () const
 
double FractionAlpha () const
 
void SetRGB (int red, int green, int blue)
 
void SetFractionalRGB (double red, double green, double blue)
 
void SetAlpha (int alpha)
 
void SetFractionalAlpha (double alpha)
 
void SetRGBA (int red, int green, int blue, int alpha)
 
void SetFractionalRGBA (double red, double green, double blue, double alpha)
 
double Hue () const
 
double Saturation () const
 
double Value () const
 
void SetHSV (double h, double s, double v)
 

Static Public Attributes

static const ON_Color UnsetColor
 

Detailed Description

Definition at line 24 of file opennurbs_color.h.

Constructor & Destructor Documentation

◆ ON_Color() [1/4]

ON_Color::ON_Color ( )

◆ ON_Color() [2/4]

ON_Color::ON_Color ( int  red,
int  green,
int  blue 
)

◆ ON_Color() [3/4]

ON_Color::ON_Color ( int  red,
int  green,
int  blue,
int  alpha 
)

◆ ON_Color() [4/4]

ON_Color::ON_Color ( unsigned int  )

Member Function Documentation

◆ Alpha()

int ON_Color::Alpha ( ) const

◆ Blue()

int ON_Color::Blue ( ) const

◆ Compare()

int ON_Color::Compare ( const ON_Color ) const

◆ FractionAlpha()

double ON_Color::FractionAlpha ( ) const

◆ FractionBlue()

double ON_Color::FractionBlue ( ) const

◆ FractionGreen()

double ON_Color::FractionGreen ( ) const

◆ FractionRed()

double ON_Color::FractionRed ( ) const

◆ Green()

int ON_Color::Green ( ) const

◆ Hue()

double ON_Color::Hue ( ) const

◆ operator unsigned int()

ON_Color::operator unsigned int ( ) const

◆ Red()

int ON_Color::Red ( ) const

◆ Saturation()

double ON_Color::Saturation ( ) const

◆ SetAlpha()

void ON_Color::SetAlpha ( int  alpha)

◆ SetFractionalAlpha()

void ON_Color::SetFractionalAlpha ( double  alpha)

◆ SetFractionalRGB()

void ON_Color::SetFractionalRGB ( double  red,
double  green,
double  blue 
)

◆ SetFractionalRGBA()

void ON_Color::SetFractionalRGBA ( double  red,
double  green,
double  blue,
double  alpha 
)

◆ SetHSV()

void ON_Color::SetHSV ( double  h,
double  s,
double  v 
)

◆ SetRGB()

void ON_Color::SetRGB ( int  red,
int  green,
int  blue 
)

◆ SetRGBA()

void ON_Color::SetRGBA ( int  red,
int  green,
int  blue,
int  alpha 
)

◆ Value()

double ON_Color::Value ( ) const

◆ WindowsRGB()

unsigned int ON_Color::WindowsRGB ( ) const

Member Data Documentation

◆ UnsetColor

const ON_Color ON_Color::UnsetColor
static

Definition at line 29 of file opennurbs_color.h.


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