Point Cloud Library (PCL)  1.7.1
List of all members | Public Member Functions | Public Attributes
pcl::segmentation::grabcut::Color Struct Reference

Structure to save RGB colors into floats. More...

#include <pcl/segmentation/grabcut.h>

Public Member Functions

 Color ()
 
 Color (float _r, float _g, float _b)
 
 Color (const pcl::RGB &color)
 
template<typename PointT >
 Color (const PointT &p)
 
template<typename PointT >
 operator PointT () const
 

Public Attributes

float r
 
float g
 
float b
 

Detailed Description

Structure to save RGB colors into floats.

Definition at line 167 of file grabcut.h.

Constructor & Destructor Documentation

pcl::segmentation::grabcut::Color::Color ( )
inline

Definition at line 169 of file grabcut.h.

pcl::segmentation::grabcut::Color::Color ( float  _r,
float  _g,
float  _b 
)
inline

Definition at line 170 of file grabcut.h.

pcl::segmentation::grabcut::Color::Color ( const pcl::RGB color)
inline

Definition at line 171 of file grabcut.h.

template<typename PointT >
pcl::segmentation::grabcut::Color::Color ( const PointT p)
inline

Definition at line 174 of file grabcut.h.

References b, g, and r.

Member Function Documentation

template<typename PointT >
pcl::segmentation::grabcut::Color::operator PointT ( ) const
inline

Definition at line 182 of file grabcut.h.

References b, g, and r.

Member Data Documentation

float pcl::segmentation::grabcut::Color::b

Definition at line 191 of file grabcut.h.

Referenced by Color(), operator PointT(), and pcl::squaredEuclideanDistance().

float pcl::segmentation::grabcut::Color::g

Definition at line 191 of file grabcut.h.

Referenced by Color(), operator PointT(), and pcl::squaredEuclideanDistance().

float pcl::segmentation::grabcut::Color::r

Definition at line 191 of file grabcut.h.

Referenced by Color(), operator PointT(), and pcl::squaredEuclideanDistance().


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