Ejemplo n.º 1
0
sb.cc.write('''
#-----------------------------------------------------------------------------
# POSIT (POSe from ITeration)
#-----------------------------------------------------------------------------


''')

# CvPOSITObject
z = sb.mb.class_('CvPOSITObject')
z.include()
sb.insert_del_interface('CvPOSITObject', '_ext._cvReleasePOSITObject')

z = sb.mb.free_fun('cvReleasePOSITObject')
FT.add_underscore(z)
z._transformer_creators.append(FT.input_double_pointee(0))

# cvCreatePOSITObject
FT.expose_func(sb.mb.free_fun('cvCreatePOSITObject'), ownershiplevel=1)

# some functions
for t in (
    'cvRANSACUpdateNumIters', 'cvPOSIT',
    'cvTriangulatePoints', 'cvCorrectMatches'):
    sb.mb.free_fun(t).include()

# Camera Calibration, Pose Estimation and Stereo
sb.cc.write('''
#-----------------------------------------------------------------------------
# Camera Calibration, Pose Estimation and Stereo
#-----------------------------------------------------------------------------
Ejemplo n.º 2
0
sb.finalize_class(z)
sb.insert_del_interface('CvConDensation', '_ext._cvReleaseConDensation')

for z in (
        'cvConDensUpdateByTime',
        'cvConDensInitSampleSet',
):
    sb.mb.free_fun(z).include()

# cvCreateConDensation
FT.expose_func(sb.mb.free_fun('cvCreateConDensation'), ownershiplevel=1)

# cvReleaseConDensation
z = sb.mb.free_fun('cvReleaseConDensation')
FT.add_underscore(z)
z._transformer_creators.append(FT.input_double_pointee('condens'))

sb.cc.write('''
#=============================================================================
# cvaux.hpp
#=============================================================================


''')

#=============================================================================
# Structures
#=============================================================================

# CvCamShiftTracker
# TODO: fix the rest of the member declarations
Ejemplo n.º 3
0
sb.finalize_class(z)
sb.insert_del_interface('CvConDensation', '_ext._cvReleaseConDensation')

for z in (
    'cvConDensUpdateByTime', 'cvConDensInitSampleSet',
    ):
    sb.mb.free_fun(z).include()


# cvCreateConDensation
FT.expose_func(sb.mb.free_fun('cvCreateConDensation'), ownershiplevel=1)

# cvReleaseConDensation
z = sb.mb.free_fun('cvReleaseConDensation')
FT.add_underscore(z)
z._transformer_creators.append(FT.input_double_pointee('condens'))




sb.cc.write('''
#=============================================================================
# cvaux.hpp
#=============================================================================


''')

#=============================================================================
# Structures
#=============================================================================
Ejemplo n.º 4
0
sb.cc.write('''
#-----------------------------------------------------------------------------
# POSIT (POSe from ITeration)
#-----------------------------------------------------------------------------


''')

# CvPOSITObject
z = sb.mb.class_('CvPOSITObject')
z.include()
sb.insert_del_interface('CvPOSITObject', '_ext._cvReleasePOSITObject')

z = sb.mb.free_fun('cvReleasePOSITObject')
FT.add_underscore(z)
z._transformer_creators.append(FT.input_double_pointee(0))

# cvCreatePOSITObject
FT.expose_func(sb.mb.free_fun('cvCreatePOSITObject'), ownershiplevel=1)

# some functions
for t in ('cvRANSACUpdateNumIters', 'cvPOSIT', 'cvTriangulatePoints',
          'cvCorrectMatches'):
    sb.mb.free_fun(t).include()

# Camera Calibration, Pose Estimation and Stereo
sb.cc.write('''
#-----------------------------------------------------------------------------
# Camera Calibration, Pose Estimation and Stereo
#-----------------------------------------------------------------------------