SLAMflex SE  0.1.0
SLAMflex provides detection and tracking of dominant planes for smartphone devices. This plane can then be used to show AR content relative to the plane orientation. The detection of plane is performed in the field of view of the smartphone camera. In subsequent frames it is tracked. The interface returns the plane position and orientation.
Public Member Functions | Public Attributes | List of all members
CVD::Rgb8 Struct Reference

#include <rgb8.h>

Public Member Functions

 Rgb8 ()
 Default constructor. Sets all elements to zero. More...
 
 Rgb8 (unsigned char r, unsigned char g, unsigned char b, unsigned char a=0)
 

Public Attributes

unsigned char red
 The red component. More...
 
unsigned char green
 The green component. More...
 
unsigned char blue
 The blue component. More...
 
unsigned char dummy
 The 4th byte, usually either ignored or used to represent the alpha value. More...
 

Detailed Description

A 32-bit colour. Deprecated The templated Rgba should be used instead (Rgba<byte> is exactly equivalent).

Definition at line 33 of file rgb8.h.

Constructor & Destructor Documentation

CVD::Rgb8::Rgb8 ( )
inline

Default constructor. Sets all elements to zero.

Definition at line 41 of file rgb8.h.

CVD::Rgb8::Rgb8 ( unsigned char  r,
unsigned char  g,
unsigned char  b,
unsigned char  a = 0 
)
inline

Construct an Rgb8 as specified

Parameters
rThe red component
gThe green component
bThe blue component
aThe dummy byte (defaults to zero)

Definition at line 51 of file rgb8.h.

Member Data Documentation

unsigned char CVD::Rgb8::blue

The blue component.

Definition at line 37 of file rgb8.h.

unsigned char CVD::Rgb8::dummy

The 4th byte, usually either ignored or used to represent the alpha value.

Definition at line 38 of file rgb8.h.

unsigned char CVD::Rgb8::green

The green component.

Definition at line 36 of file rgb8.h.

unsigned char CVD::Rgb8::red

The red component.

Definition at line 35 of file rgb8.h.


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