rgbd
Public Member Functions | Protected Attributes | List of all members
rgbd::View Class Reference

#include <view.h>

Public Member Functions

const cv::Vec3b & getColor (int x, int y) const
 
const float & getDepth (int x, int y) const
 
const int & getHeight () const
 
bool getPoint3D (int x, int y, geo::Vector3 &p) const
 
bool getPoint3DSafe (int x, int y, geo::Vector3 &p) const
 
const geo::DepthCameragetRasterizer () const
 
const int & getWidth () const
 
 View (const Image &image, int width)
 

Protected Attributes

float depth_factor_
 
int height_
 
const Imageimage_
 
geo::DepthCamera rasterizer_
 
float rgb_factor_
 
int width_
 

Detailed Description

Definition at line 11 of file view.h.

Constructor & Destructor Documentation

◆ View()

rgbd::View::View ( const Image image,
int  width 
)

Definition at line 10 of file src/view.cpp.

Member Function Documentation

◆ getColor()

const cv::Vec3b& rgbd::View::getColor ( int  x,
int  y 
) const
inline

Definition at line 27 of file view.h.

◆ getDepth()

const float& rgbd::View::getDepth ( int  x,
int  y 
) const
inline

Definition at line 32 of file view.h.

◆ getHeight()

const int& rgbd::View::getHeight ( ) const
inline

Definition at line 22 of file view.h.

◆ getPoint3D()

bool rgbd::View::getPoint3D ( int  x,
int  y,
geo::Vector3 p 
) const
inline

Definition at line 37 of file view.h.

◆ getPoint3DSafe()

bool rgbd::View::getPoint3DSafe ( int  x,
int  y,
geo::Vector3 p 
) const
inline

Definition at line 44 of file view.h.

◆ getRasterizer()

const geo::DepthCamera& rgbd::View::getRasterizer ( ) const
inline

Definition at line 54 of file view.h.

◆ getWidth()

const int& rgbd::View::getWidth ( ) const
inline

Definition at line 17 of file view.h.

Member Data Documentation

◆ depth_factor_

float rgbd::View::depth_factor_
protected

Definition at line 62 of file view.h.

◆ height_

int rgbd::View::height_
protected

Definition at line 59 of file view.h.

◆ image_

const Image& rgbd::View::image_
protected

Definition at line 57 of file view.h.

◆ rasterizer_

geo::DepthCamera rgbd::View::rasterizer_
protected

Definition at line 64 of file view.h.

◆ rgb_factor_

float rgbd::View::rgb_factor_
protected

Definition at line 61 of file view.h.

◆ width_

int rgbd::View::width_
protected

Definition at line 58 of file view.h.


The documentation for this class was generated from the following files: