HighMap library (C++)
Loading...
Searching...
No Matches
hmap::GaussianPush Struct Reference

Truncated-Gaussian push operation, the elementary deformation used by sls_deformation. More...

#include <authoring.hpp>

Public Attributes

int i
 center index (x)
int j
 center index (y)
int ir
 kernel radius in pixels
float amplitude
 height displacement at the center

Detailed Description

Truncated-Gaussian push operation, the elementary deformation used by sls_deformation.

The push adds amplitude * G(d) to every vertex within ir pixels of the center (i, j), where G is a truncated Gaussian kernel equal to 1 at the center and to 0 at distance ir. The center vertex is therefore displaced by exactly amplitude.

Member Data Documentation

◆ i

int hmap::GaussianPush::i

center index (x)

◆ j

int hmap::GaussianPush::j

center index (y)

◆ ir

int hmap::GaussianPush::ir

kernel radius in pixels

◆ amplitude

float hmap::GaussianPush::amplitude

height displacement at the center


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