Class: OpenCV::Cv::AlignExposures
- Inherits:
-
Object
- Object
- OpenCV::Cv::AlignExposures
- Extended by:
- FFI::DataConverter
- Defined in:
- lib/ropencv/ropencv_types.rb
Class Method Summary collapse
- .cast_from_algorithm(ptr, parse_ownership) ⇒ Cv::AlignExposures (also: castFromAlgorithm)
- .new(*args) ⇒ Object
-
.null ⇒ Object
returns a null pointer to the object.
Instance Method Summary collapse
- #cast_to_algorithm(parse_ownership) ⇒ Cv::Algorithm (also: #castToAlgorithm)
- #clear ⇒ Void
- #empty ⇒ Bool
- #get_default_name ⇒ Std::String (also: #getDefaultName)
-
#process(src, dst, times, response) ⇒ Void
methods.
- #read(fn) ⇒ Void
- #save(filename) ⇒ Void
-
#to_s ⇒ Object
converts AlignExposures into a string by crawling through all its attributes.
- #write(fs, name = Std::String.new()) ⇒ Void
Class Method Details
.cast_from_algorithm(ptr, parse_ownership) ⇒ Cv::AlignExposures Also known as: castFromAlgorithm
wrapper for static method cv::AlignExposures* cv::AlignExposures::castFromAlgorithm(cv::Algorithm* ptr, bool parse_ownership)
29523 29524 29525 |
# File 'lib/ropencv/ropencv_types.rb', line 29523 def self.cast_from_algorithm(ptr, parse_ownership) Rbind::cv_align_exposures_cast_from_algorithm(ptr, parse_ownership) end |
.new(*args) ⇒ Object
29412 29413 29414 29415 29416 29417 29418 29419 |
# File 'lib/ropencv/ropencv_types.rb', line 29412 def self.new(*args) if args.first.is_a?(FFI::Pointer) || args.first.is_a?(AlignExposuresStruct) 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
29408 29409 29410 |
# File 'lib/ropencv/ropencv_types.rb', line 29408 def self.null new(AlignExposuresStruct.new) end |
Instance Method Details
#cast_to_algorithm(parse_ownership) ⇒ Cv::Algorithm Also known as: castToAlgorithm
method wrapper for cv::Algorithm* cv::AlignExposures::castToAlgorithm(bool parse_ownership)
29508 29509 29510 29511 29512 29513 29514 29515 29516 |
# File 'lib/ropencv/ropencv_types.rb', line 29508 def cast_to_algorithm(parse_ownership) __validate_pointer__ result = Rbind::cv_align_exposures_cast_to_algorithm( self, parse_ownership) if result.respond_to?(:__owner__?) && !result.__owner__? # store owner insight the pointer to not get garbage collected result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) end result end |
#clear ⇒ Void
method wrapper for void cv::AlignExposures::clear()
29530 29531 29532 29533 |
# File 'lib/ropencv/ropencv_types.rb', line 29530 def clear() __validate_pointer__ Rbind::cv_align_exposures_clear( self) end |
#empty ⇒ Bool
method wrapper for bool cv::AlignExposures::empty()
29554 29555 29556 29557 |
# File 'lib/ropencv/ropencv_types.rb', line 29554 def empty() __validate_pointer__ Rbind::cv_align_exposures_empty( self) end |
#get_default_name ⇒ Std::String Also known as: getDefaultName
method wrapper for const std::string cv::AlignExposures::getDefaultName()
29569 29570 29571 29572 29573 29574 29575 29576 29577 |
# File 'lib/ropencv/ropencv_types.rb', line 29569 def get_default_name() __validate_pointer__ result = Rbind::cv_align_exposures_get_default_name( self) if result.respond_to?(:__owner__?) && !result.__owner__? # store owner insight the pointer to not get garbage collected result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) end result end |
#process(src, dst, times, response) ⇒ Void
29500 29501 29502 29503 |
# File 'lib/ropencv/ropencv_types.rb', line 29500 def process(src, dst, times, response) __validate_pointer__ Rbind::cv_align_exposures_process( self, src, dst, times, response) end |
#read(fn) ⇒ Void
method wrapper for void cv::AlignExposures::read(const cv::FileNode fn)
29547 29548 29549 29550 |
# File 'lib/ropencv/ropencv_types.rb', line 29547 def read(fn) __validate_pointer__ Rbind::cv_align_exposures_read( self, fn) end |
#save(filename) ⇒ Void
method wrapper for void cv::AlignExposures::save(const std::string filename)
29562 29563 29564 29565 |
# File 'lib/ropencv/ropencv_types.rb', line 29562 def save(filename) __validate_pointer__ Rbind::cv_align_exposures_save( self, filename) end |
#to_s ⇒ Object
converts AlignExposures into a string by crawling through all its attributes
29485 29486 29487 |
# File 'lib/ropencv/ropencv_types.rb', line 29485 def to_s "#<cv::AlignExposures >" end |
#write(fs, name = Std::String.new()) ⇒ Void
method wrapper for void cv::AlignExposures::write(const cv::Ptrcv::FileStorage fs, const std::string name = String())
29539 29540 29541 29542 |
# File 'lib/ropencv/ropencv_types.rb', line 29539 def write(fs, name = Std::String.new()) __validate_pointer__ Rbind::cv_align_exposures_write( self, fs, name) end |