JeVois
1.22
JeVois Smart Embedded Machine Vision Toolkit
|
|
#include <math.h>
#include <imgui.h>
#include <imgui_internal.h>
#include <algorithm>
#include <jevois/GPU/GUIhelper.H>
#include <jevois/GPU/GUIconsole.H>
#include <jevois/GPU/GPUimage.H>
#include <jevois/Core/Module.H>
#include <jevois/GPU/GUIeditor.H>
#include <jevois/GPU/GUIserial.H>
#include <jevois/Debug/SysInfo.H>
#include <jevois/Util/Utils.H>
#include <jevois/DNN/Utils.H>
#include <jevois/Debug/PythonException.H>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtx/euler_angles.hpp>
#include <fstream>
#include <set>
Go to the source code of this file.
Classes | |
struct | TinyImGUIdemo |
Macros | |
#define | IMGUI_DEFINE_MATH_OPERATORS |
#define | L(i, x, y, z) for(F i=x;i<y;i+=z) |
#define | Q(y) sin((y+t)*.03)*(1-sin(t*3)*cos(y/99+t))*9 |
#define | H(p, w) L(k,0,5,1)d->AddCircleFilled(p+V(1,-1)*w*k/8,w*(1-k/5),k<4?0xff000000+k*0x554400:-1); |
#define | J(b) L(i,0,h,1){TinyImGUIdemo&o=G[int(i)];if(b*o.z>0)H(o.p,(o.z*.3+4)*o.w)} |
#define | O(b) i=t+1.6+j/99;if(b*sin(i)>0)H(c+v*j+u*(cos(i)*40+Q(j)),30) |
Typedefs | |
using | V = ImVec2 |
using | F = float |
Functions | |
void | drawTinyImGUIdemo (ImDrawList *d, V a, V b, V, ImVec4, F t) |
Variables | |
int | h |
TinyImGUIdemo | G [999] |
#define H | ( | p, | |
w | |||
) | L(k,0,5,1)d->AddCircleFilled(p+V(1,-1)*w*k/8,w*(1-k/5),k<4?0xff000000+k*0x554400:-1); |
Definition at line 2523 of file GUIhelper.C.
#define IMGUI_DEFINE_MATH_OPERATORS |
Definition at line 22 of file GUIhelper.C.
Definition at line 2524 of file GUIhelper.C.
#define L | ( | i, | |
x, | |||
y, | |||
z | |||
) | for(F i=x;i<y;i+=z) |
Definition at line 2521 of file GUIhelper.C.
Definition at line 2525 of file GUIhelper.C.
#define Q | ( | y | ) | sin((y+t)*.03)*(1-sin(t*3)*cos(y/99+t))*9 |
Definition at line 2522 of file GUIhelper.C.
using F = float |
Definition at line 2520 of file GUIhelper.C.
using V = ImVec2 |
Definition at line 2520 of file GUIhelper.C.
Definition at line 2526 of file GUIhelper.C.
References G, h, J, L, O, and Q.
Referenced by jevois::GUIhelper::drawTweaks().
TinyImGUIdemo G[999] |
Definition at line 2520 of file GUIhelper.C.
Referenced by convertYUYVtoRGB24(), convertYUYVtoRGBYL(), convertYUYVtoRGBYLinternal(), and drawTinyImGUIdemo().
int h |
Definition at line 2520 of file GUIhelper.C.
Referenced by convertYUYVtoRGB24(), convertYUYVtoRGBYL(), jevois::GPUimage::draw(), jevois::rawimage::drawFilledRect(), jevois::GUIhelper::drawImage(), jevois::GUIhelperPython::drawImage(), jevois::GUIhelper::drawImage(), jevois::GUIhelperPython::drawImage1(), jevois::GUIhelperPython::drawImage2(), jevois::GUIhelperPython::drawImage3(), jevois::GUIhelper::drawInputFrame(), jevois::GUIhelperPython::drawInputFrame(), jevois::GUIhelper::drawInputFrame2(), jevois::GUIhelperPython::drawInputFrame2(), jevois::rawimage::drawLine(), jevois::rawimage::drawRect(), jevois::rawimage::drawRect(), drawTinyImGUIdemo(), jevois::VideoDisplayBackend::getWindowSize(), jevois::GUIhelper::GUIhelper(), jevois::coords::imgToStdSize(), jevois::VideoDisplayBackendMALI::init(), jevois::ImGuiBackendMALI::init(), jevois::Engine::loadCameraCalibration(), jevois::VideoDisplayBackend::newFrame(), jevois::dnn::PreProcessorPythonImpl::process(), jevois::RawImage::require(), jevois::GUIhelper::resetstate(), jevois::rawimage::roipaste(), jevois::CameraCalibration::save(), jevois::VideoDisplayGL::send(), jevois::VideoDisplayGUI::send(), jevois::StdModule::sendSerialImg2D(), jevois::StdModule::sendSerialObjDetImg2D(), jevois::StdModule::sendSerialStd2D(), jevois::StdModule::sendSerialStd3D(), jevois::GUIhelperPython::startFrame(), jevois::GUIhelper::startFrame(), jevois::coords::stdToImgSize(), and jevois::rawimage::unpackCvRGBAtoGrayRawImage().