3D Forest
Software for analysis of Lidar data from forest environment.
RenderThread Class Reference

#include <RenderThread.hpp>

Inherits ThreadLoop.

Public Member Functions

 RenderThread (Editor *editor)
 
void render (const std::vector< Camera > &cameraList)
 
virtual bool next ()
 
- Public Member Functions inherited from ThreadLoop
 ThreadLoop ()
 
virtual ~ThreadLoop ()
 
void setCallback (ThreadCallbackInterface *callback)
 
void create ()
 
void start ()
 
void cancel ()
 
void stop ()
 
void wait ()
 
bool running ()
 

Protected Attributes

Editoreditor_
 
std::vector< CameracameraList_
 
bool initialized_
 
- Protected Attributes inherited from ThreadLoop
std::shared_ptr< std::thread > thread_
 
ThreadCallbackInterfacecallback_
 
std::mutex mutex_
 
std::condition_variable condition_
 
State state_
 
bool finished_
 
bool waiting_
 
std::mutex mutexCaller_
 
std::condition_variable conditionCaller_
 
bool received_
 

Additional Inherited Members

- Protected Types inherited from ThreadLoop
enum  State { STATE_RUN , STATE_CANCEL , STATE_EXIT }
 
- Protected Member Functions inherited from ThreadLoop
void setState (State state)
 
void runLoop ()
 

Constructor & Destructor Documentation

◆ RenderThread()

RenderThread::RenderThread ( Editor * editor)

Member Function Documentation

◆ next()

bool RenderThread::next ( )
virtual

Implements ThreadLoop.

◆ render()

void RenderThread::render ( const std::vector< Camera > & cameraList)

Member Data Documentation

◆ cameraList_

std::vector<Camera> RenderThread::cameraList_
protected

Referenced by next(), and render().

◆ editor_

Editor* RenderThread::editor_
protected

Referenced by next().

◆ initialized_

bool RenderThread::initialized_
protected

Referenced by next(), and render().


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