Workspace::DataRenderer
#include "GUI/Workspace/Nodes/Basic/DataRenderer.h"
Public Functions
Name | |
---|---|
bool | bypassFloatFocusAction() |
bool | bypassFloatRaisePopupAction() |
bool | drawData4x4(DIWNE::Diwne & diwne, DIWNE::ID const node_id, int numberOfVisibleDecimals, float dataWidth, FloatPopupMode & floatPopupMode, const glm::mat4 & data, std::array< std::array< Core::EValueState, 4 > const, 4 > const & dataState, bool & valueChanged, int & rowOfChange, int & columnOfChange, float & valueOfChange) |
bool | drawDataFloat(DIWNE::Diwne & diwne, DIWNE::ID const node_id, int const numberOfVisibleDecimals, float dataWidth, FloatPopupMode & floatPopupMode, const float & data, Core::EValueState const & dataState, bool & valueChanged, float & valueOfChange) |
bool | drawDataQuaternion(DIWNE::Diwne & diwne, DIWNE::ID const node_id, int const numberOfVisibleDecimals, float dataWidth, FloatPopupMode floatPopupMode, const glm::quat & data, std::array< Core::EValueState, 4 > const & dataState, bool & valueChanged, glm::quat & valueOfChange) |
bool | drawDataVec3(DIWNE::Diwne & diwne, DIWNE::ID const node_id, int const numberOfVisibleDecimals, float dataWidth, FloatPopupMode & floatPopupMode, const glm::vec3 & data, std::array< Core::EValueState, 3 > const & dataState, bool & valueChanged, glm::vec3 & valueOfChange) |
bool | drawDataVec4(DIWNE::Diwne & diwne, DIWNE::ID const node_id, int const numberOfVisibleDecimals, float dataWidth, FloatPopupMode & floatPopupMode, const glm::vec4 & data, std::array< Core::EValueState, 4 > const & dataState, bool & valueChanged, glm::vec4 & valueOfChange) |
bool | drawDragFloatWithMap_Inline(DIWNE::Diwne & diwne, int const numberOfVisibleDecimals, FloatPopupMode & floatPopupMode, std::string const label, float & value, Core::EValueState const & valueState, bool & valueChanged) |
int | maxLengthOfData4x4(const glm::mat4 & data, int numberOfVisibleDecimal) |
int | maxLengthOfDataFloat(const float & data, int numberOfVisibleDecimal) |
int | maxLengthOfDataQuaternion(const glm::quat & data, int numberOfVisibleDecimal) |
int | maxLengthOfDataVec3(const glm::vec3 & data, int numberOfVisibleDecimal) |
int | maxLengthOfDataVec4(const glm::vec4 & data, int numberOfVisibleDecimal) |
void | popupFloatContent(FloatPopupMode & popupMode, float & selectedValue, bool & valueSelected) |
Public Functions Documentation
function bypassFloatFocusAction
cpp
static bool bypassFloatFocusAction()
static bool bypassFloatFocusAction()
function bypassFloatRaisePopupAction
cpp
static bool bypassFloatRaisePopupAction()
static bool bypassFloatRaisePopupAction()
function drawData4x4
cpp
static bool drawData4x4(
DIWNE::Diwne & diwne,
DIWNE::ID const node_id,
int numberOfVisibleDecimals,
float dataWidth,
FloatPopupMode & floatPopupMode,
const glm::mat4 & data,
std::array< std::array< Core::EValueState, 4 > const, 4 > const & dataState,
bool & valueChanged,
int & rowOfChange,
int & columnOfChange,
float & valueOfChange
)
static bool drawData4x4(
DIWNE::Diwne & diwne,
DIWNE::ID const node_id,
int numberOfVisibleDecimals,
float dataWidth,
FloatPopupMode & floatPopupMode,
const glm::mat4 & data,
std::array< std::array< Core::EValueState, 4 > const, 4 > const & dataState,
bool & valueChanged,
int & rowOfChange,
int & columnOfChange,
float & valueOfChange
)
Parameters:
- valueOfChange is set to value setted by user if so - not touched if no user change heppen
Return: whether some interaction happen
function drawDataFloat
cpp
static bool drawDataFloat(
DIWNE::Diwne & diwne,
DIWNE::ID const node_id,
int const numberOfVisibleDecimals,
float dataWidth,
FloatPopupMode & floatPopupMode,
const float & data,
Core::EValueState const & dataState,
bool & valueChanged,
float & valueOfChange
)
static bool drawDataFloat(
DIWNE::Diwne & diwne,
DIWNE::ID const node_id,
int const numberOfVisibleDecimals,
float dataWidth,
FloatPopupMode & floatPopupMode,
const float & data,
Core::EValueState const & dataState,
bool & valueChanged,
float & valueOfChange
)
function drawDataQuaternion
cpp
static bool drawDataQuaternion(
DIWNE::Diwne & diwne,
DIWNE::ID const node_id,
int const numberOfVisibleDecimals,
float dataWidth,
FloatPopupMode floatPopupMode,
const glm::quat & data,
std::array< Core::EValueState, 4 > const & dataState,
bool & valueChanged,
glm::quat & valueOfChange
)
static bool drawDataQuaternion(
DIWNE::Diwne & diwne,
DIWNE::ID const node_id,
int const numberOfVisibleDecimals,
float dataWidth,
FloatPopupMode floatPopupMode,
const glm::quat & data,
std::array< Core::EValueState, 4 > const & dataState,
bool & valueChanged,
glm::quat & valueOfChange
)
function drawDataVec3
cpp
static bool drawDataVec3(
DIWNE::Diwne & diwne,
DIWNE::ID const node_id,
int const numberOfVisibleDecimals,
float dataWidth,
FloatPopupMode & floatPopupMode,
const glm::vec3 & data,
std::array< Core::EValueState, 3 > const & dataState,
bool & valueChanged,
glm::vec3 & valueOfChange
)
static bool drawDataVec3(
DIWNE::Diwne & diwne,
DIWNE::ID const node_id,
int const numberOfVisibleDecimals,
float dataWidth,
FloatPopupMode & floatPopupMode,
const glm::vec3 & data,
std::array< Core::EValueState, 3 > const & dataState,
bool & valueChanged,
glm::vec3 & valueOfChange
)
function drawDataVec4
cpp
static bool drawDataVec4(
DIWNE::Diwne & diwne,
DIWNE::ID const node_id,
int const numberOfVisibleDecimals,
float dataWidth,
FloatPopupMode & floatPopupMode,
const glm::vec4 & data,
std::array< Core::EValueState, 4 > const & dataState,
bool & valueChanged,
glm::vec4 & valueOfChange
)
static bool drawDataVec4(
DIWNE::Diwne & diwne,
DIWNE::ID const node_id,
int const numberOfVisibleDecimals,
float dataWidth,
FloatPopupMode & floatPopupMode,
const glm::vec4 & data,
std::array< Core::EValueState, 4 > const & dataState,
bool & valueChanged,
glm::vec4 & valueOfChange
)
function drawDragFloatWithMap_Inline
cpp
static bool drawDragFloatWithMap_Inline(
DIWNE::Diwne & diwne,
int const numberOfVisibleDecimals,
FloatPopupMode & floatPopupMode,
std::string const label,
float & value,
Core::EValueState const & valueState,
bool & valueChanged
)
static bool drawDragFloatWithMap_Inline(
DIWNE::Diwne & diwne,
int const numberOfVisibleDecimals,
FloatPopupMode & floatPopupMode,
std::string const label,
float & value,
Core::EValueState const & valueState,
bool & valueChanged
)
function maxLengthOfData4x4
cpp
static int maxLengthOfData4x4(
const glm::mat4 & data,
int numberOfVisibleDecimal
)
static int maxLengthOfData4x4(
const glm::mat4 & data,
int numberOfVisibleDecimal
)
function maxLengthOfDataFloat
cpp
static int maxLengthOfDataFloat(
const float & data,
int numberOfVisibleDecimal
)
static int maxLengthOfDataFloat(
const float & data,
int numberOfVisibleDecimal
)
function maxLengthOfDataQuaternion
cpp
static int maxLengthOfDataQuaternion(
const glm::quat & data,
int numberOfVisibleDecimal
)
static int maxLengthOfDataQuaternion(
const glm::quat & data,
int numberOfVisibleDecimal
)
function maxLengthOfDataVec3
cpp
static int maxLengthOfDataVec3(
const glm::vec3 & data,
int numberOfVisibleDecimal
)
static int maxLengthOfDataVec3(
const glm::vec3 & data,
int numberOfVisibleDecimal
)
function maxLengthOfDataVec4
cpp
static int maxLengthOfDataVec4(
const glm::vec4 & data,
int numberOfVisibleDecimal
)
static int maxLengthOfDataVec4(
const glm::vec4 & data,
int numberOfVisibleDecimal
)
function popupFloatContent
cpp
static void popupFloatContent(
FloatPopupMode & popupMode,
float & selectedValue,
bool & valueSelected
)
static void popupFloatContent(
FloatPopupMode & popupMode,
float & selectedValue,
bool & valueSelected
)
Updated on 2024-11-06 at 20:16:53 +0000