Package pyopencv :: Module cxcore_hpp_ext :: Class Size2i
[hide private]
[frames] | no frames]

Class Size2i

 object --+    
          |    
??.instance --+
              |
             Size2i

Property 'ndarray' provides a numpy.ndarray view on the object. If you create a reference to 'ndarray', you must keep the object unchanged until your reference is deleted, or Python may crash! Alternatively, you could create a reference to 'ndarray' by using 'asndarray(obj)', where 'obj' is an instance of this class.

To create an instance of Size2i that shares the same data with an ndarray instance, use: 'asSize2i(a), where 'a' is an ndarray instance. Similarly, to avoid a potential Python crash, you must keep the current instance unchanged until the reference is deleted.

Instance Methods [hide private]
 
__add__(...)
__add__( (Size2i)arg1, (Size2i)arg2) -> Size2i :
 
__eq__(...)
__eq__( (Size2i)arg1, (Size2i)arg2) -> bool :
 
__getitem__(self, *args, **kwds)
 
__getslice__(self, *args, **kwds)
 
__iadd__(...)
__iadd__( (Size2i)arg1, (Size2i)arg2) -> Size2i :
 
__init__(...)
__init__( (object)arg1) -> None :
 
__isub__(...)
__isub__( (Size2i)arg1, (Size2i)arg2) -> Size2i :
 
__iter__(self, *args, **kwds)
 
__mul__(...)
__mul__( (Size2i)arg1, (object)arg2) -> Size2i :
 
__ne__(...)
__ne__( (Size2i)arg1, (Size2i)arg2) -> bool :
 
__reduce__(...)
helper for pickle
 
__repr__(self)
repr(x)
 
__setitem__(self, *args, **kwds)
 
__setslice__(self, *args, **kwds)
 
__sub__(...)
__sub__( (Size2i)arg1, (Size2i)arg2) -> Size2i :
 
area(...)
area( (Size2i)arg1) -> int :
 
assign(...)
assign( (Size2i)arg1, (Size2i)sz) -> Size2i :

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __instance_size__ = 16
Properties [hide private]
  height
  ndarray
  this
  width

Inherited from object: __class__

Method Details [hide private]

__add__(...)
(Addition operator)

 

__add__( (Size2i)arg1, (Size2i)arg2) -> Size2i :

    C++ signature :
        cv::Size_<int> __add__(cv::Size_<int>,cv::Size_<int>)

__eq__(...)
(Equality operator)

 

__eq__( (Size2i)arg1, (Size2i)arg2) -> bool :

    C++ signature :
        bool __eq__(cv::Size_<int>,cv::Size_<int>)

__iadd__(...)

 

__iadd__( (Size2i)arg1, (Size2i)arg2) -> Size2i :

    C++ signature :
        cv::Size_<int> {lvalue} __iadd__(cv::Size_<int> {lvalue},cv::Size_<int>)

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

__init__( (object)arg1, (object)_width, (object)_height) -> None :

    C++ signature :
        void __init__(_object*,int,int)

__init__( (object)arg1, (Size2i)sz) -> None :

    C++ signature :
        void __init__(_object*,cv::Size_<int>)

__init__( (object)arg1, (Point2i)pt) -> None :

    C++ signature :
        void __init__(_object*,cv::Point_<int>)

Overrides: object.__init__

__isub__(...)

 

__isub__( (Size2i)arg1, (Size2i)arg2) -> Size2i :

    C++ signature :
        cv::Size_<int> {lvalue} __isub__(cv::Size_<int> {lvalue},cv::Size_<int>)

__mul__(...)

 

__mul__( (Size2i)arg1, (object)arg2) -> Size2i :

    C++ signature :
        cv::Size_<int> __mul__(cv::Size_<int>,int)

__ne__(...)

 

__ne__( (Size2i)arg1, (Size2i)arg2) -> bool :

    C++ signature :
        bool __ne__(cv::Size_<int>,cv::Size_<int>)

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__sub__(...)
(Subtraction operator)

 

__sub__( (Size2i)arg1, (Size2i)arg2) -> Size2i :

    C++ signature :
        cv::Size_<int> __sub__(cv::Size_<int>,cv::Size_<int>)

area(...)

 

area( (Size2i)arg1) -> int :

    C++ signature :
        int area(cv::Size_<int> {lvalue})

assign(...)

 

assign( (Size2i)arg1, (Size2i)sz) -> Size2i :
    
    Wrapped function:
        operator=

    C++ signature :
        cv::Size_<int> {lvalue} assign(cv::Size_<int> {lvalue},cv::Size_<int>)


Property Details [hide private]

height

Get Method:
unreachable(...)
Set Method:
unreachable(...)

ndarray

Get Method:
unreachable(...)

this

Get Method:
unreachable(...)

width

Get Method:
unreachable(...)
Set Method:
unreachable(...)