SketcherGui::GeometryLayerParameters Class Reference

Helper class to store geometry layers configuration. More...

#include <EditModeCoinManagerParameters.h>

Public Member Functions

 GeometryLayerParameters ()
 
int getCoinLayer (int logicallayer)
 
void reset ()
 

Public Attributes

int CoinLayers = 1
 

Detailed Description

Helper class to store geometry layers configuration.

CoinLayers is the number of * Coin * Geometry Layers. This is not necessarily the number of Geometry layers (logical layers).

Logical layers (as stored in GeometryFacade) define a grouping of geometries. However, this does not mean that they are represented in coin in different layers. Only when there is a reason for such mapping is done so. For example, when the geometry have different drawing parameters.

This means that there may be:

  1. A N:N relationship between logical layers and coin layers.
  2. A M:N relationship between logical layers and coin layers (M<N), including a 1:N relationship.

Constructor & Destructor Documentation

◆ GeometryLayerParameters()

SketcherGui::GeometryLayerParameters::GeometryLayerParameters ( )

References reset().

Member Function Documentation

◆ getCoinLayer()

int SketcherGui::GeometryLayerParameters::getCoinLayer ( int  logicallayer)

◆ reset()

void SketcherGui::GeometryLayerParameters::reset ( void  )

Member Data Documentation

◆ CoinLayers


The documentation for this class was generated from the following file: