From 9a1c1d814f3fa0b54b49d90b43130c02bc280f44 Mon Sep 17 00:00:00 2001 From: Anton Novoselov Date: Mon, 14 Aug 2017 16:41:28 +0300 Subject: Updated to CL 22661993: * docs updates * authoring fixes * asset view in sample fix * latest blast_tools_and_samples-windows.zip --- docs/api_docs/files/_nv_blast_array_8h-source.html | 87 --- docs/api_docs/files/_nv_blast_array_8h.html | 46 -- .../api_docs/files/_nv_blast_assert_8h-source.html | 109 ---- docs/api_docs/files/_nv_blast_assert_8h.html | 173 ------ .../api_docs/files/_nv_blast_atomic_8h-source.html | 78 --- docs/api_docs/files/_nv_blast_atomic_8h.html | 45 -- .../api_docs/files/_nv_blast_d_link_8h-source.html | 327 ---------- docs/api_docs/files/_nv_blast_d_link_8h.html | 52 -- .../_nv_blast_ext_authoring_types_8h-source.html | 4 +- .../_nv_blast_ext_custom_profiler_8h-source.html | 146 ++--- .../files/_nv_blast_ext_px_task_8h-source.html | 33 +- .../files/_nv_blast_fixed_array_8h-source.html | 151 ----- docs/api_docs/files/_nv_blast_fixed_array_8h.html | 44 -- .../files/_nv_blast_fixed_bitmap_8h-source.html | 142 ----- docs/api_docs/files/_nv_blast_fixed_bitmap_8h.html | 45 -- .../_nv_blast_fixed_bool_array_8h-source.html | 130 ---- .../files/_nv_blast_fixed_bool_array_8h.html | 45 -- .../_nv_blast_fixed_priority_queue_8h-source.html | 209 ------- .../files/_nv_blast_fixed_priority_queue_8h.html | 46 -- .../files/_nv_blast_geometry_8h-source.html | 228 ------- docs/api_docs/files/_nv_blast_geometry_8h.html | 48 -- .../files/_nv_blast_hash_map_8h-source.html | 80 --- docs/api_docs/files/_nv_blast_hash_map_8h.html | 44 -- .../files/_nv_blast_hash_set_8h-source.html | 79 --- docs/api_docs/files/_nv_blast_hash_set_8h.html | 44 -- .../files/_nv_blast_include_windows_8h-source.html | 131 ---- .../files/_nv_blast_include_windows_8h.html | 684 --------------------- .../files/_nv_blast_index_fns_8h-source.html | 127 ---- docs/api_docs/files/_nv_blast_index_fns_8h.html | 54 -- .../files/_nv_blast_iterator_base_8h-source.html | 163 ----- .../api_docs/files/_nv_blast_iterator_base_8h.html | 47 -- docs/api_docs/files/_nv_blast_math_8h-source.html | 137 ----- docs/api_docs/files/_nv_blast_math_8h.html | 61 -- .../api_docs/files/_nv_blast_memory_8h-source.html | 154 ----- docs/api_docs/files/_nv_blast_memory_8h.html | 221 ------- .../_nv_blast_preprocessor_internal_8h-source.html | 87 --- .../files/_nv_blast_preprocessor_internal_8h.html | 185 ------ docs/api_docs/files/_nv_blast_time_8h-source.html | 148 ----- docs/api_docs/files/_nv_blast_time_8h.html | 43 -- .../files/_nv_blast_tk_group_8h-source.html | 2 +- .../class_nv_1_1_blast_1_1_d_list-members.html | 38 -- .../files/class_nv_1_1_blast_1_1_d_list.html | 218 ------- ...ass_nv_1_1_blast_1_1_d_list_1_1_it-members.html | 38 -- .../class_nv_1_1_blast_1_1_d_list_1_1_it.html | 187 ------ .../class_nv_1_1_blast_1_1_d_list_it-members.html | 37 -- .../files/class_nv_1_1_blast_1_1_d_list_it.html | 133 ---- .../files/class_nv_1_1_blast_1_1_d_list_it.png | Bin 674 -> 0 bytes ...class_nv_1_1_blast_1_1_ext_custom_profiler.html | 11 +- ...1_blast_1_1_ext_group_task_manager-members.html | 3 +- ...ss_nv_1_1_blast_1_1_ext_group_task_manager.html | 47 +- .../class_nv_1_1_blast_1_1_ext_stress_solver.html | 2 +- ...class_nv_1_1_blast_1_1_fixed_array-members.html | 41 -- .../files/class_nv_1_1_blast_1_1_fixed_array.html | 316 ---------- ...lass_nv_1_1_blast_1_1_fixed_bitmap-members.html | 38 -- .../files/class_nv_1_1_blast_1_1_fixed_bitmap.html | 225 ------- ..._nv_1_1_blast_1_1_fixed_bool_array-members.html | 37 -- .../class_nv_1_1_blast_1_1_fixed_bool_array.html | 203 ------ ...1_1_blast_1_1_fixed_priority_queue-members.html | 41 -- ...lass_nv_1_1_blast_1_1_fixed_priority_queue.html | 327 ---------- ...lass_nv_1_1_blast_1_1_index_d_list-members.html | 38 -- .../files/class_nv_1_1_blast_1_1_index_d_list.html | 327 ---------- ...ass_nv_1_1_blast_1_1_iterator_base-members.html | 34 - .../class_nv_1_1_blast_1_1_iterator_base.html | 138 ----- .../class_nv_1_1_blast_1_1_l_list_it-members.html | 37 -- .../files/class_nv_1_1_blast_1_1_l_list_it.html | 133 ---- .../files/class_nv_1_1_blast_1_1_l_list_it.png | Bin 667 -> 0 bytes .../files/class_nv_1_1_blast_1_1_time-members.html | 35 -- .../files/class_nv_1_1_blast_1_1_time.html | 150 ----- .../files/class_nv_1_1_blast_1_1_tk_actor.html | 12 +- .../files/class_nv_1_1_blast_1_1_tk_family.html | 2 +- .../class_nv_1_1_blast_1_1_tk_group-members.html | 2 +- .../files/class_nv_1_1_blast_1_1_tk_group.html | 4 +- docs/api_docs/files/functions_0x63.html | 14 +- docs/api_docs/files/functions_0x67.html | 2 +- docs/api_docs/files/functions_func_0x63.html | 8 +- docs/api_docs/files/functions_func_0x67.html | 2 +- docs/api_docs/files/functions_rela.html | 46 -- docs/api_docs/files/functions_type.html | 49 -- .../files/namespace_nv_1_1_blast_1_1_vec_math.html | 318 ---------- docs/api_docs/files/pageextphysx.html | 67 +- docs/api_docs/files/pageextstress.html | 2 +- docs/api_docs/files/pageglobalsapi.html | 3 + docs/api_docs/files/pagehlapi.html | 11 +- .../struct_nv_1_1_blast_1_1_array-members.html | 31 - .../files/struct_nv_1_1_blast_1_1_array.html | 66 -- .../struct_nv_1_1_blast_1_1_d_link-members.html | 34 - .../files/struct_nv_1_1_blast_1_1_d_link.html | 125 ---- .../struct_nv_1_1_blast_1_1_hash_map-members.html | 31 - .../files/struct_nv_1_1_blast_1_1_hash_map.html | 67 -- .../struct_nv_1_1_blast_1_1_hash_set-members.html | 31 - .../files/struct_nv_1_1_blast_1_1_hash_set.html | 66 -- ...ruct_nv_1_1_blast_1_1_index_d_link-members.html | 31 - .../struct_nv_1_1_blast_1_1_index_d_link.html | 64 -- ...ruct_nv_1_1_blast_1_1_inline_array-members.html | 31 - .../struct_nv_1_1_blast_1_1_inline_array.html | 68 -- .../struct_nv_1_1_blast_1_1_less-members.html | 31 - .../files/struct_nv_1_1_blast_1_1_less.html | 84 --- .../struct_nv_1_1_blast_1_1_tk_joint_desc.html | 8 +- .../struct_nv_1_1_blast_1_1_triangle-members.html | 2 +- .../files/struct_nv_1_1_blast_1_1_triangle.html | 6 +- 100 files changed, 229 insertions(+), 8602 deletions(-) delete mode 100644 docs/api_docs/files/_nv_blast_array_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_array_8h.html delete mode 100644 docs/api_docs/files/_nv_blast_assert_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_assert_8h.html delete mode 100644 docs/api_docs/files/_nv_blast_atomic_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_atomic_8h.html delete mode 100644 docs/api_docs/files/_nv_blast_d_link_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_d_link_8h.html delete mode 100644 docs/api_docs/files/_nv_blast_fixed_array_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_fixed_array_8h.html delete mode 100644 docs/api_docs/files/_nv_blast_fixed_bitmap_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_fixed_bitmap_8h.html delete mode 100644 docs/api_docs/files/_nv_blast_fixed_bool_array_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_fixed_bool_array_8h.html delete mode 100644 docs/api_docs/files/_nv_blast_fixed_priority_queue_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_fixed_priority_queue_8h.html delete mode 100644 docs/api_docs/files/_nv_blast_geometry_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_geometry_8h.html delete mode 100644 docs/api_docs/files/_nv_blast_hash_map_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_hash_map_8h.html delete mode 100644 docs/api_docs/files/_nv_blast_hash_set_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_hash_set_8h.html delete mode 100644 docs/api_docs/files/_nv_blast_include_windows_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_include_windows_8h.html delete mode 100644 docs/api_docs/files/_nv_blast_index_fns_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_index_fns_8h.html delete mode 100644 docs/api_docs/files/_nv_blast_iterator_base_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_iterator_base_8h.html delete mode 100644 docs/api_docs/files/_nv_blast_math_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_math_8h.html delete mode 100644 docs/api_docs/files/_nv_blast_memory_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_memory_8h.html delete mode 100644 docs/api_docs/files/_nv_blast_preprocessor_internal_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_preprocessor_internal_8h.html delete mode 100644 docs/api_docs/files/_nv_blast_time_8h-source.html delete mode 100644 docs/api_docs/files/_nv_blast_time_8h.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_d_list-members.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_d_list.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_1_1_it-members.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_1_1_it.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_it-members.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_it.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_it.png delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_fixed_array-members.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_fixed_array.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_fixed_bitmap-members.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_fixed_bitmap.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_fixed_bool_array-members.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_fixed_bool_array.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_fixed_priority_queue-members.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_fixed_priority_queue.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_index_d_list-members.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_index_d_list.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_iterator_base-members.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_iterator_base.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_l_list_it-members.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_l_list_it.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_l_list_it.png delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_time-members.html delete mode 100644 docs/api_docs/files/class_nv_1_1_blast_1_1_time.html delete mode 100644 docs/api_docs/files/functions_rela.html delete mode 100644 docs/api_docs/files/functions_type.html delete mode 100644 docs/api_docs/files/namespace_nv_1_1_blast_1_1_vec_math.html delete mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_array-members.html delete mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_array.html delete mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_d_link-members.html delete mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_d_link.html delete mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_hash_map-members.html delete mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_hash_map.html delete mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_hash_set-members.html delete mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_hash_set.html delete mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_index_d_link-members.html delete mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_index_d_link.html delete mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_inline_array-members.html delete mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_inline_array.html delete mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_less-members.html delete mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_less.html (limited to 'docs/api_docs') diff --git a/docs/api_docs/files/_nv_blast_array_8h-source.html b/docs/api_docs/files/_nv_blast_array_8h-source.html deleted file mode 100644 index 6246bc7..0000000 --- a/docs/api_docs/files/_nv_blast_array_8h-source.html +++ /dev/null @@ -1,87 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastArray.h Source File - - - - - - - -

sdk/common/NvBlastArray.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
-00002 // under a form of NVIDIA software license agreement provided separately to you.
-00003 //
-00004 // Notice
-00005 // NVIDIA Corporation and its licensors retain all intellectual property and
-00006 // proprietary rights in and to this software and related documentation and
-00007 // any modifications thereto. Any use, reproduction, disclosure, or
-00008 // distribution of this software and related documentation without an express
-00009 // license agreement from NVIDIA Corporation is strictly prohibited.
-00010 //
-00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
-00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
-00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
-00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
-00015 //
-00016 // Information and code furnished is believed to be accurate and reliable.
-00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
-00018 // information or for any infringement of patents or other rights of third parties that may
-00019 // result from its use. No license is granted by implication or otherwise under any patent
-00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
-00021 // This code supersedes and replaces all information previously supplied.
-00022 // NVIDIA Corporation products are not authorized for use as critical
-00023 // components in life support devices or systems without express written approval of
-00024 // NVIDIA Corporation.
-00025 //
-00026 // Copyright (c) 2016-2017 NVIDIA Corporation. All rights reserved.
-00027 
-00028 
-00029 #ifndef NVBLASTARRAY_H
-00030 #define NVBLASTARRAY_H
-00031 
-00032 
-00033 #include "NvBlastAllocator.h"
-00034 #include "PsInlineArray.h"
-00035 
-00036 
-00037 namespace Nv
-00038 {
-00039 namespace Blast
-00040 {
-00041 
-00045 template <class T>
-00046 struct Array
-00047 {
-00048     typedef physx::shdfnd::Array<T, Allocator> type;
-00049 };
-00050 
-00051 
-00057 template <class T, uint32_t N>
-00058 struct InlineArray
-00059 {
-00060     typedef physx::shdfnd::InlineArray<T, N, Allocator> type;
-00061 };
-00062 
-00063 } // namespace Blast
-00064 } // namespace Nv
-00065 
-00066 
-00067 #endif // #ifndef NVBLASTARRAY_H
-
- - - - diff --git a/docs/api_docs/files/_nv_blast_array_8h.html b/docs/api_docs/files/_nv_blast_array_8h.html deleted file mode 100644 index 210487a..0000000 --- a/docs/api_docs/files/_nv_blast_array_8h.html +++ /dev/null @@ -1,46 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastArray.h File Reference - - - - - - - -
-

sdk/common/NvBlastArray.h File Reference

#include "NvBlastAllocator.h"
-#include "PsInlineArray.h"
- -

-Go to the source code of this file. - - - - - - - - - - - -

Classes

struct  Nv::Blast::Array< T >
struct  Nv::Blast::InlineArray< T, N >

Namespaces

namespace  Nv
namespace  Nv::Blast
-

- - - - diff --git a/docs/api_docs/files/_nv_blast_assert_8h-source.html b/docs/api_docs/files/_nv_blast_assert_8h-source.html deleted file mode 100644 index 1edb4f8..0000000 --- a/docs/api_docs/files/_nv_blast_assert_8h-source.html +++ /dev/null @@ -1,109 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastAssert.h Source File - - - - - - - -

sdk/common/NvBlastAssert.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
-00002 // under a form of NVIDIA software license agreement provided separately to you.
-00003 //
-00004 // Notice
-00005 // NVIDIA Corporation and its licensors retain all intellectual property and
-00006 // proprietary rights in and to this software and related documentation and
-00007 // any modifications thereto. Any use, reproduction, disclosure, or
-00008 // distribution of this software and related documentation without an express
-00009 // license agreement from NVIDIA Corporation is strictly prohibited.
-00010 //
-00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
-00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
-00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
-00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
-00015 //
-00016 // Information and code furnished is believed to be accurate and reliable.
-00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
-00018 // information or for any infringement of patents or other rights of third parties that may
-00019 // result from its use. No license is granted by implication or otherwise under any patent
-00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
-00021 // This code supersedes and replaces all information previously supplied.
-00022 // NVIDIA Corporation products are not authorized for use as critical
-00023 // components in life support devices or systems without express written approval of
-00024 // NVIDIA Corporation.
-00025 //
-00026 // Copyright (c) 2016-2017 NVIDIA Corporation. All rights reserved.
-00027 
-00028 
-00029 #ifndef NVBLASTASSERT_H
-00030 #define NVBLASTASSERT_H
-00031 
-00032 
-00033 #include "NvBlastPreprocessor.h"
-00034 
-00035 
-00036 #if !NV_ENABLE_ASSERTS
-00037 #define NVBLAST_ASSERT(exp) ((void)0)
-00038 #define NVBLAST_ALWAYS_ASSERT_MESSAGE(message) ((void)0)
-00039 #define NVBLAST_ASSERT_WITH_MESSAGE(condition, message) ((void)0)
-00040 #else
-00041 #if NV_VC
-00042 #define NVBLAST_CODE_ANALYSIS_ASSUME(exp)                                                                     \
-00043     __analysis_assume(!!(exp)) // This macro will be used to get rid of analysis warning messages if a NVBLAST_ASSERT is used
-00044 // to "guard" illegal mem access, for example.
-00045 #else
-00046 #define NVBLAST_CODE_ANALYSIS_ASSUME(exp)
-00047 #endif
-00048 #define NVBLAST_ASSERT(exp)                                                                                   \
-00049 {                                                                                                             \
-00050     static bool _ignore = false;                                                                              \
-00051     if (!(exp) && !_ignore) NvBlastAssertHandler(#exp, __FILE__, __LINE__, _ignore);                          \
-00052     NVBLAST_CODE_ANALYSIS_ASSUME(exp);                                                                        \
-00053 } ((void)0)
-00054 #define NVBLAST_ALWAYS_ASSERT_MESSAGE(message)                                                                    \
-00055 {                                                                                                             \
-00056     static bool _ignore = false;                                                                              \
-00057     if(!_ignore)                                                                                              \
-00058     {                                                                                                         \
-00059         NvBlastAssertHandler(message, __FILE__, __LINE__, _ignore);                                               \
-00060     }                                                                                                         \
-00061 } ((void)0)
-00062 #define NVBLAST_ASSERT_WITH_MESSAGE(exp, message)                                                             \
-00063 {                                                                                                             \
-00064     static bool _ignore = false;                                                                              \
-00065     if (!(exp) && !_ignore) NvBlastAssertHandler(message, __FILE__, __LINE__, _ignore);                       \
-00066     NVBLAST_CODE_ANALYSIS_ASSUME(exp);                                                                        \
-00067 } ((void)0)
-00068 #endif
-00069 
-00070 #define NVBLAST_ALWAYS_ASSERT() NVBLAST_ASSERT(0)
-00071 
-00072 
-00073 extern "C"
-00074 {
-00075 
-00076 NVBLAST_API void NvBlastAssertHandler(const char* expr, const char* file, int line, bool& ignore);
-00077 
-00078 } // extern "C"
-00079 
-00080 
-00081 #endif // #ifndef NVBLASTASSERT_H
-
- - - - diff --git a/docs/api_docs/files/_nv_blast_assert_8h.html b/docs/api_docs/files/_nv_blast_assert_8h.html deleted file mode 100644 index 6356fc0..0000000 --- a/docs/api_docs/files/_nv_blast_assert_8h.html +++ /dev/null @@ -1,173 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastAssert.h File Reference - - - - - - - -
-

sdk/common/NvBlastAssert.h File Reference

#include "NvBlastPreprocessor.h"
- -

-Go to the source code of this file. - - - - - - - - - - - - - -

Defines

#define NVBLAST_ALWAYS_ASSERT()   NVBLAST_ASSERT(0)
#define NVBLAST_ALWAYS_ASSERT_MESSAGE(message)   ((void)0)
#define NVBLAST_ASSERT(exp)   ((void)0)
#define NVBLAST_ASSERT_WITH_MESSAGE(condition, message)   ((void)0)

Functions

void NvBlastAssertHandler (const char *expr, const char *file, int line, bool &ignore)
-


Define Documentation

- -
-
- - - - -  - - - - -
#define NVBLAST_ALWAYS_ASSERT (  )    NVBLAST_ASSERT(0)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
#define NVBLAST_ALWAYS_ASSERT_MESSAGE (message   )    ((void)0)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
#define NVBLAST_ASSERT (exp   )    ((void)0)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - -
#define NVBLAST_ASSERT_WITH_MESSAGE (condition,
message   )    ((void)0)
-
-
- -

- -

-

-


Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void NvBlastAssertHandler (const char *  expr,
const char *  file,
int  line,
bool &  ignore 
)
-
-
- -

- -

-

-

- - - - diff --git a/docs/api_docs/files/_nv_blast_atomic_8h-source.html b/docs/api_docs/files/_nv_blast_atomic_8h-source.html deleted file mode 100644 index bc9c5de..0000000 --- a/docs/api_docs/files/_nv_blast_atomic_8h-source.html +++ /dev/null @@ -1,78 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastAtomic.h Source File - - - - - - - -

sdk/common/NvBlastAtomic.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
-00002 // under a form of NVIDIA software license agreement provided separately to you.
-00003 //
-00004 // Notice
-00005 // NVIDIA Corporation and its licensors retain all intellectual property and
-00006 // proprietary rights in and to this software and related documentation and
-00007 // any modifications thereto. Any use, reproduction, disclosure, or
-00008 // distribution of this software and related documentation without an express
-00009 // license agreement from NVIDIA Corporation is strictly prohibited.
-00010 //
-00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
-00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
-00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
-00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
-00015 //
-00016 // Information and code furnished is believed to be accurate and reliable.
-00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
-00018 // information or for any infringement of patents or other rights of third parties that may
-00019 // result from its use. No license is granted by implication or otherwise under any patent
-00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
-00021 // This code supersedes and replaces all information previously supplied.
-00022 // NVIDIA Corporation products are not authorized for use as critical
-00023 // components in life support devices or systems without express written approval of
-00024 // NVIDIA Corporation.
-00025 //
-00026 // Copyright (c) 2016-2017 NVIDIA Corporation. All rights reserved.
-00027 
-00028 
-00029 #ifndef NVBLASTATOMIC_H
-00030 #define NVBLASTATOMIC_H
-00031 
-00032 #include "NvBlastTypes.h"
-00033 
-00034 
-00035 namespace Nv
-00036 {
-00037 namespace Blast
-00038 {
-00039 
-00040 /* increment the specified location. Return the incremented value */
-00041 int32_t atomicIncrement(volatile int32_t* val);
-00042 
-00043 
-00044 /* decrement the specified location. Return the decremented value */
-00045 int32_t atomicDecrement(volatile int32_t* val);
-00046 
-00047 } // namespace Blast
-00048 } // namespace Nv
-00049 
-00050 #endif // #ifndef NVBLASTATOMIC_H
-
- - - - diff --git a/docs/api_docs/files/_nv_blast_atomic_8h.html b/docs/api_docs/files/_nv_blast_atomic_8h.html deleted file mode 100644 index a881221..0000000 --- a/docs/api_docs/files/_nv_blast_atomic_8h.html +++ /dev/null @@ -1,45 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastAtomic.h File Reference - - - - - - - -
-

sdk/common/NvBlastAtomic.h File Reference

#include "NvBlastTypes.h"
- -

-Go to the source code of this file. - - - - - - - - - - - -

Namespaces

namespace  Nv
namespace  Nv::Blast

Functions

int32_t Nv::Blast::atomicDecrement (volatile int32_t *val)
int32_t Nv::Blast::atomicIncrement (volatile int32_t *val)
-

- - - - diff --git a/docs/api_docs/files/_nv_blast_d_link_8h-source.html b/docs/api_docs/files/_nv_blast_d_link_8h-source.html deleted file mode 100644 index 74270ed..0000000 --- a/docs/api_docs/files/_nv_blast_d_link_8h-source.html +++ /dev/null @@ -1,327 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastDLink.h Source File - - - - - - - -

sdk/common/NvBlastDLink.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
-00002 // under a form of NVIDIA software license agreement provided separately to you.
-00003 //
-00004 // Notice
-00005 // NVIDIA Corporation and its licensors retain all intellectual property and
-00006 // proprietary rights in and to this software and related documentation and
-00007 // any modifications thereto. Any use, reproduction, disclosure, or
-00008 // distribution of this software and related documentation without an express
-00009 // license agreement from NVIDIA Corporation is strictly prohibited.
-00010 //
-00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
-00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
-00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
-00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
-00015 //
-00016 // Information and code furnished is believed to be accurate and reliable.
-00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
-00018 // information or for any infringement of patents or other rights of third parties that may
-00019 // result from its use. No license is granted by implication or otherwise under any patent
-00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
-00021 // This code supersedes and replaces all information previously supplied.
-00022 // NVIDIA Corporation products are not authorized for use as critical
-00023 // components in life support devices or systems without express written approval of
-00024 // NVIDIA Corporation.
-00025 //
-00026 // Copyright (c) 2016-2017 NVIDIA Corporation. All rights reserved.
-00027 
-00028 
-00029 #ifndef NVBLASTDLINK_H
-00030 #define NVBLASTDLINK_H
-00031 
-00032 
-00033 #include "NvBlastAssert.h"
-00034 #include "NvBlastIndexFns.h"
-00035 
-00036 
-00037 namespace Nv
-00038 {
-00039 namespace Blast
-00040 {
-00041 
-00042 template<typename IndexType>
-00043 struct IndexDLink
-00044 {
-00045     IndexType   m_adj[2];
-00046 };
-00047 
-00048 
-00049 template<typename IndexType>
-00050 class IndexDList
-00051 {
-00052 public:
-00053     void        initLinksSolitary(IndexDLink<IndexType>* links, IndexType linkCount)
-00054     {
-00055         for (IndexType i = 0; i < linkCount; ++i)
-00056         {
-00057             links[i].m_adj[0] = invalidIndex<IndexType>();
-00058             links[i].m_adj[1] = invalidIndex<IndexType>();
-00059         }
-00060     }
-00061 
-00062     void        initLinksChain(IndexDLink<IndexType>* links, IndexType linkCount)
-00063     {
-00064         if (linkCount > 0)
-00065         {
-00066             links[0].m_adj[0] = invalidIndex<IndexType>();
-00067             for (IndexType i = 1; i < linkCount; ++i)
-00068             {
-00069                 links[i - 1].m_adj[1] = i;
-00070                 links[i].m_adj[0] = i - 1;
-00071             }
-00072             links[linkCount - 1].m_adj[1] = invalidIndex<IndexType>();
-00073         }
-00074     }
-00075 
-00076     IndexType   getAdj(IndexDLink<IndexType>* links, IndexType linkIndex, int which)
-00077     {
-00078         return links[linkIndex].m_adj[which & 1];
-00079     }
-00080 
-00081     void        remove(IndexDLink<IndexType>* links, IndexType linkIndex)
-00082     {
-00083         IndexDLink<IndexType>& link = links[linkIndex];
-00084         const IndexType adj0 = link.m_adj[0];
-00085         const IndexType adj1 = link.m_adj[1];
-00086         if (!isInvalidIndex(adj1))
-00087         {
-00088             links[adj1].m_adj[0] = adj0;
-00089             link.m_adj[1] = invalidIndex<IndexType>();
-00090         }
-00091         if (!isInvalidIndex(adj0))
-00092         {
-00093             links[adj0].m_adj[1] = adj1;
-00094             link.m_adj[0] = invalidIndex<IndexType>();
-00095         }
-00096     }
-00097 
-00098     bool        isSolitary(IndexDLink<IndexType>* links, IndexType linkIndex)
-00099     {
-00100         const IndexDLink<IndexType>& link = links[linkIndex];
-00101         return isInvalidIndex(link.m_adj[0]) && isInvalidIndex(link.m_adj[1]);
-00102     }
-00103 
-00104     void        insertListHead(IndexType& listHead, IndexDLink<IndexType>* links, IndexType linkIndex)
-00105     {
-00106         NVBLAST_ASSERT(!isInvalidIndex(linkIndex));
-00107         if (!isInvalidIndex(listHead))
-00108         {
-00109             links[listHead].m_adj[0] = linkIndex;
-00110         }
-00111         links[linkIndex].m_adj[1] = listHead;
-00112         listHead = linkIndex;
-00113     }
-00114 
-00115     IndexType   removeListHead(IndexType& listHead, IndexDLink<IndexType>* links)
-00116     {
-00117         const IndexType linkIndex = listHead;
-00118         if (!isInvalidIndex(linkIndex))
-00119         {
-00120             listHead = links[linkIndex].m_adj[1];
-00121             if (!isInvalidIndex(listHead))
-00122             {
-00123                 links[listHead].m_adj[0] = invalidIndex<IndexType>();
-00124             }
-00125             links[linkIndex].m_adj[1] = invalidIndex<IndexType>();
-00126         }
-00127         return linkIndex;
-00128     }
-00129 
-00130     void        removeFromList(IndexType& listHead, IndexDLink<IndexType>* links, IndexType linkIndex)
-00131     {
-00132         NVBLAST_ASSERT(!isInvalidIndex(linkIndex));
-00133         if (listHead == linkIndex)
-00134         {
-00135             listHead = links[linkIndex].m_adj[1];
-00136         }
-00137         remove(links, linkIndex);
-00138     }
-00139 };
-00140 
-00141 
-00142 struct DLink
-00143 {
-00144     DLink() : m_prev(nullptr), m_next(nullptr) {}
-00145 
-00146     DLink*  getPrev() const
-00147     {
-00148         return m_prev;
-00149     }
-00150 
-00151     DLink*  getNext() const
-00152     {
-00153         return m_next;
-00154     }
-00155 
-00156 private:
-00157     DLink*  m_prev;
-00158     DLink*  m_next;
-00159 
-00160     friend class DList;
-00161 };
-00162 
-00163 
-00164 class DList
-00165 {
-00166 public:
-00167     DList() : m_head(nullptr), m_tail(nullptr) {}
-00168 
-00169     bool    isEmpty() const
-00170     {
-00171         NVBLAST_ASSERT((m_head == nullptr) == (m_tail == nullptr));
-00172         return m_head == nullptr;
-00173     }
-00174 
-00175     bool    isSolitary(const DLink& link) const
-00176     {
-00177         return link.m_prev == nullptr && link.m_next == nullptr && m_head != &link;
-00178     }
-00179 
-00180     DLink*  getHead() const
-00181     {
-00182         return m_head;
-00183     }
-00184 
-00185     DLink*  getTail() const
-00186     {
-00187         return m_tail;
-00188     }
-00189 
-00190     bool    insertHead(DLink& link)
-00191     {
-00192         NVBLAST_ASSERT(isSolitary(link));
-00193         if (!isSolitary(link))
-00194         {
-00195             return false;
-00196         }
-00197 
-00198         link.m_next = m_head;
-00199         if (m_head != nullptr)
-00200         {
-00201             m_head->m_prev = &link;
-00202         }
-00203         m_head = &link;
-00204         if (m_tail == nullptr)
-00205         {
-00206             m_tail = &link;
-00207         }
-00208 
-00209         return true;
-00210     }
-00211 
-00212     bool    insertTail(DLink& link)
-00213     {
-00214         NVBLAST_ASSERT(isSolitary(link));
-00215         if (!isSolitary(link))
-00216         {
-00217             return false;
-00218         }
-00219 
-00220         link.m_prev = m_tail;
-00221         if (m_tail != nullptr)
-00222         {
-00223             m_tail->m_next = &link;
-00224         }
-00225         m_tail = &link;
-00226         if (m_head == nullptr)
-00227         {
-00228             m_head = &link;
-00229         }
-00230 
-00231         return true;
-00232     }
-00233 
-00234     void    remove(DLink& link)
-00235     {
-00236         if (link.m_prev != nullptr)
-00237         {
-00238             link.m_prev->m_next = link.m_next;
-00239         }
-00240         else
-00241         if (m_head == &link)
-00242         {
-00243             m_head = link.m_next;
-00244         }
-00245 
-00246         if (link.m_next != nullptr)
-00247         {
-00248             link.m_next->m_prev = link.m_prev;
-00249         }
-00250         else
-00251         if (m_tail == &link)
-00252         {
-00253             m_tail = link.m_prev;
-00254         }
-00255 
-00256         link.m_next = link.m_prev = nullptr;
-00257     }
-00258 
-00259     class It
-00260     {
-00261     public:
-00262         enum Direction { Reverse, Forward };
-00263 
-00264         It(const DList& list, Direction dir = Forward) : m_curr(dir == Forward ? list.getHead() : list.getTail()) {}
-00265 
-00267         operator bool() const
-00268         {
-00269             return m_curr != nullptr;
-00270         }
-00271 
-00273         operator const DLink*() const
-00274         {
-00275             return m_curr;
-00276         }
-00277 
-00279         const DLink*    operator ++ ()
-00280         {
-00281             return m_curr = m_curr->getNext();
-00282         }
-00283 
-00285         const DLink*    operator -- ()
-00286         {
-00287             return m_curr = m_curr->getPrev();
-00288         }
-00289 
-00290     private:
-00291         const DLink*    m_curr;
-00292     };
-00293 
-00294 private:
-00295     DLink*  m_head;
-00296     DLink*  m_tail;
-00297 };
-00298 
-00299 } // end namespace Blast
-00300 } // end namespace Nv
-00301 
-00302 
-00303 #endif // #ifndef NVBLASTDLINK_H
-
- - - - diff --git a/docs/api_docs/files/_nv_blast_d_link_8h.html b/docs/api_docs/files/_nv_blast_d_link_8h.html deleted file mode 100644 index afd7e45..0000000 --- a/docs/api_docs/files/_nv_blast_d_link_8h.html +++ /dev/null @@ -1,52 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastDLink.h File Reference - - - - - - - -
-

sdk/common/NvBlastDLink.h File Reference

#include "NvBlastAssert.h"
-#include "NvBlastIndexFns.h"
- -

-Go to the source code of this file. - - - - - - - - - - - - - - - - - -

Classes

struct  Nv::Blast::DLink
class  Nv::Blast::DList
class  Nv::Blast::DList::DList::It
struct  Nv::Blast::IndexDLink< IndexType >
class  Nv::Blast::IndexDList< IndexType >

Namespaces

namespace  Nv
namespace  Nv::Blast
-

- - - - diff --git a/docs/api_docs/files/_nv_blast_ext_authoring_types_8h-source.html b/docs/api_docs/files/_nv_blast_ext_authoring_types_8h-source.html index d18d431..9c65ee8 100644 --- a/docs/api_docs/files/_nv_blast_ext_authoring_types_8h-source.html +++ b/docs/api_docs/files/_nv_blast_ext_authoring_types_8h-source.html @@ -98,8 +98,8 @@ 00086 int32_t userData; 00087 int32_t materialId; 00088 int32_t smoothingGroup; -00089 physx::PxVec3 getNormal() -00090 { +00089 physx::PxVec3 getNormal() const +00090 { 00091 return ((b.p - a.p).cross(c.p - a.p)); 00092 } 00093 }; diff --git a/docs/api_docs/files/_nv_blast_ext_custom_profiler_8h-source.html b/docs/api_docs/files/_nv_blast_ext_custom_profiler_8h-source.html index 510c1e6..ea373a9 100644 --- a/docs/api_docs/files/_nv_blast_ext_custom_profiler_8h-source.html +++ b/docs/api_docs/files/_nv_blast_ext_custom_profiler_8h-source.html @@ -89,79 +89,83 @@ 00068 static thread_local int32_t th_depth = 0; 00069 #endif 00070 -00071 class ExtCustomProfiler : public ProfilerCallback -00072 { -00073 public: -00074 ExtCustomProfiler() : m_platformEnabled(false) {} -00075 -00076 virtual void zoneStart(const char* name) override -00077 { -00078 -00079 #if SUPPORTS_THREAD_LOCAL -00080 if (PxGetProfilerCallback()) -00081 { -00082 void* data = PxGetProfilerCallback()->zoneStart(name, false, 0xb1a57); +00071 +00076 class ExtCustomProfiler : public ProfilerCallback +00077 { +00078 public: +00082 ExtCustomProfiler() : m_platformEnabled(false) {} 00083 -00084 if (th_depth < PROFILER_MAX_NESTED_DEPTH && th_depth >= 0) -00085 { -00086 th_ProfileData[th_depth].name = name; -00087 th_ProfileData[th_depth].data = data; -00088 th_depth++; -00089 } -00090 else -00091 { -00092 assert(th_depth < PROFILER_MAX_NESTED_DEPTH && th_depth >= 0); -00093 } -00094 } -00095 #endif -00096 -00097 if (m_platformEnabled) -00098 { -00099 platformZoneStart(name); -00100 } -00101 } -00102 -00103 virtual void zoneEnd() override -00104 { -00105 -00106 #if SUPPORTS_THREAD_LOCAL -00107 if (PxGetProfilerCallback()) -00108 { -00109 th_depth--; -00110 -00111 if (th_depth >= 0) -00112 { -00113 ExtProfileData& pd = th_ProfileData[th_depth]; -00114 PxGetProfilerCallback()->zoneEnd(pd.data, pd.name, false, 0xb1a57); -00115 } -00116 else -00117 { -00118 assert(th_depth >= 0); -00119 } -00120 } -00121 #endif -00122 -00123 if (m_platformEnabled) -00124 { -00125 platformZoneEnd(); -00126 } -00127 } -00128 -00129 -00130 void setPlatformEnabled(bool enabled) -00131 { -00132 m_platformEnabled = enabled; -00133 } -00134 -00135 private: -00136 bool m_platformEnabled; -00137 }; -00138 -00139 } // namespace Blast -00140 } // namespace Nv -00141 +00084 +00086 +00087 virtual void zoneStart(const char* name) override +00088 { +00089 +00090 #if SUPPORTS_THREAD_LOCAL +00091 if (PxGetProfilerCallback()) +00092 { +00093 void* data = PxGetProfilerCallback()->zoneStart(name, false, 0xb1a57); +00094 +00095 if (th_depth < PROFILER_MAX_NESTED_DEPTH && th_depth >= 0) +00096 { +00097 th_ProfileData[th_depth].name = name; +00098 th_ProfileData[th_depth].data = data; +00099 th_depth++; +00100 } +00101 else +00102 { +00103 assert(th_depth < PROFILER_MAX_NESTED_DEPTH && th_depth >= 0); +00104 } +00105 } +00106 #endif +00107 +00108 if (m_platformEnabled) +00109 { +00110 platformZoneStart(name); +00111 } +00112 } +00113 +00114 virtual void zoneEnd() override +00115 { +00116 +00117 #if SUPPORTS_THREAD_LOCAL +00118 if (PxGetProfilerCallback()) +00119 { +00120 th_depth--; +00121 +00122 if (th_depth >= 0) +00123 { +00124 ExtProfileData& pd = th_ProfileData[th_depth]; +00125 PxGetProfilerCallback()->zoneEnd(pd.data, pd.name, false, 0xb1a57); +00126 } +00127 else +00128 { +00129 assert(th_depth >= 0); +00130 } +00131 } +00132 #endif +00133 +00134 if (m_platformEnabled) +00135 { +00136 platformZoneEnd(); +00137 } +00138 } +00139 +00140 00142 -00143 #endif +00148 void setPlatformEnabled(bool enabled) +00149 { +00150 m_platformEnabled = enabled; +00151 } +00152 +00153 private: +00154 bool m_platformEnabled; +00155 }; +00156 +00157 } // namespace Blast +00158 } // namespace Nv +00159 +00160 +00161 #endif // NVBLASTDEFAULTPROFILER_H - - - - diff --git a/docs/api_docs/files/_nv_blast_fixed_array_8h.html b/docs/api_docs/files/_nv_blast_fixed_array_8h.html deleted file mode 100644 index 970ce32..0000000 --- a/docs/api_docs/files/_nv_blast_fixed_array_8h.html +++ /dev/null @@ -1,44 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastFixedArray.h File Reference - - - - - - - -
-

sdk/common/NvBlastFixedArray.h File Reference

#include "NvBlastAssert.h"
-#include "NvBlastMemory.h"
- -

-Go to the source code of this file. - - - - - - - - - -

Classes

class  Nv::Blast::FixedArray< T >

Namespaces

namespace  Nv
namespace  Nv::Blast
-

- - - - diff --git a/docs/api_docs/files/_nv_blast_fixed_bitmap_8h-source.html b/docs/api_docs/files/_nv_blast_fixed_bitmap_8h-source.html deleted file mode 100644 index 1fe65b0..0000000 --- a/docs/api_docs/files/_nv_blast_fixed_bitmap_8h-source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastFixedBitmap.h Source File - - - - - - - -

sdk/common/NvBlastFixedBitmap.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
-00002 // under a form of NVIDIA software license agreement provided separately to you.
-00003 //
-00004 // Notice
-00005 // NVIDIA Corporation and its licensors retain all intellectual property and
-00006 // proprietary rights in and to this software and related documentation and
-00007 // any modifications thereto. Any use, reproduction, disclosure, or
-00008 // distribution of this software and related documentation without an express
-00009 // license agreement from NVIDIA Corporation is strictly prohibited.
-00010 //
-00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
-00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
-00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
-00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
-00015 //
-00016 // Information and code furnished is believed to be accurate and reliable.
-00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
-00018 // information or for any infringement of patents or other rights of third parties that may
-00019 // result from its use. No license is granted by implication or otherwise under any patent
-00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
-00021 // This code supersedes and replaces all information previously supplied.
-00022 // NVIDIA Corporation products are not authorized for use as critical
-00023 // components in life support devices or systems without express written approval of
-00024 // NVIDIA Corporation.
-00025 //
-00026 // Copyright (c) 2016-2017 NVIDIA Corporation. All rights reserved.
-00027 
-00028 
-00029 #ifndef NVBLASTFIXEDBITMAP_H
-00030 #define NVBLASTFIXEDBITMAP_H
-00031 
-00032 #include "NvBlastAssert.h"
-00033 #include "NvBlastMemory.h"
-00034 #include <cstring>
-00035 
-00036 namespace Nv
-00037 {
-00038 namespace Blast
-00039 {
-00040 
-00063 class FixedBitmap
-00064 {
-00065 public:
-00066     explicit FixedBitmap(uint32_t bitsCount)
-00067     {
-00068         m_bitsCount = bitsCount;
-00069     }
-00070 
-00071     static uint32_t getWordsCount(uint32_t bitsCount)
-00072     {
-00073         return (bitsCount + 31) >> 5;
-00074     }
-00075 
-00076     static size_t requiredMemorySize(uint32_t bitsCount)
-00077     {
-00078         return align16(sizeof(FixedBitmap)) + align16(getWordsCount(bitsCount) * sizeof(uint32_t));
-00079     }
-00080 
-00081     void clear()
-00082     {
-00083         memset(data(), 0, getWordsCount(m_bitsCount) * sizeof(uint32_t));
-00084     }
-00085 
-00086     void fill()
-00087     {
-00088         const uint32_t wordCount = getWordsCount(m_bitsCount);
-00089         uint32_t* mem = data();
-00090         memset(mem, 0xFF, wordCount * sizeof(uint32_t));
-00091         const uint32_t bitsRemainder = m_bitsCount & 31;
-00092         if (bitsRemainder > 0)
-00093         {
-00094             mem[wordCount - 1] &= ~(0xFFFFFFFF << bitsRemainder);
-00095         }
-00096     }
-00097 
-00098     int test(uint32_t index) const
-00099     {
-00100         NVBLAST_ASSERT(index < m_bitsCount);
-00101         return data()[index >> 5] & (1 << (index & 31));
-00102     }
-00103 
-00104     void set(uint32_t index)
-00105     {
-00106         NVBLAST_ASSERT(index < m_bitsCount);
-00107         data()[index >> 5] |= 1 << (index & 31);
-00108     }
-00109 
-00110     void reset(uint32_t index)
-00111     {
-00112         NVBLAST_ASSERT(index < m_bitsCount);
-00113         data()[index >> 5] &= ~(1 << (index & 31));
-00114     }
-00115 
-00116 private:
-00117     uint32_t m_bitsCount;
-00118 
-00119     NV_FORCE_INLINE uint32_t* data()
-00120     {
-00121         return (uint32_t*)((char*)this + sizeof(FixedBitmap));
-00122     }
-00123 
-00124     NV_FORCE_INLINE const uint32_t* data() const
-00125     {
-00126         return (uint32_t*)((char*)this + sizeof(FixedBitmap));
-00127     }
-00128 
-00129 private:
-00130     FixedBitmap(const FixedBitmap& that);
-00131 };
-00132 
-00133 } // namespace Blast
-00134 } // namespace Nv
-00135 
-00136 #endif // ifndef NVBLASTFIXEDBITMAP_H
-
- - - - diff --git a/docs/api_docs/files/_nv_blast_fixed_bitmap_8h.html b/docs/api_docs/files/_nv_blast_fixed_bitmap_8h.html deleted file mode 100644 index 5d62737..0000000 --- a/docs/api_docs/files/_nv_blast_fixed_bitmap_8h.html +++ /dev/null @@ -1,45 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastFixedBitmap.h File Reference - - - - - - - -
-

sdk/common/NvBlastFixedBitmap.h File Reference

#include "NvBlastAssert.h"
-#include "NvBlastMemory.h"
-#include <cstring>
- -

-Go to the source code of this file. - - - - - - - - - -

Classes

class  Nv::Blast::FixedBitmap

Namespaces

namespace  Nv
namespace  Nv::Blast
-

- - - - diff --git a/docs/api_docs/files/_nv_blast_fixed_bool_array_8h-source.html b/docs/api_docs/files/_nv_blast_fixed_bool_array_8h-source.html deleted file mode 100644 index c93b98a..0000000 --- a/docs/api_docs/files/_nv_blast_fixed_bool_array_8h-source.html +++ /dev/null @@ -1,130 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastFixedBoolArray.h Source File - - - - - - - -

sdk/common/NvBlastFixedBoolArray.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
-00002 // under a form of NVIDIA software license agreement provided separately to you.
-00003 //
-00004 // Notice
-00005 // NVIDIA Corporation and its licensors retain all intellectual property and
-00006 // proprietary rights in and to this software and related documentation and
-00007 // any modifications thereto. Any use, reproduction, disclosure, or
-00008 // distribution of this software and related documentation without an express
-00009 // license agreement from NVIDIA Corporation is strictly prohibited.
-00010 //
-00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
-00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
-00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
-00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
-00015 //
-00016 // Information and code furnished is believed to be accurate and reliable.
-00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
-00018 // information or for any infringement of patents or other rights of third parties that may
-00019 // result from its use. No license is granted by implication or otherwise under any patent
-00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
-00021 // This code supersedes and replaces all information previously supplied.
-00022 // NVIDIA Corporation products are not authorized for use as critical
-00023 // components in life support devices or systems without express written approval of
-00024 // NVIDIA Corporation.
-00025 //
-00026 // Copyright (c) 2016-2017 NVIDIA Corporation. All rights reserved.
-00027 
-00028 
-00029 #ifndef NVBLASTFIXEDBOOLARRAY_H
-00030 #define NVBLASTFIXEDBOOLARRAY_H
-00031 
-00032 #include "NvBlastAssert.h"
-00033 #include "NvBlastMemory.h"
-00034 #include <cstring>
-00035 
-00036 namespace Nv
-00037 {
-00038 namespace Blast
-00039 {
-00040 
-00063 class FixedBoolArray
-00064 {
-00065 public:
-00066     explicit FixedBoolArray(uint32_t size)
-00067     {
-00068         m_size = size;
-00069     }
-00070 
-00071     static size_t requiredMemorySize(uint32_t size)
-00072     {
-00073         return align16(sizeof(FixedBoolArray)) + align16(size);
-00074     }
-00075 
-00076     void clear()
-00077     {
-00078         memset(data(), 0, m_size);
-00079     }
-00080 
-00081     void fill()
-00082     {
-00083         memset(data(), 1, m_size);
-00084     }
-00085 
-00086     int test(uint32_t index) const
-00087     {
-00088         NVBLAST_ASSERT(index < m_size);
-00089         return data()[index];
-00090     }
-00091 
-00092     void set(uint32_t index)
-00093     {
-00094         NVBLAST_ASSERT(index < m_size);
-00095         data()[index] = 1;
-00096     }
-00097 
-00098     void reset(uint32_t index)
-00099     {
-00100         NVBLAST_ASSERT(index < m_size);
-00101         data()[index] = 0;
-00102     }
-00103 
-00104 private:
-00105     uint32_t m_size;
-00106 
-00107     NV_FORCE_INLINE char* data()
-00108     {
-00109         return ((char*)this + sizeof(FixedBoolArray));
-00110     }
-00111 
-00112     NV_FORCE_INLINE const char* data() const
-00113     {
-00114         return ((char*)this + sizeof(FixedBoolArray));
-00115     }
-00116 
-00117 private:
-00118     FixedBoolArray(const FixedBoolArray& that);
-00119 };
-00120 
-00121 } // namespace Blast
-00122 } // namespace Nv
-00123 
-00124 #endif // ifndef NVBLASTFIXEDBOOLARRAY_H
-
- - - - diff --git a/docs/api_docs/files/_nv_blast_fixed_bool_array_8h.html b/docs/api_docs/files/_nv_blast_fixed_bool_array_8h.html deleted file mode 100644 index 687b843..0000000 --- a/docs/api_docs/files/_nv_blast_fixed_bool_array_8h.html +++ /dev/null @@ -1,45 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastFixedBoolArray.h File Reference - - - - - - - -
-

sdk/common/NvBlastFixedBoolArray.h File Reference

#include "NvBlastAssert.h"
-#include "NvBlastMemory.h"
-#include <cstring>
- -

-Go to the source code of this file. - - - - - - - - - -

Classes

class  Nv::Blast::FixedBoolArray

Namespaces

namespace  Nv
namespace  Nv::Blast
-

- - - - diff --git a/docs/api_docs/files/_nv_blast_fixed_priority_queue_8h-source.html b/docs/api_docs/files/_nv_blast_fixed_priority_queue_8h-source.html deleted file mode 100644 index 064762d..0000000 --- a/docs/api_docs/files/_nv_blast_fixed_priority_queue_8h-source.html +++ /dev/null @@ -1,209 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastFixedPriorityQueue.h Source File - - - - - - - -

sdk/common/NvBlastFixedPriorityQueue.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
-00002 // under a form of NVIDIA software license agreement provided separately to you.
-00003 //
-00004 // Notice
-00005 // NVIDIA Corporation and its licensors retain all intellectual property and
-00006 // proprietary rights in and to this software and related documentation and
-00007 // any modifications thereto. Any use, reproduction, disclosure, or
-00008 // distribution of this software and related documentation without an express
-00009 // license agreement from NVIDIA Corporation is strictly prohibited.
-00010 //
-00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
-00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
-00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
-00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
-00015 //
-00016 // Information and code furnished is believed to be accurate and reliable.
-00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
-00018 // information or for any infringement of patents or other rights of third parties that may
-00019 // result from its use. No license is granted by implication or otherwise under any patent
-00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
-00021 // This code supersedes and replaces all information previously supplied.
-00022 // NVIDIA Corporation products are not authorized for use as critical
-00023 // components in life support devices or systems without express written approval of
-00024 // NVIDIA Corporation.
-00025 //
-00026 // Copyright (c) 2016-2017 NVIDIA Corporation. All rights reserved.
-00027 
-00028 
-00029 #ifndef NVBLASTFIXEDPRIORITYQUEUE_H
-00030 #define NVBLASTFIXEDPRIORITYQUEUE_H
-00031 
-00032 #include "NvBlastAssert.h"
-00033 #include "NvBlastMemory.h"
-00034 
-00035 namespace Nv
-00036 {
-00037 
-00038 namespace Blast
-00039 {
-00040 
-00062 template <typename A>
-00063 struct Less
-00064 {
-00065     bool operator()(const A& a, const A& b) const
-00066     {
-00067         return a < b;
-00068     }
-00069 };
-00070 
-00071 
-00072 template<class Element, class Comparator = Less<Element> >
-00073 class FixedPriorityQueue : protected Comparator // inherit so that stateless comparators take no space
-00074 {
-00075 public:
-00076     FixedPriorityQueue(const Comparator& less = Comparator()) : Comparator(less), mHeapSize(0)
-00077     {
-00078     }
-00079         
-00080     ~FixedPriorityQueue()
-00081     {
-00082     }
-00083 
-00084     static size_t requiredMemorySize(uint32_t capacity)
-00085     {
-00086         return align16(sizeof(FixedPriorityQueue<Element, Comparator>)) + align16(capacity * sizeof(Element));
-00087     }
-00088         
-00090     const Element top() const
-00091     {
-00092         return data()[0];
-00093     }
-00094 
-00096     Element top()
-00097     {
-00098         return data()[0];
-00099     }
-00100         
-00102     bool empty() const
-00103     {
-00104         return (mHeapSize == 0);
-00105     }
-00106         
-00108     void clear()
-00109     {
-00110         mHeapSize = 0;
-00111     }  
-00112 
-00114     void push(const Element& value)
-00115     {
-00116         uint32_t newIndex;
-00117         uint32_t parentIndex = parent(mHeapSize);
-00118 
-00119         for (newIndex = mHeapSize; newIndex > 0 && compare(value, data()[parentIndex]); newIndex = parentIndex, parentIndex= parent(newIndex)) 
-00120         {
-00121             data()[ newIndex ] = data()[parentIndex];
-00122         }
-00123         data()[newIndex] = value; 
-00124         mHeapSize++;
-00125         NVBLAST_ASSERT(valid());
-00126     }
-00127 
-00129     Element pop()
-00130     {
-00131         NVBLAST_ASSERT(mHeapSize > 0);
-00132         uint32_t i, child;
-00133         //try to avoid LHS
-00134         uint32_t tempHs = mHeapSize-1;
-00135         mHeapSize = tempHs;
-00136         Element min = data()[0];
-00137         Element last = data()[tempHs];
-00138             
-00139         for (i = 0; (child = left(i)) < tempHs; i = child) 
-00140         {
-00141             /* Find highest priority child */
-00142             const uint32_t rightChild = child + 1;
-00143             
-00144             child += ((rightChild < tempHs) & compare((data()[rightChild]), (data()[child]))) ? 1 : 0;
-00145 
-00146             if(compare(last, data()[child]))
-00147                 break;
-00148 
-00149             data()[i] = data()[child];
-00150         }
-00151         data()[ i ] = last;
-00152             
-00153         NVBLAST_ASSERT(valid());
-00154         return min;
-00155     } 
-00156 
-00158     bool valid() const
-00159     {
-00160         const Element& min = data()[0];
-00161         for(uint32_t i=1; i<mHeapSize; ++i)
-00162         {
-00163             if(compare(data()[i], min))
-00164                 return false;
-00165         }
-00166 
-00167         return true;
-00168     }
-00169 
-00171     uint32_t size() const
-00172     {
-00173         return mHeapSize;
-00174     }
-00175 
-00176 private:
-00177     uint32_t mHeapSize;
-00178 
-00179     NV_FORCE_INLINE Element* data()
-00180     {
-00181         return (Element*)((char*)this + sizeof(FixedPriorityQueue<Element, Comparator>));
-00182     }
-00183 
-00184     NV_FORCE_INLINE Element* data() const
-00185     {
-00186         return (Element*)((char*)this + sizeof(FixedPriorityQueue<Element, Comparator>));
-00187     }
-00188 
-00189     bool compare(const Element& a, const Element& b) const
-00190     {
-00191         return Comparator::operator()(a,b);
-00192     }
-00193 
-00194     static uint32_t left(uint32_t nodeIndex) 
-00195     {
-00196         return (nodeIndex << 1) + 1;
-00197     }
-00198         
-00199     static uint32_t parent(uint32_t nodeIndex) 
-00200     {
-00201         return (nodeIndex - 1) >> 1;
-00202     }
-00203 
-00204     FixedPriorityQueue<Element, Comparator>& operator = (const FixedPriorityQueue<Element, Comparator>);
-00205 };
-00206 
-00207 } // namespace Blast
-00208 } // namespace Nv
-00209 
-00210 #endif // ifndef NVBLASTFIXEDPRIORITYQUEUE_H
-
- - - - diff --git a/docs/api_docs/files/_nv_blast_fixed_priority_queue_8h.html b/docs/api_docs/files/_nv_blast_fixed_priority_queue_8h.html deleted file mode 100644 index c463199..0000000 --- a/docs/api_docs/files/_nv_blast_fixed_priority_queue_8h.html +++ /dev/null @@ -1,46 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastFixedPriorityQueue.h File Reference - - - - - - - -
-

sdk/common/NvBlastFixedPriorityQueue.h File Reference

#include "NvBlastAssert.h"
-#include "NvBlastMemory.h"
- -

-Go to the source code of this file. - - - - - - - - - - - -

Classes

class  Nv::Blast::FixedPriorityQueue< Element, Comparator >
struct  Nv::Blast::Less< A >

Namespaces

namespace  Nv
namespace  Nv::Blast
-

- - - - diff --git a/docs/api_docs/files/_nv_blast_geometry_8h-source.html b/docs/api_docs/files/_nv_blast_geometry_8h-source.html deleted file mode 100644 index d41795e..0000000 --- a/docs/api_docs/files/_nv_blast_geometry_8h-source.html +++ /dev/null @@ -1,228 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastGeometry.h Source File - - - - - - - -

sdk/common/NvBlastGeometry.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
-00002 // under a form of NVIDIA software license agreement provided separately to you.
-00003 //
-00004 // Notice
-00005 // NVIDIA Corporation and its licensors retain all intellectual property and
-00006 // proprietary rights in and to this software and related documentation and
-00007 // any modifications thereto. Any use, reproduction, disclosure, or
-00008 // distribution of this software and related documentation without an express
-00009 // license agreement from NVIDIA Corporation is strictly prohibited.
-00010 //
-00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
-00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
-00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
-00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
-00015 //
-00016 // Information and code furnished is believed to be accurate and reliable.
-00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
-00018 // information or for any infringement of patents or other rights of third parties that may
-00019 // result from its use. No license is granted by implication or otherwise under any patent
-00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
-00021 // This code supersedes and replaces all information previously supplied.
-00022 // NVIDIA Corporation products are not authorized for use as critical
-00023 // components in life support devices or systems without express written approval of
-00024 // NVIDIA Corporation.
-00025 //
-00026 // Copyright (c) 2016-2017 NVIDIA Corporation. All rights reserved.
-00027 
-00028 
-00029 #ifndef NVBLASTGEOMETRY_H
-00030 #define NVBLASTGEOMETRY_H
-00031 
-00032 #include "NvBlastTypes.h"
-00033 #include "NvBlastMath.h"
-00034 #include "NvBlastAssert.h"
-00035 
-00036 #include <limits>
-00037 
-00038 
-00039 namespace Nv {
-00040 namespace Blast{
-00041 
-00042 
-00062 NV_FORCE_INLINE uint32_t findClosestNode(const float point[4], 
-00063     const uint32_t firstGraphNodeIndex, const uint32_t* familyGraphNodeIndexLinks,
-00064     const uint32_t* adjacencyPartition, const uint32_t* adjacentNodeIndices, const uint32_t* adjacentBondIndices,
-00065     const NvBlastBond* assetBonds, const float* bondHealths,
-00066     const NvBlastChunk* assetChunks, const float* supportChunkHealths, const uint32_t* chunkIndices)
-00067 {
-00068     // firstGraphNodeIndex could still be the world chunk, however
-00069     // there should be no way a single-node actor that is just the world chunk exists.
-00070     uint32_t nodeIndex = firstGraphNodeIndex;
-00071     // Since there should always be a regular chunk in the graph, it is possible to initialize closestNode
-00072     // as world chunk index but it would always evaluate to some meaningful node index eventually.
-00073     uint32_t closestNode = nodeIndex;
-00074     float minDist = std::numeric_limits<float>().max();
-00075 
-00076     // find the closest healthy chunk in the graph by its centroid to point distance
-00077     while (!Nv::Blast::isInvalidIndex(nodeIndex))
-00078     {
-00079         if (supportChunkHealths[nodeIndex] > 0.0f)
-00080         {
-00081             uint32_t chunkIndex = chunkIndices[nodeIndex];
-00082             if (!isInvalidIndex(chunkIndex)) // Invalid if this is the world chunk
-00083             {
-00084                 const NvBlastChunk& chunk = assetChunks[chunkIndex];
-00085                 const float* centroid = chunk.centroid;
-00086 
-00087                 float d[3]; VecMath::sub(point, centroid, d);
-00088                 float dist = VecMath::dot(d, d);
-00089 
-00090                 if (dist < minDist)
-00091                 {
-00092                     minDist = dist;
-00093                     closestNode = nodeIndex;
-00094                 }
-00095             }
-00096         }
-00097         nodeIndex = familyGraphNodeIndexLinks[nodeIndex];
-00098     }
-00099 
-00100     // as long as the world chunk is not input as a single-node graph actor
-00101     NVBLAST_ASSERT(!isInvalidIndex(chunkIndices[closestNode]));
-00102 
-00103     bool iterateOnBonds = true;
-00104     if (iterateOnBonds)
-00105     {
-00106         // improve geometric accuracy by looking on which side of the closest bond the point lies
-00107         // expects bond normals to point from the smaller to the larger node index
-00108 
-00109         nodeIndex = closestNode;
-00110         minDist = std::numeric_limits<float>().max();
-00111 
-00112         const uint32_t startIndex = adjacencyPartition[nodeIndex];
-00113         const uint32_t stopIndex = adjacencyPartition[nodeIndex + 1];
-00114 
-00115         for (uint32_t adjacentIndex = startIndex; adjacentIndex < stopIndex; adjacentIndex++)
-00116         {
-00117             const uint32_t neighbourIndex = adjacentNodeIndices[adjacentIndex];
-00118             const uint32_t neighbourChunk = chunkIndices[neighbourIndex];
-00119             if (!isInvalidIndex(neighbourChunk)) // Invalid if neighbor is the world chunk
-00120             {
-00121                 const uint32_t bondIndex = adjacentBondIndices[adjacentIndex];
-00122                 // do not follow broken bonds, since it means that neighbor is not actually connected in the graph
-00123                 if (bondHealths[bondIndex] > 0.0f && supportChunkHealths[neighbourIndex] > 0.0f)
-00124                 {
-00125                     const NvBlastBond& bond = assetBonds[bondIndex];
-00126 
-00127                     const float* centroid = bond.centroid;
-00128                     float d[3]; VecMath::sub(point, centroid, d);
-00129                     float dist = VecMath::dot(d, d);
-00130 
-00131                     if (dist < minDist)
-00132                     {
-00133                         minDist = dist;
-00134                         float s = VecMath::dot(d, bond.normal);
-00135                         if (nodeIndex < neighbourIndex)
-00136                         {
-00137                             closestNode = s < 0.0f ? nodeIndex : neighbourIndex;
-00138                         }
-00139                         else
-00140                         {
-00141                             closestNode = s < 0.0f ? neighbourIndex : nodeIndex;
-00142                         }
-00143                     }
-00144                 }
-00145             }
-00146         }
-00147     }
-00148 
-00149     return closestNode;
-00150 }
-00151 
-00152 
-00171 NV_FORCE_INLINE uint32_t findClosestNode(const float point[4],
-00172     const uint32_t firstGraphNodeIndex, const uint32_t* familyGraphNodeIndexLinks,
-00173     const uint32_t* adjacencyPartition, const uint32_t* adjacentNodeIndices, const uint32_t* adjacentBondIndices,
-00174     const NvBlastBond* bonds, const float* bondHealths, const uint32_t* chunkIndices)
-00175 {
-00176     // firstGraphNodeIndex could still be the world chunk, however
-00177     // there should be no way a single-node actor that is just the world chunk exists.
-00178     uint32_t nodeIndex = firstGraphNodeIndex;
-00179     // Since there should always be a regular chunk in the graph, it is possible to initialize closestNode
-00180     // as world chunk index but it would always evaluate to some meaningful node index eventually.
-00181     uint32_t closestNode = nodeIndex;
-00182     float minDist = std::numeric_limits<float>().max();
-00183 
-00184     while (!Nv::Blast::isInvalidIndex(nodeIndex))
-00185     {
-00186         const uint32_t startIndex = adjacencyPartition[nodeIndex];
-00187         const uint32_t stopIndex = adjacencyPartition[nodeIndex + 1];
-00188 
-00189         for (uint32_t adjacentIndex = startIndex; adjacentIndex < stopIndex; adjacentIndex++)
-00190         {
-00191             const uint32_t neighbourIndex = adjacentNodeIndices[adjacentIndex];
-00192             if (nodeIndex < neighbourIndex)
-00193             {
-00194                 const uint32_t bondIndex = adjacentBondIndices[adjacentIndex];
-00195                 if (bondHealths[bondIndex] > 0.0f)
-00196                 {
-00197                     const NvBlastBond& bond = bonds[bondIndex];
-00198 
-00199                     const float* centroid = bond.centroid;
-00200                     float d[3]; VecMath::sub(point, centroid, d);
-00201                     float dist = VecMath::dot(d, d);
-00202 
-00203                     if (dist < minDist)
-00204                     {
-00205                         minDist = dist;
-00206                         // if any of the nodes is the world chunk, use the valid one instead
-00207                         if (isInvalidIndex(chunkIndices[neighbourIndex]))
-00208                         {
-00209                             closestNode = nodeIndex;
-00210                         }
-00211                         else if (isInvalidIndex(chunkIndices[nodeIndex]))
-00212                         {
-00213                             closestNode = neighbourIndex;
-00214                         }
-00215                         else
-00216                         {
-00217                             float s = VecMath::dot(d, bond.normal);
-00218                             closestNode = s < 0 ? nodeIndex : neighbourIndex;
-00219                         }
-00220                     }
-00221                 }
-00222             }
-00223         }
-00224         nodeIndex = familyGraphNodeIndexLinks[nodeIndex];
-00225     }
-00226 
-00227     // as long as the world chunk is not input as a single-node graph actor
-00228     NVBLAST_ASSERT(!isInvalidIndex(chunkIndices[closestNode]));
-00229     return closestNode;
-00230 }
-00231 
-00232 
-00233 } // namespace Blast
-00234 } // namespace Nv
-00235 
-00236 
-00237 #endif // NVBLASTGEOMETRY_H
-
- - - - diff --git a/docs/api_docs/files/_nv_blast_geometry_8h.html b/docs/api_docs/files/_nv_blast_geometry_8h.html deleted file mode 100644 index 0176bc2..0000000 --- a/docs/api_docs/files/_nv_blast_geometry_8h.html +++ /dev/null @@ -1,48 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastGeometry.h File Reference - - - - - - - -
-

sdk/common/NvBlastGeometry.h File Reference

#include "NvBlastTypes.h"
-#include "NvBlastMath.h"
-#include "NvBlastAssert.h"
-#include <limits>
- -

-Go to the source code of this file. - - - - - - - - - - - -

Namespaces

namespace  Nv
namespace  Nv::Blast

Functions

NV_FORCE_INLINE uint32_t Nv::Blast::findClosestNode (const float point[4], const uint32_t firstGraphNodeIndex, const uint32_t *familyGraphNodeIndexLinks, const uint32_t *adjacencyPartition, const uint32_t *adjacentNodeIndices, const uint32_t *adjacentBondIndices, const NvBlastBond *bonds, const float *bondHealths, const uint32_t *chunkIndices)
NV_FORCE_INLINE uint32_t Nv::Blast::findClosestNode (const float point[4], const uint32_t firstGraphNodeIndex, const uint32_t *familyGraphNodeIndexLinks, const uint32_t *adjacencyPartition, const uint32_t *adjacentNodeIndices, const uint32_t *adjacentBondIndices, const NvBlastBond *assetBonds, const float *bondHealths, const NvBlastChunk *assetChunks, const float *supportChunkHealths, const uint32_t *chunkIndices)
-

- - - - diff --git a/docs/api_docs/files/_nv_blast_hash_map_8h-source.html b/docs/api_docs/files/_nv_blast_hash_map_8h-source.html deleted file mode 100644 index edae4e0..0000000 --- a/docs/api_docs/files/_nv_blast_hash_map_8h-source.html +++ /dev/null @@ -1,80 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastHashMap.h Source File - - - - - - - -

sdk/common/NvBlastHashMap.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
-00002 // under a form of NVIDIA software license agreement provided separately to you.
-00003 //
-00004 // Notice
-00005 // NVIDIA Corporation and its licensors retain all intellectual property and
-00006 // proprietary rights in and to this software and related documentation and
-00007 // any modifications thereto. Any use, reproduction, disclosure, or
-00008 // distribution of this software and related documentation without an express
-00009 // license agreement from NVIDIA Corporation is strictly prohibited.
-00010 //
-00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
-00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
-00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
-00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
-00015 //
-00016 // Information and code furnished is believed to be accurate and reliable.
-00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
-00018 // information or for any infringement of patents or other rights of third parties that may
-00019 // result from its use. No license is granted by implication or otherwise under any patent
-00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
-00021 // This code supersedes and replaces all information previously supplied.
-00022 // NVIDIA Corporation products are not authorized for use as critical
-00023 // components in life support devices or systems without express written approval of
-00024 // NVIDIA Corporation.
-00025 //
-00026 // Copyright (c) 2016-2017 NVIDIA Corporation. All rights reserved.
-00027 
-00028 
-00029 #ifndef NVBLASTHASHMAP_H
-00030 #define NVBLASTHASHMAP_H
-00031 
-00032 
-00033 #include "NvBlastAllocator.h"
-00034 #include "PsHashMap.h"
-00035 
-00036 
-00037 namespace Nv
-00038 {
-00039 namespace Blast
-00040 {
-00041 
-00045 template <class Key, class Value, class HashFn = physx::shdfnd::Hash<Key>>
-00046 struct HashMap
-00047 {
-00048     typedef physx::shdfnd::HashMap<Key, Value, HashFn, Allocator> type;
-00049 };
-00050 
-00051 } // namespace Blast
-00052 } // namespace Nv
-00053 
-00054 
-00055 #endif // #ifndef NVBLASTHASHMAP_H
-
- - - - diff --git a/docs/api_docs/files/_nv_blast_hash_map_8h.html b/docs/api_docs/files/_nv_blast_hash_map_8h.html deleted file mode 100644 index c54962c..0000000 --- a/docs/api_docs/files/_nv_blast_hash_map_8h.html +++ /dev/null @@ -1,44 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastHashMap.h File Reference - - - - - - - -
-

sdk/common/NvBlastHashMap.h File Reference

#include "NvBlastAllocator.h"
-#include "PsHashMap.h"
- -

-Go to the source code of this file. - - - - - - - - - -

Classes

struct  Nv::Blast::HashMap< Key, Value, HashFn >

Namespaces

namespace  Nv
namespace  Nv::Blast
-

- - - - diff --git a/docs/api_docs/files/_nv_blast_hash_set_8h-source.html b/docs/api_docs/files/_nv_blast_hash_set_8h-source.html deleted file mode 100644 index 343acc4..0000000 --- a/docs/api_docs/files/_nv_blast_hash_set_8h-source.html +++ /dev/null @@ -1,79 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastHashSet.h Source File - - - - - - - -

sdk/common/NvBlastHashSet.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
-00002 // under a form of NVIDIA software license agreement provided separately to you.
-00003 //
-00004 // Notice
-00005 // NVIDIA Corporation and its licensors retain all intellectual property and
-00006 // proprietary rights in and to this software and related documentation and
-00007 // any modifications thereto. Any use, reproduction, disclosure, or
-00008 // distribution of this software and related documentation without an express
-00009 // license agreement from NVIDIA Corporation is strictly prohibited.
-00010 //
-00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
-00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
-00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
-00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
-00015 //
-00016 // Information and code furnished is believed to be accurate and reliable.
-00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
-00018 // information or for any infringement of patents or other rights of third parties that may
-00019 // result from its use. No license is granted by implication or otherwise under any patent
-00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
-00021 // This code supersedes and replaces all information previously supplied.
-00022 // NVIDIA Corporation products are not authorized for use as critical
-00023 // components in life support devices or systems without express written approval of
-00024 // NVIDIA Corporation.
-00025 //
-00026 // Copyright (c) 2016-2017 NVIDIA Corporation. All rights reserved.
-00027 
-00028 
-00029 #ifndef NVBLASTHASHSET_H
-00030 #define NVBLASTHASHSET_H
-00031 
-00032 
-00033 #include "NvBlastAllocator.h"
-00034 #include "PsHashSet.h"
-00035 
-00036 namespace Nv
-00037 {
-00038 namespace Blast
-00039 {
-00040 
-00044 template <class Key, class HashFn = physx::shdfnd::Hash<Key>>
-00045 struct HashSet
-00046 {
-00047     typedef physx::shdfnd::HashSet<Key, HashFn, Allocator> type;
-00048 };
-00049 
-00050 } // namespace Blast
-00051 } // namespace Nv
-00052 
-00053 
-00054 #endif // #ifndef NVBLASTHASHSET_H
-
- - - - diff --git a/docs/api_docs/files/_nv_blast_hash_set_8h.html b/docs/api_docs/files/_nv_blast_hash_set_8h.html deleted file mode 100644 index f16cbb9..0000000 --- a/docs/api_docs/files/_nv_blast_hash_set_8h.html +++ /dev/null @@ -1,44 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastHashSet.h File Reference - - - - - - - -
-

sdk/common/NvBlastHashSet.h File Reference

#include "NvBlastAllocator.h"
-#include "PsHashSet.h"
- -

-Go to the source code of this file. - - - - - - - - - -

Classes

struct  Nv::Blast::HashSet< Key, HashFn >

Namespaces

namespace  Nv
namespace  Nv::Blast
-

- - - - diff --git a/docs/api_docs/files/_nv_blast_include_windows_8h-source.html b/docs/api_docs/files/_nv_blast_include_windows_8h-source.html deleted file mode 100644 index abdbf78..0000000 --- a/docs/api_docs/files/_nv_blast_include_windows_8h-source.html +++ /dev/null @@ -1,131 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastIncludeWindows.h Source File - - - - - - - -

sdk/common/NvBlastIncludeWindows.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
-00002 // under a form of NVIDIA software license agreement provided separately to you.
-00003 //
-00004 // Notice
-00005 // NVIDIA Corporation and its licensors retain all intellectual property and
-00006 // proprietary rights in and to this software and related documentation and
-00007 // any modifications thereto. Any use, reproduction, disclosure, or
-00008 // distribution of this software and related documentation without an express
-00009 // license agreement from NVIDIA Corporation is strictly prohibited.
-00010 //
-00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
-00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
-00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
-00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
-00015 //
-00016 // Information and code furnished is believed to be accurate and reliable.
-00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
-00018 // information or for any infringement of patents or other rights of third parties that may
-00019 // result from its use. No license is granted by implication or otherwise under any patent
-00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
-00021 // This code supersedes and replaces all information previously supplied.
-00022 // NVIDIA Corporation products are not authorized for use as critical
-00023 // components in life support devices or systems without express written approval of
-00024 // NVIDIA Corporation.
-00025 //
-00026 // Copyright (c) 2016-2017 NVIDIA Corporation. All rights reserved.
-00027 
-00028 
-00029 #ifndef NVBLASTINCLUDEWINDOWS_H
-00030 #define NVBLASTINCLUDEWINDOWS_H
-00031 
-00032 #ifndef _WINDOWS_ // windows already included if this is defined
-00033 
-00034 #include "NvBlastPreprocessor.h"
-00035 
-00036 #ifndef _WIN32
-00037 #error "This file should only be included by Windows builds!!"
-00038 #endif
-00039 
-00040 // We only support >= Windows XP, and we need this for critical section and
-00041 #if !NV_WINRT
-00042 #define _WIN32_WINNT 0x0501
-00043 #else
-00044 #define _WIN32_WINNT 0x0602
-00045 #endif
-00046 
-00047 // turn off as much as we can for windows. All we really need is the thread functions(critical sections/Interlocked*
-00048 // etc)
-00049 #define NOGDICAPMASKS
-00050 #define NOVIRTUALKEYCODES
-00051 #define NOWINMESSAGES
-00052 #define NOWINSTYLES
-00053 #define NOSYSMETRICS
-00054 #define NOMENUS
-00055 #define NOICONS
-00056 #define NOKEYSTATES
-00057 #define NOSYSCOMMANDS
-00058 #define NORASTEROPS
-00059 #define NOSHOWWINDOW
-00060 #define NOATOM
-00061 #define NOCLIPBOARD
-00062 #define NOCOLOR
-00063 #define NOCTLMGR
-00064 #define NODRAWTEXT
-00065 #define NOGDI
-00066 #define NOMB
-00067 #define NOMEMMGR
-00068 #define NOMETAFILE
-00069 #define NOMINMAX
-00070 #define NOOPENFILE
-00071 #define NOSCROLL
-00072 #define NOSERVICE
-00073 #define NOSOUND
-00074 #define NOTEXTMETRIC
-00075 #define NOWH
-00076 #define NOWINOFFSETS
-00077 #define NOCOMM
-00078 #define NOKANJI
-00079 #define NOHELP
-00080 #define NOPROFILER
-00081 #define NODEFERWINDOWPOS
-00082 #define NOMCX
-00083 #ifndef WIN32_LEAN_AND_MEAN
-00084 #define WIN32_LEAN_AND_MEAN
-00085 #endif
-00086 #if !NV_WINRT
-00087 #define NOUSER
-00088 #define NONLS
-00089 #define NOMSG
-00090 #endif
-00091 
-00092 #pragma warning(push)
-00093 #pragma warning(disable : 4668) //'symbol' is not defined as a preprocessor macro, replacing with '0' for 'directives'
-00094 #include <windows.h>
-00095 #pragma warning(pop)
-00096 
-00097 #if NV_SSE2
-00098 #include <xmmintrin.h>
-00099 #endif
-00100 
-00101 #endif // #ifndef _WINDOWS_
-00102 
-00103 #endif // #ifndef NVBLASTINCLUDEWINDOWS_H
-
- - - - diff --git a/docs/api_docs/files/_nv_blast_include_windows_8h.html b/docs/api_docs/files/_nv_blast_include_windows_8h.html deleted file mode 100644 index 5cefe11..0000000 --- a/docs/api_docs/files/_nv_blast_include_windows_8h.html +++ /dev/null @@ -1,684 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastIncludeWindows.h File Reference - - - - - - - -
-

sdk/common/NvBlastIncludeWindows.h File Reference

#include "NvBlastPreprocessor.h"
-#include <windows.h>
- -

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Defines

#define _WIN32_WINNT   0x0501
#define NOATOM
#define NOCLIPBOARD
#define NOCOLOR
#define NOCOMM
#define NOCTLMGR
#define NODEFERWINDOWPOS
#define NODRAWTEXT
#define NOGDI
#define NOGDICAPMASKS
#define NOHELP
#define NOICONS
#define NOKANJI
#define NOKEYSTATES
#define NOMB
#define NOMCX
#define NOMEMMGR
#define NOMENUS
#define NOMETAFILE
#define NOMINMAX
#define NOMSG
#define NONLS
#define NOOPENFILE
#define NOPROFILER
#define NORASTEROPS
#define NOSCROLL
#define NOSERVICE
#define NOSHOWWINDOW
#define NOSOUND
#define NOSYSCOMMANDS
#define NOSYSMETRICS
#define NOTEXTMETRIC
#define NOUSER
#define NOVIRTUALKEYCODES
#define NOWH
#define NOWINMESSAGES
#define NOWINOFFSETS
#define NOWINSTYLES
-


Define Documentation

- -
-
- - - - -
#define _WIN32_WINNT   0x0501
-
-
- -

- -

-

- -

-
- - - - -
#define NOATOM
-
-
- -

- -

-

- -

-
- - - - -
#define NOCLIPBOARD
-
-
- -

- -

-

- -

-
- - - - -
#define NOCOLOR
-
-
- -

- -

-

- -

-
- - - - -
#define NOCOMM
-
-
- -

- -

-

- -

-
- - - - -
#define NOCTLMGR
-
-
- -

- -

-

- -

-
- - - - -
#define NODEFERWINDOWPOS
-
-
- -

- -

-

- -

-
- - - - -
#define NODRAWTEXT
-
-
- -

- -

-

- -

-
- - - - -
#define NOGDI
-
-
- -

- -

-

- -

-
- - - - -
#define NOGDICAPMASKS
-
-
- -

- -

-

- -

-
- - - - -
#define NOHELP
-
-
- -

- -

-

- -

-
- - - - -
#define NOICONS
-
-
- -

- -

-

- -

-
- - - - -
#define NOKANJI
-
-
- -

- -

-

- -

-
- - - - -
#define NOKEYSTATES
-
-
- -

- -

-

- -

-
- - - - -
#define NOMB
-
-
- -

- -

-

- -

-
- - - - -
#define NOMCX
-
-
- -

- -

-

- -

-
- - - - -
#define NOMEMMGR
-
-
- -

- -

-

- -

-
- - - - -
#define NOMENUS
-
-
- -

- -

-

- -

-
- - - - -
#define NOMETAFILE
-
-
- -

- -

-

- -

-
- - - - -
#define NOMINMAX
-
-
- -

- -

-

- -

-
- - - - -
#define NOMSG
-
-
- -

- -

-

- -

-
- - - - -
#define NONLS
-
-
- -

- -

-

- -

-
- - - - -
#define NOOPENFILE
-
-
- -

- -

-

- -

-
- - - - -
#define NOPROFILER
-
-
- -

- -

-

- -

-
- - - - -
#define NORASTEROPS
-
-
- -

- -

-

- -

-
- - - - -
#define NOSCROLL
-
-
- -

- -

-

- -

-
- - - - -
#define NOSERVICE
-
-
- -

- -

-

- -

-
- - - - -
#define NOSHOWWINDOW
-
-
- -

- -

-

- -

-
- - - - -
#define NOSOUND
-
-
- -

- -

-

- -

-
- - - - -
#define NOSYSCOMMANDS
-
-
- -

- -

-

- -

-
- - - - -
#define NOSYSMETRICS
-
-
- -

- -

-

- -

-
- - - - -
#define NOTEXTMETRIC
-
-
- -

- -

-

- -

-
- - - - -
#define NOUSER
-
-
- -

- -

-

- -

-
- - - - -
#define NOVIRTUALKEYCODES
-
-
- -

- -

-

- -

-
- - - - -
#define NOWH
-
-
- -

- -

-

- -

-
- - - - -
#define NOWINMESSAGES
-
-
- -

- -

-

- -

-
- - - - -
#define NOWINOFFSETS
-
-
- -

- -

-

- -

-
- - - - -
#define NOWINSTYLES
-
-
- -

- -

-

-

- - - - diff --git a/docs/api_docs/files/_nv_blast_index_fns_8h-source.html b/docs/api_docs/files/_nv_blast_index_fns_8h-source.html deleted file mode 100644 index 15d2d51..0000000 --- a/docs/api_docs/files/_nv_blast_index_fns_8h-source.html +++ /dev/null @@ -1,127 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastIndexFns.h Source File - - - - - - - -

sdk/common/NvBlastIndexFns.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
-00002 // under a form of NVIDIA software license agreement provided separately to you.
-00003 //
-00004 // Notice
-00005 // NVIDIA Corporation and its licensors retain all intellectual property and
-00006 // proprietary rights in and to this software and related documentation and
-00007 // any modifications thereto. Any use, reproduction, disclosure, or
-00008 // distribution of this software and related documentation without an express
-00009 // license agreement from NVIDIA Corporation is strictly prohibited.
-00010 //
-00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
-00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
-00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
-00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
-00015 //
-00016 // Information and code furnished is believed to be accurate and reliable.
-00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
-00018 // information or for any infringement of patents or other rights of third parties that may
-00019 // result from its use. No license is granted by implication or otherwise under any patent
-00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
-00021 // This code supersedes and replaces all information previously supplied.
-00022 // NVIDIA Corporation products are not authorized for use as critical
-00023 // components in life support devices or systems without express written approval of
-00024 // NVIDIA Corporation.
-00025 //
-00026 // Copyright (c) 2008-2017 NVIDIA Corporation. All rights reserved.
-00027 
-00028 
-00029 #ifndef NVBLASTINDEXFNS_H
-00030 #define NVBLASTINDEXFNS_H
-00031 
-00032 
-00033 #include "NvBlastTypes.h"
-00034 
-00035 #include <cstring>
-00036 
-00037 
-00038 namespace Nv
-00039 {
-00040 namespace Blast
-00041 {
-00042 
-00046 template<typename T>
-00047 NV_INLINE T invalidIndex()
-00048 {
-00049     return ~(T)0;
-00050 }
-00051 
-00052 
-00056 template<typename T>
-00057 NV_INLINE bool isInvalidIndex(T index)
-00058 {
-00059     return index == invalidIndex<T>();
-00060 }
-00061 
-00062 
-00095 template<typename T>
-00096 void createIndexStartLookup(T* lookup, T indexBase, T indexRange, T* indexSource, T indexCount, T indexByteStride)
-00097 {
-00098     ++indexBase;    // Ordering invalidIndex<T>() as lowest value
-00099     T indexPos = 0;
-00100     for (T i = 0; i <= indexRange; ++i)
-00101     {
-00102         for (; indexPos < indexCount; ++indexPos, indexSource = (T*)((uintptr_t)indexSource + indexByteStride))
-00103         {
-00104             if (*indexSource + 1 >= i + indexBase)  // +1 to order invalidIndex<T>() as lowest value
-00105             {
-00106                 lookup[i] = indexPos;
-00107                 break;
-00108             }
-00109         }
-00110         if (indexPos == indexCount)
-00111         {
-00112             lookup[i] = indexPos;
-00113         }
-00114     }
-00115     lookup[indexRange + 1] = indexCount;
-00116 }
-00117 
-00118 
-00127 template<typename T>
-00128 void invertMap(T* inverseMap, const T* map, const T size)
-00129 {
-00130     memset(inverseMap, invalidIndex<T>(), size*sizeof(T));
-00131 
-00132     for (T i = 0; i < size; i++)
-00133     {
-00134         if (!isInvalidIndex(map[i]))
-00135         {
-00136             inverseMap[map[i]] = i;
-00137         }
-00138     }
-00139 }
-00140 
-00141 } // end namespace Blast
-00142 } // end namespace Nv
-00143 
-00144 
-00145 #endif // #ifndef NVBLASTINDEXFNS_H
-
- - - - diff --git a/docs/api_docs/files/_nv_blast_index_fns_8h.html b/docs/api_docs/files/_nv_blast_index_fns_8h.html deleted file mode 100644 index 99e8845..0000000 --- a/docs/api_docs/files/_nv_blast_index_fns_8h.html +++ /dev/null @@ -1,54 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastIndexFns.h File Reference - - - - - - - -
-

sdk/common/NvBlastIndexFns.h File Reference

#include "NvBlastTypes.h"
-#include <cstring>
- -

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - -

Namespaces

namespace  Nv
namespace  Nv::Blast

Functions

template<typename T >
void Nv::Blast::createIndexStartLookup (T *lookup, T indexBase, T indexRange, T *indexSource, T indexCount, T indexByteStride)
template<typename T >
NV_INLINE T Nv::Blast::invalidIndex ()
template<typename T >
void Nv::Blast::invertMap (T *inverseMap, const T *map, const T size)
template<typename T >
NV_INLINE bool Nv::Blast::isInvalidIndex (T index)
-

- - - - diff --git a/docs/api_docs/files/_nv_blast_iterator_base_8h-source.html b/docs/api_docs/files/_nv_blast_iterator_base_8h-source.html deleted file mode 100644 index 914f01a..0000000 --- a/docs/api_docs/files/_nv_blast_iterator_base_8h-source.html +++ /dev/null @@ -1,163 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastIteratorBase.h Source File - - - - - - - -

sdk/common/NvBlastIteratorBase.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
-00002 // under a form of NVIDIA software license agreement provided separately to you.
-00003 //
-00004 // Notice
-00005 // NVIDIA Corporation and its licensors retain all intellectual property and
-00006 // proprietary rights in and to this software and related documentation and
-00007 // any modifications thereto. Any use, reproduction, disclosure, or
-00008 // distribution of this software and related documentation without an express
-00009 // license agreement from NVIDIA Corporation is strictly prohibited.
-00010 //
-00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
-00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
-00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
-00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
-00015 //
-00016 // Information and code furnished is believed to be accurate and reliable.
-00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
-00018 // information or for any infringement of patents or other rights of third parties that may
-00019 // result from its use. No license is granted by implication or otherwise under any patent
-00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
-00021 // This code supersedes and replaces all information previously supplied.
-00022 // NVIDIA Corporation products are not authorized for use as critical
-00023 // components in life support devices or systems without express written approval of
-00024 // NVIDIA Corporation.
-00025 //
-00026 // Copyright (c) 2016-2017 NVIDIA Corporation. All rights reserved.
-00027 
-00028 
-00029 #ifndef NVBLASTITERATORBASE_H
-00030 #define NVBLASTITERATORBASE_H
-00031 
-00032 
-00033 #include "NvBlastIndexFns.h"
-00034 
-00035 namespace Nv
-00036 {
-00037 namespace Blast
-00038 {
-00039 
-00044 template<typename T>
-00045 class IteratorBase
-00046 {
-00047 public:
-00049     IteratorBase(T curr);
-00050 
-00052     operator    bool() const;
-00053 
-00055     operator    T() const;
-00056 
-00057 protected:
-00058     T   m_curr;
-00059 };
-00060 
-00061 
-00063 
-00064 template<typename T>
-00065 NV_INLINE IteratorBase<T>::IteratorBase(T curr) : m_curr(curr)
-00066 {
-00067 }
-00068 
-00069 
-00070 template<typename T>
-00071 NV_INLINE IteratorBase<T>::operator bool() const
-00072 {
-00073     return !isInvalidIndex<T>(m_curr);
-00074 }
-00075 
-00076 
-00077 template<typename T>
-00078 NV_INLINE IteratorBase<T>::operator T() const
-00079 {
-00080     return m_curr;
-00081 }
-00082 
-00083 
-00087 template<typename IndexType>
-00088 class LListIt : public IteratorBase<IndexType>
-00089 {
-00090 public:
-00091     LListIt(IndexType curr, IndexType* links);
-00092 
-00094     uint32_t    operator ++ ();
-00095 
-00096 protected:
-00097     IndexType*  m_links;
-00098 };
-00099 
-00100 
-00102 
-00103 template<typename IndexType>
-00104 NV_INLINE LListIt<IndexType>::LListIt(IndexType curr, IndexType* links) : IteratorBase<IndexType>(curr), m_links(links)
-00105 {
-00106 }
-00107 
-00108 
-00109 template<typename IndexType>
-00110 NV_INLINE uint32_t LListIt<IndexType>::operator ++ ()
-00111 {
-00112     NVBLAST_ASSERT((bool)(*this));
-00113     return (this->m_curr = m_links[this->m_curr]);
-00114 }
-00115 
-00116 
-00120 template<typename IndexType>
-00121 class DListIt : public IteratorBase<IndexType>
-00122 {
-00123 public:
-00124     DListIt(IndexType curr, IndexDLink<IndexType>* links);
-00125 
-00127     uint32_t    operator ++ ();
-00128 
-00129 protected:
-00130     IndexDLink<IndexType>*  m_links;
-00131 };
-00132 
-00133 
-00135 
-00136 template<typename IndexType>
-00137 NV_INLINE DListIt<IndexType>::DListIt(IndexType curr, IndexDLink<IndexType>* links) : IteratorBase<IndexType>(curr), m_links(links)
-00138 {
-00139 }
-00140 
-00141 
-00142 template<typename IndexType>
-00143 NV_INLINE uint32_t DListIt<IndexType>::operator ++ ()
-00144 {
-00145     NVBLAST_ASSERT((bool)(*this));
-00146     return (this->m_curr = m_links[this->m_curr].m_adj[1]);
-00147 }
-00148 
-00149 } // end namespace Blast
-00150 } // end namespace Nv
-00151 
-00152 
-00153 #endif // #ifndef NVBLASTITERATORBASE_H
-
- - - - diff --git a/docs/api_docs/files/_nv_blast_iterator_base_8h.html b/docs/api_docs/files/_nv_blast_iterator_base_8h.html deleted file mode 100644 index 1e0654e..0000000 --- a/docs/api_docs/files/_nv_blast_iterator_base_8h.html +++ /dev/null @@ -1,47 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastIteratorBase.h File Reference - - - - - - - -
-

sdk/common/NvBlastIteratorBase.h File Reference

#include "NvBlastIndexFns.h"
- -

-Go to the source code of this file. - - - - - - - - - - - - - -

Classes

class  Nv::Blast::DListIt< IndexType >
class  Nv::Blast::IteratorBase< T >
class  Nv::Blast::LListIt< IndexType >

Namespaces

namespace  Nv
namespace  Nv::Blast
-

- - - - diff --git a/docs/api_docs/files/_nv_blast_math_8h-source.html b/docs/api_docs/files/_nv_blast_math_8h-source.html deleted file mode 100644 index e6ea4b6..0000000 --- a/docs/api_docs/files/_nv_blast_math_8h-source.html +++ /dev/null @@ -1,137 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastMath.h Source File - - - - - - - -

sdk/common/NvBlastMath.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
-00002 // under a form of NVIDIA software license agreement provided separately to you.
-00003 //
-00004 // Notice
-00005 // NVIDIA Corporation and its licensors retain all intellectual property and
-00006 // proprietary rights in and to this software and related documentation and
-00007 // any modifications thereto. Any use, reproduction, disclosure, or
-00008 // distribution of this software and related documentation without an express
-00009 // license agreement from NVIDIA Corporation is strictly prohibited.
-00010 //
-00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
-00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
-00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
-00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
-00015 //
-00016 // Information and code furnished is believed to be accurate and reliable.
-00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
-00018 // information or for any infringement of patents or other rights of third parties that may
-00019 // result from its use. No license is granted by implication or otherwise under any patent
-00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
-00021 // This code supersedes and replaces all information previously supplied.
-00022 // NVIDIA Corporation products are not authorized for use as critical
-00023 // components in life support devices or systems without express written approval of
-00024 // NVIDIA Corporation.
-00025 //
-00026 // Copyright (c) 2016-2017 NVIDIA Corporation. All rights reserved.
-00027 
-00028 
-00029 #ifndef NVBLASTMATH_H
-00030 #define NVBLASTMATH_H
-00031 
-00032 #include <math.h>
-00033 
-00034 namespace Nv
-00035 {
-00036 namespace Blast
-00037 {
-00038 
-00039 namespace VecMath
-00040 {
-00041 
-00042 
-00043 NV_INLINE void div(float a[3], float divisor)
-00044 {
-00045     for (int i = 0; i < 3; i++)
-00046         a[i] /= divisor;
-00047 }
-00048 
-00049 NV_INLINE void mul(float a[3], float multiplier)
-00050 {
-00051     for (int i = 0; i < 3; i++)
-00052         a[i] *= multiplier;
-00053 }
-00054 
-00055 NV_INLINE void add(const float a[3], float b[3])
-00056 {
-00057     for (int i = 0; i < 3; i++)
-00058         b[i] = a[i] + b[i];
-00059 }
-00060     
-00061 NV_INLINE void add(const float a[3], const float b[3], float r[3])
-00062 {
-00063     for (int i = 0; i < 3; i++)
-00064         r[i] = a[i] + b[i];
-00065 }
-00066 
-00067 NV_INLINE void sub(const float a[3], const float b[3], float r[3])
-00068 {
-00069     for (int i = 0; i < 3; i++)
-00070         r[i] = a[i] - b[i];
-00071 }
-00072 
-00073 NV_INLINE float dot(const float a[3], const float b[3])
-00074 {
-00075     float r = 0;
-00076     for (int i = 0; i < 3; i++)
-00077         r += a[i] * b[i];
-00078     return r;
-00079 }
-00080 
-00081 NV_INLINE float length(const float a[3])
-00082 {
-00083     return sqrtf(dot(a, a));
-00084 }
-00085 
-00086 NV_INLINE float dist(const float a[3], const float b[3])
-00087 {
-00088     float v[3];
-00089     sub(a, b, v);
-00090     return length(v);
-00091 }
-00092 
-00093 NV_INLINE float normal(const float a[3], float r[3])
-00094 {
-00095     float d = length(a);
-00096     for (int i = 0; i < 3; i++)
-00097         r[i] = a[i] / d;
-00098 
-00099     return d;
-00100 }
-00101 
-00102 
-00103 } // namespace VecMath
-00104 
-00105 } // namespace Blast
-00106 } // namespace Nv
-00107 
-00108 
-00109 #endif // #ifndef NVBLASTMATH_H
-
- - - - diff --git a/docs/api_docs/files/_nv_blast_math_8h.html b/docs/api_docs/files/_nv_blast_math_8h.html deleted file mode 100644 index 8ebadec..0000000 --- a/docs/api_docs/files/_nv_blast_math_8h.html +++ /dev/null @@ -1,61 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastMath.h File Reference - - - - - - - -
-

sdk/common/NvBlastMath.h File Reference

#include <math.h>
- -

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Namespaces

namespace  Nv
namespace  Nv::Blast
namespace  Nv::Blast::VecMath

Functions

NV_INLINE void Nv::Blast::VecMath::add (const float a[3], const float b[3], float r[3])
NV_INLINE void Nv::Blast::VecMath::add (const float a[3], float b[3])
NV_INLINE float Nv::Blast::VecMath::dist (const float a[3], const float b[3])
NV_INLINE void Nv::Blast::VecMath::div (float a[3], float divisor)
NV_INLINE float Nv::Blast::VecMath::dot (const float a[3], const float b[3])
NV_INLINE float Nv::Blast::VecMath::length (const float a[3])
NV_INLINE void Nv::Blast::VecMath::mul (float a[3], float multiplier)
NV_INLINE float Nv::Blast::VecMath::normal (const float a[3], float r[3])
NV_INLINE void Nv::Blast::VecMath::sub (const float a[3], const float b[3], float r[3])
-

- - - - diff --git a/docs/api_docs/files/_nv_blast_memory_8h-source.html b/docs/api_docs/files/_nv_blast_memory_8h-source.html deleted file mode 100644 index f8b408f..0000000 --- a/docs/api_docs/files/_nv_blast_memory_8h-source.html +++ /dev/null @@ -1,154 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastMemory.h Source File - - - - - - - -

sdk/common/NvBlastMemory.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
-00002 // under a form of NVIDIA software license agreement provided separately to you.
-00003 //
-00004 // Notice
-00005 // NVIDIA Corporation and its licensors retain all intellectual property and
-00006 // proprietary rights in and to this software and related documentation and
-00007 // any modifications thereto. Any use, reproduction, disclosure, or
-00008 // distribution of this software and related documentation without an express
-00009 // license agreement from NVIDIA Corporation is strictly prohibited.
-00010 //
-00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
-00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
-00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
-00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
-00015 //
-00016 // Information and code furnished is believed to be accurate and reliable.
-00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
-00018 // information or for any infringement of patents or other rights of third parties that may
-00019 // result from its use. No license is granted by implication or otherwise under any patent
-00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
-00021 // This code supersedes and replaces all information previously supplied.
-00022 // NVIDIA Corporation products are not authorized for use as critical
-00023 // components in life support devices or systems without express written approval of
-00024 // NVIDIA Corporation.
-00025 //
-00026 // Copyright (c) 2016-2017 NVIDIA Corporation. All rights reserved.
-00027 
-00028 
-00029 #ifndef NVBLASTMEMORY_H
-00030 #define NVBLASTMEMORY_H
-00031 
-00032 #include <math.h>
-00033 
-00034 namespace Nv
-00035 {
-00036 namespace Blast
-00037 {
-00038 
-00039 
-00045 template<typename T>
-00046 NV_INLINE T align16(T value)
-00047 {
-00048     return (value + 0xF)&~(T)0xF;
-00049 }
-00050 
-00051 
-00054 template <typename T>
-00055 NV_INLINE T pointerOffset(void* p, ptrdiff_t offset)
-00056 {
-00057     return reinterpret_cast<T>(reinterpret_cast<char*>(p)+offset);
-00058 }
-00059 
-00060 template <typename T>
-00061 NV_INLINE T pointerOffset(const void* p, ptrdiff_t offset)
-00062 {
-00063     return reinterpret_cast<T>(reinterpret_cast<const char*>(p)+offset);
-00064 }
-00065 
-00066 NV_INLINE const void* pointerOffset(const void* p, ptrdiff_t offset)
-00067 {
-00068     return pointerOffset<const void*>(p, offset);
-00069 }
-00070 
-00071 NV_INLINE void* pointerOffset(void* p, ptrdiff_t offset)
-00072 {
-00073     return pointerOffset<void*>(p, offset);
-00074 }
-00075 
-00076 } // namespace Blast
-00077 } // namespace Nv
-00078 
-00079 
-00081 #define NvBlastBlockData(_dataType, _name, _accessor) \
-00082 _dataType* _accessor() const \
-00083 { \
-00084     return (_dataType*)((uintptr_t)this + _name); \
-00085 } \
-00086 uint32_t _name
-00087 
-00088 
-00090 #define NvBlastBlockArrayData(_dataType, _name, _accessor, _sizeExpr) \
-00091 _dataType* _accessor() const \
-00092 { \
-00093     return (_dataType*)((uintptr_t)this + _name); \
-00094 } \
-00095 uint32_t _accessor##ArraySize() const \
-00096 { \
-00097     return _sizeExpr; \
-00098 } \
-00099 uint32_t _name
-00100 
-00101 
-00105 #define NvBlastCreateOffsetStart(_baseOffset) \
-00106 size_t _lastOffset = _baseOffset; \
-00107 size_t _lastSize = 0
-00108 
-00110 #define NvBlastCreateOffsetAlign16(_name, _size) \
-00111 _name = align16(_lastOffset + _lastSize); \
-00112 _lastOffset = _name; \
-00113 _lastSize = _size
-00114 
-00116 #define NvBlastCreateOffsetEndAlign16() \
-00117 align16(_lastOffset + _lastSize)
-00118 
-00119 
-00121 #if NV_WINDOWS_FAMILY
-00122 #include <malloc.h>
-00123 #define NvBlastAlloca(x) _alloca(x)
-00124 #elif NV_LINUX || NV_ANDROID
-00125 #include <alloca.h>
-00126 #define NvBlastAlloca(x) alloca(x)
-00127 #elif NV_APPLE_FAMILY
-00128 #include <alloca.h>
-00129 #define NvBlastAlloca(x) alloca(x)
-00130 #elif NV_PS4
-00131 #include <memory.h>
-00132 #define NvBlastAlloca(x) alloca(x)
-00133 #elif NV_XBOXONE
-00134 #include <malloc.h>
-00135 #define NvBlastAlloca(x) alloca(x)
-00136 #endif
-00137 
-00138 #define NvBlastAllocaAligned16(x) (void*)(((uintptr_t)PxAlloca(x + 0xF) + 0xF) & ~(uintptr_t)0xF)
-00139 
-00140 
-00141 #endif // #ifndef NVBLASTMEMORY_H
-
- - - - diff --git a/docs/api_docs/files/_nv_blast_memory_8h.html b/docs/api_docs/files/_nv_blast_memory_8h.html deleted file mode 100644 index c2b5dd3..0000000 --- a/docs/api_docs/files/_nv_blast_memory_8h.html +++ /dev/null @@ -1,221 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastMemory.h File Reference - - - - - - - -
-

sdk/common/NvBlastMemory.h File Reference

#include <math.h>
- -

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Namespaces

namespace  Nv
namespace  Nv::Blast

Defines

#define NvBlastAllocaAligned16(x)   (void*)(((uintptr_t)PxAlloca(x + 0xF) + 0xF) & ~(uintptr_t)0xF)
#define NvBlastBlockArrayData(_dataType, _name, _accessor, _sizeExpr)
#define NvBlastBlockData(_dataType, _name, _accessor)
#define NvBlastCreateOffsetAlign16(_name, _size)
#define NvBlastCreateOffsetEndAlign16()   align16(_lastOffset + _lastSize)
#define NvBlastCreateOffsetStart(_baseOffset)

Functions

template<typename T >
NV_INLINE T Nv::Blast::align16 (T value)
template<typename T >
NV_INLINE T Nv::Blast::pointerOffset (const void *p, ptrdiff_t offset)
template<typename T >
NV_INLINE T Nv::Blast::pointerOffset (void *p, ptrdiff_t offset)
-


Define Documentation

- -
-
- - - - - - - - - -
#define NvBlastAllocaAligned16 (  )    (void*)(((uintptr_t)PxAlloca(x + 0xF) + 0xF) & ~(uintptr_t)0xF)
-
-
- -

-Stack allocation -

-

- -

-
- - - - - - - - - - - - - - - - - - -
#define NvBlastBlockArrayData (_dataType,
_name,
_accessor,
_sizeExpr   ) 
-
-
- -

-Value:

_dataType* _accessor() const \
-{ \
-    return (_dataType*)((uintptr_t)this + _name); \
-} \
-uint32_t _accessor##ArraySize() const \
-{ \
-    return _sizeExpr; \
-} \
-uint32_t _name
-
Block data offset and accessor macro for an array (includes an _accessor#ArraySize() function which returns the last expression). -
-

- -

-
- - - - - - - - - - - - - - - -
#define NvBlastBlockData (_dataType,
_name,
_accessor   ) 
-
-
- -

-Value:

_dataType* _accessor() const \
-{ \
-    return (_dataType*)((uintptr_t)this + _name); \
-} \
-uint32_t _name
-
Block data offset and accessor macro. -
-

- -

-
- - - - - - - - - - - - -
#define NvBlastCreateOffsetAlign16 (_name,
_size   ) 
-
-
- -

-Value:

_name = align16(_lastOffset + _lastSize); \
-_lastOffset = _name; \
-_lastSize = _size
-
Create the next offset generation with this. The value will be aligned to a 16-byte boundary. -
-

- -

-
- - - - -  - - - - -
#define NvBlastCreateOffsetEndAlign16 (  )    align16(_lastOffset + _lastSize)
-
-
- -

-End offset generation with this. It evaluates to the (16-byte aligned) total size of the data block. -

-

- -

-
- - - - - - - - - -
#define NvBlastCreateOffsetStart (_baseOffset   ) 
-
-
- -

-Value:

size_t _lastOffset = _baseOffset; \
-size_t _lastSize = 0
-
Block data offset generation macros. Start offset generation with this. -
-

-

- - - - diff --git a/docs/api_docs/files/_nv_blast_preprocessor_internal_8h-source.html b/docs/api_docs/files/_nv_blast_preprocessor_internal_8h-source.html deleted file mode 100644 index ef208bb..0000000 --- a/docs/api_docs/files/_nv_blast_preprocessor_internal_8h-source.html +++ /dev/null @@ -1,87 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastPreprocessorInternal.h Source File - - - - - - - -

sdk/common/NvBlastPreprocessorInternal.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
-00002 // under a form of NVIDIA software license agreement provided separately to you.
-00003 //
-00004 // Notice
-00005 // NVIDIA Corporation and its licensors retain all intellectual property and
-00006 // proprietary rights in and to this software and related documentation and
-00007 // any modifications thereto. Any use, reproduction, disclosure, or
-00008 // distribution of this software and related documentation without an express
-00009 // license agreement from NVIDIA Corporation is strictly prohibited.
-00010 //
-00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
-00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
-00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
-00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
-00015 //
-00016 // Information and code furnished is believed to be accurate and reliable.
-00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
-00018 // information or for any infringement of patents or other rights of third parties that may
-00019 // result from its use. No license is granted by implication or otherwise under any patent
-00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
-00021 // This code supersedes and replaces all information previously supplied.
-00022 // NVIDIA Corporation products are not authorized for use as critical
-00023 // components in life support devices or systems without express written approval of
-00024 // NVIDIA Corporation.
-00025 //
-00026 // Copyright (c) 2016-2017 NVIDIA Corporation. All rights reserved.
-00027 
-00028 
-00029 #ifndef NVBLASTPREPROCESSORINTERNAL_H
-00030 #define NVBLASTPREPROCESSORINTERNAL_H
-00031 
-00032 
-00033 #include "NvPreprocessor.h"
-00034 
-00035 
-00039 #define NVBLASTLL_LOG_ERROR(_logFn, _msg)       if (_logFn != nullptr) { _logFn(NvBlastMessage::Error, _msg, __FILE__, __LINE__); } ((void)0)
-00040 #define NVBLASTLL_LOG_WARNING(_logFn, _msg)     if (_logFn != nullptr) { _logFn(NvBlastMessage::Warning, _msg, __FILE__, __LINE__); } ((void)0)
-00041 #define NVBLASTLL_LOG_INFO(_logFn, _msg)        if (_logFn != nullptr) { _logFn(NvBlastMessage::Info, _msg, __FILE__, __LINE__); } ((void)0)
-00042 #define NVBLASTLL_LOG_DEBUG(_logFn, _msg)       if (_logFn != nullptr) { _logFn(NvBlastMessage::Debug, _msg, __FILE__, __LINE__); } ((void)0)
-00043 
-00044 
-00046 #define NVBLASTLL_CHECK_PARAMS (NV_DEBUG || NV_CHECKED)
-00047 
-00048 
-00049 #if NVBLASTLL_CHECK_PARAMS
-00050 #define NVBLASTLL_CHECK(_expr, _logFn, _msg, _onFail)                                                                       \
-00051     {                                                                                                                   \
-00052         if(!(_expr))                                                                                                    \
-00053         {                                                                                                               \
-00054             if (_logFn) { _logFn(NvBlastMessage::Error, _msg, __FILE__, __LINE__); }                                    \
-00055             { _onFail; };                                                                                               \
-00056         }                                                                                                               \
-00057     }                                                                                                                   
-00058 #else
-00059 #define NVBLASTLL_CHECK(_expr, _logFn, _msg, _onFail) NV_UNUSED(_logFn)
-00060 #endif
-00061 
-00062 
-00063 #endif // ifndef NVBLASTPREPROCESSORINTERNAL_H
-
- - - - diff --git a/docs/api_docs/files/_nv_blast_preprocessor_internal_8h.html b/docs/api_docs/files/_nv_blast_preprocessor_internal_8h.html deleted file mode 100644 index 0bc462a..0000000 --- a/docs/api_docs/files/_nv_blast_preprocessor_internal_8h.html +++ /dev/null @@ -1,185 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastPreprocessorInternal.h File Reference - - - - - - - -
-

sdk/common/NvBlastPreprocessorInternal.h File Reference

#include "NvPreprocessor.h"
- -

-Go to the source code of this file. - - - - - - - - - - - - - - -

Defines

#define NVBLASTLL_CHECK(_expr, _logFn, _msg, _onFail)   NV_UNUSED(_logFn)
#define NVBLASTLL_CHECK_PARAMS   (NV_DEBUG || NV_CHECKED)
#define NVBLASTLL_LOG_DEBUG(_logFn, _msg)   if (_logFn != nullptr) { _logFn(NvBlastMessage::Debug, _msg, __FILE__, __LINE__); } ((void)0)
#define NVBLASTLL_LOG_ERROR(_logFn, _msg)   if (_logFn != nullptr) { _logFn(NvBlastMessage::Error, _msg, __FILE__, __LINE__); } ((void)0)
#define NVBLASTLL_LOG_INFO(_logFn, _msg)   if (_logFn != nullptr) { _logFn(NvBlastMessage::Info, _msg, __FILE__, __LINE__); } ((void)0)
#define NVBLASTLL_LOG_WARNING(_logFn, _msg)   if (_logFn != nullptr) { _logFn(NvBlastMessage::Warning, _msg, __FILE__, __LINE__); } ((void)0)
-


Define Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
#define NVBLASTLL_CHECK (_expr,
_logFn,
_msg,
_onFail   )    NV_UNUSED(_logFn)
-
-
- -

- -

-

- -

-
- - - - -
#define NVBLASTLL_CHECK_PARAMS   (NV_DEBUG || NV_CHECKED)
-
-
- -

-Blast will check function parameters for debug and checked builds. -

-

- -

-
- - - - - - - - - - - - -
#define NVBLASTLL_LOG_DEBUG (_logFn,
_msg   )    if (_logFn != nullptr) { _logFn(NvBlastMessage::Debug, _msg, __FILE__, __LINE__); } ((void)0)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - -
#define NVBLASTLL_LOG_ERROR (_logFn,
_msg   )    if (_logFn != nullptr) { _logFn(NvBlastMessage::Error, _msg, __FILE__, __LINE__); } ((void)0)
-
-
- -

-Macros for more convenient logging -

-

- -

-
- - - - - - - - - - - - -
#define NVBLASTLL_LOG_INFO (_logFn,
_msg   )    if (_logFn != nullptr) { _logFn(NvBlastMessage::Info, _msg, __FILE__, __LINE__); } ((void)0)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - -
#define NVBLASTLL_LOG_WARNING (_logFn,
_msg   )    if (_logFn != nullptr) { _logFn(NvBlastMessage::Warning, _msg, __FILE__, __LINE__); } ((void)0)
-
-
- -

- -

-

-

- - - - diff --git a/docs/api_docs/files/_nv_blast_time_8h-source.html b/docs/api_docs/files/_nv_blast_time_8h-source.html deleted file mode 100644 index 029ad00..0000000 --- a/docs/api_docs/files/_nv_blast_time_8h-source.html +++ /dev/null @@ -1,148 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastTime.h Source File - - - - - - - -

sdk/common/NvBlastTime.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
-00002 // under a form of NVIDIA software license agreement provided separately to you.
-00003 //
-00004 // Notice
-00005 // NVIDIA Corporation and its licensors retain all intellectual property and
-00006 // proprietary rights in and to this software and related documentation and
-00007 // any modifications thereto. Any use, reproduction, disclosure, or
-00008 // distribution of this software and related documentation without an express
-00009 // license agreement from NVIDIA Corporation is strictly prohibited.
-00010 //
-00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
-00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
-00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
-00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
-00015 //
-00016 // Information and code furnished is believed to be accurate and reliable.
-00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
-00018 // information or for any infringement of patents or other rights of third parties that may
-00019 // result from its use. No license is granted by implication or otherwise under any patent
-00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
-00021 // This code supersedes and replaces all information previously supplied.
-00022 // NVIDIA Corporation products are not authorized for use as critical
-00023 // components in life support devices or systems without express written approval of
-00024 // NVIDIA Corporation.
-00025 //
-00026 // Copyright (c) 2016-2017 NVIDIA Corporation. All rights reserved.
-00027 
-00028 
-00029 #ifndef NVBLASTTIME_H
-00030 #define NVBLASTTIME_H
-00031 
-00032 #include "NvBlastTypes.h"
-00033 
-00034 
-00035 namespace Nv
-00036 {
-00037 namespace Blast
-00038 {
-00039 
-00040 class Time
-00041 {
-00042 public:
-00043     Time() : m_lastTickCount(getTimeTicks()) {}
-00044 
-00045     int64_t         getElapsedTicks()
-00046     {
-00047         const int64_t lastTickCount = m_lastTickCount;
-00048         m_lastTickCount = getTimeTicks();
-00049         return m_lastTickCount - lastTickCount;
-00050     }
-00051 
-00052     int64_t         peekElapsedTicks() const
-00053     {
-00054         return getTimeTicks() - m_lastTickCount;
-00055     }
-00056 
-00057     int64_t         getLastTickCount() const
-00058     {
-00059         return m_lastTickCount;
-00060     }
-00061 
-00062     static double   seconds(int64_t ticks)
-00063     {
-00064         return s_secondsPerTick * ticks;
-00065     }
-00066 
-00067 private:
-00068     int64_t         getTimeTicks() const;
-00069     static double   getTickDuration();
-00070 
-00071     int64_t             m_lastTickCount;
-00072     static const double s_secondsPerTick;
-00073 };
-00074 
-00075 } // namespace Blast
-00076 } // namespace Nv
-00077 
-00078 
-00080 
-00081 #if NV_MICROSOFT_FAMILY
-00082 
-00083 #include "NvBlastIncludeWindows.h"
-00084 
-00085 NV_INLINE int64_t Nv::Blast::Time::getTimeTicks() const
-00086 {
-00087     LARGE_INTEGER a;
-00088     QueryPerformanceCounter(&a);
-00089     return a.QuadPart;
-00090 }
-00091 
-00092 NV_INLINE double Nv::Blast::Time::getTickDuration()
-00093 {
-00094     LARGE_INTEGER a;
-00095     QueryPerformanceFrequency(&a);
-00096     return 1.0 / (double)a.QuadPart;
-00097 }
-00098 
-00099 #elif NV_UNIX_FAMILY
-00100 
-00101 #include <time.h>
-00102 
-00103 NV_INLINE int64_t Nv::Blast::Time::getTimeTicks() const
-00104 {
-00105     struct timespec mCurrTimeInt;
-00106     clock_gettime(CLOCK_REALTIME, &mCurrTimeInt);
-00107     return (static_cast<int64_t>(mCurrTimeInt.tv_sec) * 1000000000) + (static_cast<int64_t>(mCurrTimeInt.tv_nsec));
-00108 }
-00109 
-00110 NV_INLINE double Nv::Blast::Time::getTickDuration()
-00111 {
-00112     return 1.e-9;
-00113 }
-00114 
-00115 #elif NV_PS4
-00116 
-00117 #include "ps4/NvBlastTimePS4.h"
-00118 
-00119 #endif
-00120 
-00121 #endif // #ifndef NVBLASTTIME_H
-
- - - - diff --git a/docs/api_docs/files/_nv_blast_time_8h.html b/docs/api_docs/files/_nv_blast_time_8h.html deleted file mode 100644 index abfd677..0000000 --- a/docs/api_docs/files/_nv_blast_time_8h.html +++ /dev/null @@ -1,43 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/common/NvBlastTime.h File Reference - - - - - - - -
-

sdk/common/NvBlastTime.h File Reference

#include "NvBlastTypes.h"
- -

-Go to the source code of this file. - - - - - - - - - -

Classes

class  Nv::Blast::Time

Namespaces

namespace  Nv
namespace  Nv::Blast
-

- - - - diff --git a/docs/api_docs/files/_nv_blast_tk_group_8h-source.html b/docs/api_docs/files/_nv_blast_tk_group_8h-source.html index b0a414f..2d2a2a1 100644 --- a/docs/api_docs/files/_nv_blast_tk_group_8h-source.html +++ b/docs/api_docs/files/_nv_blast_tk_group_8h-source.html @@ -104,7 +104,7 @@ 00168 00174 virtual void returnWorker(TkGroupWorker*) = 0; 00175 -00179 virtual void process(); +00179 void process(); 00180 00187 virtual void getStats(TkGroupStats& stats) const = 0; 00188 }; diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list-members.html b/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list-members.html deleted file mode 100644 index 8133eff..0000000 --- a/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list-members.html +++ /dev/null @@ -1,38 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Member List - - - - - - - -
-

Nv::Blast::DList Member List

This is the complete list of members for Nv::Blast::DList, including all inherited members.

- - - - - - - - -
DList()Nv::Blast::DList [inline]
getHead() const Nv::Blast::DList [inline]
getTail() const Nv::Blast::DList [inline]
insertHead(DLink &link)Nv::Blast::DList [inline]
insertTail(DLink &link)Nv::Blast::DList [inline]
isEmpty() const Nv::Blast::DList [inline]
isSolitary(const DLink &link) const Nv::Blast::DList [inline]
remove(DLink &link)Nv::Blast::DList [inline]

- - - - diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list.html b/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list.html deleted file mode 100644 index 84834f7..0000000 --- a/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list.html +++ /dev/null @@ -1,218 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Nv::Blast::DList Class Reference - - - - - - - - -
-

Nv::Blast::DList Class Reference

#include <NvBlastDLink.h> -

- -

-List of all members. - - - - - - - - - - - - - - - - - - - - - -

Classes

class  It

Public Member Functions

 DList ()
DLinkgetHead () const
DLinkgetTail () const
bool insertHead (DLink &link)
bool insertTail (DLink &link)
bool isEmpty () const
bool isSolitary (const DLink &link) const
void remove (DLink &link)
-


Constructor & Destructor Documentation

- -
-
- - - - - - - - -
Nv::Blast::DList::DList (  )  [inline]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
DLink* Nv::Blast::DList::getHead (  )  const [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - -
DLink* Nv::Blast::DList::getTail (  )  const [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
bool Nv::Blast::DList::insertHead (DLink link  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
bool Nv::Blast::DList::insertTail (DLink link  )  [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - -
bool Nv::Blast::DList::isEmpty (  )  const [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
bool Nv::Blast::DList::isSolitary (const DLink link  )  const [inline]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
void Nv::Blast::DList::remove (DLink link  )  [inline]
-
-
- -

- -

-

-


The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_1_1_it-members.html b/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_1_1_it-members.html deleted file mode 100644 index 4f20d93..0000000 --- a/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_1_1_it-members.html +++ /dev/null @@ -1,38 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Member List - - - - - - - -
-

Nv::Blast::DList::DList::It Member List

This is the complete list of members for Nv::Blast::DList::DList::It, including all inherited members.

- - - - - - - - -
Direction enum nameNv::Blast::DList::DList::It
Forward enum valueNv::Blast::DList::DList::It
It(const DList &list, Direction dir=Forward)Nv::Blast::DList::DList::It [inline]
operator bool() const Nv::Blast::DList::DList::It [inline]
operator const DLink *() const Nv::Blast::DList::DList::It [inline]
operator++()Nv::Blast::DList::DList::It [inline]
operator--()Nv::Blast::DList::DList::It [inline]
Reverse enum valueNv::Blast::DList::DList::It

- - - - diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_1_1_it.html b/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_1_1_it.html deleted file mode 100644 index f578f3e..0000000 --- a/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_1_1_it.html +++ /dev/null @@ -1,187 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Nv::Blast::DList::DList::It Class Reference - - - - - - - - -
-

Nv::Blast::DList::DList::It Class Reference

#include <NvBlastDLink.h> -

- -

-List of all members. - - - - - - - - - - - - - - - -

Public Types

enum  Direction { Reverse, -Forward - }

Public Member Functions

 It (const DList &list, Direction dir=Forward)
 operator bool () const
 operator const DLink * () const
const DLinkoperator++ ()
const DLinkoperator-- ()
-


Member Enumeration Documentation

- -
- -
- -

-

Enumerator:
- - - -
Reverse  -
Forward  -
-
- -
-

-


Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
Nv::Blast::DList::DList::It::It (const DList list,
Direction  dir = Forward 
) [inline]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
- - - - - - - - -
Nv::Blast::DList::DList::It::operator bool (  )  const [inline]
-
-
- -

-Validity of current value. -

-

- -

-
- - - - - - - - -
Nv::Blast::DList::DList::It::operator const DLink * (  )  const [inline]
-
-
- -

-Current value. -

-

- -

-
- - - - - - - - -
const DLink* Nv::Blast::DList::DList::It::operator++ (  )  [inline]
-
-
- -

-Pre-increment. -

-

- -

-
- - - - - - - - -
const DLink* Nv::Blast::DList::DList::It::operator-- (  )  [inline]
-
-
- -

-Pre-deccrement. -

-

-


The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_it-members.html b/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_it-members.html deleted file mode 100644 index 98ef921..0000000 --- a/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_it-members.html +++ /dev/null @@ -1,37 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Member List - - - - - - - -
-

Nv::Blast::DListIt< IndexType > Member List

This is the complete list of members for Nv::Blast::DListIt< IndexType >, including all inherited members.

- - - - - - - -
DListIt(IndexType curr, IndexDLink< IndexType > *links)Nv::Blast::DListIt< IndexType > [inline]
IteratorBase(IndexTypecurr)Nv::Blast::IteratorBase< IndexType >
m_currNv::Blast::IteratorBase< IndexType > [protected]
m_linksNv::Blast::DListIt< IndexType > [protected]
operator bool() constNv::Blast::IteratorBase< IndexType >
operator IndexType() constNv::Blast::IteratorBase< IndexType >
operator++()Nv::Blast::DListIt< IndexType > [inline]

- - - - diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_it.html b/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_it.html deleted file mode 100644 index d1638a7..0000000 --- a/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_it.html +++ /dev/null @@ -1,133 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Nv::Blast::DListIt< IndexType > Class Template Reference - - - - - - - - -
-

Nv::Blast::DListIt< IndexType > Class Template Reference

#include <NvBlastIteratorBase.h> -

-

-Inheritance diagram for Nv::Blast::DListIt< IndexType >:
-
- -

- -Nv::Blast::IteratorBase< IndexType > - -
- -

-List of all members. - - - - - - - - - -

Public Member Functions

 DListIt (IndexType curr, IndexDLink< IndexType > *links)
uint32_t operator++ ()

Protected Attributes

IndexDLink< IndexType > * m_links
-


Detailed Description

-

template<typename IndexType>
- class Nv::Blast::DListIt< IndexType >

- -Common functionality and implementation for an IndexDList<IndexType> iterator

Constructor & Destructor Documentation

- -
-
-
-template<typename IndexType >
- - - - - - - - - - - - - - - - - - -
NV_INLINE Nv::Blast::DListIt< IndexType >::DListIt (IndexType  curr,
IndexDLink< IndexType > *  links 
) [inline]
-
-
- -

- -

-

-


Member Function Documentation

- -
-
-
-template<typename IndexType >
- - - - - - - - -
NV_INLINE uint32_t Nv::Blast::DListIt< IndexType >::operator++ (  )  [inline]
-
-
- -

-Pre-increment. Only use if valid() == true. -

-

-


Member Data Documentation

- -
-
-
-template<typename IndexType >
- - - - -
IndexDLink<IndexType>* Nv::Blast::DListIt< IndexType >::m_links [protected]
-
-
- -

- -

-

-


The documentation for this class was generated from the following file: -
- - - - diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_it.png b/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_it.png deleted file mode 100644 index a8ffb07..0000000 Binary files a/docs/api_docs/files/class_nv_1_1_blast_1_1_d_list_it.png and /dev/null differ diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_custom_profiler.html b/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_custom_profiler.html index b387c55..21f42c3 100644 --- a/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_custom_profiler.html +++ b/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_custom_profiler.html @@ -47,7 +47,8 @@ Inheritance diagram for Nv::Blast::ExtCustomProfiler: virtual void zoneStart (const char *name) override -

Constructor & Destructor Documentation

+

Detailed Description

+Implements Nv::Blast::ProfilerCallback to serve the physx::PxProfilerCallback set in PxFoundation for PhysX Visual Debugger support and platform specific profilers like NVIDIA(R) NSight(TM).

Constructor & Destructor Documentation

@@ -64,7 +65,7 @@ Inheritance diagram for Nv::Blast::ExtCustomProfiler:

- +Construct an ExtCustomProfiler with platform specific profiler signals disabled.


Member Function Documentation

@@ -85,6 +86,12 @@ Inheritance diagram for Nv::Blast::ExtCustomProfiler:

+Enable or disable platform specific profiler signals. Disabled by default.

+

Parameters:
+ + +
[in] enabled true enables, false disables platform profiler calls.
+

diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_group_task_manager-members.html b/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_group_task_manager-members.html index 7085792..62433d3 100644 --- a/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_group_task_manager-members.html +++ b/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_group_task_manager-members.html @@ -21,8 +21,7 @@

Nv::Blast::ExtGroupTaskManager Member List

This is the complete list of members for Nv::Blast::ExtGroupTaskManager, including all inherited members.

- - + diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_group_task_manager.html b/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_group_task_manager.html index 4db248f..65f1b72 100644 --- a/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_group_task_manager.html +++ b/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_group_task_manager.html @@ -38,9 +38,7 @@ - - - + @@ -68,7 +66,7 @@ Uses a physx::PxTaskManager to process a +
create(physx::PxTaskManager &)Nv::Blast::ExtGroupTaskManager [static]
create(physx::PxTaskManager &, TkGroup &)Nv::Blast::ExtGroupTaskManager [static]
create(physx::PxTaskManager &, TkGroup *=nullptr)Nv::Blast::ExtGroupTaskManager [static]
process(uint32_t workerCount=0)=0Nv::Blast::ExtGroupTaskManager [pure virtual]
release()=0Nv::Blast::ExtGroupTaskManager [pure virtual]
setGroup(TkGroup *)=0Nv::Blast::ExtGroupTaskManager [pure virtual]
virtual bool wait (bool block=true)=0

Static Public Member Functions

static ExtGroupTaskManagercreate (physx::PxTaskManager &, TkGroup &)
static ExtGroupTaskManagercreate (physx::PxTaskManager &)
static ExtGroupTaskManagercreate (physx::PxTaskManager &, TkGroup *=nullptr)

Protected Member Functions

virtual ~ExtGroupTaskManager ()
@@ -81,8 +79,8 @@ Uses a physx::PxTaskManager to process a - - + + @@ -94,27 +92,7 @@ Uses a physx::PxTaskManager to process a

- - -

- -

-
-
TkGroup TkGroup = nullptr 
- - - - - - - - -
static ExtGroupTaskManager* Nv::Blast::ExtGroupTaskManager::create (physx::PxTaskManager &   )  [static]
-

-
- -

- +Construct using existing physx::PxTaskManager and TkGroup. The TkGroup can be set later with setGroup().

@@ -137,10 +115,10 @@ Uses a physx::PxTaskManager to process a - [in] workerCount The number of worker tasks to start, 0 uses the dispatcher's worker thread count. + [in] workerCount The number of worker tasks to start, 0 uses the dispatcher's worker thread count. -

Returns:
The number of worker tasks started.
+
Returns:
The number of worker tasks started. If 0, processing did not start and wait() will never return true.

@@ -180,7 +158,7 @@ Release this object.

-Change the group to process. Cannot be changed while the group being processed. +Set the group to process. Cannot be changed while a group being processed.

@@ -200,7 +178,14 @@ Change the group to process. Cannot be changed while the group being processed.

-Wait for the group to end processing. +Wait for the group to end processing. When processing has finished, TkGroup::endProcess is executed.

+

Parameters:
+ + +
[in] block true: does not return until the group has been processed. false: return immediately if workers are still processing the group.
+
+
Returns:
true if group processing was completed (and the group was actually processing)
+


The documentation for this class was generated from the following file: diff --git a/docs/api_docs/files/functions_func_0x67.html b/docs/api_docs/files/functions_func_0x67.html index 3dadafa..34f9494 100644 --- a/docs/api_docs/files/functions_func_0x67.html +++ b/docs/api_docs/files/functions_func_0x67.html @@ -209,7 +209,7 @@
  • getName() : Nv::Blast::TkType
  • getNormal() -: Nv::Blast::Triangle +: Nv::Blast::Triangle
  • getNormalizedDamage() : NvBlastExtMaterial
  • getNormalsArray() diff --git a/docs/api_docs/files/functions_rela.html b/docs/api_docs/files/functions_rela.html deleted file mode 100644 index 5081c85..0000000 --- a/docs/api_docs/files/functions_rela.html +++ /dev/null @@ -1,46 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Class Members - Related Functions - - - - - - - - -
    -  -

    -

    -
    - - - - diff --git a/docs/api_docs/files/functions_type.html b/docs/api_docs/files/functions_type.html deleted file mode 100644 index 44a0f9e..0000000 --- a/docs/api_docs/files/functions_type.html +++ /dev/null @@ -1,49 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Class Members - Typedefs - - - - - - - - - - - - - diff --git a/docs/api_docs/files/namespace_nv_1_1_blast_1_1_vec_math.html b/docs/api_docs/files/namespace_nv_1_1_blast_1_1_vec_math.html deleted file mode 100644 index 652dda6..0000000 --- a/docs/api_docs/files/namespace_nv_1_1_blast_1_1_vec_math.html +++ /dev/null @@ -1,318 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Nv::Blast::VecMath Namespace Reference - - - - - - - - -
    -

    Nv::Blast::VecMath Namespace Reference

    - - - - - - - - - - - - - - - - - - - - -

    Functions

    NV_INLINE void add (const float a[3], const float b[3], float r[3])
    NV_INLINE void add (const float a[3], float b[3])
    NV_INLINE float dist (const float a[3], const float b[3])
    NV_INLINE void div (float a[3], float divisor)
    NV_INLINE float dot (const float a[3], const float b[3])
    NV_INLINE float length (const float a[3])
    NV_INLINE void mul (float a[3], float multiplier)
    NV_INLINE float normal (const float a[3], float r[3])
    NV_INLINE void sub (const float a[3], const float b[3], float r[3])
    -

    Function Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    NV_INLINE void Nv::Blast::VecMath::add (const float  a[3],
    const float  b[3],
    float  r[3] 
    )
    -
    -
    - -

    - -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    NV_INLINE void Nv::Blast::VecMath::add (const float  a[3],
    float  b[3] 
    )
    -
    -
    - -

    - -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    NV_INLINE float Nv::Blast::VecMath::dist (const float  a[3],
    const float  b[3] 
    )
    -
    -
    - -

    - -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    NV_INLINE void Nv::Blast::VecMath::div (float  a[3],
    float  divisor 
    )
    -
    -
    - -

    - -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    NV_INLINE float Nv::Blast::VecMath::dot (const float  a[3],
    const float  b[3] 
    )
    -
    -
    - -

    - -

    -

    - -

    -
    - - - - - - - - - -
    NV_INLINE float Nv::Blast::VecMath::length (const float  a[3]  ) 
    -
    -
    - -

    - -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    NV_INLINE void Nv::Blast::VecMath::mul (float  a[3],
    float  multiplier 
    )
    -
    -
    - -

    - -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    NV_INLINE float Nv::Blast::VecMath::normal (const float  a[3],
    float  r[3] 
    )
    -
    -
    - -

    - -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    NV_INLINE void Nv::Blast::VecMath::sub (const float  a[3],
    const float  b[3],
    float  r[3] 
    )
    -
    -
    - -

    - -

    -

    -

    - - - - diff --git a/docs/api_docs/files/pageextphysx.html b/docs/api_docs/files/pageextphysx.html index 85ee427..d88f68d 100644 --- a/docs/api_docs/files/pageextphysx.html +++ b/docs/api_docs/files/pageextphysx.html @@ -20,11 +20,14 @@
    -

    PhysX™ Extensions (NvBlastExtPhysX)

    NvBlastExtPhysX contains classes for easier use of Blast™ Toolkit with the PhysX™ SDK. There are 3 of them:
      -
    • ExtPxManager: Manager to keep Blast™ actors in sync with PhysX™ actors.
    • ExtImpactDamageManager: Manager to collect and apply impact damage caused by collision in PhysX™ scene.
    • ExtPxStressSolver: Stress Solver to propagate stress through support graph and apply it as damage to Blast™ actors.
    +

    PhysX™ Extensions (NvBlastExtPhysX)

    NvBlastExtPhysX contains classes for easier use of Blast™ Toolkit with the PhysX™ SDK. There are three of them:
      +
    • ExtPxManager - Manager to keep Blast™ actors in sync with PhysX™ actors.
    • ExtImpactDamageManager - Manager to collect and apply impact damage caused by collision in PhysX™ scene.
    • ExtPxStressSolver - Stress Solver to propagate stress through support graph and apply it as damage to Blast™ actors.

    This library also contains an extension for synchronizing Blast™ state:

      -
    • ExtSync - Utility for writing Blast™ state to a buffer, to be read by a client. This may be used for networking, for example.
    +
  • ExtSync - Utility for writing Blast™ state to a buffer, to be read by a client. This may be used for networking, for example.
  • +

    +It also provides classes for utilizing PhysX™ SDK Foundation capabilities:


    @@ -105,7 +108,7 @@ Call applyDamage() when you want the buffered damage to be applied:

    sceneDesc.filterShader = ExtImpactDamageManager::FilterShader;


    -

    +

    ExtPxStressSolver

    Stress Solver - this wrapper class uses Stress Solver Extension (NvBlastExtStress) to apply stress calculations to an ExtPxFamily. See Stress Solver Extension (NvBlastExtStress) for the details of the underlying stress solver.

    Usage

    @@ -164,6 +167,62 @@ On the client you can then apply this buffer:

    sync->applySyncBuffer(tkFramework, m_savedBuffer.data(), m_savedBuffer.size(), group, pxManager);
     

    ExtPxManager is required only if sync buffer contains ExtSyncEventType::Physics events.

    +
    +

    +ExtGroupTaskManager

    +This class provides a basic implementation for multithreaded TkGroup processing using PxTask and a PxTaskManager from PxFoundation.

    +In the simplest use case, all worker threads provided by PxTaskManager are used to process the group.

    +

    // creating ExtGroupTaskManager from existing taskManager and tkGroup
    +ExtGroupTaskManager* gtm = ExtGroupTaskManager::create(*taskManager, tkGroup);
    +
    +while (running)
    +{
    +    // ... add TkActors to TkGroup and damage ...
    +
    +    // start processing on all worker threads provided
    +    gtm->process();
    +
    +    // ... do something else ...
    +
    +    // wait for the group processing to finish
    +    gtm->wait();
    +}
    +
    +// after use, release the ExtGroupTaskManager
    +gtm->release();
    +

    +
    +

    +Groups can be processed concurrently as well as follows.

    +

    // creating ExtGroupTaskManager from existing taskManager and groups
    +
    +ExtGroupTaskManager* gtm0 = ExtGroupTaskManager::create(*taskManager, tkGroup0);
    +ExtGroupTaskManager* gtm1 = ExtGroupTaskManager::create(*taskManager, tkGroup1);
    +

    +TkActors are added to TkGroups and damaged as usual.

    +The PxTaskManager used in this example provides four worker threads of which each ExtGroupTaskManager uses two for its group.

    +

    uint32_t started = 0;
    +if (gtm0->process(2) > 0) { started++; }
    +if (gtm1->process(2) > 0) { started++; }
    +

    +Note that ExtGroupTaskManager::wait() never returns true if no processing has started, as reported by ExtGroupTaskManager::process(). The illustrative busy loop is not recomended for actual use.

    +

    uint32_t completed = 0;
    +while (completed < started)
    +{
    +    if (gtm0->wait(false)) { completed++; }
    +    if (gtm1->wait(false)) { completed++; }
    +}
    +

    +
    +

    +ExtCustomProfiler

    +This Nv::Blast::ProfileCallback implementation forwards Blast™ profile events to the PxProfilerCallback attached to PxFoundation, typically a PhysX™ Visual Debugger (PVD) instance. To use it, simply attach one to Blast™.

    +

    static Nv::Blast::ExtCustomProfiler gBlastProfiler;
    +NvBlastProfilerSetCallback(&gBlastProfiler);
    +

    +For convenience, it also provides sending profile events to platform specific profilers. These are disabled by default.

    +

    gBlastProfiler.setPlatformEnabled(true);
    +


    diff --git a/docs/api_docs/files/pageextstress.html b/docs/api_docs/files/pageextstress.html index 5f2c878..a47a655 100644 --- a/docs/api_docs/files/pageextstress.html +++ b/docs/api_docs/files/pageextstress.html @@ -100,7 +100,7 @@ Example code from ExtPxStressSolverImpl:

    } }

    -Have a look at ExtPxStressSolver implementation code, which is basically a high level wrapper on NvBlastExtStress to couple it with PhysX™ and NvBlastExtPx extension (see ExtPxStressSolver).

    +Have a look at ExtPxStressSolver implementation code, which is basically a high level wrapper on NvBlastExtStress to couple it with PhysX™ and NvBlastExtPx extension (see extpxstresssolver).


    diff --git a/docs/api_docs/files/pageglobalsapi.html b/docs/api_docs/files/pageglobalsapi.html index 34cca9a..d36258f 100644 --- a/docs/api_docs/files/pageglobalsapi.html +++ b/docs/api_docs/files/pageglobalsapi.html @@ -69,6 +69,9 @@ and pass it to the globals library using

    NvBlastProfilerSetCallback
     

    A NULL pointer may be passed in, disabling profiling. Profiler features are only active in checked, debug and profile builds.

    +The granularity of events reported can be selected with

    +

    NvBlastProfilerSetDetail
    +


    diff --git a/docs/api_docs/files/pagehlapi.html b/docs/api_docs/files/pagehlapi.html index ef9c0b1..4c1045f 100644 --- a/docs/api_docs/files/pagehlapi.html +++ b/docs/api_docs/files/pagehlapi.html @@ -150,7 +150,7 @@ For most applications, the user will need to create a listener object to pass to Groups One important feature of NvBlastTk is the ability to multitask damage processing. The mechanism by which the toolkit does this is the group object, TkGroup. Groups are created at the request of the user; the user may create as many groups as he or she likes. Actors may be added or removed from groups in any way the user wishes, with the only constraint being that a given actor may belong to no more than one group. A group is a processing object, much like a scene in a physics simulation. Indeed, a natural pattern would be to associate one group per physics scene, and synchronize the group processing with scene simulation. Another pattern would be to subdivide the world into neighborhoods, and associate each neighborhood with a group. A distributed game could take advantage of this structure to similarly distribute computation.

    Group processing is performed by workers, which have a TkGroupWorker API exposed to the user. The number of workers may be set by the user, with the idea being that this should correspond to the number of threads available for group processing. Processing starts with a call to TkGroup::startProcess(). This creates a number of jobs which the user may assign to workers as they like, each worker potentially on its own thread. The jobs calculate the effects of all damage taken by the group's actors. After all jobs have been run, the user must call TkGroup::endProcess(). This will result in all events being fired off to listeners associated with families with actors in the group.

    -A convenience function, TkGroup::process(), is provided which uses one worker to perform all jobs sequentially on the calling thread. This is useful shortcut to get BlastTk up and running quickly. A multithreaded group processing implementation is given by Nv::Blast::ExtGroupTaskManagerImpl (in NvBlastExtPxTaskImpl.h). This resides in PhysX™ Extensions (NvBlastExtPhysX), because it uses physx::PxTask.

    +A convenience function, TkGroup::process(), is provided which uses one worker to perform all jobs sequentially on the calling thread. This is useful shortcut to get BlastTk up and running quickly. A multithreaded group processing implementation is given by Nv::Blast::ExtGroupTaskManager (in NvBlastExtPxTask.h). This resides in PhysX™ Extensions (NvBlastExtPhysX), because it uses physx::PxTask.

    Actors resulting from the split of a "parent" actor will be placed automatically into the group that the parent belonged to. This is similar to the assigment of families from a split, except that unlike families, the user then has the option to move the new actors to other groups, or no group at all.

    Also similar to families, groups are not automatically released when the last actor is removed from it. Unlike families, when a group is released, the actors which belong to the group are not released. They will, however, be removed from the group before the release is complete.

    A typical usage is outlined below. See Applying Damage to Actors and Families for methods of applying damage to actors.

    @@ -192,6 +192,15 @@ group2->process(); group1->release(); group2->release();

    +
    + Multithreaded processing

    +When distributing the jobs as mentioned above, every job must be processed exactly once (over all user tasks).

    +The number of jobs processed per worker can range from a single job (resulting in a user task per job) to all jobs (like Nv::Blast::TkGroup::process() does).

    +At any point in time, no more than the set workerCount amount of workers may have been acquired. Return the worker at the end of each task.

    +

    Nv::Blast::TkGroupWorker* worker = group->acquireWorker();
    +// process some jobs
    +group->returnWorker(worker);
    +


    Applying Damage to Actors and Families

    diff --git a/docs/api_docs/files/struct_nv_1_1_blast_1_1_array-members.html b/docs/api_docs/files/struct_nv_1_1_blast_1_1_array-members.html deleted file mode 100644 index b6d2594..0000000 --- a/docs/api_docs/files/struct_nv_1_1_blast_1_1_array-members.html +++ /dev/null @@ -1,31 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Member List - - - - - - - -
    -

    Nv::Blast::Array< T > Member List

    This is the complete list of members for Nv::Blast::Array< T >, including all inherited members.

    - -
    type typedefNv::Blast::Array< T >

    - - - - diff --git a/docs/api_docs/files/struct_nv_1_1_blast_1_1_array.html b/docs/api_docs/files/struct_nv_1_1_blast_1_1_array.html deleted file mode 100644 index 90f0889..0000000 --- a/docs/api_docs/files/struct_nv_1_1_blast_1_1_array.html +++ /dev/null @@ -1,66 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Nv::Blast::Array< T > Struct Template Reference - - - - - - - - -
    -

    Nv::Blast::Array< T > Struct Template Reference

    #include <NvBlastArray.h> -

    - -

    -List of all members. - - - - -

    Public Types

    typedef physx::shdfnd::Array
    -< T, Allocator
    type
    -


    Detailed Description

    -

    template<class T>
    - struct Nv::Blast::Array< T >

    - -Wrapped PxShared Array that uses NvBlastGlobals AllocatorCalllback.

    Member Typedef Documentation

    - -
    -
    -
    -template<class T >
    - - - - -
    typedef physx::shdfnd::Array<T, Allocator> Nv::Blast::Array< T >::type
    -
    -
    - -

    - -

    -

    -


    The documentation for this struct was generated from the following file: -
    - - - - diff --git a/docs/api_docs/files/struct_nv_1_1_blast_1_1_d_link-members.html b/docs/api_docs/files/struct_nv_1_1_blast_1_1_d_link-members.html deleted file mode 100644 index 1bf5478..0000000 --- a/docs/api_docs/files/struct_nv_1_1_blast_1_1_d_link-members.html +++ /dev/null @@ -1,34 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Member List - - - - - - - -
    -

    Nv::Blast::DLink Member List

    This is the complete list of members for Nv::Blast::DLink, including all inherited members.

    - - - - -
    DLink()Nv::Blast::DLink [inline]
    DList classNv::Blast::DLink [friend]
    getNext() const Nv::Blast::DLink [inline]
    getPrev() const Nv::Blast::DLink [inline]

    - - - - diff --git a/docs/api_docs/files/struct_nv_1_1_blast_1_1_d_link.html b/docs/api_docs/files/struct_nv_1_1_blast_1_1_d_link.html deleted file mode 100644 index 0ce732f..0000000 --- a/docs/api_docs/files/struct_nv_1_1_blast_1_1_d_link.html +++ /dev/null @@ -1,125 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Nv::Blast::DLink Struct Reference - - - - - - - - -
    -

    Nv::Blast::DLink Struct Reference

    #include <NvBlastDLink.h> -

    - -

    -List of all members. - - - - - - - - - - - -

    Public Member Functions

     DLink ()
    DLinkgetNext () const
    DLinkgetPrev () const

    Friends

    class DList
    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - -
    Nv::Blast::DLink::DLink (  )  [inline]
    -
    -
    - -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    DLink* Nv::Blast::DLink::getNext (  )  const [inline]
    -
    -
    - -

    - -

    -

    - -

    -
    - - - - - - - - -
    DLink* Nv::Blast::DLink::getPrev (  )  const [inline]
    -
    -
    - -

    - -

    -

    -


    Friends And Related Function Documentation

    - -
    -
    - - - - -
    friend class DList [friend]
    -
    -
    - -

    - -

    -

    -


    The documentation for this struct was generated from the following file: -
    - - - - diff --git a/docs/api_docs/files/struct_nv_1_1_blast_1_1_hash_map-members.html b/docs/api_docs/files/struct_nv_1_1_blast_1_1_hash_map-members.html deleted file mode 100644 index d0c0d76..0000000 --- a/docs/api_docs/files/struct_nv_1_1_blast_1_1_hash_map-members.html +++ /dev/null @@ -1,31 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Member List - - - - - - - -
    -

    Nv::Blast::HashMap< Key, Value, HashFn > Member List

    This is the complete list of members for Nv::Blast::HashMap< Key, Value, HashFn >, including all inherited members.

    - -
    type typedefNv::Blast::HashMap< Key, Value, HashFn >

    - - - - diff --git a/docs/api_docs/files/struct_nv_1_1_blast_1_1_hash_map.html b/docs/api_docs/files/struct_nv_1_1_blast_1_1_hash_map.html deleted file mode 100644 index e398eba..0000000 --- a/docs/api_docs/files/struct_nv_1_1_blast_1_1_hash_map.html +++ /dev/null @@ -1,67 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Nv::Blast::HashMap< Key, Value, HashFn > Struct Template Reference - - - - - - - - -
    -

    Nv::Blast::HashMap< Key, Value, HashFn > Struct Template Reference

    #include <NvBlastHashMap.h> -

    - -

    -List of all members. - - - - -

    Public Types

    typedef physx::shdfnd::HashMap
    -< Key, Value, HashFn,
    -Allocator
    type
    -


    Detailed Description

    -

    template<class Key, class Value, class HashFn = physx::shdfnd::Hash<Key>>
    - struct Nv::Blast::HashMap< Key, Value, HashFn >

    - -Wrapped PxShared HashMap that uses NvBlastGlobals AllocatorCalllback.

    Member Typedef Documentation

    - -
    -
    -
    -template<class Key , class Value , class HashFn = physx::shdfnd::Hash<Key>>
    - - - - -
    typedef physx::shdfnd::HashMap<Key, Value, HashFn, Allocator> Nv::Blast::HashMap< Key, Value, HashFn >::type
    -
    -
    - -

    - -

    -

    -


    The documentation for this struct was generated from the following file: -
    - - - - diff --git a/docs/api_docs/files/struct_nv_1_1_blast_1_1_hash_set-members.html b/docs/api_docs/files/struct_nv_1_1_blast_1_1_hash_set-members.html deleted file mode 100644 index bcd5039..0000000 --- a/docs/api_docs/files/struct_nv_1_1_blast_1_1_hash_set-members.html +++ /dev/null @@ -1,31 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Member List - - - - - - - -
    -

    Nv::Blast::HashSet< Key, HashFn > Member List

    This is the complete list of members for Nv::Blast::HashSet< Key, HashFn >, including all inherited members.

    - -
    type typedefNv::Blast::HashSet< Key, HashFn >

    - - - - diff --git a/docs/api_docs/files/struct_nv_1_1_blast_1_1_hash_set.html b/docs/api_docs/files/struct_nv_1_1_blast_1_1_hash_set.html deleted file mode 100644 index 7c7edb6..0000000 --- a/docs/api_docs/files/struct_nv_1_1_blast_1_1_hash_set.html +++ /dev/null @@ -1,66 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Nv::Blast::HashSet< Key, HashFn > Struct Template Reference - - - - - - - - -
    -

    Nv::Blast::HashSet< Key, HashFn > Struct Template Reference

    #include <NvBlastHashSet.h> -

    - -

    -List of all members. - - - - -

    Public Types

    typedef physx::shdfnd::HashSet
    -< Key, HashFn, Allocator
    type
    -


    Detailed Description

    -

    template<class Key, class HashFn = physx::shdfnd::Hash<Key>>
    - struct Nv::Blast::HashSet< Key, HashFn >

    - -Wrapped PxShared HashSet that uses NvBlastGlobals AllocatorCalllback.

    Member Typedef Documentation

    - -
    -
    -
    -template<class Key , class HashFn = physx::shdfnd::Hash<Key>>
    - - - - -
    typedef physx::shdfnd::HashSet<Key, HashFn, Allocator> Nv::Blast::HashSet< Key, HashFn >::type
    -
    -
    - -

    - -

    -

    -


    The documentation for this struct was generated from the following file: -
    - - - - diff --git a/docs/api_docs/files/struct_nv_1_1_blast_1_1_index_d_link-members.html b/docs/api_docs/files/struct_nv_1_1_blast_1_1_index_d_link-members.html deleted file mode 100644 index b228a9e..0000000 --- a/docs/api_docs/files/struct_nv_1_1_blast_1_1_index_d_link-members.html +++ /dev/null @@ -1,31 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Member List - - - - - - - -
    -

    Nv::Blast::IndexDLink< IndexType > Member List

    This is the complete list of members for Nv::Blast::IndexDLink< IndexType >, including all inherited members.

    - -
    m_adjNv::Blast::IndexDLink< IndexType >

    - - - - diff --git a/docs/api_docs/files/struct_nv_1_1_blast_1_1_index_d_link.html b/docs/api_docs/files/struct_nv_1_1_blast_1_1_index_d_link.html deleted file mode 100644 index 87c8b59..0000000 --- a/docs/api_docs/files/struct_nv_1_1_blast_1_1_index_d_link.html +++ /dev/null @@ -1,64 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Nv::Blast::IndexDLink< IndexType > Struct Template Reference - - - - - - - - -
    -

    Nv::Blast::IndexDLink< IndexType > Struct Template Reference

    #include <NvBlastDLink.h> -

    - -

    -List of all members. - - - - -

    Public Attributes

    IndexType m_adj [2]
    -

    template<typename IndexType>
    - struct Nv::Blast::IndexDLink< IndexType >

    - -

    Member Data Documentation

    - -
    -
    -
    -template<typename IndexType>
    - - - - -
    IndexType Nv::Blast::IndexDLink< IndexType >::m_adj[2]
    -
    -
    - -

    - -

    -

    -


    The documentation for this struct was generated from the following file: -
    - - - - diff --git a/docs/api_docs/files/struct_nv_1_1_blast_1_1_inline_array-members.html b/docs/api_docs/files/struct_nv_1_1_blast_1_1_inline_array-members.html deleted file mode 100644 index fbe4eff..0000000 --- a/docs/api_docs/files/struct_nv_1_1_blast_1_1_inline_array-members.html +++ /dev/null @@ -1,31 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Member List - - - - - - - -
    -

    Nv::Blast::InlineArray< T, N > Member List

    This is the complete list of members for Nv::Blast::InlineArray< T, N >, including all inherited members.

    - -
    type typedefNv::Blast::InlineArray< T, N >

    - - - - diff --git a/docs/api_docs/files/struct_nv_1_1_blast_1_1_inline_array.html b/docs/api_docs/files/struct_nv_1_1_blast_1_1_inline_array.html deleted file mode 100644 index adc3280..0000000 --- a/docs/api_docs/files/struct_nv_1_1_blast_1_1_inline_array.html +++ /dev/null @@ -1,68 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Nv::Blast::InlineArray< T, N > Struct Template Reference - - - - - - - - -
    -

    Nv::Blast::InlineArray< T, N > Struct Template Reference

    #include <NvBlastArray.h> -

    - -

    -List of all members. - - - - -

    Public Types

    typedef
    -physx::shdfnd::InlineArray< T,
    -N, Allocator
    type
    -


    Detailed Description

    -

    template<class T, uint32_t N>
    - struct Nv::Blast::InlineArray< T, N >

    - -Wrapped PxShared InlineArray that uses NvBlastGlobals AllocatorCalllback.

    -InlineArraya is array that pre-allocates for N elements.


    Member Typedef Documentation

    - -
    -
    -
    -template<class T , uint32_t N>
    - - - - -
    typedef physx::shdfnd::InlineArray<T, N, Allocator> Nv::Blast::InlineArray< T, N >::type
    -
    -
    - -

    - -

    -

    -


    The documentation for this struct was generated from the following file: -
    - - - - diff --git a/docs/api_docs/files/struct_nv_1_1_blast_1_1_less-members.html b/docs/api_docs/files/struct_nv_1_1_blast_1_1_less-members.html deleted file mode 100644 index 8e8d17f..0000000 --- a/docs/api_docs/files/struct_nv_1_1_blast_1_1_less-members.html +++ /dev/null @@ -1,31 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Member List - - - - - - - -
    -

    Nv::Blast::Less< A > Member List

    This is the complete list of members for Nv::Blast::Less< A >, including all inherited members.

    - -
    operator()(const A &a, const A &b) const Nv::Blast::Less< A > [inline]

    - - - - diff --git a/docs/api_docs/files/struct_nv_1_1_blast_1_1_less.html b/docs/api_docs/files/struct_nv_1_1_blast_1_1_less.html deleted file mode 100644 index 49ea921..0000000 --- a/docs/api_docs/files/struct_nv_1_1_blast_1_1_less.html +++ /dev/null @@ -1,84 +0,0 @@ - - - NVIDIA(R) Blast(R) SDK 1.1 API Reference: Nv::Blast::Less< A > Struct Template Reference - - - - - - - - -
    -

    Nv::Blast::Less< A > Struct Template Reference

    #include <NvBlastFixedPriorityQueue.h> -

    - -

    -List of all members. - - - - -

    Public Member Functions

    bool operator() (const A &a, const A &b) const
    -


    Detailed Description

    -

    template<typename A>
    - struct Nv::Blast::Less< A >

    - -FixedPriorityQueue is a priority queue container which is intended to be used with placement new on chunk of memory. It'll use following memory for data layout. As follows:

    -some memory char ​*buf = new char[64 *​ 1024];

    -placement new on this memory FixedPriorityQueue<SomeClass>* arr = new (buf) FixedPriorityQueue<SomeClass>();

    -you can get max requiredMemorySize by an array of 'capacity' elements count to use memory left buf = buf + FixedPriorityQueue<SomeClass>::requiredMemorySize(capacity);

    -buf:

    -+------------------------------------------------------------+ | uint32_t | T[0] | T[1] | T[2] | ... | +------------------------------------------------------------+


    Member Function Documentation

    - -
    -
    -
    -template<typename A >
    - - - - - - - - - - - - - - - - - - -
    bool Nv::Blast::Less< A >::operator() (const A &  a,
    const A &  b 
    ) const [inline]
    -
    -
    - -

    - -

    -

    -


    The documentation for this struct was generated from the following file: -
    - - - - diff --git a/docs/api_docs/files/struct_nv_1_1_blast_1_1_tk_joint_desc.html b/docs/api_docs/files/struct_nv_1_1_blast_1_1_tk_joint_desc.html index a00bd61..1e4d737 100644 --- a/docs/api_docs/files/struct_nv_1_1_blast_1_1_tk_joint_desc.html +++ b/docs/api_docs/files/struct_nv_1_1_blast_1_1_tk_joint_desc.html @@ -31,13 +31,13 @@

    Public Attributes

    physx::PxVec3 attachPositions [2] - The position of the joint relative to each TkActor which ownes the chunks jointed by this joint.
    + The position of the joint relative to each TkActor which owns the chunks jointed by this joint.
    uint32_t chunkIndices [2]  The chunk indices within the corresponding TkFamily objects joined by the joint. The indexed chunks will be support chunks.
    TkFamilyfamilies [2] - The TkFamily objects containint the chunks joined by the joint.
    + The TkFamily objects containing the chunks joined by the joint.

    Detailed Description

    Descriptor for joint creation.

    Member Data Documentation

    @@ -53,7 +53,7 @@ Descriptor for joint creation.

    Member Data Documentation

    -The position of the joint relative to each TkActor which ownes the chunks jointed by this joint. +The position of the joint relative to each TkActor which owns the chunks jointed by this joint.

    @@ -87,7 +87,7 @@ The chunk indices within the corresponding

    -The TkFamily objects containint the chunks joined by the joint. +The TkFamily objects containing the chunks joined by the joint.

    diff --git a/docs/api_docs/files/struct_nv_1_1_blast_1_1_triangle-members.html b/docs/api_docs/files/struct_nv_1_1_blast_1_1_triangle-members.html index 46f222e..31be650 100644 --- a/docs/api_docs/files/struct_nv_1_1_blast_1_1_triangle-members.html +++ b/docs/api_docs/files/struct_nv_1_1_blast_1_1_triangle-members.html @@ -24,7 +24,7 @@ aNv::Blast::Triangle bNv::Blast::Triangle cNv::Blast::Triangle - getNormal()Nv::Blast::Triangle [inline] + getNormal() const Nv::Blast::Triangle [inline] materialIdNv::Blast::Triangle smoothingGroupNv::Blast::Triangle Triangle()Nv::Blast::Triangle [inline] diff --git a/docs/api_docs/files/struct_nv_1_1_blast_1_1_triangle.html b/docs/api_docs/files/struct_nv_1_1_blast_1_1_triangle.html index eb1fba2..f21e29e 100644 --- a/docs/api_docs/files/struct_nv_1_1_blast_1_1_triangle.html +++ b/docs/api_docs/files/struct_nv_1_1_blast_1_1_triangle.html @@ -29,7 +29,7 @@ List of all members. - + @@ -106,7 +106,7 @@


    Member Function Documentation

    - +

    Public Member Functions

    physx::PxVec3 getNormal ()
    physx::PxVec3 getNormal () const
     Triangle (Vertex a, Vertex b, Vertex c)
    @@ -115,7 +115,7 @@ - +
    (  )  [inline] const [inline]
    -- cgit v1.2.3