diff options
Diffstat (limited to 'docs/source_docs/files/classbt_aligned_object_array.html')
| -rw-r--r-- | docs/source_docs/files/classbt_aligned_object_array.html | 977 |
1 files changed, 977 insertions, 0 deletions
diff --git a/docs/source_docs/files/classbt_aligned_object_array.html b/docs/source_docs/files/classbt_aligned_object_array.html new file mode 100644 index 0000000..d6dc750 --- /dev/null +++ b/docs/source_docs/files/classbt_aligned_object_array.html @@ -0,0 +1,977 @@ +<html> + <head> + <title>NVIDIA(R) Blast(R) SDK 1.1 Source Reference: btAlignedObjectArray< T > Class Template Reference</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css"> + </head> + + <body bgcolor="#FFFFFF"> + <div id="header"> + <hr class="first"> + <img alt="" src="blast_logo.png"> + <br> + <center> + <a class="qindex" href="main.html">Main Page</a> + <!-- <a class="qindex" href="hierarchy.html">Class Hierarchy</a> //--> + <a class="qindex" href="annotated.html">Class List</a> + <a class="qindex" href="functions.html">Class Members</a> + </center> + <hr class="second"> + </div> +<!-- Generated by Doxygen 1.5.8 --> +<div class="navigation" id="top"> + <div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="pages.html"><span>User's Guide</span></a></li> + <li><a href="modules.html"><span>Modules</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li class="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + </ul> + </div> + <div class="tabs"> + <ul> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="classes.html"><span>Class Index</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul> + </div> +</div> +<div class="contents"> +<h1>btAlignedObjectArray< T > Class Template Reference</h1><!-- doxytag: class="btAlignedObjectArray" --><code>#include <<a class="el" href="bt_aligned_object_array_8h-source.html">btAlignedObjectArray.h</a>></code> +<p> + +<p> +<a href="classbt_aligned_object_array-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Classes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array_1_1less.html">less</a></td></tr> + +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#9ab50f401fff737aa8d15c6ea1c8de79">at</a> (int32_t n)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE const T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#3a25600ae43d660965d4e5a0810848c4">at</a> (int32_t n) const </td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#e91d1383db8069a02d23caf915bc2ce3">btAlignedObjectArray</a> (const <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a> &otherArray)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Generally it is best to avoid using the copy constructor of an <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>, and use a (const) reference to the array instead. <a href="#e91d1383db8069a02d23caf915bc2ce3"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#d596d8e3e18bf81d9aa3fd21e57e5735">btAlignedObjectArray</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#55308568e3b168e2f0aca895b255ecca">capacity</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">return the pre-allocated (reserved) elements, this is at least as large as the total number of elements,see <a class="el" href="classbt_aligned_object_array.html#c9fb7ab72fa1b2284ec10fa79f77e620" title="return the number of elements in the array">size()</a> and <a class="el" href="classbt_aligned_object_array.html#8385df1a28956061def9b78cb55ea7df">reserve()</a> <a href="#55308568e3b168e2f0aca895b255ecca"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#12123db01dda7758f0df5e3bba10cc0a">clear</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">clear the array, deallocated memory. Generally it is better to use array.resize(0), to reduce performance overhead of run-time memory (de)allocations. <a href="#12123db01dda7758f0df5e3bba10cc0a"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#1464bd66b0e5e3880b4c7aa4a2ce13a1">copyFromArray</a> (const <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a> &otherArray)</td></tr> + +<tr><td class="memTemplParams" nowrap colspan="2">template<typename L > </td></tr> +<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#45bd16505782854511491c25e0223ff8">downHeap</a> (T *pArr, int32_t k, int32_t n, const L &CompareFunc)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">heap sort from <a href="http://www.csse.monash.edu.au/~lloyd/tildeAlgDS/Sort/Heap/">http://www.csse.monash.edu.au/~lloyd/tildeAlgDS/Sort/Heap/</a> <a href="#45bd16505782854511491c25e0223ff8"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#d64affb4ed3f9db81f832cbac6b62527">expand</a> (const T &fillValue=T())</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#d1f99f070780c42619386fd2a4336bec">expandNonInitializing</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#3166625bc9a4f5aeca8a39c68f97228f">findBinarySearch</a> (const T &key) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">non-recursive binary search, assumes sorted array <a href="#3166625bc9a4f5aeca8a39c68f97228f"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#02eddb849aa4b56cc38d4040408fb48a">findLinearSearch</a> (const T &key) const </td></tr> + +<tr><td class="memTemplParams" nowrap colspan="2">template<typename L > </td></tr> +<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#3c338461ca225909d18955f1991a3acc">heapSort</a> (const L &CompareFunc)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#2b1b904bdf0a1e4110406860f46615d5">initializeFromBuffer</a> (void *buffer, int32_t size, int32_t capacity)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE <br class="typebreak"> +<a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#b6ea335622f18386671194eb6bd6a41b">operator=</a> (const <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T > &other)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#d6e2888f43fb2b23967ef23d6fe905ed">operator[]</a> (int32_t n)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE const T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#c36b30021258cd933453ee23dd78ae5f">operator[]</a> (int32_t n) const </td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#6169be905e03b84ea3bc8d8f7c7fc39d">pop_back</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#d61e10166e2c00f487095d3482b9edd1">push_back</a> (const T &_Val)</td></tr> + +<tr><td class="memTemplParams" nowrap colspan="2">template<typename L > </td></tr> +<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#228f2a824ac397c1de311a9c2b775dc4">quickSort</a> (const L &CompareFunc)</td></tr> + +<tr><td class="memTemplParams" nowrap colspan="2">template<typename L > </td></tr> +<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#c3fdb03c03d2cc75821d903c77f3476a">quickSortInternal</a> (const L &CompareFunc, int32_t lo, int32_t hi)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#6782242f06df5bab0cffbd23195cd9cd">remove</a> (const T &key)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#8385df1a28956061def9b78cb55ea7df">reserve</a> (int32_t _Count)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#cb69833ed110d6db213a71533a8c804a">resize</a> (int32_t newsize, const T &fillData=T())</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#c9fb7ab72fa1b2284ec10fa79f77e620">size</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">return the number of elements in the array <a href="#c9fb7ab72fa1b2284ec10fa79f77e620"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#ff6f6234bb9c7cd1cea1cf00f07c1c09">swap</a> (int32_t index0, int32_t index1)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#2a7ab868dd49dcf6e2e711d19eac9e54">~btAlignedObjectArray</a> ()</td></tr> + +<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#2302b4abe7664283231e150ecadc4576">allocate</a> (int32_t size)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#a719fb250e71cf4c524fc10883d3f9cc">allocSize</a> (int32_t size)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#edc2708d688e8cc816d97ecb05ace68f">copy</a> (int32_t start, int32_t end, T *dest) const </td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#cebca91940aecdb1c11718bc08b511c9">deallocate</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#8ef274b9d73a61593c17b9b21442e0a7">destroy</a> (int32_t first, int32_t last)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">SIMD_FORCE_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html#336631607f9f5f08001866ed11b5fd64">init</a> ()</td></tr> + +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<h3>template<typename T><br> + class btAlignedObjectArray< T ></h3> + +The <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a> template class uses a subset of the stl::vector interface for its methods It is developed to replace stl::vector to avoid portability issues, including STL alignment issues to add SIMD/SSE data <hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="d596d8e3e18bf81d9aa3fd21e57e5735"></a><!-- doxytag: member="btAlignedObjectArray::btAlignedObjectArray" ref="d596d8e3e18bf81d9aa3fd21e57e5735" args="()" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::<a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a> </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="2a7ab868dd49dcf6e2e711d19eac9e54"></a><!-- doxytag: member="btAlignedObjectArray::~btAlignedObjectArray" ref="2a7ab868dd49dcf6e2e711d19eac9e54" args="()" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::~<a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a> </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="e91d1383db8069a02d23caf915bc2ce3"></a><!-- doxytag: member="btAlignedObjectArray::btAlignedObjectArray" ref="e91d1383db8069a02d23caf915bc2ce3" args="(const btAlignedObjectArray &otherArray)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::<a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a> </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T > & </td> + <td class="paramname"> <em>otherArray</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Generally it is best to avoid using the copy constructor of an <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>, and use a (const) reference to the array instead. +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="2302b4abe7664283231e150ecadc4576"></a><!-- doxytag: member="btAlignedObjectArray::allocate" ref="2302b4abe7664283231e150ecadc4576" args="(int32_t size)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE void* <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::allocate </td> + <td>(</td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>size</em> </td> + <td> ) </td> + <td><code> [inline, protected]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="a719fb250e71cf4c524fc10883d3f9cc"></a><!-- doxytag: member="btAlignedObjectArray::allocSize" ref="a719fb250e71cf4c524fc10883d3f9cc" args="(int32_t size)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE int32_t <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::allocSize </td> + <td>(</td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>size</em> </td> + <td> ) </td> + <td><code> [inline, protected]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="9ab50f401fff737aa8d15c6ea1c8de79"></a><!-- doxytag: member="btAlignedObjectArray::at" ref="9ab50f401fff737aa8d15c6ea1c8de79" args="(int32_t n)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE T& <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::at </td> + <td>(</td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>n</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="3a25600ae43d660965d4e5a0810848c4"></a><!-- doxytag: member="btAlignedObjectArray::at" ref="3a25600ae43d660965d4e5a0810848c4" args="(int32_t n) const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE const T& <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::at </td> + <td>(</td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>n</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="55308568e3b168e2f0aca895b255ecca"></a><!-- doxytag: member="btAlignedObjectArray::capacity" ref="55308568e3b168e2f0aca895b255ecca" args="() const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE int32_t <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::capacity </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +return the pre-allocated (reserved) elements, this is at least as large as the total number of elements,see <a class="el" href="classbt_aligned_object_array.html#c9fb7ab72fa1b2284ec10fa79f77e620" title="return the number of elements in the array">size()</a> and <a class="el" href="classbt_aligned_object_array.html#8385df1a28956061def9b78cb55ea7df">reserve()</a> +<p> + +</div> +</div><p> +<a class="anchor" name="12123db01dda7758f0df5e3bba10cc0a"></a><!-- doxytag: member="btAlignedObjectArray::clear" ref="12123db01dda7758f0df5e3bba10cc0a" args="()" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE void <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::clear </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +clear the array, deallocated memory. Generally it is better to use array.resize(0), to reduce performance overhead of run-time memory (de)allocations. +<p> + +</div> +</div><p> +<a class="anchor" name="edc2708d688e8cc816d97ecb05ace68f"></a><!-- doxytag: member="btAlignedObjectArray::copy" ref="edc2708d688e8cc816d97ecb05ace68f" args="(int32_t start, int32_t end, T *dest) const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE void <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::copy </td> + <td>(</td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>start</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>end</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">T * </td> + <td class="paramname"> <em>dest</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td> const<code> [inline, protected]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="1464bd66b0e5e3880b4c7aa4a2ce13a1"></a><!-- doxytag: member="btAlignedObjectArray::copyFromArray" ref="1464bd66b0e5e3880b4c7aa4a2ce13a1" args="(const btAlignedObjectArray &otherArray)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">void <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::copyFromArray </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T > & </td> + <td class="paramname"> <em>otherArray</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="cebca91940aecdb1c11718bc08b511c9"></a><!-- doxytag: member="btAlignedObjectArray::deallocate" ref="cebca91940aecdb1c11718bc08b511c9" args="()" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE void <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::deallocate </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline, protected]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="8ef274b9d73a61593c17b9b21442e0a7"></a><!-- doxytag: member="btAlignedObjectArray::destroy" ref="8ef274b9d73a61593c17b9b21442e0a7" args="(int32_t first, int32_t last)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE void <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::destroy </td> + <td>(</td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>first</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>last</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td><code> [inline, protected]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="45bd16505782854511491c25e0223ff8"></a><!-- doxytag: member="btAlignedObjectArray::downHeap" ref="45bd16505782854511491c25e0223ff8" args="(T *pArr, int32_t k, int32_t n, const L &CompareFunc)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> +<div class="memtemplate"> +template<typename L > </div> + <table class="memname"> + <tr> + <td class="memname">void <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::downHeap </td> + <td>(</td> + <td class="paramtype">T * </td> + <td class="paramname"> <em>pArr</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>k</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>n</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const L & </td> + <td class="paramname"> <em>CompareFunc</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +heap sort from <a href="http://www.csse.monash.edu.au/~lloyd/tildeAlgDS/Sort/Heap/">http://www.csse.monash.edu.au/~lloyd/tildeAlgDS/Sort/Heap/</a> +<p> + +</div> +</div><p> +<a class="anchor" name="d64affb4ed3f9db81f832cbac6b62527"></a><!-- doxytag: member="btAlignedObjectArray::expand" ref="d64affb4ed3f9db81f832cbac6b62527" args="(const T &fillValue=T())" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE T& <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::expand </td> + <td>(</td> + <td class="paramtype">const T & </td> + <td class="paramname"> <em>fillValue</em> = <code>T()</code> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d1f99f070780c42619386fd2a4336bec"></a><!-- doxytag: member="btAlignedObjectArray::expandNonInitializing" ref="d1f99f070780c42619386fd2a4336bec" args="()" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE T& <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::expandNonInitializing </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="3166625bc9a4f5aeca8a39c68f97228f"></a><!-- doxytag: member="btAlignedObjectArray::findBinarySearch" ref="3166625bc9a4f5aeca8a39c68f97228f" args="(const T &key) const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">int32_t <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::findBinarySearch </td> + <td>(</td> + <td class="paramtype">const T & </td> + <td class="paramname"> <em>key</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +non-recursive binary search, assumes sorted array +<p> + +</div> +</div><p> +<a class="anchor" name="02eddb849aa4b56cc38d4040408fb48a"></a><!-- doxytag: member="btAlignedObjectArray::findLinearSearch" ref="02eddb849aa4b56cc38d4040408fb48a" args="(const T &key) const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">int32_t <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::findLinearSearch </td> + <td>(</td> + <td class="paramtype">const T & </td> + <td class="paramname"> <em>key</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="3c338461ca225909d18955f1991a3acc"></a><!-- doxytag: member="btAlignedObjectArray::heapSort" ref="3c338461ca225909d18955f1991a3acc" args="(const L &CompareFunc)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> +<div class="memtemplate"> +template<typename L > </div> + <table class="memname"> + <tr> + <td class="memname">void <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::heapSort </td> + <td>(</td> + <td class="paramtype">const L & </td> + <td class="paramname"> <em>CompareFunc</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="336631607f9f5f08001866ed11b5fd64"></a><!-- doxytag: member="btAlignedObjectArray::init" ref="336631607f9f5f08001866ed11b5fd64" args="()" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE void <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::init </td> + <td>(</td> + <td class="paramtype">void </td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline, protected]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="2b1b904bdf0a1e4110406860f46615d5"></a><!-- doxytag: member="btAlignedObjectArray::initializeFromBuffer" ref="2b1b904bdf0a1e4110406860f46615d5" args="(void *buffer, int32_t size, int32_t capacity)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">void <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::initializeFromBuffer </td> + <td>(</td> + <td class="paramtype">void * </td> + <td class="paramname"> <em>buffer</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>size</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>capacity</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="b6ea335622f18386671194eb6bd6a41b"></a><!-- doxytag: member="btAlignedObjectArray::operator=" ref="b6ea335622f18386671194eb6bd6a41b" args="(const btAlignedObjectArray< T > &other)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a><T>& <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::operator= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T > & </td> + <td class="paramname"> <em>other</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d6e2888f43fb2b23967ef23d6fe905ed"></a><!-- doxytag: member="btAlignedObjectArray::operator[]" ref="d6e2888f43fb2b23967ef23d6fe905ed" args="(int32_t n)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE T& <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::operator[] </td> + <td>(</td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>n</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="c36b30021258cd933453ee23dd78ae5f"></a><!-- doxytag: member="btAlignedObjectArray::operator[]" ref="c36b30021258cd933453ee23dd78ae5f" args="(int32_t n) const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE const T& <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::operator[] </td> + <td>(</td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>n</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="6169be905e03b84ea3bc8d8f7c7fc39d"></a><!-- doxytag: member="btAlignedObjectArray::pop_back" ref="6169be905e03b84ea3bc8d8f7c7fc39d" args="()" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE void <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::pop_back </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="d61e10166e2c00f487095d3482b9edd1"></a><!-- doxytag: member="btAlignedObjectArray::push_back" ref="d61e10166e2c00f487095d3482b9edd1" args="(const T &_Val)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE void <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::push_back </td> + <td>(</td> + <td class="paramtype">const T & </td> + <td class="paramname"> <em>_Val</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="228f2a824ac397c1de311a9c2b775dc4"></a><!-- doxytag: member="btAlignedObjectArray::quickSort" ref="228f2a824ac397c1de311a9c2b775dc4" args="(const L &CompareFunc)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> +<div class="memtemplate"> +template<typename L > </div> + <table class="memname"> + <tr> + <td class="memname">void <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::quickSort </td> + <td>(</td> + <td class="paramtype">const L & </td> + <td class="paramname"> <em>CompareFunc</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="c3fdb03c03d2cc75821d903c77f3476a"></a><!-- doxytag: member="btAlignedObjectArray::quickSortInternal" ref="c3fdb03c03d2cc75821d903c77f3476a" args="(const L &CompareFunc, int32_t lo, int32_t hi)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> +<div class="memtemplate"> +template<typename L > </div> + <table class="memname"> + <tr> + <td class="memname">void <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::quickSortInternal </td> + <td>(</td> + <td class="paramtype">const L & </td> + <td class="paramname"> <em>CompareFunc</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>lo</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>hi</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="6782242f06df5bab0cffbd23195cd9cd"></a><!-- doxytag: member="btAlignedObjectArray::remove" ref="6782242f06df5bab0cffbd23195cd9cd" args="(const T &key)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">void <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::remove </td> + <td>(</td> + <td class="paramtype">const T & </td> + <td class="paramname"> <em>key</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="8385df1a28956061def9b78cb55ea7df"></a><!-- doxytag: member="btAlignedObjectArray::reserve" ref="8385df1a28956061def9b78cb55ea7df" args="(int32_t _Count)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE void <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::reserve </td> + <td>(</td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>_Count</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="cb69833ed110d6db213a71533a8c804a"></a><!-- doxytag: member="btAlignedObjectArray::resize" ref="cb69833ed110d6db213a71533a8c804a" args="(int32_t newsize, const T &fillData=T())" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE void <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::resize </td> + <td>(</td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>newsize</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const T & </td> + <td class="paramname"> <em>fillData</em> = <code>T()</code></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +resize changes the number of elements in the array. If the new size is larger, the new elements will be constructed using the optional second argument. when the new number of elements is smaller, the destructor will be called, but memory will not be freed, to reduce performance overhead of run-time memory (de)allocations. +</div> +</div><p> +<a class="anchor" name="c9fb7ab72fa1b2284ec10fa79f77e620"></a><!-- doxytag: member="btAlignedObjectArray::size" ref="c9fb7ab72fa1b2284ec10fa79f77e620" args="() const " --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">SIMD_FORCE_INLINE int32_t <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::size </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +return the number of elements in the array +<p> + +</div> +</div><p> +<a class="anchor" name="ff6f6234bb9c7cd1cea1cf00f07c1c09"></a><!-- doxytag: member="btAlignedObjectArray::swap" ref="ff6f6234bb9c7cd1cea1cf00f07c1c09" args="(int32_t index0, int32_t index1)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename T> </div> + <table class="memname"> + <tr> + <td class="memname">void <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a>< T >::swap </td> + <td>(</td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>index0</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">int32_t </td> + <td class="paramname"> <em>index1</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following file:<ul> +<li>sdk/extensions/authoring/source/VHACD/inc/<a class="el" href="bt_aligned_object_array_8h-source.html">btAlignedObjectArray.h</a></ul> +</div> +<!-- start footer part --> +<div class="footer"> +Copyright © 2015-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a> +</div> +</body> +</html> |