25#ifndef _3D_CONDITIONS_H_
26#define _3D_CONDITIONS_H_
declared enumerations and flags
Helper class to handle information needed to display 3D board.
SELECTION_CONDITION GridSize(GRID3D_TYPE aGridSize)
Creates a functor that tests the current grid size.
static bool gridSizeFunction(const SELECTION &aSelection, BOARD_ADAPTER *aAdapter, GRID3D_TYPE aGridSize)
Helper function used by GridDize().
BOARD_ADAPTER * m_adapter
The board adapter to read the 3D viewer state from.
EDA_3D_CONDITIONS(BOARD_ADAPTER *aAdapter)
Define conditions for a 3D viewer frame.
Class that groups generic conditions for selected items.
std::function< bool(const SELECTION &)> SELECTION_CONDITION
Functor type that checks a specific condition for selected items.