A masking image aligned to a mesh surface.
Definition at line 75 of file brushmask.h.
#include <brushmask.h>
Public Member Functions |
|
void | SetParameters (const StampConfiguration &config, const Vector &vPosition, const Vector &vNormal, float fSize, const Matrix &mLocalToWorld) |
Initializes mask parameters based on the
given configuration. |
|
void | CalculateTransformation (const Vector &vPosition, const Vector &vNormal, const Vector &vUp, float fScaleX, float fScaleY, bool bFlip, bool bFlop, const Matrix &mLocalToWorld) |
Calculates the transformation matrix from
the given position, scale and mirror parameters. |
|
Public Attributes |
|
DECLARE_CLASS |
void SetParameters | ( | const StampConfiguration & | config, |
const Vector & | vPosition, | ||
const Vector & | vNormal, | ||
float | fSize, | ||
const Matrix & | mLocalToWorld | ||
) |
Initializes mask parameters based on the given configuration.
void CalculateTransformation | ( | const Vector & | vPosition, |
const Vector & | vNormal, | ||
const Vector & | vUp, | ||
float | fScaleX, | ||
float | fScaleY, | ||
bool | bFlip, | ||
bool | bFlop, | ||
const Matrix & | mLocalToWorld | ||
) |
Calculates the transformation matrix from the given position, scale and mirror parameters.