#include <rvc/autolabl.h>
Definition at line 77 of file autolabl.h.
Definition at line 80 of file autolabl.h.
| POSNMODE_POLYGON_PolygonInsideIfFitElseOutsideWithLeader | |
| POSNMODE_POLYGON_PolygonInsideAlways | |
| POSNMODE_POLYGON_PolygonInsideIfFitElseNone | |
| POSNMODE_POLYGON_PolygonInsideIfFitElseOutsideNoLeader |
Definition at line 91 of file autolabl.h.
| RVC::AUTOLABEL::AUTOLABEL | ( | ) |
Default ctor.
| RVC::AUTOLABEL::~AUTOLABEL | ( | ) |
Destructor.
| ERRVALUE RVC::AUTOLABEL::GenerateConglomerateLineLabel | ( | INT32 | StartLineNum, | |
| const MISTRING & | string, | |||
| double | height, | |||
| const RVC::OBJECTNAME & | StyleName, | |||
| const TEXTSTYLE & | TextStyle, | |||
| MILIST< RVC::VECTOR::LABEL > & | LabelList, | |||
| FILTER & | LineFilter | |||
| ) |
Generate labels along a conglomerate line.
Which lines are "joined" is determined by the 'FILTER' interface class. Lines are "joined by the label string and height returned from the filter being equal.
| StartLineNum | Initial line number to start with |
| string | Label string |
| height | Label height |
| StyleName | Name of the text style entry to assign to the label |
| TextStyle | Style information for the label |
| LabelList | List of labels constructed (RETURNED) |
| LineFilter | Filter for determining which lines to conglomerate |
| ERRVALUE RVC::AUTOLABEL::GenerateLabel | ( | ELEMTYPE | ElemType, | |
| INT32 | ElemNum, | |||
| const MISTRING & | string, | |||
| double | height, | |||
| const RVC::OBJECTNAME & | StyleName, | |||
| const TEXTSTYLE & | TextStyle, | |||
| MILIST< RVC::VECTOR::LABEL > & | LabelList | |||
| ) |
Auto-generate a label based on a vector element.
| ElemType | Vector element type to generate labels for |
| ElemNum | Element number to generate the label for |
| string | Label string |
| height | Label height |
| StyleName | Name of the text style entry to assign to the label |
| TextStyle | Style information for the label |
| LabelList | List of labels constructed (RETURNED) |
| ERRVALUE RVC::AUTOLABEL::GenerateLineLabel | ( | INT32 | LineNum, | |
| const MISTRING & | string, | |||
| double | height, | |||
| const RVC::OBJECTNAME & | StyleName, | |||
| const TEXTSTYLE & | TextStyle, | |||
| MILIST< RVC::VECTOR::LABEL > & | LabelList | |||
| ) |
Auto-generate a label based on a vector line element.
| LineNum | Line number to generate the label for |
| string | Label string |
| height | Label height |
| StyleName | Name of the text style entry to assign to the label |
| TextStyle | Style information for the label |
| LabelList | List of labels constructed (RETURNED) |
| ERRVALUE RVC::AUTOLABEL::GeneratePointLabel | ( | INT32 | PointNum, | |
| const MISTRING & | string, | |||
| double | height, | |||
| const RVC::OBJECTNAME & | StyleName, | |||
| const TEXTSTYLE & | TextStyle, | |||
| MILIST< RVC::VECTOR::LABEL > & | LabelList | |||
| ) |
Auto-generate a label based on a vector point element.
| PointNum | Point number to generate the label for |
| string | Label string |
| height | Label height |
| StyleName | Name of the text style entry to assign to the label |
| TextStyle | Style information for the label |
| LabelList | List of labels constructed (RETURNED) |
| ERRVALUE RVC::AUTOLABEL::GeneratePolygonLabel | ( | INT32 | PolyNum, | |
| const MISTRING & | string, | |||
| double | height, | |||
| const RVC::OBJECTNAME & | StyleName, | |||
| const TEXTSTYLE & | TextStyle, | |||
| MILIST< RVC::VECTOR::LABEL > & | LabelList | |||
| ) |
Auto-generate a label based on a vector polygon element.
| PolyNum | Polygon number to generate the label for |
| string | Label string |
| height | Label height |
| StyleName | Name of the text style entry to assign to the label |
| TextStyle | Style information for the label |
| LabelList | List of labels constructed (RETURNED) |
| double RVC::AUTOLABEL::GetLabelSpace | ( | ) | const [inline] |
Get the spacing between labels for large polygons and long lines.
Definition at line 171 of file autolabl.h.
| LINECURVE RVC::AUTOLABEL::GetLineCurve | ( | ) | const [inline] |
Get the label baseline curvature setting for line label generation.
Definition at line 176 of file autolabl.h.
| LABELORIENT RVC::AUTOLABEL::GetOrientation | ( | ) | const [inline] |
Get the label orientation setting for line labels.
Definition at line 181 of file autolabl.h.
| POSNMODE_POLYGON RVC::AUTOLABEL::GetPosnModePolygon | ( | ) | const [inline] |
Get the current polygon label positioning setting.
Definition at line 166 of file autolabl.h.
| ERRVALUE RVC::AUTOLABEL::Initialize | ( | const RVC::OBJITEM & | ObjItem | ) |
Initialize auto label polygon.
| ObjItem | Vector object to auto-generate labels on |
| bool RVC::AUTOLABEL::IsInitialized | ( | ) | const [inline] |
Has the auto-generate label class instance been initialized?
Definition at line 190 of file autolabl.h.
| bool RVC::AUTOLABEL::IsOrthogonalLabels | ( | ) | const [inline] |
| void RVC::AUTOLABEL::SetLabelSpace | ( | double | LabelSpace | ) | [inline] |
Set the spacing between labels for large polygons and long lines Set to '0.0' to disable label spacing (default).
Definition at line 211 of file autolabl.h.
| void RVC::AUTOLABEL::SetLineCurve | ( | LINECURVE | LineCurve | ) | [inline] |
Set to generate line label baselines from the section of the line.
Definition at line 216 of file autolabl.h.
| void RVC::AUTOLABEL::SetMinLineLength | ( | double | MinLineLength | ) | [inline] |
Set the minimum line length necessary to generate a label The length is in vector units.
Definition at line 205 of file autolabl.h.
| void RVC::AUTOLABEL::SetOrientation | ( | LABELORIENT | Orientation | ) | [inline] |
| void RVC::AUTOLABEL::SetOrthogonalLabels | ( | bool | value | ) | [inline] |
Set to generate line label baselines orthogonal to the line.
Definition at line 226 of file autolabl.h.
| void RVC::AUTOLABEL::SetPosnModePolygon | ( | POSNMODE_POLYGON | PosnModePoly | ) | [inline] |
Set the current polygon label positioning setting.
Definition at line 199 of file autolabl.h.
| void RVC::AUTOLABEL::Stop | ( | ) |
Stop the auto-generate label toolkit.
1.5.2