ImFusion SDK 4.3
DataLogger Class Reference

#include <ImFusion/Base/Utils/DataLogger.h>

Support for logging data. More...

Detailed Description

Support for logging data.

Static Public Member Functions

static void addImage (const MemImage *img, const std::string &name="")
 Add an image to the log, it will be copied here.
 
static void addImage (const GlImage *img, const std::string &name="")
 
static void addImage (const SharedImage *img, const std::string &name="")
 
static void addImage (const SharedImageSet *img, const std::string &name="")
 
static void addPlot (const std::vector< double > &data, const std::string &name="")
 Add a vector of data values for plotting, it will be copied here.
 
static void addMesh (const Mesh *mesh, const std::string &name="")
 Add a mesh to the log, it will be copied here.
 
static void addPointCloud (const PointCloud *pc, const std::string &name="")
 Add a point cloud to the log, it will be copied here.
 
static void addTree (const Tree *tree, const std::string &name="")
 Add a tree to the log, it will be copied here.
 
static void addAnnotation (std::unique_ptr< GlAnnotation > annotation, const std::string &name="")
 Add an annotation to the log.
 
static void addAsFile (const Data *img, const std::string &name="")
 Add data as a temporary file, which can be retrieved from a Suite instance on the same computer.
 
static void addAsFile (const MemImage *img, const std::string &name="")
 Add a MemImage as temporary file.
 
static void addAsFile (const GlImage *img, const std::string &name="")
 Add a GlImage as temporary file.
 
static void addAsFile (const SharedImage *img, const std::string &name="")
 Add a SharedImage as temporary file.
 

Member Function Documentation

◆ addAsFile()

static void addAsFile ( const Data * img,
const std::string & name = "" )
static

Add data as a temporary file, which can be retrieved from a Suite instance on the same computer.

This method can hence be called from any other executable or script.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close