40 .Name(
"3DViewer.Control" )
46 .Name(
"3DViewer.Control.reloadBoard" )
48 .FriendlyName(
_(
"Reload board" ) )
49 .Tooltip(
_(
"Reload board and refresh 3D view" ) )
53 .Name(
"3DViewer.Control.toggleRaytacing" )
55 .FriendlyName(
_(
"Use raytracing" ) )
56 .Tooltip(
_(
"Render current view using Raytracing" ) )
61 .Name(
"3DViewer.Control.toggleShowMissingModels" )
63 .FriendlyName(
_(
"Show parts without 3D model" ) )
64 .Tooltip(
_(
"Display a placeholder for footprints with missing 3D models" ) )
68 .Name(
"3DViewer.Control.copyToClipboard" )
70 .FriendlyName(
_(
"Copy 3D image to clipboard" ) )
71 .Tooltip(
_(
"Copy the current 3D image to the clipboard" ) )
76 .Name(
"3DViewer.Control.exportImage" )
78 .FriendlyName(
_(
"Export Image..." ) )
79 .Tooltip(
_(
"Export the Current View as an image file" ) )
84 .Name(
"3DViewer.Control.pivotCenter" )
87 .FriendlyName(
_(
"Set Pivot" ) )
88 .Tooltip(
_(
"Place point around which the board will be rotated (middle mouse click)" ) )
93 .Name(
"3DViewer.Control.rotateXclockwise" )
95 .FriendlyName(
_(
"Rotate X Clockwise" ) )
101 .Name(
"3DViewer.Control.rotateXcounterclockwise" )
103 .FriendlyName(
_(
"Rotate X Counterclockwise" ) )
109 .Name(
"3DViewer.Control.rotateYclockwise" )
111 .FriendlyName(
_(
"Rotate Y Clockwise" ) )
117 .Name(
"3DViewer.Control.rotateYcounterclockwise" )
119 .FriendlyName(
_(
"Rotate Y Counterclockwise" ) )
125 .Name(
"3DViewer.Control.rotateZclockwise" )
128 .FriendlyName(
_(
"Rotate Z Clockwise" ) )
134 .Name(
"3DViewer.Control.rotateZcounterclockwise" )
136 .DefaultHotkey(
'R' )
137 .FriendlyName(
_(
"Rotate Z Counterclockwise" ) )
143 .Name(
"3DViewer.Control.moveLeft" )
145 .DefaultHotkey( WXK_LEFT )
146 .FriendlyName(
_(
"Move Board Left" ) )
149 .Parameter( CURSOR_LEFT ) );
152 .Name(
"3DViewer.Control.moveRight" )
154 .DefaultHotkey( WXK_RIGHT )
155 .FriendlyName(
_(
"Move Board Right" ) )
158 .Parameter( CURSOR_RIGHT ) );
161 .Name(
"3DViewer.Control.moveUp" )
163 .DefaultHotkey( WXK_UP )
164 .FriendlyName(
_(
"Move Board Up" ) )
167 .Parameter( CURSOR_UP ) );
170 .Name(
"3DViewer.Control.moveDown" )
172 .DefaultHotkey( WXK_DOWN )
173 .FriendlyName(
_(
"Move Board Down" ) )
176 .Parameter( CURSOR_DOWN ) );
179 .Name(
"3DViewer.Control.homeView" )
181 .DefaultHotkey( WXK_HOME )
182 .FriendlyName (
_(
"Home View" ) )
183 .Tooltip(
_(
"Redraw at the home position and zoom" ) )
188 .Name(
"3DViewer.Control.flipView" )
190 .DefaultHotkey(
'F' )
191 .FriendlyName(
_(
"Flip Board" ) )
192 .Tooltip(
_(
"Flip the board view" ) )
198 .Name(
"3DViewer.Control.toggleOrtho" )
200 .FriendlyName(
_(
"Toggle Orthographic Projection" ) )
201 .Tooltip(
_(
"Enable/disable orthographic projection" ) )
206 .Name(
"3DViewer.Control.viewFront" )
208 .DefaultHotkey(
'Y' )
209 .FriendlyName(
_(
"View Front" ) )
215 .Name(
"3DViewer.Control.viewBack" )
218 .FriendlyName(
_(
"View Back" ) )
224 .Name(
"3DViewer.Control.viewLeft" )
227 .FriendlyName(
_(
"View Left" ) )
233 .Name(
"3DViewer.Control.viewRight" )
235 .DefaultHotkey(
'X' )
236 .FriendlyName(
_(
"View Right" ) )
242 .Name(
"3DViewer.Control.viewTop" )
244 .DefaultHotkey(
'Z' )
245 .FriendlyName(
_(
"View Top" ) )
251 .Name(
"3DViewer.Control.viewBottom" )
254 .FriendlyName(
_(
"View Bottom" ) )
260 .Name(
"3DViewer.Control.noGrid" )
262 .FriendlyName(
_(
"No 3D Grid" ) )
267 .Name(
"3DViewer.Control.show10mmGrid" )
269 .FriendlyName(
_(
"3D Grid 10mm" ) )
274 .Name(
"3DViewer.Control.show5mmGrid" )
276 .FriendlyName(
_(
"3D Grid 5mm" ) )
281 .Name(
"3DViewer.Control.show2_5mmGrid" )
283 .FriendlyName(
_(
"3D Grid 2.5mm" ) )
288 .Name(
"3DViewer.Control.show1mmGrid" )
290 .FriendlyName(
_(
"3D Grid 1mm" ) )
295 .Name(
"3DViewer.Control.materialNormal" )
297 .FriendlyName(
_(
"Render Realistic Materials" ) )
298 .Tooltip(
_(
"Use all material properties from each 3D model file" ) )
303 .Name(
"3DViewer.Control.materialDiffuse" )
305 .FriendlyName(
_(
"Render Solid Colors" ) )
306 .Tooltip(
_(
"Use only the diffuse color property from 3D model file" ) )
311 .Name(
"3DViewer.Control.materialCAD" )
313 .FriendlyName(
_(
"Render CAD Colors" ) )
314 .Tooltip(
_(
"Use a CAD color style based on the diffuse color of the material" ) )
319 .Name(
"3DViewer.Control.attributesTHT" )
321 .DefaultHotkey(
'T' )
322 .FriendlyName(
_(
"Show Through Hole 3D Models" ) )
323 .Tooltip(
_(
"Show 3D models for 'Through hole' type footprints" ) )
328 .Name(
"3DViewer.Control.attributesSMD" )
330 .DefaultHotkey(
'S' )
331 .FriendlyName(
_(
"Show SMD 3D Models" ) )
332 .Tooltip(
_(
"Show 3D models for 'Surface mount' type footprints" ) )
337 .Name(
"3DViewer.Control.attributesOther" )
339 .DefaultHotkey(
'V' )
340 .FriendlyName(
_(
"Show Unspecified 3D Models" ) )
341 .Tooltip(
_(
"Show 3D models for 'unspecified' type footprints" ) )
346 .Name(
"3DViewer.Control.attribute_not_in_posfile" )
348 .DefaultHotkey(
'P' )
349 .FriendlyName(
_(
"Show 3D Models not in POS File" ) )
350 .Tooltip(
_(
"Show 3D models even if not found in .pos file" ) )
355 .Name(
"3DViewer.Control.attribute_dnp" )
357 .DefaultHotkey(
'D' )
358 .FriendlyName(
_(
"Show 3D Models marked DNP" ) )
359 .Tooltip(
_(
"Show 3D models even if marked 'Do Not Place'" ) )
364 .Name(
"3DViewer.Control.showBoundingBoxes" )
366 .FriendlyName(
_(
"Show Model Bounding Boxes" ) )
367 .Tooltip(
_(
"Show 3D model bounding boxes in realtime renderer" ) )
372 .Name(
"3DViewer.Control.showNavigator" )
374 .FriendlyName(
_(
"Show 3D Navigator" ) )
379 .Name(
"3DViewer.Control.showLayersManager" )
381 .FriendlyName(
_(
"Show Appearance Manager" ) )
382 .Tooltip(
_(
"Show/hide the appearance manager" ) )
declared enumerations and flags
@ NORMAL
Use all material properties from model file.
@ CAD_MODE
Use a gray shading based on diffuse material.
@ DIFFUSE_ONLY
Use only diffuse material properties.
static TOOL_ACTION showNavigator
static TOOL_ACTION showLayersManager
static TOOL_ACTION rotateXCCW
static TOOL_ACTION showNotInPosFile
static TOOL_ACTION exportImage
static TOOL_ACTION showTHT
static TOOL_ACTION noGrid
static TOOL_ACTION show2_5mmGrid
static TOOL_ACTION reloadBoard
static TOOL_ACTION rotateZCCW
static TOOL_ACTION rotateZCW
static TOOL_ACTION rotateYCCW
static TOOL_ACTION rotateXCW
static TOOL_ACTION viewTop
static TOOL_ACTION show1mmGrid
static TOOL_ACTION showDNP
static TOOL_ACTION toggleOrtho
static TOOL_ACTION moveLeft
static TOOL_ACTION toggleShowMissingModels
static TOOL_ACTION viewLeft
static TOOL_ACTION show10mmGrid
static TOOL_ACTION toggleRaytacing
static TOOL_ACTION viewBack
static TOOL_ACTION show5mmGrid
static TOOL_ACTION viewRight
static TOOL_ACTION showSMD
static TOOL_ACTION homeView
static TOOL_ACTION moveUp
static TOOL_ACTION flipView
static TOOL_ACTION moveDown
static TOOL_ACTION viewBottom
static TOOL_ACTION copyToClipboard
static TOOL_ACTION moveRight
static TOOL_ACTION materialDiffuse
static TOOL_ACTION pivotCenter
static TOOL_ACTION controlActivate
static TOOL_ACTION showVirtual
static TOOL_ACTION rotateYCW
static TOOL_ACTION materialCAD
static TOOL_ACTION viewFront
static TOOL_ACTION showBBoxes
static TOOL_ACTION materialNormal
Declaration of the eda_3d_viewer class.