CommonLibSSE (Parapets fork)
|
#include <GFxValue.h>
Public Types | |
enum class | Flag { kNone = 0 , kX = 1 << 0 , kY = 1 << 1 , kRotation = 1 << 2 , kXScale = 1 << 3 , kYScale = 1 << 4 , kAlpha = 1 << 5 , kVisible = 1 << 6 , kZ = 1 << 7 , kXRotation = 1 << 8 , kYRotation = 1 << 9 , kZScale = 1 << 10 , kFOV = 1 << 11 , kPerspMatrix3D = 1 << 12 , kViewMatrix3D = 1 << 13 } |
Public Member Functions | |
DisplayInfo ()=default | |
DisplayInfo (double a_x, double a_y) | |
DisplayInfo (double a_rotation) | |
DisplayInfo (bool a_visible) | |
void | Clear () |
double | GetAlpha () const |
double | GetFOV () const |
double | GetRotation () const |
bool | GetVisible () const |
const GMatrix3D * | GetPerspectiveMatrix3D () const |
const GMatrix3D * | GetViewMatrix3D () const |
double | GetX () const |
double | GetY () const |
double | GetZ () const |
double | GetXRotation () const |
double | GetYRotation () const |
double | GetXScale () const |
double | GetYScale () const |
double | GetZScale () const |
bool | IsFlagSet (Flag a_flag) const |
void | Initialize (Flag a_varsSet, double a_x, double a_y, double a_rotation, double a_xScale, double a_yScale, double a_alpha, bool a_visible, double a_z, double a_xRotation, double a_yRotation, double a_zScale, double a_fov, const GMatrix3D *a_viewM, const GMatrix3D *a_perspM) |
void | SetVisible (bool a_visible) |
void | SetPerspectiveMatrix3D (const GMatrix3D *a_mat) |
void | Set (double a_x, double a_y, double a_rotation, double a_xScale, double a_yScale, double a_alpha, bool a_visible) |
void | Set (double a_x, double a_y, double a_rotation, double a_xScale, double a_yScale, double a_alpha, bool a_visible, double a_z, double a_xRotation, double a_yRotation, double a_zScale) |
void | SetViewMatrix3D (const GMatrix3D *a_mat) |
void | SetAlpha (double a_alpha) |
void | SetFOV (double a_fov) |
void | SetPosition (double a_x, double a_y) |
void | SetRotation (double a_degrees) |
void | SetScale (double a_xScale, double a_yScale) |
void | SetX (double a_x) |
void | SetXRotation (double a_degrees) |
void | SetXScale (double a_xScale) |
void | SetY (double a_y) |
void | SetYRotation (double a_degrees) |
void | SetYScale (double a_yScale) |
void | SetZ (double a_z) |
void | SetZScale (double a_zScale) |
Protected Member Functions | |
void | SetFlags (Flag a_flags) |
void | ClearFlags (Flag a_flags) |
Protected Attributes | |
double | _x = 0.0 |
double | _y = 0.0 |
double | _rotation = 0.0 |
double | _xScale = 0.0 |
double | _yScale = 0.0 |
double | _alpha = 0.0 |
bool | _visible = false |
std::uint8_t | _pad31 = 0 |
std::uint16_t | _pad32 = 0 |
std::uint32_t | _pad34 = 0 |
double | _z = 0.0 |
double | _xRotation = 0.0 |
double | _yRotation = 0.0 |
double | _zScale = 0.0 |
double | _fov = 0.0 |
GMatrix3D | _viewMatrix3D |
GMatrix3D | _perspMatrix3D |
stl::enumeration< Flag, std::uint16_t > | _flags = Flag::kNone |
std::uint16_t | _padD2 = 0 |
std::uint32_t | _padD4 = 0 |
|
strong |
|
default |
RE::GFxValue::DisplayInfo::DisplayInfo | ( | double | a_x, |
double | a_y | ||
) |
RE::GFxValue::DisplayInfo::DisplayInfo | ( | double | a_rotation | ) |
RE::GFxValue::DisplayInfo::DisplayInfo | ( | bool | a_visible | ) |
void RE::GFxValue::DisplayInfo::Clear | ( | ) |
|
protected |
double RE::GFxValue::DisplayInfo::GetAlpha | ( | ) | const |
double RE::GFxValue::DisplayInfo::GetFOV | ( | ) | const |
const GMatrix3D * RE::GFxValue::DisplayInfo::GetPerspectiveMatrix3D | ( | ) | const |
double RE::GFxValue::DisplayInfo::GetRotation | ( | ) | const |
const GMatrix3D * RE::GFxValue::DisplayInfo::GetViewMatrix3D | ( | ) | const |
bool RE::GFxValue::DisplayInfo::GetVisible | ( | ) | const |
double RE::GFxValue::DisplayInfo::GetX | ( | ) | const |
double RE::GFxValue::DisplayInfo::GetXRotation | ( | ) | const |
double RE::GFxValue::DisplayInfo::GetXScale | ( | ) | const |
double RE::GFxValue::DisplayInfo::GetY | ( | ) | const |
double RE::GFxValue::DisplayInfo::GetYRotation | ( | ) | const |
double RE::GFxValue::DisplayInfo::GetYScale | ( | ) | const |
double RE::GFxValue::DisplayInfo::GetZ | ( | ) | const |
double RE::GFxValue::DisplayInfo::GetZScale | ( | ) | const |
void RE::GFxValue::DisplayInfo::Initialize | ( | Flag | a_varsSet, |
double | a_x, | ||
double | a_y, | ||
double | a_rotation, | ||
double | a_xScale, | ||
double | a_yScale, | ||
double | a_alpha, | ||
bool | a_visible, | ||
double | a_z, | ||
double | a_xRotation, | ||
double | a_yRotation, | ||
double | a_zScale, | ||
double | a_fov, | ||
const GMatrix3D * | a_viewM, | ||
const GMatrix3D * | a_perspM | ||
) |
bool RE::GFxValue::DisplayInfo::IsFlagSet | ( | Flag | a_flag | ) | const |
void RE::GFxValue::DisplayInfo::Set | ( | double | a_x, |
double | a_y, | ||
double | a_rotation, | ||
double | a_xScale, | ||
double | a_yScale, | ||
double | a_alpha, | ||
bool | a_visible | ||
) |
void RE::GFxValue::DisplayInfo::Set | ( | double | a_x, |
double | a_y, | ||
double | a_rotation, | ||
double | a_xScale, | ||
double | a_yScale, | ||
double | a_alpha, | ||
bool | a_visible, | ||
double | a_z, | ||
double | a_xRotation, | ||
double | a_yRotation, | ||
double | a_zScale | ||
) |
void RE::GFxValue::DisplayInfo::SetAlpha | ( | double | a_alpha | ) |
|
protected |
void RE::GFxValue::DisplayInfo::SetFOV | ( | double | a_fov | ) |
void RE::GFxValue::DisplayInfo::SetPerspectiveMatrix3D | ( | const GMatrix3D * | a_mat | ) |
void RE::GFxValue::DisplayInfo::SetPosition | ( | double | a_x, |
double | a_y | ||
) |
void RE::GFxValue::DisplayInfo::SetRotation | ( | double | a_degrees | ) |
void RE::GFxValue::DisplayInfo::SetScale | ( | double | a_xScale, |
double | a_yScale | ||
) |
void RE::GFxValue::DisplayInfo::SetViewMatrix3D | ( | const GMatrix3D * | a_mat | ) |
void RE::GFxValue::DisplayInfo::SetVisible | ( | bool | a_visible | ) |
void RE::GFxValue::DisplayInfo::SetX | ( | double | a_x | ) |
void RE::GFxValue::DisplayInfo::SetXRotation | ( | double | a_degrees | ) |
void RE::GFxValue::DisplayInfo::SetXScale | ( | double | a_xScale | ) |
void RE::GFxValue::DisplayInfo::SetY | ( | double | a_y | ) |
void RE::GFxValue::DisplayInfo::SetYRotation | ( | double | a_degrees | ) |
void RE::GFxValue::DisplayInfo::SetYScale | ( | double | a_yScale | ) |
void RE::GFxValue::DisplayInfo::SetZ | ( | double | a_z | ) |
void RE::GFxValue::DisplayInfo::SetZScale | ( | double | a_zScale | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |