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.exportImage" )
 
   71        .FriendlyName( 
_( 
"Export Image..." ) )
 
   72        .Tooltip( 
_( 
"Export the Current View as an image file" ) )
 
   77        .Name( 
"3DViewer.Control.pivotCenter" )
 
   80        .FriendlyName( 
_( 
"Set Pivot" ) )
 
   81        .Tooltip( 
_( 
"Place point around which the board will be rotated (middle mouse click)" ) )
 
   86        .Name( 
"3DViewer.Control.rotateXclockwise" )
 
   88        .FriendlyName( 
_( 
"Rotate X Clockwise" ) )
 
   94        .Name( 
"3DViewer.Control.rotateXcounterclockwise" )
 
   96        .FriendlyName( 
_( 
"Rotate X Counterclockwise" ) )
 
  102        .Name( 
"3DViewer.Control.rotateYclockwise" )
 
  104        .FriendlyName( 
_( 
"Rotate Y Clockwise" ) )
 
  110        .Name( 
"3DViewer.Control.rotateYcounterclockwise" )
 
  112        .FriendlyName( 
_( 
"Rotate Y Counterclockwise" ) )
 
  118        .Name( 
"3DViewer.Control.rotateZclockwise" )
 
  121        .FriendlyName( 
_( 
"Rotate Z Clockwise" ) )
 
  127        .Name( 
"3DViewer.Control.rotateZcounterclockwise" )
 
  129        .DefaultHotkey( 
'R' )
 
  130        .FriendlyName( 
_( 
"Rotate Z Counterclockwise" ) )
 
  136        .Name( 
"3DViewer.Control.moveLeft" )
 
  138        .DefaultHotkey( WXK_LEFT )
 
  139        .FriendlyName( 
_( 
"Move Board Left" ) )
 
  142        .Parameter( CURSOR_LEFT ) );
 
  145        .Name( 
"3DViewer.Control.moveRight" )
 
  147        .DefaultHotkey( WXK_RIGHT )
 
  148        .FriendlyName( 
_( 
"Move Board Right" ) )
 
  151        .Parameter( CURSOR_RIGHT ) );
 
  154        .Name( 
"3DViewer.Control.moveUp" )
 
  156        .DefaultHotkey( WXK_UP )
 
  157        .FriendlyName( 
_( 
"Move Board Up" ) )
 
  160        .Parameter( CURSOR_UP ) );
 
  163        .Name( 
"3DViewer.Control.moveDown" )
 
  165        .DefaultHotkey( WXK_DOWN )
 
  166        .FriendlyName( 
_( 
"Move Board Down" ) )
 
  169        .Parameter( CURSOR_DOWN ) );
 
  172        .Name( 
"3DViewer.Control.homeView" )
 
  174        .DefaultHotkey( WXK_HOME )
 
  175        .FriendlyName ( 
_( 
"Home View" ) )
 
  176        .Tooltip( 
_( 
"Redraw at the home position and zoom" ) )
 
  181        .Name( 
"3DViewer.Control.flipView" )
 
  183        .DefaultHotkey( 
'F' )
 
  184        .FriendlyName( 
_( 
"Flip Board" ) )
 
  185        .Tooltip( 
_( 
"Flip the board view" ) )
 
  191        .Name( 
"3DViewer.Control.toggleOrtho" )
 
  193        .FriendlyName( 
_( 
"Toggle Orthographic Projection" ) )
 
  194        .Tooltip( 
_( 
"Enable/disable orthographic projection" ) )
 
  199        .Name( 
"3DViewer.Control.viewFront" )
 
  201        .DefaultHotkey( 
'Y' )
 
  202        .FriendlyName( 
_( 
"View Front" ) )
 
  208        .Name( 
"3DViewer.Control.viewBack" )
 
  211        .FriendlyName( 
_( 
"View Back" ) )
 
  217        .Name( 
"3DViewer.Control.viewLeft" )
 
  220        .FriendlyName( 
_( 
"View Left" ) )
 
  226        .Name( 
"3DViewer.Control.viewRight" )
 
  228        .DefaultHotkey( 
'X' )
 
  229        .FriendlyName( 
_( 
"View Right" ) )
 
  235        .Name( 
"3DViewer.Control.viewTop" )
 
  237        .DefaultHotkey( 
'Z' )
 
  238        .FriendlyName( 
_( 
"View Top" ) )
 
  244        .Name( 
"3DViewer.Control.viewBottom" )
 
  247        .FriendlyName( 
_( 
"View Bottom" ) )
 
  253        .Name( 
"3DViewer.Control.noGrid" )
 
  255        .FriendlyName( 
_( 
"No 3D Grid" ) )
 
  260        .Name( 
"3DViewer.Control.show10mmGrid" )
 
  262        .FriendlyName( 
_( 
"3D Grid 10mm" ) )
 
  267        .Name( 
"3DViewer.Control.show5mmGrid" )
 
  269        .FriendlyName( 
_( 
"3D Grid 5mm" ) )
 
  274        .Name( 
"3DViewer.Control.show2_5mmGrid" )
 
  276        .FriendlyName( 
_( 
"3D Grid 2.5mm" ) )
 
  281        .Name( 
"3DViewer.Control.show1mmGrid" )
 
  283        .FriendlyName( 
_( 
"3D Grid 1mm" ) )
 
  288        .Name( 
"3DViewer.Control.materialNormal" )
 
  290        .FriendlyName( 
_( 
"Render Realistic Materials" ) )
 
  291        .Tooltip( 
_( 
"Use all material properties from each 3D model file" ) )
 
  296        .Name( 
"3DViewer.Control.materialDiffuse" )
 
  298        .FriendlyName( 
_( 
"Render Solid Colors" ) )
 
  299        .Tooltip( 
_( 
"Use only the diffuse color property from 3D model file" ) )
 
  304        .Name( 
"3DViewer.Control.materialCAD" )
 
  306        .FriendlyName( 
_( 
"Render CAD Colors" ) )
 
  307        .Tooltip( 
_( 
"Use a CAD color style based on the diffuse color of the material" ) )
 
  312        .Name( 
"3DViewer.Control.attributesTHT" )
 
  314        .DefaultHotkey( 
'T' )
 
  315        .FriendlyName( 
_( 
"Show Through Hole 3D Models" ) )
 
  316        .Tooltip( 
_( 
"Show 3D models for 'Through hole' type footprints" ) )
 
  321        .Name( 
"3DViewer.Control.attributesSMD" )
 
  323        .DefaultHotkey( 
'S' )
 
  324        .FriendlyName( 
_( 
"Show SMD 3D Models" ) )
 
  325        .Tooltip( 
_( 
"Show 3D models for 'Surface mount' type footprints" ) )
 
  330        .Name( 
"3DViewer.Control.attributesOther" )
 
  332        .DefaultHotkey( 
'V' )
 
  333        .FriendlyName( 
_( 
"Show Unspecified 3D Models" ) )
 
  334        .Tooltip( 
_( 
"Show 3D models for 'unspecified' type footprints" ) )
 
  339        .Name( 
"3DViewer.Control.attribute_not_in_posfile" )
 
  341        .DefaultHotkey( 
'P' )
 
  342        .FriendlyName( 
_( 
"Show 3D Models not in POS File" ) )
 
  343        .Tooltip( 
_( 
"Show 3D models even if not found in .pos file" ) )
 
  348        .Name( 
"3DViewer.Control.attribute_dnp" )
 
  350        .DefaultHotkey( 
'D' )
 
  351        .FriendlyName( 
_( 
"Show 3D Models marked DNP" ) )
 
  352        .Tooltip( 
_( 
"Show 3D models even if marked 'Do Not Place'" ) )
 
  357        .Name( 
"3DViewer.Control.showBoundingBoxes" )
 
  359        .FriendlyName( 
_( 
"Show Model Bounding Boxes" ) )
 
  360        .Tooltip( 
_( 
"Show 3D model bounding boxes in realtime renderer" ) )
 
  365        .Name( 
"3DViewer.Control.showNavigator" )
 
  367        .FriendlyName( 
_( 
"Show 3D Navigator" ) )
 
  372        .Name( 
"3DViewer.Control.showLayersManager" )
 
  374        .FriendlyName( 
_( 
"Show Appearance Manager" ) )
 
  375        .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 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.