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   b
 
   double   z
 
}; 
 
union {
   double   a
 
   double   w
 
}; 
 
union {
   double   r
 
   double   x
 
}; 
 

Detailed Description

Definition at line 32 of file colormap.h.

Constructor & Destructor Documentation

◆ vec4()

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

Definition at line 34 of file colormap.h.

+ Here is the caller graph for this function:

Member Function Documentation

◆ operator*()

vec4 operator* ( double  v) const
inline

Definition at line 101 of file colormap.h.

+ Here is the call graph for this function:

◆ operator+()

vec4 operator+ ( vec4 const &  v) const
inline

Definition at line 106 of file colormap.h.

+ Here is the call graph for this function:

◆ operator==()

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

Definition at line 96 of file colormap.h.

◆ operator[]() [1/2]

double& operator[] ( size_t  index)
inline

Definition at line 69 of file colormap.h.

◆ operator[]() [2/2]

double operator[] ( size_t  index) const
inline

Definition at line 42 of file colormap.h.

◆ to_string()

std::string to_string ( ) const
inline

Definition at line 111 of file colormap.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ @11

union { ... }

◆ @13

union { ... }

◆ @15

union { ... }

◆ @9

union { ... }

◆ a

double a

Definition at line 139 of file colormap.h.

◆ b

double b

Definition at line 134 of file colormap.h.

◆ g

double g

Definition at line 129 of file colormap.h.

◆ r

double r

Definition at line 124 of file colormap.h.

◆ w

double w

Definition at line 140 of file colormap.h.

◆ x

double x

Definition at line 125 of file colormap.h.

◆ y

double y

Definition at line 130 of file colormap.h.

◆ z

double z

Definition at line 135 of file colormap.h.


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