KiCad PCB EDA Suite
Loading...
Searching...
No Matches
board_adapter.h File Reference
#include <array>
#include <vector>
#include "../3d_rendering/raytracing/accelerators/container_2d.h"
#include "../3d_rendering/raytracing/accelerators/container_3d.h"
#include "../3d_rendering/raytracing/shapes3D/bbox_3d.h"
#include <gal/3d/camera.h>
#include <3d_enums.h>
#include "../3d_cache/3d_cache.h"
#include "../common_ogl/ogl_attr_list.h"
#include "../3d_viewer/eda_3d_viewer_settings.h"
#include <layer_ids.h>
#include <pad.h>
#include <pcb_track.h>
#include <pcb_base_frame.h>
#include <pcb_text.h>
#include <pcb_textbox.h>
#include <pcb_table.h>
#include <pcb_shape.h>
#include <pcb_dimension.h>
#include <zone.h>
#include <footprint.h>
#include <reporter.h>
#include <dialogs/dialog_color_picker.h>

Go to the source code of this file.

Classes

class  BOARD_ADAPTER
 Helper class to handle information needed to display 3D board. More...
 

Macros

#define RANGE_SCALE_3D   8.0f
 This defines the range that all coord will have to be rendered.
 

Typedefs

typedef std::map< PCB_LAYER_ID, BVH_CONTAINER_2D * > MAP_CONTAINER_2D_BASE
 A type that stores a container of 2d objects for each layer id.
 
typedef std::map< PCB_LAYER_ID, SHAPE_POLY_SET * > MAP_POLY
 A type that stores polysets for each layer id.
 

Macro Definition Documentation

◆ RANGE_SCALE_3D

#define RANGE_SCALE_3D   8.0f

This defines the range that all coord will have to be rendered.

It will use this value to convert to a normalized value between -(RANGE_SCALE_3D/2) .. +(RANGE_SCALE_3D/2)

Definition at line 66 of file board_adapter.h.

Typedef Documentation

◆ MAP_CONTAINER_2D_BASE

A type that stores a container of 2d objects for each layer id.

Definition at line 58 of file board_adapter.h.

◆ MAP_POLY

typedef std::map<PCB_LAYER_ID, SHAPE_POLY_SET*> MAP_POLY

A type that stores polysets for each layer id.

Definition at line 61 of file board_adapter.h.