RflySimSDK v3.05
RflySimSDK说明文档
载入中...
搜索中...
未找到
vrpn_Imager_Region类 参考

Helper function to convert data for a sub-region of one channel of 更多...

#include <vrpn_Imager.h>

Public 成员函数

vrpn_uint32 getNumVals () const
 Returns the number of values in the region.
 
bool read_unscaled_pixel (vrpn_uint16 c, vrpn_uint16 r, vrpn_uint8 &val, vrpn_uint16 d=0) const
 
bool read_unscaled_pixel (vrpn_uint16 c, vrpn_uint16 r, vrpn_uint16 &val, vrpn_uint16 d=0) const
 
bool read_unscaled_pixel (vrpn_uint16 c, vrpn_uint16 r, vrpn_float32 &val, vrpn_uint16 d=0) const
 
bool decode_unscaled_region_using_base_pointer (vrpn_uint8 *data, vrpn_uint32 colStride, vrpn_uint32 rowStride, vrpn_uint32 depthStride=0, vrpn_uint16 nRows=0, bool invert_rows=false, unsigned repeat=1) const
 
bool decode_unscaled_region_using_base_pointer (vrpn_uint16 *data, vrpn_uint32 colStride, vrpn_uint32 rowStride, vrpn_uint32 depthStride=0, vrpn_uint16 nRows=0, bool invert_rows=false, unsigned repeat=1) const
 
bool decode_unscaled_region_using_base_pointer (vrpn_float32 *data, vrpn_uint32 colStride, vrpn_uint32 rowStride, vrpn_uint32 depthStride=0, vrpn_uint16 nRows=0, bool invert_rows=false, unsigned repeat=1) const
 
vrpn_uint16 get_val_type (void) const
 

Public 属性

vrpn_int16 d_chanIndex
 
vrpn_uint16 d_rMin
 
vrpn_uint16 d_rMax
 
vrpn_uint16 d_cMin
 
vrpn_uint16 d_cMax
 
vrpn_uint16 d_dMin
 
vrpn_uint16 d_dMax
 

Protected 属性

const void * d_valBuf
 
vrpn_uint16 d_valType
 
bool d_valid
 

友元

class VRPN_API vrpn_Imager_Remote
 
void VRPN_CALLBACK java_vrpn_handle_region_change (void *userdata, const vrpn_IMAGERREGIONCB info)
 

详细描述

Helper function to convert data for a sub-region of one channel of

成员函数说明

◆ getNumVals()

vrpn_uint32 getNumVals ( ) const
inline

Returns the number of values in the region.

◆ read_unscaled_pixel() [1/3]

bool read_unscaled_pixel ( vrpn_uint16 c,
vrpn_uint16 r,
vrpn_float32 & val,
vrpn_uint16 d = 0 ) const
inline

Reads pixel from the region with no scale and offset applied to the value. Not

◆ read_unscaled_pixel() [2/3]

bool read_unscaled_pixel ( vrpn_uint16 c,
vrpn_uint16 r,
vrpn_uint16 & val,
vrpn_uint16 d = 0 ) const
inline

Reads pixel from the region with no scale and offset applied to the value. Not

◆ read_unscaled_pixel() [3/3]

bool read_unscaled_pixel ( vrpn_uint16 c,
vrpn_uint16 r,
vrpn_uint8 & val,
vrpn_uint16 d = 0 ) const
inline

Reads pixel from the region with no scale and offset applied to the value. Not the most efficient way to read the pixels out – use the block read routines.


该类的文档由以下文件生成: