|
Point Cloud Library (PCL) 1.15.1
|
#include <pcl/surface/3rdparty/opennurbs/opennurbs_array.h>
Public Member Functions | |
| ON_ClassArray () | |
| ON_ClassArray (int) | |
| ON_ClassArray (const ON_ClassArray< T > &) | |
| virtual | ~ON_ClassArray () |
| ON_ClassArray< T > & | operator= (const ON_ClassArray< T > &) |
| void | EmergencyDestroy (void) |
| int | Count () const |
| unsigned int | UnsignedCount () const |
| int | Capacity () const |
| unsigned int | SizeOfArray () const |
| unsigned int | SizeOfElement () const |
| T & | operator[] (int) |
| T & | operator[] (unsigned int) |
| T & | operator[] (ON__INT64) |
| T & | operator[] (ON__UINT64) |
| const T & | operator[] (int) const |
| const T & | operator[] (unsigned int) const |
| const T & | operator[] (ON__INT64) const |
| const T & | operator[] (ON__UINT64) const |
| operator T* () | |
| operator const T * () const | |
| T * | First () |
| const T * | First () const |
| T * | At (int) |
| T * | At (unsigned int) |
| T * | At (ON__INT64) |
| T * | At (ON__UINT64) |
| const T * | At (int) const |
| const T * | At (unsigned int) const |
| const T * | At (ON__INT64) const |
| const T * | At (ON__UINT64) const |
| T * | Last () |
| const T * | Last () const |
| T & | AppendNew () |
| void | Append (const T &) |
| void | Append (int, const T *) |
| void | Insert (int, const T &) |
| void | Remove () |
| void | Remove (int) |
| void | Empty () |
| void | Reverse () |
| void | Swap (int, int) |
| int | Search (const T *, int(*)(const T *, const T *)) const |
| int | BinarySearch (const T *, int(*)(const T *, const T *)) const |
| int | BinarySearch (const T *, int(*)(const T *, const T *), int) const |
| virtual bool | HeapSort (int(*)(const T *, const T *)) |
| virtual bool | QuickSort (int(*)(const T *, const T *)) |
| bool | Sort (ON::sort_algorithm sort_algorithm, int *, int(*)(const T *, const T *)) const |
| bool | Sort (ON::sort_algorithm sort_algorithm, int *, int(*)(const T *, const T *, void *), void *) const |
| bool | Permute (const int *) |
| void | Zero () |
| void | Reserve (int) |
| void | Shrink () |
| void | Destroy () |
| virtual T * | Realloc (T *, int) |
| T * | Array () |
| const T * | Array () const |
| void | SetCount (int) |
| void | SetCapacity (int) |
| int | NewCapacity () const |
| T * | KeepArray () |
| void | SetArray (T *) |
| void | SetArray (T *, int, int) |
Protected Member Functions | |
| void | Move (int, int, int) |
| void | ConstructDefaultElement (T *) |
| void | DestroyElement (T &) |
Protected Attributes | |
| T * | m_a |
| int | m_count |
| int | m_capacity |
Definition at line 821 of file opennurbs_array.h.
| ON_ClassArray< T >::ON_ClassArray | ( | ) |
Definition at line 937 of file opennurbs_array_defs.h.
References m_a, m_capacity, and m_count.
Referenced by ON_ClassArray(), ON_ObjectArray< T >::ON_ObjectArray(), operator const T *(), operator T*(), and operator=().
| ON_ClassArray< T >::ON_ClassArray | ( | int | c | ) |
Definition at line 944 of file opennurbs_array_defs.h.
References m_a, m_capacity, and m_count.
| ON_ClassArray< T >::ON_ClassArray | ( | const ON_ClassArray< T > & | src | ) |
Definition at line 955 of file opennurbs_array_defs.h.
References m_a, m_capacity, m_count, and ON_ClassArray().
|
virtual |
Definition at line 964 of file opennurbs_array_defs.h.
References SetCapacity().
| void ON_ClassArray< T >::Append | ( | const T & | x | ) |
Definition at line 1316 of file opennurbs_array_defs.h.
References m_a, m_capacity, m_count, NewCapacity(), and Reserve().
| void ON_ClassArray< T >::Append | ( | int | count, |
| const T * | p ) |
Definition at line 1343 of file opennurbs_array_defs.h.
References m_a, m_capacity, m_count, NewCapacity(), and Reserve().
| T & ON_ClassArray< T >::AppendNew | ( | ) |
Definition at line 1298 of file opennurbs_array_defs.h.
References ConstructDefaultElement(), DestroyElement(), m_a, m_capacity, m_count, NewCapacity(), and Reserve().
| T * ON_ClassArray< T >::Array | ( | ) |
Definition at line 1144 of file opennurbs_array_defs.h.
| const T * ON_ClassArray< T >::Array | ( | ) | const |
Definition at line 1150 of file opennurbs_array_defs.h.
References m_a.
| T * ON_ClassArray< T >::At | ( | int | i | ) |
Definition at line 1196 of file opennurbs_array_defs.h.
| const T * ON_ClassArray< T >::At | ( | int | i | ) | const |
Definition at line 1208 of file opennurbs_array_defs.h.
| T * ON_ClassArray< T >::At | ( | ON__INT64 | i | ) |
Definition at line 1221 of file opennurbs_array_defs.h.
| const T * ON_ClassArray< T >::At | ( | ON__INT64 | i | ) | const |
Definition at line 1233 of file opennurbs_array_defs.h.
| T * ON_ClassArray< T >::At | ( | ON__UINT64 | i | ) |
Definition at line 1227 of file opennurbs_array_defs.h.
| const T * ON_ClassArray< T >::At | ( | ON__UINT64 | i | ) | const |
Definition at line 1239 of file opennurbs_array_defs.h.
| T * ON_ClassArray< T >::At | ( | unsigned int | i | ) |
Definition at line 1202 of file opennurbs_array_defs.h.
| const T * ON_ClassArray< T >::At | ( | unsigned int | i | ) | const |
Definition at line 1214 of file opennurbs_array_defs.h.
| int ON_ClassArray< T >::BinarySearch | ( | const T * | key, |
| int(* | compar )(const T *, const T *) ) const |
Definition at line 1465 of file opennurbs_array_defs.h.
| int ON_ClassArray< T >::BinarySearch | ( | const T * | key, |
| int(* | compar )(const T *, const T *), | ||
| int | count ) const |
Definition at line 1478 of file opennurbs_array_defs.h.
| int ON_ClassArray< T >::Capacity | ( | ) | const |
Definition at line 1017 of file opennurbs_array_defs.h.
References m_capacity.
|
protected |
Definition at line 1284 of file opennurbs_array_defs.h.
Referenced by AppendNew(), Empty(), Insert(), Remove(), SetCapacity(), and Zero().
| int ON_ClassArray< T >::Count | ( | ) | const |
Definition at line 1005 of file opennurbs_array_defs.h.
References m_count.
| void ON_ClassArray< T >::Destroy | ( | ) |
Definition at line 1651 of file opennurbs_array_defs.h.
References SetCapacity().
Referenced by SetArray(), and SetArray().
|
protected |
Definition at line 1292 of file opennurbs_array_defs.h.
Referenced by AppendNew(), Empty(), Insert(), Remove(), SetCapacity(), and Zero().
| void ON_ClassArray< T >::EmergencyDestroy | ( | void | ) |
Definition at line 995 of file opennurbs_array_defs.h.
References m_a, m_capacity, and m_count.
| void ON_ClassArray< T >::Empty | ( | ) |
Definition at line 1413 of file opennurbs_array_defs.h.
References ConstructDefaultElement(), DestroyElement(), m_a, and m_count.
| T * ON_ClassArray< T >::First | ( | ) |
Definition at line 1184 of file opennurbs_array_defs.h.
| const T * ON_ClassArray< T >::First | ( | ) | const |
Definition at line 1190 of file opennurbs_array_defs.h.
|
virtual |
Reimplemented in ON_ObjectArray< T >, ON_ObjectArray< ON_BrepEdge >, ON_ObjectArray< ON_BrepFace >, ON_ObjectArray< ON_BrepFaceSide >, ON_ObjectArray< ON_BrepLoop >, ON_ObjectArray< ON_BrepRegion >, ON_ObjectArray< ON_BrepTrim >, ON_ObjectArray< ON_BrepVertex >, ON_ObjectArray< ON_DimStyle >, ON_ObjectArray< ON_Font >, ON_ObjectArray< ON_Group >, ON_ObjectArray< ON_HatchPattern >, ON_ObjectArray< ON_InstanceDefinition >, ON_ObjectArray< ON_Layer >, ON_ObjectArray< ON_Linetype >, ON_ObjectArray< ON_Material >, ON_ObjectArray< ON_Texture >, and ON_ObjectArray< ON_TextureMapping >.
Definition at line 1495 of file opennurbs_array_defs.h.
| void ON_ClassArray< T >::Insert | ( | int | i, |
| const T & | x ) |
Definition at line 1363 of file opennurbs_array_defs.h.
References ConstructDefaultElement(), DestroyElement(), m_a, m_capacity, m_count, Move(), NewCapacity(), and Reserve().
| T * ON_ClassArray< T >::KeepArray | ( | ) |
Definition at line 1156 of file opennurbs_array_defs.h.
References m_a, m_capacity, and m_count.
| T * ON_ClassArray< T >::Last | ( | ) |
Definition at line 1246 of file opennurbs_array_defs.h.
| const T * ON_ClassArray< T >::Last | ( | ) | const |
Definition at line 1252 of file opennurbs_array_defs.h.
|
protected |
Definition at line 1260 of file opennurbs_array_defs.h.
References m_a, m_capacity, m_count, and SetCapacity().
| int ON_ClassArray< T >::NewCapacity | ( | ) | const |
Definition at line 826 of file opennurbs_array_defs.h.
Referenced by Append(), Append(), AppendNew(), and Insert().
| ON_ClassArray< T >::operator const T * | ( | ) | const |
Definition at line 1138 of file opennurbs_array_defs.h.
References ON_ClassArray().
| ON_ClassArray< T >::operator T* | ( | ) |
Definition at line 1132 of file opennurbs_array_defs.h.
References ON_ClassArray().
| ON_ClassArray< T > & ON_ClassArray< T >::operator= | ( | const ON_ClassArray< T > & | src | ) |
Definition at line 970 of file opennurbs_array_defs.h.
References m_count, and ON_ClassArray().
Referenced by ON_ObjectArray< T >::operator=().
| T & ON_ClassArray< T >::operator[] | ( | int | i | ) |
Definition at line 1035 of file opennurbs_array_defs.h.
References m_a, and m_capacity.
| const T & ON_ClassArray< T >::operator[] | ( | int | i | ) | const |
Definition at line 1084 of file opennurbs_array_defs.h.
References m_a, and m_capacity.
| T & ON_ClassArray< T >::operator[] | ( | ON__INT64 | i | ) |
Definition at line 1048 of file opennurbs_array_defs.h.
References m_capacity.
| const T & ON_ClassArray< T >::operator[] | ( | ON__INT64 | i | ) | const |
Definition at line 1096 of file opennurbs_array_defs.h.
References m_capacity.
| T & ON_ClassArray< T >::operator[] | ( | ON__UINT64 | i | ) |
Definition at line 1072 of file opennurbs_array_defs.h.
References m_a, and m_capacity.
| const T & ON_ClassArray< T >::operator[] | ( | ON__UINT64 | i | ) | const |
Definition at line 1120 of file opennurbs_array_defs.h.
| T & ON_ClassArray< T >::operator[] | ( | unsigned int | i | ) |
Definition at line 1060 of file opennurbs_array_defs.h.
| const T & ON_ClassArray< T >::operator[] | ( | unsigned int | i | ) | const |
Definition at line 1108 of file opennurbs_array_defs.h.
References m_a, and m_capacity.
| bool ON_ClassArray< T >::Permute | ( | const int * | index | ) |
Definition at line 1604 of file opennurbs_array_defs.h.
|
virtual |
Reimplemented in ON_ObjectArray< T >, ON_ObjectArray< ON_BrepEdge >, ON_ObjectArray< ON_BrepFace >, ON_ObjectArray< ON_BrepFaceSide >, ON_ObjectArray< ON_BrepLoop >, ON_ObjectArray< ON_BrepRegion >, ON_ObjectArray< ON_BrepTrim >, ON_ObjectArray< ON_BrepVertex >, ON_ObjectArray< ON_DimStyle >, ON_ObjectArray< ON_Font >, ON_ObjectArray< ON_Group >, ON_ObjectArray< ON_HatchPattern >, ON_ObjectArray< ON_InstanceDefinition >, ON_ObjectArray< ON_Layer >, ON_ObjectArray< ON_Linetype >, ON_ObjectArray< ON_Material >, ON_ObjectArray< ON_Texture >, and ON_ObjectArray< ON_TextureMapping >.
Definition at line 1508 of file opennurbs_array_defs.h.
|
virtual |
Reimplemented in ON_ObjectArray< T >, ON_ObjectArray< ON_BrepEdge >, ON_ObjectArray< ON_BrepFace >, ON_ObjectArray< ON_BrepFaceSide >, ON_ObjectArray< ON_BrepLoop >, ON_ObjectArray< ON_BrepRegion >, ON_ObjectArray< ON_BrepTrim >, ON_ObjectArray< ON_BrepVertex >, ON_ObjectArray< ON_DimStyle >, ON_ObjectArray< ON_Font >, ON_ObjectArray< ON_Group >, ON_ObjectArray< ON_HatchPattern >, ON_ObjectArray< ON_InstanceDefinition >, ON_ObjectArray< ON_Layer >, ON_ObjectArray< ON_Linetype >, ON_ObjectArray< ON_Material >, ON_ObjectArray< ON_Texture >, and ON_ObjectArray< ON_TextureMapping >.
Definition at line 918 of file opennurbs_array_defs.h.
Referenced by SetCapacity().
| void ON_ClassArray< T >::Remove | ( | ) |
Definition at line 1389 of file opennurbs_array_defs.h.
References m_count, and Remove().
Referenced by Remove().
| void ON_ClassArray< T >::Remove | ( | int | i | ) |
Definition at line 1395 of file opennurbs_array_defs.h.
References ConstructDefaultElement(), DestroyElement(), m_a, m_count, and Move().
| void ON_ClassArray< T >::Reserve | ( | int | newcap | ) |
Definition at line 1638 of file opennurbs_array_defs.h.
References m_capacity, and SetCapacity().
Referenced by Append(), Append(), AppendNew(), and Insert().
| void ON_ClassArray< T >::Reverse | ( | ) |
Definition at line 1427 of file opennurbs_array_defs.h.
| int ON_ClassArray< T >::Search | ( | const T * | key, |
| int(* | compar )(const T *, const T *) ) const |
Definition at line 1454 of file opennurbs_array_defs.h.
| void ON_ClassArray< T >::SetArray | ( | T * | p | ) |
Definition at line 1166 of file opennurbs_array_defs.h.
| void ON_ClassArray< T >::SetArray | ( | T * | p, |
| int | count, | ||
| int | capacity ) |
Definition at line 1174 of file opennurbs_array_defs.h.
References Destroy(), m_a, m_capacity, and m_count.
| void ON_ClassArray< T >::SetCapacity | ( | int | capacity | ) |
Definition at line 1666 of file opennurbs_array_defs.h.
References ConstructDefaultElement(), DestroyElement(), m_a, m_capacity, m_count, and Realloc().
Referenced by Destroy(), Move(), Reserve(), Shrink(), and ~ON_ClassArray().
| void ON_ClassArray< T >::SetCount | ( | int | count | ) |
Definition at line 1659 of file opennurbs_array_defs.h.
References m_capacity, and m_count.
| void ON_ClassArray< T >::Shrink | ( | ) |
Definition at line 1645 of file opennurbs_array_defs.h.
References m_count, and SetCapacity().
| unsigned int ON_ClassArray< T >::SizeOfArray | ( | ) | const |
Definition at line 1023 of file opennurbs_array_defs.h.
| unsigned int ON_ClassArray< T >::SizeOfElement | ( | ) | const |
Definition at line 1029 of file opennurbs_array_defs.h.
| bool ON_ClassArray< T >::Sort | ( | ON::sort_algorithm | sort_algorithm, |
| int * | index, | ||
| int(* | compar )(const T *, const T *) ) const |
Definition at line 1574 of file opennurbs_array_defs.h.
| bool ON_ClassArray< T >::Sort | ( | ON::sort_algorithm | sort_algorithm, |
| int * | index, | ||
| int(* | compar )(const T *, const T *, void *), | ||
| void * | p ) const |
Definition at line 1589 of file opennurbs_array_defs.h.
| void ON_ClassArray< T >::Swap | ( | int | i, |
| int | j ) |
Definition at line 1443 of file opennurbs_array_defs.h.
| unsigned int ON_ClassArray< T >::UnsignedCount | ( | ) | const |
Definition at line 1011 of file opennurbs_array_defs.h.
References m_count.
| void ON_ClassArray< T >::Zero | ( | ) |
Definition at line 1621 of file opennurbs_array_defs.h.
References ConstructDefaultElement(), DestroyElement(), m_a, and m_capacity.
|
protected |
Definition at line 1106 of file opennurbs_array.h.
Referenced by Append(), Append(), AppendNew(), Array(), At(), At(), At(), At(), At(), At(), At(), At(), BinarySearch(), BinarySearch(), ON_ObjectArray< T >::DataCRC(), EmergencyDestroy(), Empty(), First(), First(), HeapSort(), ON_ObjectArray< T >::HeapSort(), Insert(), KeepArray(), Last(), Last(), Move(), ON_ClassArray(), ON_ClassArray(), ON_ClassArray(), operator[](), operator[](), operator[](), operator[](), Permute(), QuickSort(), ON_ObjectArray< T >::QuickSort(), Remove(), Reverse(), Search(), SetArray(), SetArray(), SetCapacity(), Sort(), Sort(), ON_ClassArray< ON_BrepEdge >::Sort(), Swap(), and Zero().
|
protected |
Definition at line 1108 of file opennurbs_array.h.
Referenced by Append(), Append(), AppendNew(), Capacity(), EmergencyDestroy(), Insert(), KeepArray(), Move(), ON_ClassArray(), ON_ClassArray(), ON_ClassArray(), operator[](), operator[](), operator[](), operator[](), operator[](), operator[](), Reserve(), SetArray(), SetCapacity(), SetCount(), and Zero().
|
protected |
Definition at line 1107 of file opennurbs_array.h.
Referenced by Append(), Append(), AppendNew(), At(), At(), At(), At(), At(), At(), At(), At(), BinarySearch(), BinarySearch(), Count(), ON_ObjectArray< T >::DataCRC(), EmergencyDestroy(), Empty(), First(), First(), HeapSort(), ON_ObjectArray< T >::HeapSort(), Insert(), KeepArray(), Last(), Last(), Move(), ON_ClassArray(), ON_ClassArray(), ON_ClassArray(), operator=(), Permute(), QuickSort(), ON_ObjectArray< T >::QuickSort(), Remove(), Remove(), Reverse(), Search(), SetArray(), SetCapacity(), SetCount(), Shrink(), Sort(), Sort(), ON_ClassArray< ON_BrepEdge >::Sort(), Swap(), and UnsignedCount().