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" )
128 .FriendlyName(
_(
"Rotate Z Clockwise" ) )
134 .Name(
"3DViewer.Control.rotateZcounterclockwise" )
136 .FriendlyName(
_(
"Rotate Z Counterclockwise" ) )
142 .Name(
"3DViewer.Control.moveLeft" )
144 .DefaultHotkey( WXK_LEFT )
145 .FriendlyName(
_(
"Move Board Left" ) )
148 .Parameter( CURSOR_LEFT ) );
151 .Name(
"3DViewer.Control.moveRight" )
153 .DefaultHotkey( WXK_RIGHT )
154 .FriendlyName(
_(
"Move Board Right" ) )
157 .Parameter( CURSOR_RIGHT ) );
160 .Name(
"3DViewer.Control.moveUp" )
162 .DefaultHotkey( WXK_UP )
163 .FriendlyName(
_(
"Move Board Up" ) )
166 .Parameter( CURSOR_UP ) );
169 .Name(
"3DViewer.Control.moveDown" )
171 .DefaultHotkey( WXK_DOWN )
172 .FriendlyName(
_(
"Move Board Down" ) )
175 .Parameter( CURSOR_DOWN ) );
178 .Name(
"3DViewer.Control.homeView" )
180 .DefaultHotkey( WXK_HOME )
181 .FriendlyName (
_(
"Home View" ) )
182 .Tooltip(
_(
"Redraw at the home position and zoom" ) )
187 .Name(
"3DViewer.Control.flipView" )
189 .DefaultHotkey(
'F' )
190 .FriendlyName(
_(
"Flip Board" ) )
191 .Tooltip(
_(
"Flip the board view" ) )
197 .Name(
"3DViewer.Control.toggleOrtho" )
199 .FriendlyName(
_(
"Toggle Orthographic Projection" ) )
200 .Tooltip(
_(
"Enable/disable orthographic projection" ) )
205 .Name(
"3DViewer.Control.viewFront" )
207 .DefaultHotkey(
'Y' )
208 .FriendlyName(
_(
"View Front" ) )
214 .Name(
"3DViewer.Control.viewBack" )
217 .FriendlyName(
_(
"View Back" ) )
223 .Name(
"3DViewer.Control.viewLeft" )
226 .FriendlyName(
_(
"View Left" ) )
232 .Name(
"3DViewer.Control.viewRight" )
234 .DefaultHotkey(
'X' )
235 .FriendlyName(
_(
"View Right" ) )
241 .Name(
"3DViewer.Control.viewTop" )
243 .DefaultHotkey(
'Z' )
244 .FriendlyName(
_(
"View Top" ) )
250 .Name(
"3DViewer.Control.viewBottom" )
253 .FriendlyName(
_(
"View Bottom" ) )
259 .Name(
"3DViewer.Control.noGrid" )
261 .FriendlyName(
_(
"No 3D Grid" ) )
266 .Name(
"3DViewer.Control.show10mmGrid" )
268 .FriendlyName(
_(
"3D Grid 10mm" ) )
273 .Name(
"3DViewer.Control.show5mmGrid" )
275 .FriendlyName(
_(
"3D Grid 5mm" ) )
280 .Name(
"3DViewer.Control.show2_5mmGrid" )
282 .FriendlyName(
_(
"3D Grid 2.5mm" ) )
287 .Name(
"3DViewer.Control.show1mmGrid" )
289 .FriendlyName(
_(
"3D Grid 1mm" ) )
294 .Name(
"3DViewer.Control.materialNormal" )
296 .FriendlyName(
_(
"Render Realistic Materials" ) )
297 .Tooltip(
_(
"Use all material properties from each 3D model file" ) )
302 .Name(
"3DViewer.Control.materialDiffuse" )
304 .FriendlyName(
_(
"Render Solid Colors" ) )
305 .Tooltip(
_(
"Use only the diffuse color property from 3D model file" ) )
310 .Name(
"3DViewer.Control.materialCAD" )
312 .FriendlyName(
_(
"Render CAD Colors" ) )
313 .Tooltip(
_(
"Use a CAD color style based on the diffuse color of the material" ) )
318 .Name(
"3DViewer.Control.attributesTHT" )
320 .DefaultHotkey(
'T' )
321 .FriendlyName(
_(
"Show Through Hole 3D Models" ) )
322 .Tooltip(
_(
"Show 3D models for 'Through hole' type footprints" ) )
327 .Name(
"3DViewer.Control.attributesSMD" )
329 .DefaultHotkey(
'S' )
330 .FriendlyName(
_(
"Show SMD 3D Models" ) )
331 .Tooltip(
_(
"Show 3D models for 'Surface mount' type footprints" ) )
336 .Name(
"3DViewer.Control.attributesOther" )
338 .DefaultHotkey(
'V' )
339 .FriendlyName(
_(
"Show Unspecified 3D Models" ) )
340 .Tooltip(
_(
"Show 3D models for 'unspecified' type footprints" ) )
345 .Name(
"3DViewer.Control.attribute_not_in_posfile" )
347 .DefaultHotkey(
'P' )
348 .FriendlyName(
_(
"Show 3D Models not in POS File" ) )
349 .Tooltip(
_(
"Show 3D models even if not found in .pos file" ) )
354 .Name(
"3DViewer.Control.attribute_dnp" )
356 .DefaultHotkey(
'D' )
357 .FriendlyName(
_(
"Show 3D Models marked DNP" ) )
358 .Tooltip(
_(
"Show 3D models even if marked 'Do Not Place'" ) )
363 .Name(
"3DViewer.Control.showBoundingBoxes" )
365 .FriendlyName(
_(
"Show Model Bounding Boxes" ) )
366 .Tooltip(
_(
"Show 3D model bounding boxes in realtime renderer" ) )
371 .Name(
"3DViewer.Control.showAxis" )
373 .FriendlyName(
_(
"Show 3D Axis" ) )
378 .Name(
"3DViewer.Control.showLayersManager" )
380 .FriendlyName(
_(
"Show Appearance Manager" ) )
381 .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 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
static TOOL_ACTION showAxis
Declaration of the eda_3d_viewer class.