UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
ufo::RenderablePath Class Reference
Inheritance diagram for ufo::RenderablePath:
ufo::Renderable

Public Member Functions

 RenderablePath (ufo::PlanPath< 3, float > const &plan, ufo::Color color, float radius, int segments, bool use_arrow=true, float arrow_head_height=0.5f)
 
RenderablePathclone () const override
 
void init (WGPUDevice device, WGPUTextureFormat texture_format) override
 
void onGui () override
 
void release () override
 
void update (WGPUDevice device, WGPUCommandEncoder encoder, WGPUTextureView render_texture, WGPUTextureView depth_texture, Camera const &camera) override
 
- Public Member Functions inherited from ufo::Renderable
virtual void update (WGPUDevice device, WGPUCommandEncoder encoder, WGPURenderPassEncoder render_pass, Camera const &camera)=0
 

Detailed Description

Definition at line 17 of file path.hpp.

Constructor & Destructor Documentation

◆ RenderablePath()

ufo::RenderablePath::RenderablePath ( ufo::PlanPath< 3, float > const &  plan,
ufo::Color  color,
float  radius,
int  segments,
bool  use_arrow = true,
float  arrow_head_height = 0.5f 
)
inline

Definition at line 20 of file path.hpp.

◆ ~RenderablePath()

ufo::RenderablePath::~RenderablePath ( )
inlineoverride

Definition at line 30 of file path.hpp.

Member Function Documentation

◆ clone()

RenderablePath * ufo::RenderablePath::clone ( ) const
inlineoverridevirtual

Implements ufo::Renderable.

Definition at line 60 of file path.hpp.

◆ init()

void ufo::RenderablePath::init ( WGPUDevice  device,
WGPUTextureFormat  texture_format 
)
inlineoverridevirtual

Implements ufo::Renderable.

Definition at line 32 of file path.hpp.

◆ onGui()

void ufo::RenderablePath::onGui ( )
inlineoverridevirtual

Implements ufo::Renderable.

Definition at line 55 of file path.hpp.

◆ release()

void ufo::RenderablePath::release ( )
inlineoverridevirtual

Implements ufo::Renderable.

Definition at line 43 of file path.hpp.

◆ update()

void ufo::RenderablePath::update ( WGPUDevice  device,
WGPUCommandEncoder  encoder,
WGPUTextureView  render_texture,
WGPUTextureView  depth_texture,
Camera const &  camera 
)
inlineoverride

Definition at line 48 of file path.hpp.


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