#include <PointCloudAPI.h>

Public Member Functions

bool IsValid () const
 
 RGBColor ()
 
 RGBColor (float r, float g, float b)
 

Public Attributes

float b
 
float g
 
float r
 

Detailed Description

A generic color class for storing RGB information.

Constructor & Destructor Documentation

◆ RGBColor() [1/2]

ooc::RGBColor::RGBColor ( )
inline

Constructs an invalid RGB color.

◆ RGBColor() [2/2]

ooc::RGBColor::RGBColor ( float  r,
float  g,
float  b 
)
inline

Constructs an RGB color.

Member Function Documentation

◆ IsValid()

bool ooc::RGBColor::IsValid ( ) const
inline

Returns whether or not the current color is valid.

Member Data Documentation

◆ b

float ooc::RGBColor::b

◆ g

float ooc::RGBColor::g

◆ r

float ooc::RGBColor::r

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