Class: OpenCV::Cv::Detail::GraphCutSeamFinderBase
- Inherits:
-
Object
- Object
- OpenCV::Cv::Detail::GraphCutSeamFinderBase
- Extended by:
- FFI::DataConverter
- Defined in:
- lib/ropencv/ropencv_types.rb
Constants collapse
- COST_COLOR =
0
- COST_COLOR_GRAD =
1
Class Method Summary collapse
- .new(*args) ⇒ Object
-
.null ⇒ Object
returns a null pointer to the object.
Instance Method Summary collapse
-
#to_s ⇒ Object
converts GraphCutSeamFinderBase into a string by crawling through all its attributes.
Class Method Details
.new(*args) ⇒ Object
11036 11037 11038 11039 11040 11041 11042 11043 |
# File 'lib/ropencv/ropencv_types.rb', line 11036 def self.new(*args) if args.first.is_a?(FFI::Pointer) || args.first.is_a?(GraphCutSeamFinderBaseStruct) raise ArgumentError, "too many arguments for creating #{self.name} from Pointer" unless args.size == 1 return super(args.first) end raise ArgumentError, "no constructor for #{self}(#{args.inspect})" end |
.null ⇒ Object
returns a null pointer to the object
11032 11033 11034 |
# File 'lib/ropencv/ropencv_types.rb', line 11032 def self.null new(GraphCutSeamFinderBaseStruct.new) end |
Instance Method Details
#to_s ⇒ Object
converts GraphCutSeamFinderBase into a string by crawling through all its attributes
11109 11110 11111 |
# File 'lib/ropencv/ropencv_types.rb', line 11109 def to_s "#<cv::detail::GraphCutSeamFinderBase >" end |