Public Types |
enum | eArrowType {
solidtriangle = 0,
dot = 1,
tick = 2,
shorttriangle = 3,
arrow = 4,
rectangle = 5,
longtriangle = 6,
longertriangle = 7
} |
enum | eField {
fn_name = 0,
fn_index = 1,
fn_extextension = 2,
fn_extoffset = 3,
fn_arrowsize = 4,
fn_centermark = 5,
fn_textgap = 6,
fn_textheight = 7,
fn_textalign = 8,
fn_arrowtype = 9,
fn_angularunits = 10,
fn_lengthformat = 11,
fn_angleformat = 12,
fn_angleresolution = 13,
fn_lengthresolution = 14,
fn_fontindex = 15,
fn_lengthfactor = 16,
fn_bAlternate = 17,
fn_alternate_lengthfactor = 18,
fn_alternate_lengthformat = 19,
fn_alternate_lengthresolution = 20,
fn_alternate_angleformat = 21,
fn_alternate_angleresolution = 22,
fn_prefix = 23,
fn_suffix = 24,
fn_alternate_prefix = 25,
fn_alternate_suffix = 26,
fn_dimextension = 27,
fn_leaderarrowsize = 28,
fn_leaderarrowtype = 29,
fn_suppressextension1 = 30,
fn_suppressextension2 = 31,
fn_last = 32,
fn_overall_scale = 33,
fn_ext_line_color_source = 34,
fn_dim_line_color_source = 35,
fn_arrow_color_source = 36,
fn_text_color_source = 37,
fn_ext_line_color = 38,
fn_dim_line_color = 39,
fn_arrow_color = 40,
fn_text_color = 41,
fn_ext_line_plot_color_source = 42,
fn_dim_line_plot_color_source = 43,
fn_arrow_plot_color_source = 44,
fn_text_plot_color_source = 45,
fn_ext_line_plot_color = 46,
fn_dim_line_plot_color = 47,
fn_arrow_plot_color = 48,
fn_text_plot_color = 49,
fn_ext_line_plot_weight_source = 50,
fn_dim_line_plot_weight_source = 51,
fn_ext_line_plot_weight_mm = 52,
fn_dim_line_plot_weight_mm = 53,
fn_tolerance_style = 54,
fn_tolerance_resolution = 55,
fn_tolerance_upper_value = 56,
fn_tolerance_lower_value = 57,
fn_tolerance_height_scale = 58,
fn_baseline_spacing = 59,
fn_draw_mask = 60,
fn_mask_color_source = 61,
fn_mask_color = 62,
fn_mask_border = 63,
fn_dimscale = 64,
fn_dimscale_source = 65,
fn_really_last = 0xFFFF
} |
Public Member Functions |
| ON_DimStyle () |
| ~ON_DimStyle () |
ON_DimStyle & | operator= (const ON_3dmAnnotationSettings &src) |
ON_BOOL32 | IsValid (ON_TextLog *text_log=NULL) const |
void | Dump (ON_TextLog &) const |
ON_BOOL32 | Write (ON_BinaryArchive &) const |
ON_BOOL32 | Read (ON_BinaryArchive &) |
void | EmergencyDestroy () |
ON_UUID | ModelObjectId () const |
void | SetName (const wchar_t *) |
void | SetName (const char *) |
void | GetName (ON_wString &) const |
const wchar_t * | Name () const |
void | SetIndex (int) |
int | Index () const |
void | SetDefaults () |
void | SetDefaultsNoExtension () |
double | ExtExtension () const |
void | SetExtExtension (const double) |
double | ExtOffset () const |
void | SetExtOffset (const double) |
double | ArrowSize () const |
void | SetArrowSize (const double) |
double | LeaderArrowSize () const |
void | SetLeaderArrowSize (const double) |
double | CenterMark () const |
void | SetCenterMark (const double) |
int | TextAlignment () const |
void | SetTextAlignment (ON::eTextDisplayMode) |
int | ArrowType () const |
void | SetArrowType (eArrowType) |
int | LeaderArrowType () const |
void | SetLeaderArrowType (eArrowType) |
int | AngularUnits () const |
void | SetAngularUnits (int) |
int | LengthFormat () const |
void | SetLengthFormat (int) |
int | AngleFormat () const |
void | SetAngleFormat (int) |
int | LengthResolution () const |
void | SetLengthResolution (int) |
int | AngleResolution () const |
void | SetAngleResolution (int) |
int | FontIndex () const |
virtual void | SetFontIndex (int index) |
double | TextGap () const |
void | SetTextGap (double gap) |
double | TextHeight () const |
void | SetTextHeight (double height) |
double | LengthFactor () const |
ON_DEPRECATED void | SetLengthactor (double) |
void | SetLengthFactor (double) |
bool | Alternate () const |
void | SetAlternate (bool) |
double | AlternateLengthFactor () const |
ON_DEPRECATED void | SetAlternateLengthactor (double) |
void | SetAlternateLengthFactor (double) |
int | AlternateLengthFormat () const |
void | SetAlternateLengthFormat (int) |
int | AlternateLengthResolution () const |
void | SetAlternateLengthResolution (int) |
int | AlternateAngleFormat () const |
void | SetAlternateAngleFormat (int) |
int | AlternateAngleResolution () const |
void | SetAlternateAngleResolution (int) |
void | GetPrefix (ON_wString &) const |
const wchar_t * | Prefix () const |
void | SetPrefix (const wchar_t *) |
void | SetPrefix (wchar_t *) |
void | GetSuffix (ON_wString &) const |
const wchar_t * | Suffix () const |
void | SetSuffix (const wchar_t *) |
void | SetSuffix (wchar_t *) |
void | GetAlternatePrefix (ON_wString &) const |
const wchar_t * | AlternatePrefix () const |
void | SetAlternatePrefix (const wchar_t *) |
void | SetAlternatePrefix (wchar_t *) |
void | GetAlternateSuffix (ON_wString &) const |
const wchar_t * | AlternateSuffix () const |
void | SetAlternateSuffix (const wchar_t *) |
void | SetAlternateSuffix (wchar_t *) |
bool | SuppressExtension1 () const |
void | SetSuppressExtension1 (bool) |
bool | SuppressExtension2 () const |
void | SetSuppressExtension2 (bool) |
ON_DEPRECATED void | Composite (const ON_DimStyle &override) |
ON_DEPRECATED void | InvalidateField (eField field) |
ON_DEPRECATED void | InvalidateAllFields () |
ON_DEPRECATED void | ValidateField (eField field) |
ON_DEPRECATED bool | IsFieldValid (eField) const |
double | DimExtension () const |
void | SetDimExtension (const double) |
bool | IsFieldOverride (eField field_id) const |
void | SetFieldOverride (ON_DimStyle::eField field_id, bool bOverride) |
bool | HasOverrides () const |
bool | OverrideFields (const ON_DimStyle &source, const ON_DimStyle &parent) |
bool | InheritFields (const ON_DimStyle &parent) |
bool | IsChildDimstyle () const |
bool | IsChildOf (const ON_UUID &parent_uuid) const |
bool | IsChildOf (ON_UUID &parent_uuid) const |
ON_UUID | ParentId () const |
void | SetParentId (ON_UUID parent_uuid) |
ON_DEPRECATED void | SetParent (ON_UUID &parent_uuid) |
int | ToleranceStyle () const |
int | ToleranceResolution () const |
double | ToleranceUpperValue () const |
double | ToleranceLowerValue () const |
double | ToleranceHeightScale () const |
double | BaselineSpacing () const |
void | SetToleranceStyle (int style) |
void | SetToleranceResolution (int resolution) |
void | SetToleranceUpperValue (double upper_value) |
void | SetToleranceLowerValue (double lower_value) |
void | SetToleranceHeightScale (double scale) |
void | SetBaselineSpacing (double spacing=false) |
bool | DrawTextMask () const |
void | SetDrawTextMask (bool bDraw) |
int | MaskColorSource () const |
void | SetMaskColorSource (int source) |
ON_Color | MaskColor () const |
void | SetMaskColor (ON_Color color) |
void | SetDimScaleSource (int source) |
int | DimScaleSource () const |
void | SetDimScale (double scale) |
double | DimScale () const |
double | MaskOffsetFactor () const |
void | Scale (double scale) |
void | SetSourceDimstyle (ON_UUID source_uuid) |
ON_UUID | SourceDimstyle () const |
bool | CompareFields (const ON_DimStyle &other) const |
class ON_DimStyleExtra * | DimStyleExtension () |
class ON_DimStyleExtra * | DimStyleExtension () const |
Static Public Member Functions |
static int | DefaultToleranceStyle () |
static int | DefaultToleranceResolution () |
static double | DefaultToleranceUpperValue () |
static double | DefaultToleranceLowerValue () |
static double | DefaultToleranceHeightScale () |
static double | DefaultBaselineSpacing () |
static bool | DefaultDrawTextMask () |
static int | DefaultMaskColorSource () |
static ON_Color | DefaultMaskColor () |
static double | DefaultDimScale () |
static int | DefaultDimScaleSource () |
Public Attributes |
ON_wString | m_dimstyle_name |
int | m_dimstyle_index |
ON_UUID | m_dimstyle_id |
double | m_extextension |
double | m_extoffset |
double | m_arrowsize |
double | m_centermark |
double | m_textgap |
double | m_textheight |
int | m_textalign |
int | m_arrowtype |
int | m_angularunits |
int | m_lengthformat |
int | m_angleformat |
int | m_angleresolution |
int | m_lengthresolution |
int | m_fontindex |
double | m_lengthfactor |
bool | m_bAlternate |
double | m_alternate_lengthfactor |
int | m_alternate_lengthformat |
int | m_alternate_lengthresolution |
int | m_alternate_angleformat |
int | m_alternate_angleresolution |
ON_wString | m_prefix |
ON_wString | m_suffix |
ON_wString | m_alternate_prefix |
ON_wString | m_alternate_suffix |
double | m_dimextension |
double | m_leaderarrowsize |
int | m_leaderarrowtype |
bool | m_bSuppressExtension1 |
bool | m_bSuppressExtension2 |
Definition at line 20 of file opennurbs_dimstyle.h.