C# Class COvrvisionUnity, OvrvisionPro

This class provides main interface to Ovrvision Pro
Mostrar archivo Open project: Wizapply/OvrvisionPro Class Usage Examples

Public Properties

Property Type Description
aspectW float
camStatus bool
imageSizeW int
useOvrvisionAR bool
useOvrvisionTrack bool
useOvrvisionTrack_Calib bool
useProcessingQuality int

Public Methods

Method Description
COvrvisionUnity ( ) : System
CalibFindChess ( ) : int
CalibGetImageCount ( ) : int
CalibSolveStereoParameter ( ) : void
Close ( ) : bool
GetBLC ( ) : int
GetExposure ( ) : int
GetFloatPoint ( ) : float
GetGain ( ) : int
GetImagePixelColor ( System leftPtr, int eye ) : void
GetWhiteBalanceAutoMode ( ) : bool
GetWhiteBalanceB ( ) : int
GetWhiteBalanceG ( ) : int
GetWhiteBalanceR ( ) : int
HMDCameraRightGap ( ) : Vector3
InitializeCalibration ( int pattern_size_w, int pattern_size_h, double chessSizeMM ) : void
Open ( int opentype, float arsize ) : bool
OvrvisionGetAR ( System mdata, int datasize ) : int
OvrvisionGetTrackingVec3 ( System mdata ) : int
OvrvisionTrackRender ( bool calib, bool point ) : void
OvrvisionTrackReset ( ) : void
SaveCamStatusToEEPROM ( ) : bool
SetBLC ( int value ) : void
SetExposure ( int value ) : void
SetGain ( int value ) : void
SetWhiteBalanceAutoMode ( bool value ) : void
SetWhiteBalanceB ( int value ) : void
SetWhiteBalanceG ( int value ) : void
SetWhiteBalanceR ( int value ) : void
UpdateImage ( System leftPtr, System rightPtr ) : void

Private Methods

Method Description
GetImageBaseHeight ( int opentype ) : float
ovARGetData ( System mdata, int datasize ) : int
ovARGetMarkerSize ( ) : int
ovARRender ( ) : void
ovARSetMarkerSize ( int value ) : void
ovCalibClose ( ) : int
ovCalibFindChess ( ) : int
ovCalibGetImageCount ( ) : int
ovCalibInitialize ( int pattern_size_w, int pattern_size_h, double chessSizeMM ) : void
ovCalibSolveStereoParameter ( ) : void
ovClose ( ) : int
ovGetBLC ( ) : int
ovGetBufferSize ( ) : int
ovGetCamImageBGR ( System img, int eye ) : void
ovGetCamImageBGRA ( System img, int eye ) : void
ovGetCamImageForUnity ( System pImagePtr_Left, System pImagePtr_Right ) : void
ovGetCamImageForUnityNative ( System pTexPtr_Left, System pTexPtr_Right ) : void
ovGetCamImageForUnityNativeGLCall ( System pTexPtr_Left, System pTexPtr_Right ) : IntPtr
ovGetCamImageRGB ( System img, int eye ) : void
ovGetExposure ( ) : int
ovGetFocalPoint ( ) : float
ovGetGain ( ) : int
ovGetHMDRightGap ( int at ) : float
ovGetImageBaseWidth ( ) : float
ovGetImageHeight ( ) : int
ovGetImageRate ( ) : int
ovGetImageWidth ( ) : int
ovGetPixelSize ( ) : int
ovGetTrackData ( System mdata ) : int
ovGetWhiteBalanceAuto ( ) : bool
ovGetWhiteBalanceB ( ) : int
ovGetWhiteBalanceG ( ) : int
ovGetWhiteBalanceR ( ) : int
ovOpen ( int locationID, float arMeter, int type ) : int
ovPreStoreCamData ( int qt ) : void
ovSaveCamStatusToEEPROM ( ) : bool
ovSetBLC ( int value ) : void
ovSetCamSyncMode ( bool at ) : float
ovSetExposure ( int value ) : void
ovSetExposurePerSec ( float value ) : int
ovSetGain ( int value ) : void
ovSetWhiteBalanceAuto ( bool value ) : void
ovSetWhiteBalanceB ( int value ) : void
ovSetWhiteBalanceG ( int value ) : void
ovSetWhiteBalanceR ( int value ) : void
ovTrackRender ( bool calib, bool point ) : void
ovTrackingCalibReset ( ) : void

Method Details

COvrvisionUnity() public method

public COvrvisionUnity ( ) : System
return System

CalibFindChess() public method

public CalibFindChess ( ) : int
return int

CalibGetImageCount() public method

public CalibGetImageCount ( ) : int
return int

CalibSolveStereoParameter() public method

public CalibSolveStereoParameter ( ) : void
return void

Close() public method

public Close ( ) : bool
return bool

GetBLC() public method

public GetBLC ( ) : int
return int

GetExposure() public method

public GetExposure ( ) : int
return int

GetFloatPoint() public method

public GetFloatPoint ( ) : float
return float

GetGain() public method

public GetGain ( ) : int
return int

GetImagePixelColor() public method

public GetImagePixelColor ( System leftPtr, int eye ) : void
leftPtr System
eye int
return void

GetWhiteBalanceAutoMode() public method

public GetWhiteBalanceAutoMode ( ) : bool
return bool

GetWhiteBalanceB() public method

public GetWhiteBalanceB ( ) : int
return int

GetWhiteBalanceG() public method

public GetWhiteBalanceG ( ) : int
return int

GetWhiteBalanceR() public method

public GetWhiteBalanceR ( ) : int
return int

HMDCameraRightGap() public method

public HMDCameraRightGap ( ) : Vector3
return Vector3

InitializeCalibration() public method

public InitializeCalibration ( int pattern_size_w, int pattern_size_h, double chessSizeMM ) : void
pattern_size_w int
pattern_size_h int
chessSizeMM double
return void

Open() public method

public Open ( int opentype, float arsize ) : bool
opentype int
arsize float
return bool

OvrvisionGetAR() public method

public OvrvisionGetAR ( System mdata, int datasize ) : int
mdata System
datasize int
return int

OvrvisionGetTrackingVec3() public method

public OvrvisionGetTrackingVec3 ( System mdata ) : int
mdata System
return int

OvrvisionTrackRender() public method

public OvrvisionTrackRender ( bool calib, bool point ) : void
calib bool
point bool
return void

OvrvisionTrackReset() public method

public OvrvisionTrackReset ( ) : void
return void

SaveCamStatusToEEPROM() public method

public SaveCamStatusToEEPROM ( ) : bool
return bool

SetBLC() public method

public SetBLC ( int value ) : void
value int
return void

SetExposure() public method

public SetExposure ( int value ) : void
value int
return void

SetGain() public method

public SetGain ( int value ) : void
value int
return void

SetWhiteBalanceAutoMode() public method

public SetWhiteBalanceAutoMode ( bool value ) : void
value bool
return void

SetWhiteBalanceB() public method

public SetWhiteBalanceB ( int value ) : void
value int
return void

SetWhiteBalanceG() public method

public SetWhiteBalanceG ( int value ) : void
value int
return void

SetWhiteBalanceR() public method

public SetWhiteBalanceR ( int value ) : void
value int
return void

UpdateImage() public method

public UpdateImage ( System leftPtr, System rightPtr ) : void
leftPtr System
rightPtr System
return void

Property Details

aspectW public_oe property

public float aspectW
return float

camStatus public_oe property

public bool camStatus
return bool

imageSizeW public_oe property

public int imageSizeW
return int

useOvrvisionAR public_oe property

public bool useOvrvisionAR
return bool

useOvrvisionTrack public_oe property

public bool useOvrvisionTrack
return bool

useOvrvisionTrack_Calib public_oe property

public bool useOvrvisionTrack_Calib
return bool

useProcessingQuality public_oe property

public int useProcessingQuality
return int