Main Page Class List Class Members

# Nv::Blast::ExtPxStressSolver Class Reference

`#include <NvBlastExtPxStressSolver.h>`

List of all members.

## Public Member Functions
virtual ExtStressSolver & | getSolver () const =0
virtual void | release ()=0
virtual void | update (bool doDamage=true)=0
## Static Public Member Functions
static ExtPxStressSolver * | create (ExtPxFamily &family, ExtStressSolverSettings settings=ExtStressSolverSettings())

## Detailed Description

Px Stress Solver. Px wrapper over ExtStressSolver.

Uses ExtPxFamily and ExtStressSolver. see ExtStressSolver for more details. Works on both dynamic and static actor's within family. For static actors it applies gravity. For dynamic actors it applies centrifugal force.

## Member Function Documentation

static ExtPxStressSolver* Nv::Blast::ExtPxStressSolver::create | ( | ExtPxFamily & | family,
|  | ExtStressSolverSettings | settings = `ExtStressSolverSettings()` |
| ) |  |  | `[static]`

Create a new ExtStressSolver.

Parameters:

  `[in]` | family | The ExtPxFamily instance to calculate stress on.
  `[in]` | settings | The settings to be set on ExtStressSolver.

Returns:
  the new ExtStressSolver if successful, NULL otherwise.

virtual ExtStressSolver& Nv::Blast::ExtPxStressSolver::getSolver | ( |  | ) | const`[pure virtual]`

Get actual ExtStressSolver used.

Returns:
  the pointer to ExtStressSolver used internally.

virtual void Nv::Blast::ExtPxStressSolver::release | ( |  | ) | `[pure virtual]`

Release this stress solver.

virtual void Nv::Blast::ExtPxStressSolver::update | ( | bool | doDamage = `true` | ) | `[pure virtual]`

Update stress solver.

Calculate stress and optionally apply damage.

Parameters:

  `[in]` | doDamage | If 'true' damage will be applied after stress solver.

The documentation for this class was generated from the following file:

- sdk/extensions/physx/include/NvBlastExtPxStressSolver.h