Blender V5.3
blender::xpbd::GaussSeidelUpdater Class Reference

#include <GEO_xpbd_updater_gauss_seidel.hh>

Public Member Functions

 GaussSeidelUpdater (Span< GeometryRef > geometry_refs)
float total_error_squared () const
int total_error_count () const
void update_position (const int geo_i, const int point_i, const float3 &offset)
void update_rotation (const int geo_i, const int point_i, const math::Quaternion &offset)
void add_residual_error (const int, const float error_squared)

Detailed Description

Updater that writes the changes directly to the simulated points.

Definition at line 21 of file GEO_xpbd_updater_gauss_seidel.hh.

Constructor & Destructor Documentation

◆ GaussSeidelUpdater()

blender::xpbd::GaussSeidelUpdater::GaussSeidelUpdater ( Span< GeometryRef > geometry_refs)
inline

Definition at line 28 of file GEO_xpbd_updater_gauss_seidel.hh.

Member Function Documentation

◆ add_residual_error()

void blender::xpbd::GaussSeidelUpdater::add_residual_error ( const int ,
const float error_squared )
inline

Definition at line 51 of file GEO_xpbd_updater_gauss_seidel.hh.

◆ total_error_count()

int blender::xpbd::GaussSeidelUpdater::total_error_count ( ) const
inline

Definition at line 37 of file GEO_xpbd_updater_gauss_seidel.hh.

◆ total_error_squared()

float blender::xpbd::GaussSeidelUpdater::total_error_squared ( ) const
inline

Definition at line 33 of file GEO_xpbd_updater_gauss_seidel.hh.

◆ update_position()

void blender::xpbd::GaussSeidelUpdater::update_position ( const int geo_i,
const int point_i,
const float3 & offset )
inline

Definition at line 42 of file GEO_xpbd_updater_gauss_seidel.hh.

◆ update_rotation()

void blender::xpbd::GaussSeidelUpdater::update_rotation ( const int geo_i,
const int point_i,
const math::Quaternion & offset )
inline

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