PeriDyno 1.0.0
Loading...
Searching...
No Matches
imGuIZMOquat.cpp File Reference
#include "imGuIZMOquat.h"
Include dependency graph for imGuIZMOquat.cpp:

Go to the source code of this file.

Namespaces

namespace  ImGui
 

Macros

#define CENTER_HELPER_X   -.85f
 
#define CENTER_HELPER_Y   -.85f
 
#define V(a, b, c)
 
#define N(x, y, z)
 
#define V(x, y, z)
 
#define T(t)
 
#define V(i, x, y, z)
 
#define N(i, x, y, z)
 
#define V(i, x, y, z)
 
#define N(i, x, y, z)
 

Typedefs

typedef vec3 &(* ptrFunc) (vec3 &)
 

Functions

bool ImGui::gizmo3D (const char *label, quat &q, float size, const int mode)
 
bool ImGui::gizmo3D (const char *label, vec4 &axis_angle, float size, const int mode)
 
bool ImGui::gizmo3D (const char *label, vec3 &dir, float size, const int mode)
 
bool ImGui::gizmo3D (const char *label, quat &axes, quat &spot, float size, const int mode)
 
bool ImGui::gizmo3D (const char *label, quat &axes, vec3 &spotDir, float size, const int mode)
 
bool ImGui::gizmo3D (const char *label, quat &axes, vec4 &axesAngle, float size, const int mode)
 
bool ImGui::gizmo3D (const char *label, vec3 &vPanDolly, quat &q, float size, const int mode)
 
bool ImGui::gizmo3D (const char *label, vec3 &vPanDolly, vec4 &axis_angle, float size, const int mode)
 
bool ImGui::gizmo3D (const char *label, vec3 &vPanDolly, vec3 &dir, float size, const int mode)
 
bool ImGui::gizmo3D (const char *label, vec3 &vPanDolly, quat &axes, quat &spot, float size, const int mode)
 
bool ImGui::gizmo3D (const char *label, vec3 &vPanDolly, quat &axes, vec3 &spotDir, float size, const int mode)
 
bool ImGui::gizmo3D (const char *label, vec3 &vPanDolly, quat &axes, vec4 &axesAngle, float size, const int mode)
 
static int clamp (int v, int mn, int mx)
 
ImU32 addLightEffect (ImU32 color, float light)
 
ImU32 addLightEffect (const vec4 &color, float light, float atten)
 
ImU32 addLightEffect (ImU32 color, float light, float atten)
 
vec3adjustPlane (vec3 &coord)
 
vec3adjustDir (vec3 &coord)
 
vec3adjustSpotCyl (vec3 &coord)
 
vec3adjustSpotCone (vec3 &coord)
 
vec3 fastRotate (int axis, vec3 &v)
 

Macro Definition Documentation

◆ CENTER_HELPER_X

#define CENTER_HELPER_X   -.85f

◆ CENTER_HELPER_Y

#define CENTER_HELPER_Y   -.85f

◆ N [1/3]

#define N ( i,
x,
y,
z )
Value:
arrowNorm[i].push_back(vec3(x, y, z))
vgm::Vec3 vec3
Definition vgMath.h:631

◆ N [2/3]

#define N ( i,
x,
y,
z )
Value:
arrowNorm[i].push_back(vec3(x, y, z))

◆ N [3/3]

#define N ( x,
y,
z )
Value:
norm.push_back(vec3(x, y, z))

◆ T

#define T ( t)
Value:
sphereTess.push_back(t)

◆ V [1/4]

#define V ( a,
b,
c )
Value:
vtx.push_back(vec3(a size.x, b size.y, c size.z))

◆ V [2/4]

#define V ( i,
x,
y,
z )
Value:
arrowVtx [i].push_back(vec3(x, y, z))

◆ V [3/4]

#define V ( i,
x,
y,
z )
Value:
arrowVtx [i].push_back(vec3(x, y, z))

◆ V [4/4]

#define V ( x,
y,
z )
Value:
sphereVtx.push_back(vec3(x, y, z))

Typedef Documentation

◆ ptrFunc

typedef vec3 &(* ptrFunc) (vec3 &)

Definition at line 374 of file imGuIZMOquat.cpp.

Function Documentation

◆ addLightEffect() [1/3]

ImU32 addLightEffect ( const vec4 & color,
float light,
float atten )
inline

Definition at line 356 of file imGuIZMOquat.cpp.

◆ addLightEffect() [2/3]

ImU32 addLightEffect ( ImU32 color,
float light )
inline

Definition at line 343 of file imGuIZMOquat.cpp.

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

◆ addLightEffect() [3/3]

ImU32 addLightEffect ( ImU32 color,
float light,
float atten )
inline

Definition at line 366 of file imGuIZMOquat.cpp.

Here is the call graph for this function:

◆ adjustDir()

vec3 & adjustDir ( vec3 & coord)
inline

Definition at line 385 of file imGuIZMOquat.cpp.

Here is the caller graph for this function:

◆ adjustPlane()

vec3 & adjustPlane ( vec3 & coord)
inline

Definition at line 377 of file imGuIZMOquat.cpp.

Here is the caller graph for this function:

◆ adjustSpotCone()

vec3 & adjustSpotCone ( vec3 & coord)
inline

Definition at line 399 of file imGuIZMOquat.cpp.

Here is the caller graph for this function:

◆ adjustSpotCyl()

vec3 & adjustSpotCyl ( vec3 & coord)
inline

Definition at line 392 of file imGuIZMOquat.cpp.

Here is the caller graph for this function:

◆ clamp()

static int clamp ( int v,
int mn,
int mx )
inlinestatic

Definition at line 334 of file imGuIZMOquat.cpp.

Here is the caller graph for this function:

◆ fastRotate()

vec3 fastRotate ( int axis,
vec3 & v )
inline

Definition at line 405 of file imGuIZMOquat.cpp.

Here is the caller graph for this function: