48 m_boardAdapter( aBoardAdapter ),
51 wxLogTrace(
m_logTrace, wxT(
"RENDER_3D_BASE::RENDER_3D_BASE" ) );
72 std::unique_ptr<BUSY_INDICATOR> busy;
Helper class to handle information needed to display 3D board.
std::function< std::unique_ptr< BUSY_INDICATOR >()> FACTORY
A factory function that returns a new busy indicator.
A class used to derive camera objects from.
Implement a canvas based on a wxGLCanvas.
BUSY_INDICATOR::FACTORY m_busyIndicatorFactory
< Factory that returns a suitable busy indicator for the context.
std::unique_ptr< BUSY_INDICATOR > CreateBusyIndicator() const
Return a created busy indicator, if a factory has been set, else a null pointer.
bool m_reloadRequested
The window size that this camera is working.
virtual ~RENDER_3D_BASE()=0
bool m_is_opengl_initialized
EDA_3D_CANVAS * m_canvas
Settings reference in use for this render.
RENDER_3D_BASE(EDA_3D_CANVAS *aCanvas, BOARD_ADAPTER &aBoardAdapter, CAMERA &aCamera)
void SetBusyIndicatorFactory(BUSY_INDICATOR::FACTORY aNewFactory)
Set a new busy indicator factory.
static const wxChar * m_logTrace
Trace mask used to enable or disable the trace output of this class.