![]() |
KiCad PCB EDA Suite
|
Implement a canvas based on a wxGLCanvas. More...
#include <eda_3d_canvas.h>
Public Member Functions | |
EDA_3D_CANVAS (wxWindow *aParent, const int *aAttribList, BOARD *aBoard, BOARD_ADAPTER &aSettings, CAMERA &aCamera, S3D_CACHE *a3DCachePointer) | |
Create a new 3D Canvas with an attribute list. More... | |
~EDA_3D_CANVAS () | |
void | SetEventDispatcher (TOOL_DISPATCHER *aEventDispatcher) |
Set a dispatcher that processes events and forwards them to tools. More... | |
void | SetStatusBar (wxStatusBar *aStatusBar) |
void | SetInfoBar (WX_INFOBAR *aInfoBar) |
void | ReloadRequest (BOARD *aBoard=nullptr, S3D_CACHE *aCachePointer=nullptr) |
bool | IsReloadRequestPending () const |
Query if there is a pending reload request. More... | |
void | RenderRaytracingRequest () |
Request to render the current view in Raytracing mode. More... | |
void | GetScreenshot (wxImage &aDstImage) |
Request a screenshot and output it to the aDstImage. More... | |
bool | SetView3D (int aKeycode) |
Helper function to call view commands. More... | |
void | AnimationEnabledSet (bool aAnimationEnabled) |
Enable or disable camera animation when switching to a pre-defined view. More... | |
bool | AnimationEnabledGet () const |
Return whether camera animation is enabled when switching to a pre-defined view. More... | |
void | MovingSpeedMultiplierSet (int aMovingSpeedMultiplier) |
Set the camera animation moving speed multiplier option. More... | |
int | MovingSpeedMultiplierGet () const |
Return the current camera animation moving speed multiplier option. More... | |
void | RenderEngineChanged () |
Notify that the render engine was changed. More... | |
void | DisplayStatus () |
Update the status bar with the position information. More... | |
void | Request_refresh (bool aRedrawImmediately=true) |
Schedule a refresh update of the canvas. More... | |
void | OnEvent (wxEvent &aEvent) |
Used to forward events to the canvas from popups, etc. More... | |
virtual wxSize | GetNativePixelSize () const |
void | SetScaleFactor (double aFactor) |
Set the canvas scale factor, probably for a hi-DPI display. More... | |
double | GetScaleFactor () const |
Get the current scale factor. More... | |
Private Member Functions | |
void | OnPaint (wxPaintEvent &aEvent) |
Called by a wxPaintEvent event. More... | |
void | DoRePaint () |
The actual function to repaint the canvas. More... | |
void | OnEraseBackground (wxEraseEvent &event) |
void | OnRefreshRequest (wxEvent &aEvent) |
void | OnMouseWheel (wxMouseEvent &event) |
void | OnMouseMove (wxMouseEvent &event) |
void | OnLeftDown (wxMouseEvent &event) |
void | OnLeftUp (wxMouseEvent &event) |
void | OnMiddleUp (wxMouseEvent &event) |
void | OnMiddleDown (wxMouseEvent &event) |
void | OnTimerTimeout_Editing (wxTimerEvent &event) |
void | OnCloseWindow (wxCloseEvent &event) |
void | OnResize (wxSizeEvent &event) |
void | OnTimerTimeout_Redraw (wxTimerEvent &event) |
void | stop_editingTimeOut_Timer () |
Stop the editing time so it will not timeout. More... | |
void | restart_editingTimeOut_Timer () |
Reset the editing timer. More... | |
void | request_start_moving_camera (float aMovingSpeed=2.0f, bool aRenderPivot=true) |
Start a camera movement. More... | |
void | move_pivot_based_on_cur_mouse_position () |
This function hits a ray to the board and start a movement. More... | |
void | render_pivot (float t, float aScale) |
Render the pivot cursor. More... | |
bool | initializeOpenGL () |
void | releaseOpenGL () |
Free created targets and openGL context. More... | |
RAY | getRayAtCurrrentMousePosition () |
Private Attributes | |
TOOL_DISPATCHER * | m_eventDispatcher |
wxStatusBar * | m_parentStatusBar |
WX_INFOBAR * | m_parentInfoBar |
wxGLContext * | m_glRC |
bool | m_is_opengl_initialized |
bool | m_is_opengl_version_supported |
wxTimer | m_editing_timeout_timer |
wxTimer | m_redraw_trigger_timer |
std::atomic_flag | m_is_currently_painting |
bool | m_mouse_is_moving |
bool | m_mouse_was_moved |
bool | m_camera_is_moving |
bool | m_render_pivot |
float | m_camera_moving_speed |
unsigned | m_strtime_camera_movement |
bool | m_animation_enabled |
int | m_moving_speed_multiplier |
BOARD_ADAPTER & | m_boardAdapter |
CAMERA & | m_camera |
RENDER_3D_BASE * | m_3d_render |
RENDER_3D_RAYTRACE * | m_3d_render_raytracing |
RENDER_3D_LEGACY * | m_3d_render_ogl_legacy |
bool | m_opengl_supports_raytracing |
bool | m_render_raytracing_was_requested |
CONTAINER_3D | m_3DShapes_container |
ACCELERATOR_3D * | m_accelerator3DShapes |
BOARD_ITEM * | m_currentIntersectedBoardItem |
Static Private Attributes | |
static const float | m_delta_move_step_factor = 0.7f |
static const wxChar * | m_logTrace = wxT( "KI_TRACE_EDA_3D_CANVAS" ) |
Trace mask used to enable or disable the trace output of this class. More... | |
Implement a canvas based on a wxGLCanvas.
Definition at line 48 of file eda_3d_canvas.h.
EDA_3D_CANVAS::EDA_3D_CANVAS | ( | wxWindow * | aParent, |
const int * | aAttribList, | ||
BOARD * | aBoard, | ||
BOARD_ADAPTER & | aSettings, | ||
CAMERA & | aCamera, | ||
S3D_CACHE * | a3DCachePointer | ||
) |
Create a new 3D Canvas with an attribute list.
aParent | the parent creator of this canvas. |
aAttribList | a list of openGL options created by GetOpenGL_AttributesList. |
aBoard | The board. |
aSettings | the settings options to be used by this canvas. |
Definition at line 90 of file eda_3d_canvas.cpp.
References GetSettingsManager(), OnEvent(), OnTimerTimeout_Editing(), OnTimerTimeout_Redraw(), and Pgm().
EDA_3D_CANVAS::~EDA_3D_CANVAS | ( | ) |
Definition at line 171 of file eda_3d_canvas.cpp.
References m_accelerator3DShapes, m_logTrace, and releaseOpenGL().
|
inline |
Return whether camera animation is enabled when switching to a pre-defined view.
Definition at line 131 of file eda_3d_canvas.h.
References m_animation_enabled.
Referenced by EDA_3D_VIEWER::SaveSettings(), and DIALOG_3D_VIEW_OPTIONS::TransferDataToWindow().
|
inline |
Enable or disable camera animation when switching to a pre-defined view.
aAnimationEnabled | animation enabled state to set. |
Definition at line 124 of file eda_3d_canvas.h.
References m_animation_enabled.
Referenced by EDA_3D_VIEWER::LoadSettings(), and DIALOG_3D_VIEW_OPTIONS::TransferDataFromWindow().
void EDA_3D_CANVAS::DisplayStatus | ( | ) |
Update the status bar with the position information.
Definition at line 327 of file eda_3d_canvas.cpp.
References CAMERA::GetCameraPos(), m_camera, m_parentStatusBar, X_POS, and Y_POS.
Referenced by DoRePaint(), EDA_3D_CONTROLLER::doZoomInOut(), OnMouseMove(), OnMouseWheel(), request_start_moving_camera(), SetView3D(), and EDA_3D_CONTROLLER::ZoomFitScreen().
|
private |
The actual function to repaint the canvas.
It is usually called by OnPaint() but because it does not use a wxPaintDC it can be called outside a wxPaintEvent
Definition at line 349 of file eda_3d_canvas.cpp.
References _, ACTIVITY, GL_CONTEXT_MANAGER::CreateCtx(), DisplayStatus(), INFOBAR_REPORTER::Finalize(), Format(), GL_CONTEXT_MANAGER::Get(), HIDPI_GL_CANVAS::GetNativePixelSize(), BOARD_ADAPTER::GetRenderEngine(), GetRunningMicroSecs(), STATUSBAR_REPORTER::HasMessage(), initializeOpenGL(), CAMERA::Interpolate(), RENDER_3D_BASE::IsReloadRequestPending(), GL_CONTEXT_MANAGER::LockCtx(), m_3d_render, m_3d_render_ogl_legacy, m_3d_render_raytracing, m_boardAdapter, m_camera, m_camera_is_moving, m_camera_moving_speed, m_glRC, m_is_currently_painting, m_is_opengl_initialized, m_is_opengl_version_supported, m_logTrace, m_mouse_is_moving, m_mouse_was_moved, m_opengl_supports_raytracing, m_parentInfoBar, m_parentStatusBar, m_render_pivot, m_render_raytracing_was_requested, m_strtime_camera_movement, OPENGL_LEGACY, CAMERA::ParametersChanged(), RENDER_3D_BASE::Redraw(), RENDER_3D_RAYTRACE::Reload(), render_pivot(), STATUSBAR_REPORTER::Report(), INFOBAR_REPORTER::Report(), Request_refresh(), restart_editingTimeOut_Timer(), RPT_SEVERITY_ERROR, scale, RENDER_3D_BASE::SetCurWindowSize(), CAMERA::SetCurWindowSize(), BOARD_ADAPTER::SetRenderEngine(), GL_CONTEXT_MANAGER::UnlockCtx(), and CAMERA::ZoomGet().
Referenced by OnPaint(), and OnRefreshRequest().
|
virtualinherited |
Definition at line 46 of file hidpi_gl_canvas.cpp.
References HIDPI_GL_CANVAS::GetScaleFactor().
Referenced by DoRePaint(), OnMouseMove(), and KIGFX::OPENGL_GAL::OPENGL_GAL().
|
private |
Definition at line 1128 of file eda_3d_canvas.cpp.
References RAY::Init(), m_camera, and CAMERA::MakeRayAtCurrrentMousePosition().
Referenced by move_pivot_based_on_cur_mouse_position(), OnLeftDown(), and OnMouseMove().
|
inherited |
Get the current scale factor.
Definition at line 64 of file hidpi_gl_canvas.cpp.
References HIDPI_GL_CANVAS::m_scale_factor.
Referenced by KIGFX::OPENGL_GAL::beginDrawing(), KIGFX::OPENGL_GAL::DrawGrid(), HIDPI_GL_CANVAS::GetNativePixelSize(), KIGFX::OPENGL_GAL::getScreenPixelSize(), KIGFX::OPENGL_GAL::ResizeScreen(), KIGFX::PREVIEW::SetConstantGlyphHeight(), and KIGFX::OPENGL_GAL::updatedGalDisplayOptions().
void EDA_3D_CANVAS::GetScreenshot | ( | wxImage & | aDstImage | ) |
Request a screenshot and output it to the aDstImage.
aDstImage | - Screenshot destination image |
Definition at line 293 of file eda_3d_canvas.cpp.
References OglGetScreenshot().
Referenced by EDA_3D_VIEWER::takeScreenshot().
|
private |
Definition at line 218 of file eda_3d_canvas.cpp.
References FROM_UTF8(), ID_DISABLE_RAY_TRACING, m_is_opengl_initialized, m_is_opengl_version_supported, m_logTrace, m_opengl_supports_raytracing, and GL_UTILS::SetSwapInterval().
Referenced by DoRePaint().
|
inline |
Query if there is a pending reload request.
Definition at line 91 of file eda_3d_canvas.h.
References RENDER_3D_BASE::IsReloadRequestPending(), and m_3d_render.
Referenced by EDA_3D_VIEWER::OnActivate().
|
private |
This function hits a ray to the board and start a movement.
Definition at line 929 of file eda_3d_canvas.cpp.
References RAY::at(), BEZIER, BOARD_ADAPTER::GetBBox(), getRayAtCurrrentMousePosition(), BBOX_3D::Intersect(), m_boardAdapter, m_camera, request_start_moving_camera(), CAMERA::ResetXYpos_T1(), CAMERA::SetInterpolateMode(), CAMERA::SetLookAtPos_T1(), and CAMERA::SetT0_and_T1_current_T().
Referenced by OnMiddleUp(), and SetView3D().
|
inline |
Return the current camera animation moving speed multiplier option.
Definition at line 148 of file eda_3d_canvas.h.
References m_moving_speed_multiplier.
Referenced by EDA_3D_VIEWER::SaveSettings(), and DIALOG_3D_VIEW_OPTIONS::TransferDataToWindow().
|
inline |
Set the camera animation moving speed multiplier option.
aMovingSpeedMultiplier | one of the possible integer options: [1,2,3,4,5]. |
Definition at line 138 of file eda_3d_canvas.h.
References m_moving_speed_multiplier.
Referenced by EDA_3D_VIEWER::LoadSettings(), and DIALOG_3D_VIEW_OPTIONS::TransferDataFromWindow().
|
private |
Definition at line 204 of file eda_3d_canvas.cpp.
References releaseOpenGL().
|
private |
Definition at line 574 of file eda_3d_canvas.cpp.
References m_logTrace.
void EDA_3D_CANVAS::OnEvent | ( | wxEvent & | aEvent | ) |
Used to forward events to the canvas from popups, etc.
Definition at line 563 of file eda_3d_canvas.cpp.
References TOOL_DISPATCHER::DispatchWxEvent(), m_eventDispatcher, and Refresh().
Referenced by EDA_3D_CANVAS().
|
private |
Definition at line 790 of file eda_3d_canvas.cpp.
References getRayAtCurrrentMousePosition(), RENDER_3D_RAYTRACE::IntersectBoardItem(), m_3d_render_raytracing, and stop_editingTimeOut_Timer().
|
private |
Definition at line 806 of file eda_3d_canvas.cpp.
References m_camera_is_moving, m_mouse_is_moving, and restart_editingTimeOut_Timer().
|
private |
Definition at line 819 of file eda_3d_canvas.cpp.
References stop_editingTimeOut_Timer().
|
private |
Definition at line 826 of file eda_3d_canvas.cpp.
References m_camera_is_moving, m_mouse_is_moving, move_pivot_based_on_cur_mouse_position(), and restart_editingTimeOut_Timer().
|
private |
Definition at line 669 of file eda_3d_canvas.cpp.
References _, DisplayStatus(), CAMERA::Drag(), Format(), HIDPI_GL_CANVAS::GetNativePixelSize(), BOARD_CONNECTED_ITEM::GetNet(), NETINFO_ITEM::GetNetClassName(), NETINFO_ITEM::GetNetname(), getRayAtCurrrentMousePosition(), FOOTPRINT::GetReference(), BOARD_ADAPTER::GetRenderEngine(), HOVERED_ITEM, RENDER_3D_RAYTRACE::IntersectBoardItem(), ZONE::IsOnCopperLayer(), m_3d_render_ogl_legacy, m_3d_render_raytracing, m_boardAdapter, m_camera, m_camera_is_moving, m_currentIntersectedBoardItem, m_mouse_is_moving, m_mouse_was_moved, m_parentStatusBar, OPENGL_LEGACY, pad, CAMERA::Pan(), PCB_ARC_T, PCB_FOOTPRINT_T, PCB_PAD_T, PCB_TRACE_T, PCB_VIA_T, PCB_ZONE_T, STATUSBAR_REPORTER::Report(), Request_refresh(), CAMERA::SetCurMousePosition(), RENDER_3D_LEGACY::SetCurrentIntersectedBoardItem(), CAMERA::SetCurWindowSize(), and EDA_ITEM::Type().
|
private |
Definition at line 581 of file eda_3d_canvas.cpp.
References DisplayStatus(), FL_MOUSEWHEEL_PANNING, BOARD_ADAPTER::GetFlag(), m_boardAdapter, m_camera, m_camera_is_moving, m_delta_move_step_factor, m_logTrace, m_mouse_is_moving, m_mouse_was_moved, CAMERA::Pan(), Request_refresh(), restart_editingTimeOut_Timer(), CAMERA::SetCurMousePosition(), CAMERA::Zoom(), and CAMERA::ZoomGet().
|
private |
Called by a wxPaintEvent event.
Definition at line 342 of file eda_3d_canvas.cpp.
References DoRePaint().
|
private |
Definition at line 873 of file eda_3d_canvas.cpp.
References DoRePaint().
|
private |
Definition at line 212 of file eda_3d_canvas.cpp.
References Request_refresh().
|
private |
Definition at line 843 of file eda_3d_canvas.cpp.
References m_mouse_is_moving, m_mouse_was_moved, and Request_refresh().
Referenced by EDA_3D_CANVAS().
|
private |
Definition at line 867 of file eda_3d_canvas.cpp.
References Request_refresh().
Referenced by EDA_3D_CANVAS().
|
private |
Free created targets and openGL context.
Definition at line 182 of file eda_3d_canvas.cpp.
References GL_CONTEXT_MANAGER::DestroyCtx(), GL_CONTEXT_MANAGER::Get(), GL_CONTEXT_MANAGER::LockCtx(), m_3d_render, m_3d_render_ogl_legacy, m_3d_render_raytracing, m_glRC, and GL_CONTEXT_MANAGER::UnlockCtx().
Referenced by OnCloseWindow(), and ~EDA_3D_CANVAS().
Definition at line 299 of file eda_3d_canvas.cpp.
References GetSettingsManager(), m_3d_render, m_boardAdapter, Pgm(), RENDER_3D_BASE::ReloadRequest(), BOARD_ADAPTER::Set3dCacheManager(), BOARD_ADAPTER::SetBoard(), and BOARD_ADAPTER::SetColorSettings().
Referenced by EDA_3D_VIEWER::ReloadRequest(), PANEL_PREV_3D::UpdateDummyFootprint(), and PANEL_PREV_3D::View3DUpdate().
|
private |
Render the pivot cursor.
t | time between 0.0 and 1.0. |
aScale | scale to apply on the cursor. |
Definition at line 76 of file eda_3d_canvas_pivot.cpp.
References CAMERA::GetLookAtPos_T1(), CAMERA::GetProjectionMatrix(), CAMERA::GetViewMatrix(), m_camera, and pivot_render_triangles().
Referenced by DoRePaint().
void EDA_3D_CANVAS::RenderEngineChanged | ( | ) |
Notify that the render engine was changed.
Definition at line 1110 of file eda_3d_canvas.cpp.
References BOARD_ADAPTER::GetRenderEngine(), m_3d_render, m_3d_render_ogl_legacy, m_3d_render_raytracing, m_boardAdapter, m_mouse_was_moved, OPENGL_LEGACY, RAYTRACING, RENDER_3D_BASE::ReloadRequest(), and Request_refresh().
Referenced by EDA_3D_VIEWER::RenderEngineChanged().
void EDA_3D_CANVAS::RenderRaytracingRequest | ( | ) |
Request to render the current view in Raytracing mode.
Definition at line 314 of file eda_3d_canvas.cpp.
References m_3d_render, m_3d_render_raytracing, m_render_raytracing_was_requested, RENDER_3D_BASE::ReloadRequest(), and Request_refresh().
Referenced by EDA_3D_CONTROLLER::RotateView(), and EDA_3D_CONTROLLER::ToggleOrtho().
void EDA_3D_CANVAS::Request_refresh | ( | bool | aRedrawImmediately = true | ) |
Schedule a refresh update of the canvas.
aRedrawImmediately | true will request a redraw, false will schedule a redraw after a short timeout. |
Definition at line 879 of file eda_3d_canvas.cpp.
References ID_CUSTOM_EVENT_1, and m_redraw_trigger_timer.
Referenced by DoRePaint(), EDA_3D_CONTROLLER::On3DGridSelection(), EDA_3D_VIEWER::OnActivate(), OnMouseMove(), OnMouseWheel(), OnResize(), OnTimerTimeout_Editing(), OnTimerTimeout_Redraw(), EDA_3D_VIEWER::Redraw(), EDA_3D_VIEWER::refreshRender(), RenderEngineChanged(), RenderRaytracingRequest(), request_start_moving_camera(), EDA_3D_CONTROLLER::RotateView(), EDA_3D_CONTROLLER::SetMaterial(), SetView3D(), EDA_3D_VIEWER::takeScreenshot(), EDA_3D_CONTROLLER::ToggleOrtho(), EDA_3D_CONTROLLER::ToggleVisibility(), PANEL_PREV_3D::UpdateDummyFootprint(), and EDA_3D_CONTROLLER::ZoomRedraw().
|
private |
Start a camera movement.
aMovingSpeed | the time speed. |
aRenderPivot | if it should display pivot cursor while move. |
Definition at line 898 of file eda_3d_canvas.cpp.
References DisplayStatus(), GetRunningMicroSecs(), CAMERA::Interpolate(), m_animation_enabled, m_camera, m_camera_is_moving, m_camera_moving_speed, m_moving_speed_multiplier, m_render_pivot, m_strtime_camera_movement, Request_refresh(), and stop_editingTimeOut_Timer().
Referenced by move_pivot_based_on_cur_mouse_position(), and SetView3D().
|
private |
Reset the editing timer.
Definition at line 860 of file eda_3d_canvas.cpp.
References RENDER_3D_BASE::GetWaitForEditingTimeOut(), m_3d_render, and m_editing_timeout_timer.
Referenced by DoRePaint(), OnLeftUp(), OnMiddleUp(), OnMouseWheel(), and SetView3D().
void EDA_3D_CANVAS::SetEventDispatcher | ( | TOOL_DISPATCHER * | aEventDispatcher | ) |
Set a dispatcher that processes events and forwards them to tools.
#DRAW_PANEL_GAL does not take over the ownership. Passing NULL disconnects all event handlers from the DRAW_PANEL_GAL and parent frame.
aEventDispatcher | is the object that will be used for dispatching events. |
Definition at line 557 of file eda_3d_canvas.cpp.
References m_eventDispatcher.
Referenced by PANEL_PREV_3D::PANEL_PREV_3D(), and EDA_3D_VIEWER::~EDA_3D_VIEWER().
|
inline |
Definition at line 79 of file eda_3d_canvas.h.
References m_parentInfoBar.
Referenced by PANEL_PREV_3D::PANEL_PREV_3D().
|
inherited |
Set the canvas scale factor, probably for a hi-DPI display.
Definition at line 58 of file hidpi_gl_canvas.cpp.
References HIDPI_GL_CANVAS::m_scale_factor.
Referenced by PANEL_PREV_3D::loadCommonSettings(), EDA_3D_VIEWER::loadCommonSettings(), and KIGFX::OPENGL_GAL::updatedGalDisplayOptions().
|
inline |
bool EDA_3D_CANVAS::SetView3D | ( | int | aKeycode | ) |
Helper function to call view commands.
aKeycode | ascii key commands. |
Definition at line 948 of file eda_3d_canvas.cpp.
References BEZIER, DisplayStatus(), EASING_IN_OUT, ID_VIEW3D_BACK, ID_VIEW3D_BOTTOM, ID_VIEW3D_FLIP, ID_VIEW3D_FRONT, ID_VIEW3D_LEFT, ID_VIEW3D_RESET, ID_VIEW3D_RIGHT, ID_VIEW3D_TOP, LINEAR, m_camera, m_camera_is_moving, m_delta_move_step_factor, m_mouse_was_moved, move_pivot_based_on_cur_mouse_position(), CAMERA::Pan_T1(), Request_refresh(), request_start_moving_camera(), CAMERA::Reset_T1(), restart_editingTimeOut_Timer(), CAMERA::RotateX_T1(), CAMERA::RotateY_T1(), CAMERA::RotateZ_T1(), CAMERA::SetInterpolateMode(), CAMERA::SetT0_and_T1_current_T(), CAMERA::Zoom_T1(), and CAMERA::ZoomGet().
Referenced by EDA_3D_CONTROLLER::doZoomInOut(), EDA_3D_CONTROLLER::PanControl(), PANEL_PREV_3D::View3DBack(), PANEL_PREV_3D::View3DBottom(), PANEL_PREV_3D::View3DFront(), PANEL_PREV_3D::View3DLeft(), PANEL_PREV_3D::View3DRight(), PANEL_PREV_3D::View3DTop(), EDA_3D_CONTROLLER::ViewControl(), and EDA_3D_CONTROLLER::ZoomFitScreen().
|
private |
Stop the editing time so it will not timeout.
Definition at line 854 of file eda_3d_canvas.cpp.
References m_editing_timeout_timer.
Referenced by OnLeftDown(), OnMiddleDown(), and request_start_moving_camera().
|
private |
Definition at line 277 of file eda_3d_canvas.h.
Referenced by DoRePaint(), IsReloadRequestPending(), releaseOpenGL(), ReloadRequest(), RenderEngineChanged(), RenderRaytracingRequest(), and restart_editingTimeOut_Timer().
|
private |
Definition at line 279 of file eda_3d_canvas.h.
Referenced by DoRePaint(), OnMouseMove(), releaseOpenGL(), and RenderEngineChanged().
|
private |
Definition at line 278 of file eda_3d_canvas.h.
Referenced by DoRePaint(), OnLeftDown(), OnMouseMove(), releaseOpenGL(), RenderEngineChanged(), and RenderRaytracingRequest().
|
private |
Definition at line 287 of file eda_3d_canvas.h.
|
private |
Definition at line 288 of file eda_3d_canvas.h.
Referenced by ~EDA_3D_CANVAS().
|
private |
Definition at line 272 of file eda_3d_canvas.h.
Referenced by AnimationEnabledGet(), AnimationEnabledSet(), and request_start_moving_camera().
|
private |
Definition at line 275 of file eda_3d_canvas.h.
Referenced by DoRePaint(), move_pivot_based_on_cur_mouse_position(), OnMouseMove(), OnMouseWheel(), ReloadRequest(), and RenderEngineChanged().
|
private |
Definition at line 276 of file eda_3d_canvas.h.
Referenced by DisplayStatus(), DoRePaint(), getRayAtCurrrentMousePosition(), move_pivot_based_on_cur_mouse_position(), OnMouseMove(), OnMouseWheel(), render_pivot(), request_start_moving_camera(), and SetView3D().
|
private |
Definition at line 268 of file eda_3d_canvas.h.
Referenced by DoRePaint(), OnLeftUp(), OnMiddleUp(), OnMouseMove(), OnMouseWheel(), request_start_moving_camera(), and SetView3D().
|
private |
Definition at line 270 of file eda_3d_canvas.h.
Referenced by DoRePaint(), and request_start_moving_camera().
|
private |
Definition at line 290 of file eda_3d_canvas.h.
Referenced by OnMouseMove().
|
staticprivate |
Definition at line 281 of file eda_3d_canvas.h.
Referenced by OnMouseWheel(), and SetView3D().
|
private |
Definition at line 261 of file eda_3d_canvas.h.
Referenced by restart_editingTimeOut_Timer(), and stop_editingTimeOut_Timer().
|
private |
Definition at line 253 of file eda_3d_canvas.h.
Referenced by OnEvent(), and SetEventDispatcher().
|
private |
Definition at line 257 of file eda_3d_canvas.h.
Referenced by DoRePaint(), and releaseOpenGL().
|
private |
Definition at line 264 of file eda_3d_canvas.h.
Referenced by DoRePaint().
|
private |
Definition at line 258 of file eda_3d_canvas.h.
Referenced by DoRePaint(), and initializeOpenGL().
|
private |
Definition at line 259 of file eda_3d_canvas.h.
Referenced by DoRePaint(), and initializeOpenGL().
|
private |
Definition at line 266 of file eda_3d_canvas.h.
Referenced by DoRePaint(), OnLeftUp(), OnMiddleUp(), OnMouseMove(), OnMouseWheel(), and OnTimerTimeout_Editing().
|
private |
Definition at line 267 of file eda_3d_canvas.h.
Referenced by DoRePaint(), OnMouseMove(), OnMouseWheel(), OnTimerTimeout_Editing(), RenderEngineChanged(), and SetView3D().
|
private |
Definition at line 273 of file eda_3d_canvas.h.
Referenced by MovingSpeedMultiplierGet(), MovingSpeedMultiplierSet(), and request_start_moving_camera().
|
private |
Definition at line 284 of file eda_3d_canvas.h.
Referenced by DoRePaint(), and initializeOpenGL().
|
private |
Definition at line 255 of file eda_3d_canvas.h.
Referenced by DoRePaint(), and SetInfoBar().
|
private |
Definition at line 254 of file eda_3d_canvas.h.
Referenced by DisplayStatus(), DoRePaint(), OnMouseMove(), and SetStatusBar().
|
private |
Definition at line 263 of file eda_3d_canvas.h.
Referenced by Request_refresh().
|
private |
Definition at line 269 of file eda_3d_canvas.h.
Referenced by DoRePaint(), and request_start_moving_camera().
|
private |
Definition at line 285 of file eda_3d_canvas.h.
Referenced by DoRePaint(), and RenderRaytracingRequest().
|
private |
Definition at line 271 of file eda_3d_canvas.h.
Referenced by DoRePaint(), and request_start_moving_camera().