Package pyopencv :: Module pyopencvext :: Class Vec2w
[hide private]
[frames] | no frames]

Class Vec2w

 object --+    
          |    
??.instance --+
              |
             Vec2w


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!

To create an instance of Vec2w that shares the same data with an ndarray instance, use:
    'Vec2w.from_ndarray(a)' or 'asVec2w(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]
 
__getitem__(self, *args, **kwds)
 
__getslice__(self, *args, **kwds)
 
__init__(...)
__init__( (object)arg1) -> None :
 
__reduce__(...)
helper for pickle
 
__repr__(self)
repr(x)
 
__setitem__(self, *args, **kwds)
 
__setslice__(self, *args, **kwds)
 
cross(...)
cross( (Vec2w)arg1, (Vec2w)v) -> Vec2w :
 
ddot(...)
ddot( (Vec2w)arg1, (Vec2w)v) -> float :
 
dot(...)
dot( (Vec2w)arg1, (Vec2w)v) -> int :

Inherited from unreachable.instance: __new__

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

Static Methods [hide private]
 
all(...)
all( (object)alpha) -> Vec2w :
 
from_ndarray(...)
from_ndarray( (object)arr) -> object :
Class Variables [hide private]
  __instance_size__ = 12
  channels = 2
  depth = 2
  type = 10
Properties [hide private]
  ndarray
  this

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

__init__( (object)arg1, (object)v0) -> None :

    C++ signature :
        void __init__(_object*,unsigned short)

__init__( (object)arg1, (object)v0, (object)v1) -> None :

    C++ signature :
        void __init__(_object*,unsigned short,unsigned short)

__init__( (object)arg1, (object)v0, (object)v1, (object)v2) -> None :

    C++ signature :
        void __init__(_object*,unsigned short,unsigned short,unsigned short)

__init__( (object)arg1, (object)v0, (object)v1, (object)v2, (object)v3) -> None :

    C++ signature :
        void __init__(_object*,unsigned short,unsigned short,unsigned short,unsigned short)

__init__( (object)arg1, (object)v0, (object)v1, (object)v2, (object)v3, (object)v4) -> None :

    C++ signature :
        void __init__(_object*,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short)

__init__( (object)arg1, (object)v0, (object)v1, (object)v2, (object)v3, (object)v4, (object)v5) -> None :

    C++ signature :
        void __init__(_object*,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short)

__init__( (object)arg1, (object)v0, (object)v1, (object)v2, (object)v3, (object)v4, (object)v5, (object)v6) -> None :

    C++ signature :
        void __init__(_object*,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short)

__init__( (object)arg1, (object)v0, (object)v1, (object)v2, (object)v3, (object)v4, (object)v5, (object)v6, (object)v7) -> None :

    C++ signature :
        void __init__(_object*,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short)

__init__( (object)arg1, (object)v0, (object)v1, (object)v2, (object)v3, (object)v4, (object)v5, (object)v6, (object)v7, (object)v8) -> None :

    C++ signature :
        void __init__(_object*,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short)

__init__( (object)arg1, (object)v0, (object)v1, (object)v2, (object)v3, (object)v4, (object)v5, (object)v6, (object)v7, (object)v8, (object)v9) -> None :

    C++ signature :
        void __init__(_object*,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short,unsigned short)

__init__( (object)arg1, (Vec2w)v) -> None :

    C++ signature :
        void __init__(_object*,cv::Vec<unsigned short, 2>)

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

all(...)
Static Method

 

all( (object)alpha) -> Vec2w :

    C++ signature :
        cv::Vec<unsigned short, 2> all(unsigned short)

cross(...)

 

cross( (Vec2w)arg1, (Vec2w)v) -> Vec2w :

    C++ signature :
        cv::Vec<unsigned short, 2> cross(cv::Vec<unsigned short, 2> {lvalue},cv::Vec<unsigned short, 2>)

ddot(...)

 

ddot( (Vec2w)arg1, (Vec2w)v) -> float :

    C++ signature :
        double ddot(cv::Vec<unsigned short, 2> {lvalue},cv::Vec<unsigned short, 2>)

dot(...)

 

dot( (Vec2w)arg1, (Vec2w)v) -> int :

    C++ signature :
        unsigned short dot(cv::Vec<unsigned short, 2> {lvalue},cv::Vec<unsigned short, 2>)

from_ndarray(...)
Static Method

 


from_ndarray( (object)arr) -> object :

    C++ signature :
        boost::python::api::object from_ndarray(boost::python::ndarray)
    Creates a Vec2w view on an ndarray instance.


Property Details [hide private]

ndarray

Get Method:
unreachable(...)

this

Get Method:
unreachable(...)