gtsam_points
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations | Functions
guik Namespace Reference

Classes

class  Application
 
class  ArcBallCameraControl
 
class  AsyncLightViewer
 
class  AsyncLightViewerContext
 Async interface to manipulate LightViewerContext. All OpenGL operations will be done in the viewer thread through invoke method. Note that async operations come at a cost of data copy. More...
 
class  BasicProjectionControl
 
class  CameraControl
 
struct  ColorMode
 Fragment color mode. RAINBOW : Color mapped by 3D coordinates of pixels (by default, Z-axis is used for color mapping) FLAT_COLOR : Single flat color VERTEX_COLOR : Color from vertex color attribute TEXTURE_COLOR : Color from texture map VERTEX_COLORMAP : Color from vertex colormap attribute. More...
 
class  ConcurrentQueue
 
struct  FlatBlack
 Flat black color. More...
 
struct  FlatBlue
 Flat blue color. More...
 
struct  FlatColor
 Flat coloring scheme that assigns a single color to the object. If the alpha value is less than 0.999f, the object is rendered as transparent. More...
 
struct  FlatDarkGray
 Flat dark gray color. More...
 
struct  FlatGray
 Flat light gray color. More...
 
struct  FlatGreen
 Flat green color. More...
 
struct  FlatOrange
 Flat orange color. More...
 
struct  FlatRed
 Flat red color. More...
 
struct  FlatWhite
 Flat white color. More...
 
class  FPSCameraControl
 
class  GLCanvas
 
struct  HistogramPlotData
 
class  HoveredCircle
 
class  HoveredCross
 
class  HoveredDrawing
 
class  HoveredDrawings
 
class  HoveredFilledRect
 
class  HoveredFilledTriangle
 
class  HoveredImage
 
class  HoveredRect
 
class  HoveredText
 
class  HoveredTriangle
 
class  LightViewer
 
class  LightViewerContext
 
struct  LinePlotData
 
struct  LinePlotStyle
 
class  ModelControl
 
class  OrbitCameraControlXY
 Orbit camera control (Up vector is locked to Z axis) Left button: rotate (pan/tilt) Middle or Right button: XY translate Middle & Right button: Z translate Scroll wheel: zoom in/out. More...
 
class  OrbitCameraControlXZ
 
struct  PlotData
 
struct  PlotSetting
 
struct  PlotStyle
 
struct  PointScaleMode
 Point size scale mode. SCREENSPACE : Screen space size METRIC : Metric size (in meters) More...
 
struct  PointShapeMode
 Point shape mode. RECTANGLE : Square/rectangle shape CIRCLE : Circle shape. More...
 
struct  ProgressInterface
 
class  ProgressModal
 
class  ProjectionControl
 
struct  Rainbow
 Rainbow coloring scheme that assigns colors to the height (z-value) of pixels of the object. The coloring band can be changed by setting z_range param. The direction for the color mapping can be changed by setting colormap_axis param. More...
 
class  RecentFiles
 
struct  ScatterPlotData
 
struct  ScatterPlotStyle
 
class  ScreenCapture
 Screen capture utility to asynchronously fetch rendering results and save them as images. More...
 
struct  ShaderParameter
 Shader parameter class that holds a single parameter for shader setting. More...
 
struct  ShaderSetting
 Shader setting class that holds rendering settings. More...
 
struct  StairsPlotData
 
class  StaticCameraControl
 
class  StaticProjectionControl
 
class  StdConcurrentQueue
 
class  TbbConcurrentQueue
 
struct  TextureColor
 Texture color scheme that assigns colors based on the binded texture. More...
 
class  TopDownCameraControl
 
struct  VertexColor
 Vertex color scheme that assigns colors based on vertex color attributes. More...
 
struct  VertexColorMap
 Vertex colormap scheme that assigns colors based on vertex colormap attributes. More...
 

Typedefs

using PlotDataConstPtr = std::shared_ptr< const PlotData >
 
using PlotStyleConstPtr = std::shared_ptr< const PlotStyle >
 

Enumerations

enum class  ShaderDataType {
  INT = 0 , INT2 , INT3 , INT4 ,
  FLOAT , FLOAT2 , FLOAT3 , FLOAT4 ,
  MATRIX4 , INT_ARRAY , FLOAT_ARRAY , INVALID
}
 Data type of shader parameter. More...
 

Functions

std::istream & operator>> (std::istream &ist, CameraControl &cam)
 
std::ostream & operator<< (std::ostream &ost, const CameraControl &cam)
 
std::istream & operator>> (std::istream &ist, ProjectionControl &cam)
 
std::ostream & operator<< (std::ostream &ost, const ProjectionControl &cam)
 
template<typename RingBufferSink >
std::function< void()> create_logger_ui (const std::shared_ptr< RingBufferSink > &sink, double bg_alpha=1.0)
 
std::string anon ()
 
AsyncLightViewerasync_viewer (const Eigen::Vector2i &size=Eigen::Vector2i(-1, -1), bool background=false, const std::string &title="screen")
 
void async_destroy ()
 
void async_wait ()
 
void async_wait_until_click ()
 
void async_toggle_wait ()
 
LightViewerviewer (const Eigen::Vector2i &size=Eigen::Vector2i(-1, -1), bool background=false, const std::string &title="screen")
 
LightViewerviewer (const std::string &title, const Eigen::Vector2i &size=Eigen::Vector2i(-1, -1), bool background=false)
 
void destroy ()
 
bool running ()
 
template<typename T >
ShaderDataType deduce_data_type ()
 Deduce shader data type from C++ type.
 

Typedef Documentation

◆ PlotDataConstPtr

using guik::PlotDataConstPtr = typedef std::shared_ptr<const PlotData>

◆ PlotStyleConstPtr

using guik::PlotStyleConstPtr = typedef std::shared_ptr<const PlotStyle>

Enumeration Type Documentation

◆ ShaderDataType

enum class guik::ShaderDataType
strong

Data type of shader parameter.

Enumerator
INT 
INT2 
INT3 
INT4 
FLOAT 
FLOAT2 
FLOAT3 
FLOAT4 
MATRIX4 
INT_ARRAY 
FLOAT_ARRAY 
INVALID 

Function Documentation

◆ anon()

std::string guik::anon ( )

◆ async_destroy()

void guik::async_destroy ( )
inline

◆ async_toggle_wait()

void guik::async_toggle_wait ( )
inline

◆ async_viewer()

AsyncLightViewer * guik::async_viewer ( const Eigen::Vector2i &  size = Eigen::Vector2i(-1, -1),
bool  background = false,
const std::string &  title = "screen" 
)
inline

◆ async_wait()

void guik::async_wait ( )
inline

◆ async_wait_until_click()

void guik::async_wait_until_click ( )
inline

◆ create_logger_ui()

template<typename RingBufferSink >
std::function< void()> guik::create_logger_ui ( const std::shared_ptr< RingBufferSink > &  sink,
double  bg_alpha = 1.0 
)

usage:

auto ringbuffer_sink = std::make_shared<spdlog::sinks::ringbuffer_sink_mt>(128); spdlog::default_logger()->sinks().emplace_back(ringbuffer_sink); viewer->register_ui_callback("logging", guik::create_logger_ui(ringbuffer_sink));

◆ deduce_data_type()

template<typename T >
ShaderDataType guik::deduce_data_type ( )

Deduce shader data type from C++ type.

◆ destroy()

void guik::destroy ( )
inline

◆ operator<<() [1/2]

std::ostream & guik::operator<< ( std::ostream &  ost,
const CameraControl cam 
)

◆ operator<<() [2/2]

std::ostream & guik::operator<< ( std::ostream &  ost,
const ProjectionControl cam 
)

◆ operator>>() [1/2]

std::istream & guik::operator>> ( std::istream &  ist,
CameraControl cam 
)

◆ operator>>() [2/2]

std::istream & guik::operator>> ( std::istream &  ist,
ProjectionControl cam 
)

◆ running()

bool guik::running ( )
inline

◆ viewer() [1/2]

LightViewer * guik::viewer ( const Eigen::Vector2i &  size = Eigen::Vector2i(-1, -1),
bool  background = false,
const std::string &  title = "screen" 
)
inline

◆ viewer() [2/2]

LightViewer * guik::viewer ( const std::string &  title,
const Eigen::Vector2i &  size = Eigen::Vector2i(-1, -1),
bool  background = false 
)
inline