UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
ufo::Viz Class Reference

Public Member Functions

void addRenderable (std::shared_ptr< Renderable > const &renderable)
 
void clearRenderables ()
 
void close ()
 
WGPUDevice device () const
 
void eraseRenderable (std::shared_ptr< Renderable > const &renderable)
 
void loadConfig (std::filesystem::path const &config)
 
std::size_t numRenderables () const
 
bool open (int width=1280, int height=800, bool resizable=true, std::string const &window_name="UFOViz", WGPUPowerPreference power_preference=WGPUPowerPreference_Undefined, WGPUBackendType backend_type=WGPUBackendType_Undefined)
 
void run ()
 
void runAsync ()
 
bool running () const
 
void saveConfig (std::filesystem::path const &file) const
 
void update ()
 

Detailed Description

Definition at line 67 of file viz.hpp.

Constructor & Destructor Documentation

◆ Viz()

ufo::Viz::Viz ( )

Definition at line 76 of file viz.cpp.

◆ ~Viz()

ufo::Viz::~Viz ( )

Definition at line 78 of file viz.cpp.

Member Function Documentation

◆ addRenderable()

void ufo::Viz::addRenderable ( std::shared_ptr< Renderable > const &  renderable)

Definition at line 378 of file viz.cpp.

◆ clearRenderables()

void ufo::Viz::clearRenderables ( )

Definition at line 399 of file viz.cpp.

◆ close()

void ufo::Viz::close ( )

Definition at line 143 of file viz.cpp.

◆ device()

WGPUDevice ufo::Viz::device ( ) const

Definition at line 376 of file viz.cpp.

◆ eraseRenderable()

void ufo::Viz::eraseRenderable ( std::shared_ptr< Renderable > const &  renderable)

Definition at line 391 of file viz.cpp.

◆ loadConfig()

void ufo::Viz::loadConfig ( std::filesystem::path const &  config)

Definition at line 406 of file viz.cpp.

◆ open()

bool ufo::Viz::open ( int  width = 1280,
int  height = 800,
bool  resizable = true,
std::string const &  window_name = "UFOViz",
WGPUPowerPreference  power_preference = WGPUPowerPreference_Undefined,
WGPUBackendType  backend_type = WGPUBackendType_Undefined 
)

Definition at line 107 of file viz.cpp.

◆ run()

void ufo::Viz::run ( )

Definition at line 85 of file viz.cpp.

◆ runAsync()

void ufo::Viz::runAsync ( )

Definition at line 105 of file viz.cpp.

◆ running()

bool ufo::Viz::running ( ) const

Definition at line 80 of file viz.cpp.

◆ saveConfig()

void ufo::Viz::saveConfig ( std::filesystem::path const &  file) const

Definition at line 411 of file viz.cpp.

◆ update()

void ufo::Viz::update ( )

Definition at line 239 of file viz.cpp.


The documentation for this class was generated from the following files: