riCOM_cpp
This repository contains the C++ implementation of the riCOM (Real Time Centre Of Mass) algorithm for 4D Scanning electron microscopy.
Classes | Enumerations | Functions
ImGuiImageWindow.h File Reference
#include <vector>
#include <string>
#include <stdio.h>
#include <algorithm>
#include <SDL.h>
#include <SDL_opengl.h>
#include "tinycolormap.hpp"
#include "fft2d.hpp"
#include "imgui.h"
#include "imgui_impl_sdl.h"
#include "imgui_impl_opengl3.h"
#include "imgui_stdlib.h"
#include "imgui_internal.h"
#include "imfilebrowser.h"
#include "GuiUtils.h"
Include dependency graph for ImGuiImageWindow.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ImGuiImageWindow< T >
 

Enumerations

enum class  GIM_Flags : unsigned char {
  None = 0 , SaveImButton = 1 << 1 , SaveDataButton = 1 << 2 , ColormapSelector = 1 << 3 ,
  FftButton = 1 << 4 , PowerSlider = 1 << 5
}
 

Functions

GIM_Flags operator& (GIM_Flags lhs, GIM_Flags rhs)
 
GIM_Flags operator| (GIM_Flags lhs, GIM_Flags rhs)
 

Enumeration Type Documentation

◆ GIM_Flags

enum GIM_Flags : unsigned char
strong
Enumerator
None 
SaveImButton 
SaveDataButton 
ColormapSelector 
FftButton 
PowerSlider 

Definition at line 33 of file ImGuiImageWindow.h.

34 {
35  None = 0,
36  SaveImButton = 1 << 1,
37  SaveDataButton = 1 << 2,
38  ColormapSelector = 1 << 3,
39  FftButton = 1 << 4,
40  PowerSlider = 1 << 5,
41 };
@ ColormapSelector

Function Documentation

◆ operator&()

GIM_Flags operator& ( GIM_Flags  lhs,
GIM_Flags  rhs 
)

Definition at line 49 of file ImGuiImageWindow.cpp.

50 {
51  return static_cast<GIM_Flags>(
52  static_cast<std::underlying_type_t<GIM_Flags>>(lhs) &
53  static_cast<std::underlying_type_t<GIM_Flags>>(rhs));
54 }
GIM_Flags

◆ operator|()

GIM_Flags operator| ( GIM_Flags  lhs,
GIM_Flags  rhs 
)

Definition at line 42 of file ImGuiImageWindow.cpp.

43 {
44  return static_cast<GIM_Flags>(
45  static_cast<std::underlying_type_t<GIM_Flags>>(lhs) |
46  static_cast<std::underlying_type_t<GIM_Flags>>(rhs));
47 }