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.copyToClipboard" )
63 .FriendlyName(
_(
"Copy 3D image to clipboard" ) )
64 .Tooltip(
_(
"Copy the current 3D image to the clipboard" ) )
69 .Name(
"3DViewer.Control.exportAsPNG" )
71 .FriendlyName(
_(
"Export Current View as PNG..." ) )
72 .Tooltip(
_(
"Export the Current View as a PNG image" ) )
77 .Name(
"3DViewer.Control.exportAsJPEG" )
79 .FriendlyName(
_(
"Export Current View as JPEG..." ) )
80 .Tooltip(
_(
"Export the Current View as a JPEG image" ) )
85 .Name(
"3DViewer.Control.pivotCenter" )
88 .FriendlyName(
_(
"Set Pivot" ) )
89 .Tooltip(
_(
"Place point around which the board will be rotated (middle mouse click)" ) )
94 .Name(
"3DViewer.Control.rotateXclockwise" )
96 .FriendlyName(
_(
"Rotate X Clockwise" ) )
102 .Name(
"3DViewer.Control.rotateXcounterclockwise" )
104 .FriendlyName(
_(
"Rotate X Counterclockwise" ) )
110 .Name(
"3DViewer.Control.rotateYclockwise" )
112 .FriendlyName(
_(
"Rotate Y Clockwise" ) )
118 .Name(
"3DViewer.Control.rotateYcounterclockwise" )
120 .FriendlyName(
_(
"Rotate Y Counterclockwise" ) )
126 .Name(
"3DViewer.Control.rotateZclockwise" )
129 .FriendlyName(
_(
"Rotate Z Clockwise" ) )
135 .Name(
"3DViewer.Control.rotateZcounterclockwise" )
137 .DefaultHotkey(
'R' )
138 .FriendlyName(
_(
"Rotate Z Counterclockwise" ) )
144 .Name(
"3DViewer.Control.moveLeft" )
146 .DefaultHotkey( WXK_LEFT )
147 .FriendlyName(
_(
"Move Board Left" ) )
150 .Parameter( CURSOR_LEFT ) );
153 .Name(
"3DViewer.Control.moveRight" )
155 .DefaultHotkey( WXK_RIGHT )
156 .FriendlyName(
_(
"Move Board Right" ) )
159 .Parameter( CURSOR_RIGHT ) );
162 .Name(
"3DViewer.Control.moveUp" )
164 .DefaultHotkey( WXK_UP )
165 .FriendlyName(
_(
"Move Board Up" ) )
168 .Parameter( CURSOR_UP ) );
171 .Name(
"3DViewer.Control.moveDown" )
173 .DefaultHotkey( WXK_DOWN )
174 .FriendlyName(
_(
"Move Board Down" ) )
177 .Parameter( CURSOR_DOWN ) );
180 .Name(
"3DViewer.Control.homeView" )
182 .DefaultHotkey( WXK_HOME )
183 .FriendlyName (
_(
"Home View" ) )
184 .Tooltip(
_(
"Redraw at the home position and zoom" ) )
189 .Name(
"3DViewer.Control.flipView" )
191 .DefaultHotkey(
'F' )
192 .FriendlyName(
_(
"Flip Board" ) )
193 .Tooltip(
_(
"Flip the board view" ) )
199 .Name(
"3DViewer.Control.toggleOrtho" )
201 .FriendlyName(
_(
"Toggle Orthographic Projection" ) )
202 .Tooltip(
_(
"Enable/disable orthographic projection" ) )
207 .Name(
"3DViewer.Control.viewFront" )
209 .DefaultHotkey(
'Y' )
210 .FriendlyName(
_(
"View Front" ) )
216 .Name(
"3DViewer.Control.viewBack" )
219 .FriendlyName(
_(
"View Back" ) )
225 .Name(
"3DViewer.Control.viewLeft" )
228 .FriendlyName(
_(
"View Left" ) )
234 .Name(
"3DViewer.Control.viewRight" )
236 .DefaultHotkey(
'X' )
237 .FriendlyName(
_(
"View Right" ) )
243 .Name(
"3DViewer.Control.viewTop" )
245 .DefaultHotkey(
'Z' )
246 .FriendlyName(
_(
"View Top" ) )
252 .Name(
"3DViewer.Control.viewBottom" )
255 .FriendlyName(
_(
"View Bottom" ) )
261 .Name(
"3DViewer.Control.noGrid" )
263 .FriendlyName(
_(
"No 3D Grid" ) )
268 .Name(
"3DViewer.Control.show10mmGrid" )
270 .FriendlyName(
_(
"3D Grid 10mm" ) )
275 .Name(
"3DViewer.Control.show5mmGrid" )
277 .FriendlyName(
_(
"3D Grid 5mm" ) )
282 .Name(
"3DViewer.Control.show2_5mmGrid" )
284 .FriendlyName(
_(
"3D Grid 2.5mm" ) )
289 .Name(
"3DViewer.Control.show1mmGrid" )
291 .FriendlyName(
_(
"3D Grid 1mm" ) )
296 .Name(
"3DViewer.Control.materialNormal" )
298 .FriendlyName(
_(
"Render Realistic Materials" ) )
299 .Tooltip(
_(
"Use all material properties from each 3D model file" ) )
304 .Name(
"3DViewer.Control.materialDiffuse" )
306 .FriendlyName(
_(
"Render Solid Colors" ) )
307 .Tooltip(
_(
"Use only the diffuse color property from 3D model file" ) )
312 .Name(
"3DViewer.Control.materialCAD" )
314 .FriendlyName(
_(
"Render CAD Colors" ) )
315 .Tooltip(
_(
"Use a CAD color style based on the diffuse color of the material" ) )
320 .Name(
"3DViewer.Control.attributesTHT" )
322 .DefaultHotkey(
'T' )
323 .FriendlyName(
_(
"Show Through Hole 3D Models" ) )
324 .Tooltip(
_(
"Show 3D models for 'Through hole' type footprints" ) )
329 .Name(
"3DViewer.Control.attributesSMD" )
331 .DefaultHotkey(
'S' )
332 .FriendlyName(
_(
"Show SMD 3D Models" ) )
333 .Tooltip(
_(
"Show 3D models for 'Surface mount' type footprints" ) )
338 .Name(
"3DViewer.Control.attributesOther" )
340 .DefaultHotkey(
'V' )
341 .FriendlyName(
_(
"Show Unspecified 3D Models" ) )
342 .Tooltip(
_(
"Show 3D models for 'unspecified' type footprints" ) )
347 .Name(
"3DViewer.Control.attribute_not_in_posfile" )
349 .DefaultHotkey(
'P' )
350 .FriendlyName(
_(
"Show 3D Models not in POS File" ) )
351 .Tooltip(
_(
"Show 3D models even if not found in .pos file" ) )
356 .Name(
"3DViewer.Control.attribute_dnp" )
358 .DefaultHotkey(
'D' )
359 .FriendlyName(
_(
"Show 3D Models marked DNP" ) )
360 .Tooltip(
_(
"Show 3D models even if marked 'Do Not Place'" ) )
365 .Name(
"3DViewer.Control.showBoundingBoxes" )
367 .FriendlyName(
_(
"Show Model Bounding Boxes" ) )
368 .Tooltip(
_(
"Show 3D model bounding boxes in realtime renderer" ) )
373 .Name(
"3DViewer.Control.showNavigator" )
375 .FriendlyName(
_(
"Show 3D Navigator" ) )
380 .Name(
"3DViewer.Control.showLayersManager" )
382 .FriendlyName(
_(
"Show Appearance Manager" ) )
383 .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 showTHT
static TOOL_ACTION noGrid
static TOOL_ACTION show2_5mmGrid
static TOOL_ACTION reloadBoard
static TOOL_ACTION rotateZCCW
static TOOL_ACTION exportAsPNG
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 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 exportAsJPEG
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.