1 #ifndef LVR2_ASCII_RENDERER_HPP 2 #define LVR2_ASCII_RENDERER_HPP 7 #include <ncursesw/ncurses.h> 8 #include <unordered_map> 14 #include <embree3/rtcore.h> 26 const unsigned int& num_grays = 200
30 void set(
const unsigned int& i,
const unsigned int& j);
31 void clear(
const unsigned int& i,
const unsigned int& j);
109 #endif // LVR2_ASCII_RENDERER_HPP
void consoleReleaseMessages()
std::shared_ptr< MeshBuffer > MeshBufferPtr
RTCDevice initializeDevice()
AsciiRenderer(MeshBufferPtr mesh, const unsigned int &num_grays=200)
unsigned int m_ascii_width
void AsciiRendererErrorFunc(void *userPtr, enum RTCError error, const char *str)
void consolePrintMessage(std::string message)
RTCIntersectContext m_context
unsigned int m_ascii_height
void initEmbree(MeshBufferPtr mesh)
KF_EXPORTS void error(const char *error_string, const char *file, const int line, const char *func="")
Error handler. All GPU functions from this subsystem call the function to report an error...
RTCScene initializeScene(RTCDevice device, const MeshBufferPtr mesh)
std::shared_ptr< AsciiRenderer > AsciiRendererPtr
std::vector< std::string > m_messages