Method: OpenCV::PtrAlgorithm#obj
- Defined in:
- lib/ruby/ropencv/ropencv_types.rb
#obj ⇒ Object
wrapper for const cv::Algorithm *obj
16127 16128 16129 16130 16131 16132 |
# File 'lib/ruby/ropencv/ropencv_types.rb', line 16127 def obj() result = Rbind::ptr_algorithm_get_obj( self) # store owner insight the pointer to not get garbage collected result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) if !result.__owner__? result end |