Nv::Blast Namespace Reference


Namespaces

namespace  ApexImporter

Classes

class  Allocator
class  AllocatorCallback
 Abstract base class for an application defined memory allocator that can be used by toolkit (Tk) or any extension (Ext). More...
struct  AuthoringResult
class  BBoxBasedAccelerator
struct  BeamPatternDesc
class  BlastBondGenerator
struct  BondGenerationConfig
struct  BooleanResultEdge
struct  BooleanToolOutputData
struct  ChunkGraph
struct  ChunkGraphLink
struct  ChunkInfo
struct  CollisionHull
struct  ConvexDecompositionParams
class  ConvexMeshBuilder
struct  CutoutConfiguration
class  CutoutSet
struct  DamagePattern
struct  DebugBuffer
struct  DebugLine
class  DummyAccelerator
struct  Edge
class  ErrorCallback
 User defined interface class. Used by the library to emit debug information. More...
struct  ErrorCode
 Error codes. More...
struct  ExporterMeshData
class  ExtCustomProfiler
struct  ExtForceMode
class  ExtGroupTaskManager
class  ExtImpactDamageManager
struct  ExtImpactSettings
struct  ExtProfileData
class  ExtPxActor
struct  ExtPxActorDescTemplate
class  ExtPxAsset
struct  ExtPxAssetDesc
struct  ExtPxChunk
class  ExtPxCollisionBuilder
class  ExtPxFamily
struct  ExtPxFamilyDesc
class  ExtPxListener
class  ExtPxManager
struct  ExtPxObjectTypeID
struct  ExtPxShapeDescTemplate
struct  ExtPxSpawnSettings
class  ExtPxStressSolver
struct  ExtPxSubchunk
class  ExtSerialization
class  ExtStressSolver
struct  ExtStressSolverSettings
class  ExtSync
struct  ExtSyncEvent
struct  ExtSyncEventFamilySync
struct  ExtSyncEventFracture
struct  ExtSyncEventInstance
struct  ExtSyncEventPhysicsSync
struct  ExtSyncEventType
struct  Facet
struct  FacetFacetResult
struct  FractureDesc
class  Fracturer
class  FractureRT
class  FractureTool
class  Grid
class  GridWalker
struct  HullPolygon
class  IFbxFileReader
class  IJsonCollisionExporter
class  IMeshFileReader
class  IMeshFileWriter
struct  LlObjectTypeID
struct  Material
class  Mesh
class  MeshCleaner
struct  MeshDesc
class  MeshGenerator
struct  NoiseConfiguration
struct  PatternDescriptor
class  PatternGenerator
struct  PerTriangleAdditionalData
struct  PlaneChunkIndexer
class  ProfilerCallback
struct  ProfilerDetail
class  RandomGeneratorBase
struct  RegularRadialPatternDesc
struct  SegmentToIndex
struct  SlicingConfiguration
class  SpatialAccelerator
class  SweepingAccelerator
class  TkActor
struct  TkActorData
struct  TkActorDesc
class  TkAsset
struct  TkAssetDesc
struct  TkAssetJointDesc
struct  TkEvent
class  TkEventListener
class  TkFamily
struct  TkFractureCommands
struct  TkFractureEvents
class  TkFramework
class  TkGroup
struct  TkGroupDesc
struct  TkGroupStats
class  TkGroupWorker
class  TkIdentifiable
class  TkJoint
struct  TkJointData
struct  TkJointDesc
struct  TkJointUpdateEvent
class  TkObject
struct  TkObjectTypeID
struct  TkSplitEvent
class  TkType
struct  TkTypeIndex
struct  Triangle
struct  TriangleIndexed
struct  UniformPatternDesc
struct  Vertex
class  VoronoiSitesGenerator

Typedefs

typedef bool(* ExtImpactDamageFunction )(void *data, ExtPxActor *actor, physx::PxShape *shape, physx::PxVec3 worldPos, physx::PxVec3 worldForce)
typedef physx::PxJoint *(* ExtPxCreateJointFunction )(ExtPxActor *actor0, const physx::PxTransform &localFrame0, ExtPxActor *actor1, const physx::PxTransform &localFrame1, physx::PxPhysics &physics, TkJoint &joint)
typedef float(* RNG_CALLBACK )(void)

Enumerations

enum  PatternFacetType { GOOD_FACET = 0, INFINITE_FACET = 0xffffff }

Functions

NV_INLINE void logLL (int type, const char *msg, const char *file, int line)
void savePatternToObj (DamagePattern *pattern)

Variables

const uint32_t kMaterialInteriorId = 1000
const uint32_t kNotValidVertexIndex = UINT32_MAX
const uint32_t kSmoothingGroupInteriorId = 1000

Typedef Documentation

typedef bool(* Nv::Blast::ExtImpactDamageFunction)(void *data, ExtPxActor *actor, physx::PxShape *shape, physx::PxVec3 worldPos, physx::PxVec3 worldForce)

Custom Damage Function

typedef physx::PxJoint*(* Nv::Blast::ExtPxCreateJointFunction)(ExtPxActor *actor0, const physx::PxTransform &localFrame0, ExtPxActor *actor1, const physx::PxTransform &localFrame1, physx::PxPhysics &physics, TkJoint &joint)

Function pointer for PxJoint creation.

It will be called when new joints are being created. It should return valid PxJoint pointer or nullptr.

typedef float(* Nv::Blast::RNG_CALLBACK)(void)


Enumeration Type Documentation

Enumerator:
GOOD_FACET 
INFINITE_FACET 


Function Documentation

NV_INLINE void Nv::Blast::logLL ( int  type,
const char *  msg,
const char *  file,
int  line 
)

Logging wrapper compatible with NvBlastLog.

See also:
NvBlastLog.
Pass this function to LowLevel function calls in order to get logging into global ErrorCallback.

void Nv::Blast::savePatternToObj ( DamagePattern *  pattern  ) 


Variable Documentation

const uint32_t Nv::Blast::kMaterialInteriorId = 1000

Default material id assigned to interior faces (faces which created between 2 fractured chunks)

const uint32_t Nv::Blast::kNotValidVertexIndex = UINT32_MAX

Vertex index which considired by NvBlast as not valid.

const uint32_t Nv::Blast::kSmoothingGroupInteriorId = 1000

Default smoothing group id assigned to interior faces