#include <imGuIZMOquat.h>
|
| enum | {
mode3Axes = 0x0001
, modeDirection = 0x0002
, modeDirPlane = 0x0004
, modeDual = 0x0008
,
modePanDolly = 0x0010
, modeMask = 0x00ff
, cubeAtOrigin = 0x0100
, sphereAtOrigin = 0x0200
,
noSolidAtOrigin = 0x0400
, modeFullAxes = 0x0800
, axesModeMask = 0xff00
} |
| |
| enum | { sphereTess16
, sphereTess8
, sphereTess4
, sphereTess2
} |
| |
| enum | { CONE_SURF
, CONE_CAP
, CYL_SURF
, CYL_CAP
} |
| |
| enum | { axisIsX
, axisIsY
, axisIsZ
} |
| |
| enum | solidSides { backSide
, frontSide
} |
| |
|
| static void | buildPlane (const float size, const float thickness=planeThickness) |
| |
| static void | buildCube (const float size) |
| |
| static void | buildPolygon (const vec3 &size, ImVector< vec3 > &vtx, ImVector< vec3 > &norm) |
| |
| static void | buildSphere (const float radius, const int tessFactor) |
| |
| static void | buildCone (const float x0, const float x1, const float radius, const int slices) |
| |
| static void | buildCylinder (const float x0, const float x1, const float radius, const int slices) |
| |
| static void | resizeAxesOf (const vec3 &newSize) |
| |
| static void | restoreAxesSize () |
| |
| static void | resizeSolidOf (float newSize) |
| |
| static void | restoreSolidSize () |
| |
| static void | setDirectionColor (ImU32 dColor, const ImU32 pColor) |
| |
| static void | setDirectionColor (const ImVec4 &dColor, const ImVec4 &pColor) |
| |
| static void | setDirectionColor (ImU32 color) |
| |
| static void | setDirectionColor (const ImVec4 &color) |
| |
| static void | restoreDirectionColor () |
| |
| static void | setSphereColors (const ImVec4 &a, const ImVec4 &b) |
| |
| static void | setSphereColors (ImU32 a, ImU32 b) |
| |
| static void | restoreSphereColors () |
| |
| static void | setGizmoFeelingRot (float f) |
| |
| static float | getGizmoFeelingRot () |
| |
| static void | setPanModifier (vgModifiers v) |
| |
| static void | setDollyModifier (vgModifiers v) |
| |
| static void | setDollyScale (float scale) |
| |
| static float | getDollyScale () |
| |
| static void | setPanScale (float scale) |
| |
| static float | getPanScale () |
| |
Definition at line 68 of file imGuIZMOquat.h.
◆ anonymous enum
| Enumerator |
|---|
| mode3Axes | |
| modeDirection | |
| modeDirPlane | |
| modeDual | |
| modePanDolly | |
| modeMask | |
| cubeAtOrigin | |
| sphereAtOrigin | |
| noSolidAtOrigin | |
| modeFullAxes | |
| axesModeMask | |
Definition at line 78 of file imGuIZMOquat.h.
◆ anonymous enum
| Enumerator |
|---|
| CONE_SURF | |
| CONE_CAP | |
| CYL_SURF | |
| CYL_CAP | |
Definition at line 95 of file imGuIZMOquat.h.
◆ anonymous enum
◆ anonymous enum
| Enumerator |
|---|
| sphereTess16 | |
| sphereTess8 | |
| sphereTess4 | |
| sphereTess2 | |
Definition at line 94 of file imGuIZMOquat.h.
◆ solidSides
◆ buildCone()
| void imguiGizmo::buildCone |
( |
const float | x0, |
|
|
const float | x1, |
|
|
const float | radius, |
|
|
const int | slices ) |
|
static |
◆ buildCube()
| static void imguiGizmo::buildCube |
( |
const float | size | ) |
|
|
inlinestatic |
◆ buildCylinder()
| void imguiGizmo::buildCylinder |
( |
const float | x0, |
|
|
const float | x1, |
|
|
const float | radius, |
|
|
const int | slices ) |
|
static |
◆ buildPlane()
| static void imguiGizmo::buildPlane |
( |
const float | size, |
|
|
const float | thickness = planeThickness ) |
|
inlinestatic |
◆ buildPolygon()
| void imguiGizmo::buildPolygon |
( |
const vec3 & | size, |
|
|
ImVector< vec3 > & | vtx, |
|
|
ImVector< vec3 > & | norm ) |
|
static |
◆ buildSphere()
| void imguiGizmo::buildSphere |
( |
const float | radius, |
|
|
const int | tessFactor ) |
|
static |
◆ drawFunc()
| bool imguiGizmo::drawFunc |
( |
const char * | label, |
|
|
float | size ) |
◆ getDollyScale()
| static float imguiGizmo::getDollyScale |
( |
| ) |
|
|
inlinestatic |
◆ getGizmoFeelingRot()
| static float imguiGizmo::getGizmoFeelingRot |
( |
| ) |
|
|
inlinestatic |
◆ getPanScale()
| static float imguiGizmo::getPanScale |
( |
| ) |
|
|
inlinestatic |
◆ getTransforms() [1/2]
| bool imguiGizmo::getTransforms |
( |
quat & | q, |
|
|
const char * | label, |
|
|
vec3 & | dir, |
|
|
float | size ) |
|
inline |
◆ getTransforms() [2/2]
| bool imguiGizmo::getTransforms |
( |
quat & | q, |
|
|
const char * | label, |
|
|
vec4 & | axis_angle, |
|
|
float | size ) |
|
inline |
◆ modeSettings()
| void imguiGizmo::modeSettings |
( |
int | mode | ) |
|
|
inline |
◆ resizeAxesOf()
| static void imguiGizmo::resizeAxesOf |
( |
const vec3 & | newSize | ) |
|
|
inlinestatic |
◆ resizeSolidOf()
| static void imguiGizmo::resizeSolidOf |
( |
float | newSize | ) |
|
|
inlinestatic |
◆ restoreAxesSize()
| static void imguiGizmo::restoreAxesSize |
( |
| ) |
|
|
inlinestatic |
◆ restoreDirectionColor()
| static void imguiGizmo::restoreDirectionColor |
( |
| ) |
|
|
inlinestatic |
◆ restoreSolidSize()
| static void imguiGizmo::restoreSolidSize |
( |
| ) |
|
|
inlinestatic |
◆ restoreSphereColors()
| static void imguiGizmo::restoreSphereColors |
( |
| ) |
|
|
inlinestatic |
◆ setDirectionColor() [1/4]
| static void imguiGizmo::setDirectionColor |
( |
const ImVec4 & | color | ) |
|
|
inlinestatic |
◆ setDirectionColor() [2/4]
| static void imguiGizmo::setDirectionColor |
( |
const ImVec4 & | dColor, |
|
|
const ImVec4 & | pColor ) |
|
inlinestatic |
◆ setDirectionColor() [3/4]
| static void imguiGizmo::setDirectionColor |
( |
ImU32 | color | ) |
|
|
inlinestatic |
◆ setDirectionColor() [4/4]
| static void imguiGizmo::setDirectionColor |
( |
ImU32 | dColor, |
|
|
const ImU32 | pColor ) |
|
inlinestatic |
◆ setDollyModifier()
| static void imguiGizmo::setDollyModifier |
( |
vgModifiers | v | ) |
|
|
inlinestatic |
◆ setDollyScale()
| static void imguiGizmo::setDollyScale |
( |
float | scale | ) |
|
|
inlinestatic |
◆ setDualMode()
| void imguiGizmo::setDualMode |
( |
const int | mode | ) |
|
|
inline |
◆ setGizmoFeelingRot()
| static void imguiGizmo::setGizmoFeelingRot |
( |
float | f | ) |
|
|
inlinestatic |
◆ setPanModifier()
| static void imguiGizmo::setPanModifier |
( |
vgModifiers | v | ) |
|
|
inlinestatic |
◆ setPanScale()
| static void imguiGizmo::setPanScale |
( |
float | scale | ) |
|
|
inlinestatic |
◆ setSphereColors() [1/2]
| static void imguiGizmo::setSphereColors |
( |
const ImVec4 & | a, |
|
|
const ImVec4 & | b ) |
|
inlinestatic |
◆ setSphereColors() [2/2]
| static void imguiGizmo::setSphereColors |
( |
ImU32 | a, |
|
|
ImU32 | b ) |
|
inlinestatic |
◆ arrowNorm
| ImVector< vec3 > imguiGizmo::arrowNorm |
|
static |
◆ arrowVtx
| ImVector< vec3 > imguiGizmo::arrowVtx |
|
static |
◆ axesOriginType
◆ axesResizeFactor
| vec3 imguiGizmo::axesResizeFactor |
|
static |
◆ buttonPanDolly
◆ coneLength
| float imguiGizmo::coneLength = 0.37f |
|
static |
◆ coneRadius
| float imguiGizmo::coneRadius = 0.07f |
|
static |
◆ coneSlices
| int imguiGizmo::coneSlices = 4 |
|
static |
◆ cubeNorm
| ImVector< vec3 > imguiGizmo::cubeNorm |
|
static |
◆ cubeSize
| float imguiGizmo::cubeSize = .05f |
|
static |
◆ cubeVtx
| ImVector< vec3 > imguiGizmo::cubeVtx |
|
static |
◆ cylRadius
| float imguiGizmo::cylRadius = 0.02f |
|
static |
◆ cylSlices
| int imguiGizmo::cylSlices = 7 |
|
static |
◆ directionColor
| ImVec4 imguiGizmo::directionColor |
|
static |
◆ dollyMod
◆ dollyScale
| float imguiGizmo::dollyScale = 1.f |
|
static |
◆ dragActivate
| bool imguiGizmo::dragActivate = false |
|
static |
◆ drawMode
◆ gizmoFeelingRot
| float imguiGizmo::gizmoFeelingRot = 1.f |
|
static |
◆ imguiGizmoDefaultSize
| const int imguiGizmo::imguiGizmoDefaultSize |
|
static |
◆ panMod
◆ panScale
| float imguiGizmo::panScale = 1.f |
|
static |
◆ planeColor
| ImVec4 imguiGizmo::planeColor |
|
static |
◆ planeNorm
| ImVector< vec3 > imguiGizmo::planeNorm |
|
static |
◆ planeSize
| float imguiGizmo::planeSize = .33f |
|
static |
◆ planeThickness
| float imguiGizmo::planeThickness = .015f |
|
static |
◆ planeVtx
| ImVector< vec3 > imguiGizmo::planeVtx |
|
static |
◆ posPanDolly
| vec3 imguiGizmo::posPanDolly = vec3(0.f) |
◆ qtV
◆ qtV2
◆ savedAxesResizeFactor
◆ savedDirectionColor
◆ savedPlaneColor
◆ savedSolidResizeFactor
◆ savedSphereColors
| ImU32 imguiGizmo::savedSphereColors = { 0xff401010, 0xffc0a0a0 } |
|
static |
◆ showFullAxes
| bool imguiGizmo::showFullAxes = false |
◆ solidAreBuilded
| bool imguiGizmo::solidAreBuilded = false |
|
static |
◆ solidResizeFactor
| float imguiGizmo::solidResizeFactor = 1.0f |
|
static |
◆ sphereColors
| ImU32 imguiGizmo::sphereColors = { 0xff401010, 0xffc0a0a0 } |
|
static |
◆ sphereRadius
| float imguiGizmo::sphereRadius = .27f |
|
static |
◆ sphereTess
| ImVector< int > imguiGizmo::sphereTess |
|
static |
◆ sphereTessFactor
◆ sphereVtx
| ImVector< vec3 > imguiGizmo::sphereVtx |
|
static |
The documentation for this struct was generated from the following files:
- D:/Peridyno/peridyno/src/Rendering/GUI/ImWidgets/imGuIZMO.quat/imGuIZMOquat.h
- D:/Peridyno/peridyno/src/Rendering/GUI/ImWidgets/imGuIZMO.quat/imGuIZMOquat.cpp