CARLA
Public Member Functions | Public Attributes | List of all members
carla::sensor::data::OpticalFlowPixel Struct Reference

Optical flow pixel format. 2 channel float data. More...

#include <Color.h>

+ Collaboration diagram for carla::sensor::data::OpticalFlowPixel:

Public Member Functions

bool operator!= (const OpticalFlowPixel &rhs) const
 
OpticalFlowPixeloperator= (const OpticalFlowPixel &)=default
 
bool operator== (const OpticalFlowPixel &rhs) const
 
 OpticalFlowPixel ()=default
 
 OpticalFlowPixel (const OpticalFlowPixel &)=default
 
 OpticalFlowPixel (float x, float y)
 

Public Attributes

float x = 0
 
float y = 0
 

Detailed Description

Optical flow pixel format. 2 channel float data.

Definition at line 56 of file sensor/data/Color.h.

Constructor & Destructor Documentation

◆ OpticalFlowPixel() [1/3]

carla::sensor::data::OpticalFlowPixel::OpticalFlowPixel ( )
default

◆ OpticalFlowPixel() [2/3]

carla::sensor::data::OpticalFlowPixel::OpticalFlowPixel ( const OpticalFlowPixel )
default

◆ OpticalFlowPixel() [3/3]

carla::sensor::data::OpticalFlowPixel::OpticalFlowPixel ( float  x,
float  y 
)
inline

Definition at line 60 of file sensor/data/Color.h.

References carla::sensor::data::Color::operator=().

+ Here is the call graph for this function:

Member Function Documentation

◆ operator!=()

bool carla::sensor::data::OpticalFlowPixel::operator!= ( const OpticalFlowPixel rhs) const
inline

Definition at line 69 of file sensor/data/Color.h.

◆ operator=()

OpticalFlowPixel& carla::sensor::data::OpticalFlowPixel::operator= ( const OpticalFlowPixel )
default

◆ operator==()

bool carla::sensor::data::OpticalFlowPixel::operator== ( const OpticalFlowPixel rhs) const
inline

Definition at line 65 of file sensor/data/Color.h.

References x, and y.

Member Data Documentation

◆ x

float carla::sensor::data::OpticalFlowPixel::x = 0

Definition at line 73 of file sensor/data/Color.h.

Referenced by operator==().

◆ y

float carla::sensor::data::OpticalFlowPixel::y = 0

Definition at line 74 of file sensor/data/Color.h.

Referenced by operator==().


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