class Geo::SHCoeff
SH Helper class.
Functions
Name | Description |
---|---|
Add(const float *, Geo::s32, float) | Accumulates the given coefficients into this object. |
AddL(Geo::s32, float) | Accumulates the coefficient with the given index. |
GetL(Geo::s32) | Gets the coefficient with the given index. |
GetL(Geo::s32, SHCoeff) | Gets the coefficient with the given index from the three given SHCoeffs, and packs them into the x,y,z channels of a v128. |
Log() | Logging. |
LogOrder() | Logging. |
MakeL2Matrix(Geo::Matrix &) | Fills in the given matrix with L2 values. |
operator*(float) | Scales the coefficients by the given amount. |
operator+=(const SHCoeff &) | Accumulates the given SHCoeff coefficients into this object. |
Reset() | Resets all coefficients to zero. |
Set(const float *, Geo::s32) | Copies the given coefficients into this object. |
SetL(Geo::s32, float) | Sets the coefficient with the given index. |
SHCoeff() | Constructors. |
SHCoeff(const float *, Geo::s32) | Constructors. |
SHCoeff(const float *, s32, const s8 *) | Constructors. |
Anchor | ||||
---|---|---|---|---|
|
void Geo::SHCoeff::Add
...
public: void Add
(
const float * values,
Geo::s32 numValues,
float multiplier
)
...
Accumulates the given coefficients into this object.
Anchor | ||||
---|---|---|---|---|
|
bool Geo::SHCoeff::AddL
...
public: bool AddL
(
Geo::s32 idx,
float c
)
...
Accumulates the coefficient with the given index.
Anchor | ||||
---|---|---|---|---|
|
float Geo::SHCoeff::GetL
...
public: float GetL
(
Geo::s32 idx
) const
...
Gets the coefficient with the given index.
Anchor | ||||
---|---|---|---|---|
|
static Geo::v128 Geo::SHCoeff::GetL
...
public: Geo::v128 GetL
(
Geo::s32 idx,
SHCoeff rgb
)
...
Gets the coefficient with the given index from the three given SHCoeffs, and packs them into the x,y,z channels of a v128.
Anchor | ||||
---|---|---|---|---|
|
GeoSymbolString Geo::SHCoeff::Log
...
public: GeoSymbolString Log() const
...
Logging.
Anchor | ||||
---|---|---|---|---|
|
static GeoSymbolString Geo::SHCoeff::LogOrder
...
public: GeoSymbolString LogOrder()
...
Logging.
Anchor | ||||
---|---|---|---|---|
|
void Geo::SHCoeff::MakeL2Matrix
...
public: void MakeL2Matrix
(
Geo::Matrix & mat
) const
...
Fills in the given matrix with L2 values.
Anchor | ||||
---|---|---|---|---|
|
SHCoeff& Geo::SHCoeff::operator*
...
public: SHCoeff & operator*
(
float rhs
)
...
Scales the coefficients by the given amount.
Anchor | ||||
---|---|---|---|---|
|
SHCoeff& Geo::SHCoeff::operator+=
...
public: SHCoeff & operator+=
(
const SHCoeff & rhs
)
...
Accumulates the given SHCoeff coefficients into this object.
Anchor | ||||
---|---|---|---|---|
|
void Geo::SHCoeff::Reset
...
public: void Reset()
...
Resets all coefficients to zero.
Anchor | ||||
---|---|---|---|---|
|
void Geo::SHCoeff::Set
...
public: void Set
(
const float * values,
Geo::s32 numValues
)
...
Copies the given coefficients into this object.
Anchor | ||||
---|---|---|---|---|
|
bool Geo::SHCoeff::SetL
...
public: bool SetL
(
Geo::s32 idx,
float c
)
...
Sets the coefficient with the given index.
Anchor | ||||
---|---|---|---|---|
|
Geo::SHCoeff::SHCoeff
...
public: SHCoeff()
...
Constructors.
Anchor | ||||
---|---|---|---|---|
|
Geo::SHCoeff::SHCoeff
...
public: SHCoeff
(
const float * values,
Geo::s32 numValues
)
...
Constructors.
Anchor | ||||
---|---|---|---|---|
|
Geo::SHCoeff::SHCoeff
...
public: SHCoeff
(
const float * shCoefficients,
s32 shOrder,
const s8 * coefficientOutputOrder
)
...
Constructors.