FreeCAD C++
Public Attributes | List of all members
SketcherGui::ViewProviderSketch::constrIconQueueItem Struct Reference

#include <Mod/Sketcher/Gui/ViewProviderSketch.h>

Detailed Description

Internal type used for drawing constraint icons.

Public Attributes

QString type
 Type of constraint the icon represents. Eg: "small/Constraint_PointOnObject_sm".
 
int constraintId
 
QString label
 Label to be rendered with this icon, if any.
 
SbVec3f position
 Absolute coordinates of the constraint icon.
 
SoImage * destination
 Pointer to the SoImage object where the icon should be written.
 
SoInfo * infoPtr
 Pointer to SoInfo object where we store the constraint IDs that the icon refers to.
 
double iconRotation
 Angle to rotate an icon.
 

Member Data Documentation

◆ constraintId

int SketcherGui::ViewProviderSketch::constrIconQueueItem::constraintId

Internal constraint ID number These map to results of getSketchObject()->Constraints.getValues()