KiCad PCB EDA Suite
|
#include "command_pcb_render.h"
#include <cli/exit_codes.h>
#include "jobs/job_pcb_render.h"
#include <kiface_base.h>
#include <layer_ids.h>
#include <string_utils.h>
#include <wx/crt.h>
#include <magic_enum.hpp>
#include <macros.h>
#include <wx/tokenzr.h>
#include "../../3d-viewer/3d_viewer/eda_3d_viewer_settings.h"
#include <math/vector3.h>
Go to the source code of this file.
Macros | |
#define | ARG_BACKGROUND "--background" |
#define | ARG_QUALITY "--quality" |
#define | ARG_WIDTH "--width" |
#define | ARG_WIDTH_SHORT "-w" |
#define | ARG_HEIGHT "--height" |
#define | ARG_HEIGHT_SHORT "-h" |
#define | ARG_SIDE "--side" |
#define | ARG_PRESET "--preset" |
#define | ARG_PAN "--pan" |
#define | ARG_PIVOT "--pivot" |
#define | ARG_ROTATE "--rotate" |
#define | ARG_ZOOM "--zoom" |
#define | ARG_PERSPECTIVE "--perspective" |
#define | ARG_FLOOR "--floor" |
#define | ARG_LIGHT_TOP "--light-top" |
#define | ARG_LIGHT_BOTTOM "--light-bottom" |
#define | ARG_LIGHT_SIDE "--light-side" |
#define | ARG_LIGHT_CAMERA "--light-camera" |
#define | ARG_LIGHT_SIDE_ELEVATION "--light-side-elevation" |
Functions | |
template<typename T > | |
static wxString | enumString () |
template<typename T > | |
static std::vector< std::string > | enumChoices () |
template<typename T > | |
static std::optional< T > | strToEnum (std::string &aInput) |
template<typename T > | |
static bool | getToEnum (const std::string &aInput, T &aOutput) |
static bool | getToVector3 (const std::string &aInput, VECTOR3D &aOutput) |
static bool | getColorOrIntensity (const std::string &aInput, VECTOR3D &aOutput) |
#define ARG_BACKGROUND "--background" |
Definition at line 36 of file command_pcb_render.cpp.
#define ARG_FLOOR "--floor" |
Definition at line 52 of file command_pcb_render.cpp.
#define ARG_HEIGHT "--height" |
Definition at line 42 of file command_pcb_render.cpp.
#define ARG_HEIGHT_SHORT "-h" |
Definition at line 43 of file command_pcb_render.cpp.
#define ARG_LIGHT_BOTTOM "--light-bottom" |
Definition at line 55 of file command_pcb_render.cpp.
#define ARG_LIGHT_CAMERA "--light-camera" |
Definition at line 57 of file command_pcb_render.cpp.
#define ARG_LIGHT_SIDE "--light-side" |
Definition at line 56 of file command_pcb_render.cpp.
#define ARG_LIGHT_SIDE_ELEVATION "--light-side-elevation" |
Definition at line 59 of file command_pcb_render.cpp.
#define ARG_LIGHT_TOP "--light-top" |
Definition at line 54 of file command_pcb_render.cpp.
#define ARG_PAN "--pan" |
Definition at line 47 of file command_pcb_render.cpp.
#define ARG_PERSPECTIVE "--perspective" |
Definition at line 51 of file command_pcb_render.cpp.
#define ARG_PIVOT "--pivot" |
Definition at line 48 of file command_pcb_render.cpp.
#define ARG_PRESET "--preset" |
Definition at line 46 of file command_pcb_render.cpp.
#define ARG_QUALITY "--quality" |
Definition at line 37 of file command_pcb_render.cpp.
#define ARG_ROTATE "--rotate" |
Definition at line 49 of file command_pcb_render.cpp.
#define ARG_SIDE "--side" |
Definition at line 45 of file command_pcb_render.cpp.
#define ARG_WIDTH "--width" |
Definition at line 39 of file command_pcb_render.cpp.
#define ARG_WIDTH_SHORT "-w" |
Definition at line 40 of file command_pcb_render.cpp.
#define ARG_ZOOM "--zoom" |
Definition at line 50 of file command_pcb_render.cpp.
|
static |
Definition at line 89 of file command_pcb_render.cpp.
References name.
|
static |
Definition at line 63 of file command_pcb_render.cpp.
References name.
|
static |
Definition at line 168 of file command_pcb_render.cpp.
References From_UTF8(), VECTOR3< T >::x, VECTOR3< T >::y, and VECTOR3< T >::z.
Referenced by CLI::PCB_RENDER_COMMAND::doPerform().
|
static |
Definition at line 118 of file command_pcb_render.cpp.
Referenced by CLI::PCB_RENDER_COMMAND::doPerform().
|
static |
Definition at line 134 of file command_pcb_render.cpp.
References From_UTF8(), VECTOR3< T >::x, VECTOR3< T >::y, and VECTOR3< T >::z.
Referenced by CLI::PCB_RENDER_COMMAND::doPerform().
|
static |
Definition at line 111 of file command_pcb_render.cpp.