SketcherGui::DrawingParameters Struct Reference

Struct for storing local drawing parameters. More...

#include <EditModeCoinManagerParameters.h>

Public Attributes

int curvedEdgeCountSegments
 Defines the number of segments to use to draw a curved edge. More...
 
Rendering Order - defining what should be rendered on top and in the middle
GeometryRendering topRenderingGeometry = GeometryRendering::NormalGeometry
 
GeometryRendering midRenderingGeometry = GeometryRendering::Construction
 
Rendering sizes (also to support HDPI monitors)
double pixelScalingFactor = 1.0
 
int coinFontSize = 17
 
int constraintIconSize = 15
 
int markerSize = 7
 

Static Public Attributes

Rendering Coin Colors
static SbColor InformationColor
 
static SbColor CreateCurveColor
 
static SbColor CrossColorH
 
static SbColor CrossColorV
 
static SbColor InvalidSketchColor
 
static SbColor FullyConstrainedColor
 
static SbColor FullyConstraintInternalAlignmentColor
 
static SbColor InternalAlignedGeoColor
 
static SbColor FullyConstraintConstructionPointColor
 
static SbColor VertexColor
 
static SbColor FullyConstraintElementColor
 
static SbColor CurveColor
 
static SbColor PreselectColor
 
static SbColor PreselectSelectedColor
 
static SbColor SelectColor
 
static SbColor CurveExternalColor
 
static SbColor CurveDraftColor
 
static SbColor FullyConstraintConstructionElementColor
 
static SbColor ConstrDimColor
 
static SbColor ConstrIcoColor
 
static SbColor NonDrivingConstrDimColor
 
static SbColor ExprBasedConstrDimColor
 
static SbColor DeactivatedConstrDimColor
 
Rendering Icon colors
static QColor constrIcoColor
 
static QColor nonDrivingConstrIcoColor
 
static QColor constrIconSelColor
 
static QColor constrIconPreselColor
 
static QColor constrIconDisabledColor
 

Rendering Heights - virtual height introduced in the scenegraph to determine what is drawn on top of what

enum class  GeometryRendering { NormalGeometry = 1 , Construction = 2 , ExternalGeometry = 3 }
 Different categories of geometries that can be selected by the user to be rendered on top, in the middle or in the bottom. More...
 
const float zEdit = 0.001f
 
const float zCross = 0.001f
 
const float zInfo = 0.004f
 
const float zLowLines = 0.005f
 
const float zMidLines = 0.006f
 
const float zHighLines = 0.007f
 
const float zHighLine = 0.008f
 
const float zConstr = 0.009f
 
const float zRootPoint = 0.010f
 
const float zLowPoints = 0.011f
 
const float zHighPoints = 0.012f
 
const float zHighlight = 0.013f
 
const float zText = 0.013f
 

Detailed Description

Struct for storing local drawing parameters.

Parameters based on user preferenced are auto loaded by EditCoinManager observer nested class.

Member Enumeration Documentation

◆ GeometryRendering

Different categories of geometries that can be selected by the user to be rendered on top, in the middle or in the bottom.

Enumerator
NormalGeometry 
Construction 
ExternalGeometry 

Member Data Documentation

◆ coinFontSize

int SketcherGui::DrawingParameters::coinFontSize = 17

◆ constraintIconSize

int SketcherGui::DrawingParameters::constraintIconSize = 15

◆ ConstrDimColor

SbColor DrawingParameters::ConstrDimColor
static

◆ ConstrIcoColor

SbColor DrawingParameters::ConstrIcoColor
static

◆ constrIcoColor

QColor DrawingParameters::constrIcoColor
static

◆ constrIconDisabledColor

QColor DrawingParameters::constrIconDisabledColor
static

◆ constrIconPreselColor

QColor DrawingParameters::constrIconPreselColor
static

◆ constrIconSelColor

QColor DrawingParameters::constrIconSelColor
static

◆ CreateCurveColor

SbColor DrawingParameters::CreateCurveColor
static

◆ CrossColorH

SbColor DrawingParameters::CrossColorH
static

◆ CrossColorV

SbColor DrawingParameters::CrossColorV
static

◆ CurveColor

SbColor DrawingParameters::CurveColor
static

◆ curvedEdgeCountSegments

int SketcherGui::DrawingParameters::curvedEdgeCountSegments

Defines the number of segments to use to draw a curved edge.

◆ CurveDraftColor

SbColor DrawingParameters::CurveDraftColor
static

◆ CurveExternalColor

SbColor DrawingParameters::CurveExternalColor
static

◆ DeactivatedConstrDimColor

SbColor DrawingParameters::DeactivatedConstrDimColor
static

◆ ExprBasedConstrDimColor

SbColor DrawingParameters::ExprBasedConstrDimColor
static

◆ FullyConstrainedColor

SbColor DrawingParameters::FullyConstrainedColor
static

◆ FullyConstraintConstructionElementColor

SbColor DrawingParameters::FullyConstraintConstructionElementColor
static

◆ FullyConstraintConstructionPointColor

SbColor DrawingParameters::FullyConstraintConstructionPointColor
static

◆ FullyConstraintElementColor

SbColor DrawingParameters::FullyConstraintElementColor
static

◆ FullyConstraintInternalAlignmentColor

SbColor DrawingParameters::FullyConstraintInternalAlignmentColor
static

◆ InformationColor

SbColor DrawingParameters::InformationColor
static

◆ InternalAlignedGeoColor

SbColor DrawingParameters::InternalAlignedGeoColor
static

◆ InvalidSketchColor

SbColor DrawingParameters::InvalidSketchColor
static

◆ markerSize

◆ midRenderingGeometry

GeometryRendering SketcherGui::DrawingParameters::midRenderingGeometry = GeometryRendering::Construction

◆ NonDrivingConstrDimColor

SbColor DrawingParameters::NonDrivingConstrDimColor
static

◆ nonDrivingConstrIcoColor

QColor DrawingParameters::nonDrivingConstrIcoColor
static

◆ pixelScalingFactor

◆ PreselectColor

◆ PreselectSelectedColor

SbColor DrawingParameters::PreselectSelectedColor
static

◆ SelectColor

◆ topRenderingGeometry

◆ VertexColor

SbColor DrawingParameters::VertexColor
static

◆ zConstr

const float SketcherGui::DrawingParameters::zConstr = 0.009f

◆ zCross

const float SketcherGui::DrawingParameters::zCross = 0.001f

◆ zEdit

const float SketcherGui::DrawingParameters::zEdit = 0.001f

◆ zHighlight

const float SketcherGui::DrawingParameters::zHighlight = 0.013f

◆ zHighLine

const float SketcherGui::DrawingParameters::zHighLine = 0.008f

◆ zHighLines

const float SketcherGui::DrawingParameters::zHighLines = 0.007f

◆ zHighPoints

const float SketcherGui::DrawingParameters::zHighPoints = 0.012f

◆ zInfo

const float SketcherGui::DrawingParameters::zInfo = 0.004f

◆ zLowLines

const float SketcherGui::DrawingParameters::zLowLines = 0.005f

◆ zLowPoints

const float SketcherGui::DrawingParameters::zLowPoints = 0.011f

◆ zMidLines

const float SketcherGui::DrawingParameters::zMidLines = 0.006f

◆ zRootPoint

const float SketcherGui::DrawingParameters::zRootPoint = 0.010f

◆ zText

const float SketcherGui::DrawingParameters::zText = 0.013f

The documentation for this struct was generated from the following files: