Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
astra_ros::Hsv Struct Reference

#include <color.hpp>

Public Member Functions

 Hsv ()
 
 Hsv (const float h, const float s, const float v)
 
Rgb toRgb () const
 
Rgba toRgba () const
 
Rgba toRgba (const float a) const
 

Static Public Member Functions

static Hsv fromRgb (const Rgb &rgb)
 

Public Attributes

float h
 
float s
 
float v
 

Detailed Description

Definition at line 89 of file color.hpp.

Constructor & Destructor Documentation

◆ Hsv() [1/2]

Hsv::Hsv ( )

Definition at line 257 of file color.cpp.

◆ Hsv() [2/2]

Hsv::Hsv ( const float  h,
const float  s,
const float  v 
)

Definition at line 264 of file color.cpp.

Member Function Documentation

◆ fromRgb()

Hsv Hsv::fromRgb ( const Rgb rgb)
static

Definition at line 286 of file color.cpp.

◆ toRgb()

Rgb Hsv::toRgb ( ) const

Definition at line 271 of file color.cpp.

◆ toRgba() [1/2]

Rgba Hsv::toRgba ( ) const

Definition at line 276 of file color.cpp.

◆ toRgba() [2/2]

Rgba Hsv::toRgba ( const float  a) const

Definition at line 281 of file color.cpp.

Member Data Documentation

◆ h

float astra_ros::Hsv::h

Definition at line 95 of file color.hpp.

◆ s

float astra_ros::Hsv::s

Definition at line 97 of file color.hpp.

◆ v

float astra_ros::Hsv::v

Definition at line 99 of file color.hpp.


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


astra_ros
Author(s): Braden McDorman
autogenerated on Wed Mar 2 2022 00:53:06