PeriDyno 1.0.0
Loading...
Searching...
No Matches
ImGui Namespace Reference

Enumerations

enum  ImGuiExColVal_ {
  ImGuiExColVal_Button_1 , ImGuiExColVal_ButtonHovered_1 , ImGuiExColVal_ButtonActive_1 , ImGuiExColVal_WindowTopBg_1 ,
  ImGuiExColVal_WindowMenuBg_1 , ImGuiExColVal_COUNT
}
 

Functions

IMGUI_API void initColorVal ()
 
IMGUI_API void BeginHorizontal ()
 
IMGUI_API void EndHorizontal ()
 
IMGUI_API bool ImageButtonWithText (ImTextureID texId, const char *label, const ImVec2 &imageSize=ImVec2(0, 0), const ImVec2 &uv0=ImVec2(0, 0), const ImVec2 &uv1=ImVec2(1, 1), int frame_padding=-1, const ImVec4 &bg_col=ImVec4(0, 0, 0, 0), const ImVec4 &tint_col=ImVec4(1, 1, 1, 1))
 
IMGUI_API bool radioWithIconButton (const char *label, const char *tooltip, bool v)
 
IMGUI_API bool clickButton (const char *label, const char *tooltip)
 
IMGUI_API void toggleButton (ImTextureID texId, const char *label, bool *v)
 
IMGUI_API void toggleButton (const char *label, bool *v)
 
IMGUI_API void exampleButton (const char *label, bool *v)
 
IMGUI_API bool ColorBar (char *label, float *values, ImU32 *col, int length, int num_type)
 
IMGUI_API void beginTitle (const char *label)
 
IMGUI_API void endTitle ()
 
IMGUI_API ImU32 VecToImU (const dyno::Vec3f *v)
 
IMGUI_API ImU32 ToHeatColor (const float v, const float v_min, const float v_max)
 
IMGUI_API ImU32 ToJetColor (const float v, const float v_min, const float v_max)
 
template<typename T>
std::shared_ptr< ImU32[]> ToImU (T v, int size)
 
template<>
std::shared_ptr< ImU32[]> ToImU< dyno::Vec3f * > (dyno::Vec3f *v, int size)
 
template<>
std::shared_ptr< ImU32[]> ToImU< const dyno::Vec3f * > (const dyno::Vec3f *v, int size)
 
void initializeStyle (float scale)
 
bool gizmo3D (const char *label, quat &q, float size, const int mode)
 
bool gizmo3D (const char *label, vec4 &axis_angle, float size, const int mode)
 
bool gizmo3D (const char *label, vec3 &dir, float size, const int mode)
 
bool gizmo3D (const char *label, quat &axes, quat &spot, float size, const int mode)
 
bool gizmo3D (const char *label, quat &axes, vec3 &spotDir, float size, const int mode)
 
bool gizmo3D (const char *label, quat &axes, vec4 &axesAngle, float size, const int mode)
 
bool gizmo3D (const char *label, vec3 &vPanDolly, quat &q, float size, const int mode)
 
bool gizmo3D (const char *label, vec3 &vPanDolly, vec4 &axis_angle, float size, const int mode)
 
bool gizmo3D (const char *label, vec3 &vPanDolly, vec3 &dir, float size, const int mode)
 
bool gizmo3D (const char *label, vec3 &vPanDolly, quat &axes, quat &spot, float size, const int mode)
 
bool gizmo3D (const char *label, vec3 &vPanDolly, quat &axes, vec3 &spotDir, float size, const int mode)
 
bool gizmo3D (const char *label, vec3 &vPanDolly, quat &axes, vec4 &axesAngle, float size, const int mode)
 

Variables

ImVec4 ExColorsVal [ImGuiExColVal_COUNT]
 

Enumeration Type Documentation

◆ ImGuiExColVal_

Enumerator
ImGuiExColVal_Button_1 
ImGuiExColVal_ButtonHovered_1 
ImGuiExColVal_ButtonActive_1 
ImGuiExColVal_WindowTopBg_1 
ImGuiExColVal_WindowMenuBg_1 
ImGuiExColVal_COUNT 

Definition at line 11 of file imgui_extend.h.

Function Documentation

◆ BeginHorizontal()

void ImGui::BeginHorizontal ( )

Definition at line 14 of file imgui_extend.cpp.

◆ beginTitle()

void ImGui::beginTitle ( const char * label)

Definition at line 214 of file imgui_extend.cpp.

Here is the caller graph for this function:

◆ clickButton()

bool ImGui::clickButton ( const char * label,
const char * tooltip )

Definition at line 95 of file imgui_extend.cpp.

Here is the caller graph for this function:

◆ ColorBar()

bool ImGui::ColorBar ( char * label,
float * values,
ImU32 * col,
int length,
int num_type )

Definition at line 243 of file imgui_extend.cpp.

Here is the caller graph for this function:

◆ EndHorizontal()

void ImGui::EndHorizontal ( )

Definition at line 22 of file imgui_extend.cpp.

◆ endTitle()

void ImGui::endTitle ( )

Definition at line 219 of file imgui_extend.cpp.

Here is the caller graph for this function:

◆ exampleButton()

void ImGui::exampleButton ( const char * label,
bool * v )

Definition at line 29 of file imgui_extend.cpp.

◆ gizmo3D() [1/12]

IMGUI_API bool ImGui::gizmo3D ( const char * label,
quat & axes,
quat & spot,
float size,
const int mode )

Definition at line 170 of file imGuIZMOquat.cpp.

Here is the call graph for this function:

◆ gizmo3D() [2/12]

IMGUI_API bool ImGui::gizmo3D ( const char * label,
quat & axes,
vec3 & spotDir,
float size,
const int mode )

Definition at line 187 of file imGuIZMOquat.cpp.

Here is the call graph for this function:

◆ gizmo3D() [3/12]

IMGUI_API bool ImGui::gizmo3D ( const char * label,
quat & axes,
vec4 & axesAngle,
float size,
const int mode )

Definition at line 203 of file imGuIZMOquat.cpp.

Here is the call graph for this function:

◆ gizmo3D() [4/12]

IMGUI_API bool ImGui::gizmo3D ( const char * label,
quat & q,
float size,
const int mode )

Definition at line 127 of file imGuIZMOquat.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gizmo3D() [5/12]

IMGUI_API bool ImGui::gizmo3D ( const char * label,
vec3 & dir,
float size,
const int mode )

Definition at line 154 of file imGuIZMOquat.cpp.

Here is the call graph for this function:

◆ gizmo3D() [6/12]

IMGUI_API bool ImGui::gizmo3D ( const char * label,
vec3 & vPanDolly,
quat & axes,
quat & spot,
float size,
const int mode )

Definition at line 280 of file imGuIZMOquat.cpp.

Here is the call graph for this function:

◆ gizmo3D() [7/12]

IMGUI_API bool ImGui::gizmo3D ( const char * label,
vec3 & vPanDolly,
quat & axes,
vec3 & spotDir,
float size,
const int mode )

Definition at line 299 of file imGuIZMOquat.cpp.

Here is the call graph for this function:

◆ gizmo3D() [8/12]

IMGUI_API bool ImGui::gizmo3D ( const char * label,
vec3 & vPanDolly,
quat & axes,
vec4 & axesAngle,
float size,
const int mode )

Definition at line 317 of file imGuIZMOquat.cpp.

Here is the call graph for this function:

◆ gizmo3D() [9/12]

IMGUI_API bool ImGui::gizmo3D ( const char * label,
vec3 & vPanDolly,
quat & q,
float size,
const int mode )

Definition at line 221 of file imGuIZMOquat.cpp.

Here is the call graph for this function:

◆ gizmo3D() [10/12]

IMGUI_API bool ImGui::gizmo3D ( const char * label,
vec3 & vPanDolly,
vec3 & dir,
float size,
const int mode )

Definition at line 258 of file imGuIZMOquat.cpp.

Here is the call graph for this function:

◆ gizmo3D() [11/12]

IMGUI_API bool ImGui::gizmo3D ( const char * label,
vec3 & vPanDolly,
vec4 & axis_angle,
float size,
const int mode )

Definition at line 242 of file imGuIZMOquat.cpp.

Here is the call graph for this function:

◆ gizmo3D() [12/12]

IMGUI_API bool ImGui::gizmo3D ( const char * label,
vec4 & axis_angle,
float size,
const int mode )

Definition at line 143 of file imGuIZMOquat.cpp.

Here is the call graph for this function:

◆ ImageButtonWithText()

bool ImGui::ImageButtonWithText ( ImTextureID texId,
const char * label,
const ImVec2 & imageSize = ImVec2(0,0),
const ImVec2 & uv0 = ImVec2(0,0),
const ImVec2 & uv1 = ImVec2(1,1),
int frame_padding = -1,
const ImVec4 & bg_col = ImVec4(0,0,0,0),
const ImVec4 & tint_col = ImVec4(1,1,1,1) )

Definition at line 160 of file imgui_extend.cpp.

Here is the caller graph for this function:

◆ initColorVal()

void ImGui::initColorVal ( )

Definition at line 350 of file imgui_extend.cpp.

Here is the caller graph for this function:

◆ initializeStyle()

void ImGui::initializeStyle ( float scale)

Definition at line 321 of file imgui_extend.cpp.

Here is the caller graph for this function:

◆ radioWithIconButton()

bool ImGui::radioWithIconButton ( const char * label,
const char * tooltip,
bool v )

Definition at line 66 of file imgui_extend.cpp.

Here is the caller graph for this function:

◆ toggleButton() [1/2]

void ImGui::toggleButton ( const char * label,
bool * v )

Definition at line 137 of file imgui_extend.cpp.

◆ toggleButton() [2/2]

void ImGui::toggleButton ( ImTextureID texId,
const char * label,
bool * v )

Definition at line 113 of file imgui_extend.cpp.

Here is the call graph for this function:

◆ ToHeatColor()

ImU32 ImGui::ToHeatColor ( const float v,
const float v_min,
const float v_max )

Definition at line 305 of file imgui_extend.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ToImU()

template<typename T>
std::shared_ptr< ImU32[]> ImGui::ToImU ( T v,
int size )

Definition at line 230 of file imgui_extend.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ToImU< const dyno::Vec3f * >()

template<>
std::shared_ptr< ImU32[]> ImGui::ToImU< const dyno::Vec3f * > ( const dyno::Vec3f * v,
int size )
Here is the call graph for this function:

◆ ToImU< dyno::Vec3f * >()

template<>
std::shared_ptr< ImU32[]> ImGui::ToImU< dyno::Vec3f * > ( dyno::Vec3f * v,
int size )

◆ ToJetColor()

ImU32 ImGui::ToJetColor ( const float v,
const float v_min,
const float v_max )

Definition at line 313 of file imgui_extend.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ VecToImU()

ImU32 ImGui::VecToImU ( const dyno::Vec3f * v)

Definition at line 238 of file imgui_extend.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ ExColorsVal

IMGUI_API ImVec4 ImGui::ExColorsVal

Definition at line 11 of file imgui_extend.cpp.