Package pyopencv :: Module cxcore_hpp_vec_ext :: Class vector_Vec2i
[hide private]
[frames] | no frames]

Class vector_Vec2i

 object --+    
          |    
??.instance --+
              |
             vector_Vec2i

Nested Classes [hide private]
  elem_type
Property 'ndarray' provides a numpy.ndarray view on the object.
Instance Methods [hide private]
 
__contains__(...)
__contains__( (vector_Vec2i)arg1, (object)arg2) -> bool :
 
__delitem__(...)
__delitem__( (vector_Vec2i)arg1, (object)arg2) -> None :
 
__getitem__(...)
__getitem__( (object)arg1, (object)arg2) -> object :
 
__init__(self, obj=None)
Initializes the vector.
 
__iter__(...)
__iter__( (object)arg1) -> object :
 
__len__(...)
__len__( (vector_Vec2i)arg1) -> int :
 
__old_init__(...)
__init__( (object)arg1) -> None :
 
__reduce__(...)
helper for pickle
 
__repr__(self)
repr(x)
 
__setitem__(...)
__setitem__( (vector_Vec2i)arg1, (object)arg2, (object)arg3) -> None :
 
append(...)
append( (vector_Vec2i)arg1, (object)arg2) -> None :
 
create(self, obj)
Creates the vector from a Python sequence.
 
extend(...)
extend( (vector_Vec2i)arg1, (object)arg2) -> None :
 
resize(...)
resize( (vector_Vec2i)arg1, (object)num) -> None :
 
tolist(self)

Inherited from unreachable.instance: __new__

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

Class Methods [hide private]
 
fromlist(cls, obj)
Creates a vector from a Python sequence.
Class Variables [hide private]
  __instance_size__ = 20
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__contains__(...)
(In operator)

 

__contains__( (vector_Vec2i)arg1, (object)arg2) -> bool :

    C++ signature :
        bool __contains__(std::vector<cv::Vec<int, 2>, std::allocator<cv::Vec<int, 2> > > {lvalue},_object*)

__delitem__(...)
(Index deletion operator)

 

__delitem__( (vector_Vec2i)arg1, (object)arg2) -> None :

    C++ signature :
        void __delitem__(std::vector<cv::Vec<int, 2>, std::allocator<cv::Vec<int, 2> > > {lvalue},_object*)

__getitem__(...)
(Indexing operator)

 

__getitem__( (object)arg1, (object)arg2) -> object :

    C++ signature :
        boost::python::api::object __getitem__(boost::python::back_reference<std::vector<cv::Vec<int, 2>, std::allocator<cv::Vec<int, 2> > >&>,_object*)

__init__(self, obj=None)
(Constructor)

 
Initializes the vector.

Argument 'obj':
    If 'obj' is an integer, the vector is initialized as a vector of 
    'obj' elements. If 'obj' is a Python sequence. The vector is
    initialized as an equivalence of 'obj' by invoking self.fromlist().

Overrides: object.__init__

__iter__(...)

 

__iter__( (object)arg1) -> object :

    C++ signature :
        boost::python::objects::iterator_range<boost::python::return_internal_reference<1u, boost::python::default_call_policies>, __gnu_cxx::__normal_iterator<cv::Vec<int, 2>*, std::vector<cv::Vec<int, 2>, std::allocator<cv::Vec<int, 2> > > > > __iter__(boost::python::back_reference<std::vector<cv::Vec<int, 2>, std::allocator<cv::Vec<int, 2> > >&>)

__len__(...)
(Length operator)

 

__len__( (vector_Vec2i)arg1) -> int :

    C++ signature :
        unsigned int __len__(std::vector<cv::Vec<int, 2>, std::allocator<cv::Vec<int, 2> > > {lvalue})

__old_init__(...)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__setitem__(...)
(Index assignment operator)

 

__setitem__( (vector_Vec2i)arg1, (object)arg2, (object)arg3) -> None :

    C++ signature :
        void __setitem__(std::vector<cv::Vec<int, 2>, std::allocator<cv::Vec<int, 2> > > {lvalue},_object*,_object*)

append(...)

 

append( (vector_Vec2i)arg1, (object)arg2) -> None :

    C++ signature :
        void append(std::vector<cv::Vec<int, 2>, std::allocator<cv::Vec<int, 2> > > {lvalue},boost::python::api::object)

create(self, obj)

 
Creates the vector from a Python sequence.

Argument 'obj':
    a Python sequence

extend(...)

 

extend( (vector_Vec2i)arg1, (object)arg2) -> None :

    C++ signature :
        void extend(std::vector<cv::Vec<int, 2>, std::allocator<cv::Vec<int, 2> > > {lvalue},boost::python::api::object)

fromlist(cls, obj)
Class Method

 
Creates a vector from a Python sequence.

Argument 'obj':
    a Python sequence

resize(...)

 

resize( (vector_Vec2i)arg1, (object)num) -> None :

    C++ signature :
        void resize(std::vector<cv::Vec<int, 2>, std::allocator<cv::Vec<int, 2> > > {lvalue},unsigned int)