Colormap::vec4 Struct Reference

#include <VisionX/components/pointcloud_processor/DenseCRFSegmentationProcessor/include/colormap/colormap.h>

Public Member Functions

vec4 operator* (double v) const
 
vec4 operator+ (vec4 const &v) const
 
bool operator== (vec4 const &o) const
 
double & operator[] (size_t index)
 
double operator[] (size_t index) const
 
std::string to_string () const
 
 vec4 (double a0, double a1, double a2, double a3)
 

Public Attributes

union { 
 
   double   g 
 
   double   y 
 
};  
 
union { 
 
   double   a 
 
   double   w 
 
};  
 
union { 
 
   double   r 
 
   double   x 
 
};  
 
union { 
 
   double   b 
 
   double   z 
 
};  
 

Constructor & Destructor Documentation

◆ vec4()

vec4 ( double a0,
double a1,
double a2,
double a3 )
inline

Member Function Documentation

◆ operator*()

vec4 operator* ( double v) const
inline

◆ operator+()

vec4 operator+ ( vec4 const & v) const
inline

◆ operator==()

bool operator== ( vec4 const & o) const
inline

◆ operator[]() [1/2]

double & operator[] ( size_t index)
inline

◆ operator[]() [2/2]

double operator[] ( size_t index) const
inline

◆ to_string()

std::string to_string ( ) const
inline

Member Data Documentation

◆ [union]

union { ... }

◆ [union]

union { ... }

◆ [union]

union { ... }

◆ [union]

union { ... }

◆ a

double a

◆ b

double b

◆ g

double g

◆ r

double r

◆ w

double w

◆ x

double x

◆ y

double y

◆ z

double z

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