SketcherGui::ViewProviderSketch::constrIconQueueItem Struct Reference

Internal type used for drawing constraint icons. More...

#include <ViewProviderSketch.h>

Public Attributes

int constraintId
 Internal constraint ID number These map to results of getSketchObject()->Constraints.getValues() More...
 
SoImagedestination
 Pointer to the SoImage object where the icon should be written. More...
 
double iconRotation
 Angle to rotate an icon. More...
 
SoInfo * infoPtr
 Pointer to SoInfo object where we store the constraint IDs that the icon refers to. More...
 
QString label
 Label to be rendered with this icon, if any. More...
 
SbVec3f position
 Absolute coordinates of the constraint icon. More...
 
QString type
 Type of constraint the icon represents. Eg: "small/Constraint_PointOnObject_sm". More...
 

Detailed Description

Internal type used for drawing constraint icons.

Member Data Documentation

◆ constraintId

int SketcherGui::ViewProviderSketch::constrIconQueueItem::constraintId

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

Referenced by SketcherGui::ViewProviderSketch::drawConstraintIcons().

◆ destination

SoImage* SketcherGui::ViewProviderSketch::constrIconQueueItem::destination

Pointer to the SoImage object where the icon should be written.

Referenced by SketcherGui::ViewProviderSketch::drawConstraintIcons().

◆ iconRotation

double SketcherGui::ViewProviderSketch::constrIconQueueItem::iconRotation

Angle to rotate an icon.

Referenced by SketcherGui::ViewProviderSketch::drawConstraintIcons().

◆ infoPtr

SoInfo* SketcherGui::ViewProviderSketch::constrIconQueueItem::infoPtr

Pointer to SoInfo object where we store the constraint IDs that the icon refers to.

Referenced by SketcherGui::ViewProviderSketch::drawConstraintIcons().

◆ label

◆ position

SbVec3f SketcherGui::ViewProviderSketch::constrIconQueueItem::position

Absolute coordinates of the constraint icon.

Referenced by SketcherGui::ViewProviderSketch::drawConstraintIcons().

◆ type

QString SketcherGui::ViewProviderSketch::constrIconQueueItem::type

Type of constraint the icon represents. Eg: "small/Constraint_PointOnObject_sm".

Referenced by SketcherGui::ViewProviderSketch::drawConstraintIcons().


The documentation for this struct was generated from the following file:
  • src/Mod/Sketcher/Gui/ViewProviderSketch.h