Point Cloud Library (PCL)  1.7.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
ON_DimStyle Class Reference

#include <pcl/surface/3rdparty/opennurbs/opennurbs_dimstyle.h>

+ Inheritance diagram for ON_DimStyle:

List of all members.

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_DimStyleoperator= (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

Detailed Description

Definition at line 20 of file opennurbs_dimstyle.h.


Member Enumeration Documentation

Enumerator:
solidtriangle 
dot 
tick 
shorttriangle 
arrow 
rectangle 
longtriangle 
longertriangle 

Definition at line 25 of file opennurbs_dimstyle.h.

Enumerator:
fn_name 
fn_index 
fn_extextension 
fn_extoffset 
fn_arrowsize 
fn_centermark 
fn_textgap 
fn_textheight 
fn_textalign 
fn_arrowtype 
fn_angularunits 
fn_lengthformat 
fn_angleformat 
fn_angleresolution 
fn_lengthresolution 
fn_fontindex 
fn_lengthfactor 
fn_bAlternate 
fn_alternate_lengthfactor 
fn_alternate_lengthformat 
fn_alternate_lengthresolution 
fn_alternate_angleformat 
fn_alternate_angleresolution 
fn_prefix 
fn_suffix 
fn_alternate_prefix 
fn_alternate_suffix 
fn_dimextension 
fn_leaderarrowsize 
fn_leaderarrowtype 
fn_suppressextension1 
fn_suppressextension2 
fn_last 
fn_overall_scale 
fn_ext_line_color_source 
fn_dim_line_color_source 
fn_arrow_color_source 
fn_text_color_source 
fn_ext_line_color 
fn_dim_line_color 
fn_arrow_color 
fn_text_color 
fn_ext_line_plot_color_source 
fn_dim_line_plot_color_source 
fn_arrow_plot_color_source 
fn_text_plot_color_source 
fn_ext_line_plot_color 
fn_dim_line_plot_color 
fn_arrow_plot_color 
fn_text_plot_color 
fn_ext_line_plot_weight_source 
fn_dim_line_plot_weight_source 
fn_ext_line_plot_weight_mm 
fn_dim_line_plot_weight_mm 
fn_tolerance_style 
fn_tolerance_resolution 
fn_tolerance_upper_value 
fn_tolerance_lower_value 
fn_tolerance_height_scale 
fn_baseline_spacing 
fn_draw_mask 
fn_mask_color_source 
fn_mask_color 
fn_mask_border 
fn_dimscale 
fn_dimscale_source 
fn_really_last 

Definition at line 207 of file opennurbs_dimstyle.h.


Constructor & Destructor Documentation


Member Function Documentation

bool ON_DimStyle::Alternate ( ) const
const wchar_t* ON_DimStyle::AlternatePrefix ( ) const
const wchar_t* ON_DimStyle::AlternateSuffix ( ) const
int ON_DimStyle::AngleFormat ( ) const
double ON_DimStyle::ArrowSize ( ) const
int ON_DimStyle::ArrowType ( ) const
double ON_DimStyle::BaselineSpacing ( ) const
double ON_DimStyle::CenterMark ( ) const
bool ON_DimStyle::CompareFields ( const ON_DimStyle other) const
ON_DEPRECATED void ON_DimStyle::Composite ( const ON_DimStyle override)
static double ON_DimStyle::DefaultBaselineSpacing ( ) [static]
static double ON_DimStyle::DefaultDimScale ( ) [static]
static int ON_DimStyle::DefaultDimScaleSource ( ) [static]
static bool ON_DimStyle::DefaultDrawTextMask ( ) [static]
static int ON_DimStyle::DefaultMaskColorSource ( ) [static]
static double ON_DimStyle::DefaultToleranceHeightScale ( ) [static]
static double ON_DimStyle::DefaultToleranceLowerValue ( ) [static]
static int ON_DimStyle::DefaultToleranceResolution ( ) [static]
static int ON_DimStyle::DefaultToleranceStyle ( ) [static]
static double ON_DimStyle::DefaultToleranceUpperValue ( ) [static]
double ON_DimStyle::DimExtension ( ) const
double ON_DimStyle::DimScale ( ) const
class ON_DimStyleExtra* ON_DimStyle::DimStyleExtension ( )
class ON_DimStyleExtra* ON_DimStyle::DimStyleExtension ( ) const
bool ON_DimStyle::DrawTextMask ( ) const
void ON_DimStyle::Dump ( ON_TextLog ) const [virtual]

Reimplemented from ON_Object.

Reimplemented from ON_Object.

double ON_DimStyle::ExtExtension ( ) const
double ON_DimStyle::ExtOffset ( ) const
int ON_DimStyle::FontIndex ( ) const
void ON_DimStyle::GetName ( ON_wString ) const
void ON_DimStyle::GetPrefix ( ON_wString ) const
void ON_DimStyle::GetSuffix ( ON_wString ) const
bool ON_DimStyle::HasOverrides ( ) const
int ON_DimStyle::Index ( ) const
bool ON_DimStyle::InheritFields ( const ON_DimStyle parent)
ON_DEPRECATED void ON_DimStyle::InvalidateAllFields ( )
ON_DEPRECATED void ON_DimStyle::InvalidateField ( eField  field)
bool ON_DimStyle::IsChildOf ( const ON_UUID parent_uuid) const
bool ON_DimStyle::IsChildOf ( ON_UUID parent_uuid) const
bool ON_DimStyle::IsFieldOverride ( eField  field_id) const
ON_DEPRECATED bool ON_DimStyle::IsFieldValid ( eField  ) const
ON_BOOL32 ON_DimStyle::IsValid ( ON_TextLog text_log = NULL) const [virtual]

Implements ON_Object.

double ON_DimStyle::LeaderArrowSize ( ) const
double ON_DimStyle::LengthFactor ( ) const
ON_UUID ON_DimStyle::ModelObjectId ( ) const [virtual]

Reimplemented from ON_Object.

const wchar_t* ON_DimStyle::Name ( ) const
ON_DimStyle& ON_DimStyle::operator= ( const ON_3dmAnnotationSettings src)
bool ON_DimStyle::OverrideFields ( const ON_DimStyle source,
const ON_DimStyle parent 
)
const wchar_t* ON_DimStyle::Prefix ( ) const
ON_BOOL32 ON_DimStyle::Read ( ON_BinaryArchive ) [virtual]

Reimplemented from ON_Object.

void ON_DimStyle::Scale ( double  scale)
void ON_DimStyle::SetAlternate ( bool  )
ON_DEPRECATED void ON_DimStyle::SetAlternateLengthactor ( double  )
void ON_DimStyle::SetAlternatePrefix ( const wchar_t *  )
void ON_DimStyle::SetAlternatePrefix ( wchar_t *  )
void ON_DimStyle::SetAlternateSuffix ( const wchar_t *  )
void ON_DimStyle::SetAlternateSuffix ( wchar_t *  )
void ON_DimStyle::SetArrowSize ( const double  )
void ON_DimStyle::SetBaselineSpacing ( double  spacing = false)
void ON_DimStyle::SetCenterMark ( const double  )
void ON_DimStyle::SetDimExtension ( const double  )
void ON_DimStyle::SetDimScale ( double  scale)
void ON_DimStyle::SetDimScaleSource ( int  source)
void ON_DimStyle::SetDrawTextMask ( bool  bDraw)
void ON_DimStyle::SetExtExtension ( const double  )
void ON_DimStyle::SetExtOffset ( const double  )
void ON_DimStyle::SetFieldOverride ( ON_DimStyle::eField  field_id,
bool  bOverride 
)
virtual void ON_DimStyle::SetFontIndex ( int  index) [virtual]
void ON_DimStyle::SetIndex ( int  )
void ON_DimStyle::SetLeaderArrowSize ( const double  )
ON_DEPRECATED void ON_DimStyle::SetLengthactor ( double  )
void ON_DimStyle::SetLengthFactor ( double  )
void ON_DimStyle::SetMaskColorSource ( int  source)
void ON_DimStyle::SetName ( const wchar_t *  )
void ON_DimStyle::SetName ( const char *  )
ON_DEPRECATED void ON_DimStyle::SetParent ( ON_UUID parent_uuid)
void ON_DimStyle::SetParentId ( ON_UUID  parent_uuid)
void ON_DimStyle::SetPrefix ( const wchar_t *  )
void ON_DimStyle::SetPrefix ( wchar_t *  )
void ON_DimStyle::SetSourceDimstyle ( ON_UUID  source_uuid)
void ON_DimStyle::SetSuffix ( const wchar_t *  )
void ON_DimStyle::SetSuffix ( wchar_t *  )
void ON_DimStyle::SetTextAlignment ( ON::eTextDisplayMode  )
void ON_DimStyle::SetTextGap ( double  gap)
void ON_DimStyle::SetTextHeight ( double  height)
void ON_DimStyle::SetToleranceHeightScale ( double  scale)
void ON_DimStyle::SetToleranceLowerValue ( double  lower_value)
void ON_DimStyle::SetToleranceResolution ( int  resolution)
void ON_DimStyle::SetToleranceStyle ( int  style)
void ON_DimStyle::SetToleranceUpperValue ( double  upper_value)
const wchar_t* ON_DimStyle::Suffix ( ) const
double ON_DimStyle::TextGap ( ) const
double ON_DimStyle::TextHeight ( ) const
ON_DEPRECATED void ON_DimStyle::ValidateField ( eField  field)
ON_BOOL32 ON_DimStyle::Write ( ON_BinaryArchive ) const [virtual]

Reimplemented from ON_Object.


Member Data Documentation

Definition at line 441 of file opennurbs_dimstyle.h.

Definition at line 442 of file opennurbs_dimstyle.h.

Definition at line 437 of file opennurbs_dimstyle.h.

Definition at line 438 of file opennurbs_dimstyle.h.

Definition at line 439 of file opennurbs_dimstyle.h.

Definition at line 445 of file opennurbs_dimstyle.h.

Definition at line 446 of file opennurbs_dimstyle.h.

Definition at line 427 of file opennurbs_dimstyle.h.

Definition at line 428 of file opennurbs_dimstyle.h.

Definition at line 425 of file opennurbs_dimstyle.h.

Definition at line 419 of file opennurbs_dimstyle.h.

Definition at line 424 of file opennurbs_dimstyle.h.

Definition at line 435 of file opennurbs_dimstyle.h.

Definition at line 458 of file opennurbs_dimstyle.h.

Definition at line 459 of file opennurbs_dimstyle.h.

Definition at line 420 of file opennurbs_dimstyle.h.

Definition at line 453 of file opennurbs_dimstyle.h.

Definition at line 415 of file opennurbs_dimstyle.h.

Definition at line 414 of file opennurbs_dimstyle.h.

Definition at line 413 of file opennurbs_dimstyle.h.

Definition at line 417 of file opennurbs_dimstyle.h.

Definition at line 418 of file opennurbs_dimstyle.h.

Definition at line 431 of file opennurbs_dimstyle.h.

Definition at line 456 of file opennurbs_dimstyle.h.

Definition at line 457 of file opennurbs_dimstyle.h.

Definition at line 434 of file opennurbs_dimstyle.h.

Definition at line 426 of file opennurbs_dimstyle.h.

Definition at line 429 of file opennurbs_dimstyle.h.

Definition at line 443 of file opennurbs_dimstyle.h.

Definition at line 444 of file opennurbs_dimstyle.h.

Definition at line 423 of file opennurbs_dimstyle.h.

Definition at line 421 of file opennurbs_dimstyle.h.

Definition at line 422 of file opennurbs_dimstyle.h.


The documentation for this class was generated from the following file: