RigsofRods
Soft-body Physics Simulation
Functions | Variables
GUI_FlexbodyDebug.cpp File Reference
#include "GUI_FlexbodyDebug.h"
#include "Actor.h"
#include "Application.h"
#include "SimData.h"
#include "Collisions.h"
#include "FlexBody.h"
#include "GameContext.h"
#include "GUIManager.h"
#include "GUIUtils.h"
#include "Language.h"
#include "Terrain.h"
#include "Utils.h"
+ Include dependency graph for GUI_FlexbodyDebug.cpp:

Go to the source code of this file.

Functions

const ImVec4 FORSETNODE_COLOR_V4 (1.f, 0.87f, 0.3f, 1.f)
 
const float FORSETNODE_RADIUS (2.f)
 
const ImU32 BASENODE_COLOR (0xff44a5ff)
 
const float BASENODE_RADIUS (3.f)
 
const float BEAM_THICKNESS (1.2f)
 
const ImU32 NODE_TEXT_COLOR (0xffcccccf)
 
const ImVec4 VERTEX_COLOR_V4 (0.1f, 1.f, 1.f, 1.f)
 
const float VERTEX_RADIUS (1.f)
 
const float LOCATOR_BEAM_THICKNESS (1.0f)
 
const ImVec4 LOCATOR_BEAM_COLOR_V4 (0.05f, 1.f, 0.65f, 1.f)
 
const ImVec4 AXIS_X_BEAM_COLOR_V4 (1.f, 0.f, 0.f, 1.f)
 
const ImVec4 AXIS_Y_BEAM_COLOR_V4 (0.15f, 0.15f, 1.f, 1.f)
 
const float MEMGRAPH_NODE_RADIUS (1.f)
 
const ImVec4 MEMGRAPH_NODEREF_COLOR_V4 (1.f, 0.89f, 0.22f, 1.f)
 
const ImVec4 MEMGRAPH_NODEX_COLOR_V4 (1.f, 0.21f, 0.21f, 1.f)
 
const ImVec4 MEMGRAPH_NODEY_COLOR_V4 (0.27f, 0.76f, 1.f, 1.f)
 

Variables

const ImU32 FORSETNODE_COLOR = ImColor(FORSETNODE_COLOR_V4)
 
const float BLUE_BEAM_THICKNESS = BEAM_THICKNESS + 0.8f
 
const ImU32 VERTEX_COLOR = ImColor(VERTEX_COLOR_V4)
 
const ImU32 VERTEX_TEXT_COLOR = ImColor(171, 194, 186)
 
const ImU32 LOCATOR_BEAM_COLOR = ImColor(LOCATOR_BEAM_COLOR_V4)
 
const ImU32 AXIS_X_BEAM_COLOR = ImColor(AXIS_X_BEAM_COLOR_V4)
 
const ImU32 AXIS_Y_BEAM_COLOR = ImColor(AXIS_Y_BEAM_COLOR_V4)
 
const float VERT_HOVER_MAX_DISTANCE = 25.f
 

Function Documentation

◆ AXIS_X_BEAM_COLOR_V4()

const ImVec4 AXIS_X_BEAM_COLOR_V4 ( 1.  f,
0.  f,
0.  f,
1.  f 
)

◆ AXIS_Y_BEAM_COLOR_V4()

const ImVec4 AXIS_Y_BEAM_COLOR_V4 ( 0.  15f,
0.  15f,
1.  f,
1.  f 
)

◆ BASENODE_COLOR()

const ImU32 BASENODE_COLOR ( 0xff44a5ff  )
+ Here is the caller graph for this function:

◆ BASENODE_RADIUS()

const float BASENODE_RADIUS ( 3.  f)
+ Here is the caller graph for this function:

◆ BEAM_THICKNESS()

const float BEAM_THICKNESS ( 1.  2f)
+ Here is the caller graph for this function:

◆ FORSETNODE_COLOR_V4()

const ImVec4 FORSETNODE_COLOR_V4 ( 1.  f,
0.  87f,
0.  3f,
1.  f 
)

◆ FORSETNODE_RADIUS()

const float FORSETNODE_RADIUS ( 2.  f)
+ Here is the caller graph for this function:

◆ LOCATOR_BEAM_COLOR_V4()

const ImVec4 LOCATOR_BEAM_COLOR_V4 ( 0.  05f,
1.  f,
0.  65f,
1.  f 
)

◆ LOCATOR_BEAM_THICKNESS()

const float LOCATOR_BEAM_THICKNESS ( 1.  0f)
+ Here is the caller graph for this function:

◆ MEMGRAPH_NODE_RADIUS()

const float MEMGRAPH_NODE_RADIUS ( 1.  f)
+ Here is the caller graph for this function:

◆ MEMGRAPH_NODEREF_COLOR_V4()

const ImVec4 MEMGRAPH_NODEREF_COLOR_V4 ( 1.  f,
0.  89f,
0.  22f,
1.  f 
)
+ Here is the caller graph for this function:

◆ MEMGRAPH_NODEX_COLOR_V4()

const ImVec4 MEMGRAPH_NODEX_COLOR_V4 ( 1.  f,
0.  21f,
0.  21f,
1.  f 
)
+ Here is the caller graph for this function:

◆ MEMGRAPH_NODEY_COLOR_V4()

const ImVec4 MEMGRAPH_NODEY_COLOR_V4 ( 0.  27f,
0.  76f,
1.  f,
1.  f 
)
+ Here is the caller graph for this function:

◆ NODE_TEXT_COLOR()

const ImU32 NODE_TEXT_COLOR ( 0xffcccccf  )
+ Here is the caller graph for this function:

◆ VERTEX_COLOR_V4()

const ImVec4 VERTEX_COLOR_V4 ( 0.  1f,
1.  f,
1.  f,
1.  f 
)

◆ VERTEX_RADIUS()

const float VERTEX_RADIUS ( 1.  f)
+ Here is the caller graph for this function:

Variable Documentation

◆ AXIS_X_BEAM_COLOR

const ImU32 AXIS_X_BEAM_COLOR = ImColor(AXIS_X_BEAM_COLOR_V4)

Definition at line 272 of file GUI_FlexbodyDebug.cpp.

◆ AXIS_Y_BEAM_COLOR

const ImU32 AXIS_Y_BEAM_COLOR = ImColor(AXIS_Y_BEAM_COLOR_V4)

Definition at line 273 of file GUI_FlexbodyDebug.cpp.

◆ BLUE_BEAM_THICKNESS

const float BLUE_BEAM_THICKNESS = BEAM_THICKNESS + 0.8f

Definition at line 261 of file GUI_FlexbodyDebug.cpp.

◆ FORSETNODE_COLOR

const ImU32 FORSETNODE_COLOR = ImColor(FORSETNODE_COLOR_V4)

Definition at line 256 of file GUI_FlexbodyDebug.cpp.

◆ LOCATOR_BEAM_COLOR

const ImU32 LOCATOR_BEAM_COLOR = ImColor(LOCATOR_BEAM_COLOR_V4)

Definition at line 271 of file GUI_FlexbodyDebug.cpp.

◆ VERT_HOVER_MAX_DISTANCE

const float VERT_HOVER_MAX_DISTANCE = 25.f

Definition at line 274 of file GUI_FlexbodyDebug.cpp.

◆ VERTEX_COLOR

const ImU32 VERTEX_COLOR = ImColor(VERTEX_COLOR_V4)

Definition at line 264 of file GUI_FlexbodyDebug.cpp.

◆ VERTEX_TEXT_COLOR

const ImU32 VERTEX_TEXT_COLOR = ImColor(171, 194, 186)

Definition at line 265 of file GUI_FlexbodyDebug.cpp.