|
Point Cloud Library (PCL)
1.7.0
|
#include <pcl/surface/3rdparty/opennurbs/opennurbs_annotation2.h>
Inheritance diagram for ON_Annotation2:Public Types | |
| enum | eTextJustification { tjUndefined = 0, tjLeft = 1<<0, tjCenter = 1<<1, tjRight = 1<<2, tjBottom = 1<<16, tjMiddle = 1<<17, tjTop = 1<<18, tjBottomLeft = tjBottom | tjLeft, tjBottomCenter = tjBottom | tjCenter, tjBottomRight = tjBottom | tjRight, tjMiddleLeft = tjMiddle | tjLeft, tjMiddleCenter = tjMiddle | tjCenter, tjMiddleRight = tjMiddle | tjRight, tjTopLeft = tjTop | tjLeft, tjTopCenter = tjTop | tjCenter, tjTopRight = tjTop | tjRight } |
Public Member Functions | |
| ON_Annotation2 () | |
| ~ON_Annotation2 () | |
| ON_Annotation2 (const ON_Annotation &) | |
| ON_Annotation2 & | operator= (const ON_Annotation &) |
| void | Create () |
| void | Destroy () |
| void | EmergencyDestroy () |
| ON_BOOL32 | IsValid (ON_TextLog *text_log=NULL) const |
| ON_BOOL32 | Write (ON_BinaryArchive &) const |
| ON_BOOL32 | Read (ON_BinaryArchive &) |
| ON::object_type | ObjectType () const |
| int | Dimension () const |
| ON_BOOL32 | Transform (const ON_Xform &xform) |
| bool | EvaluatePoint (const class ON_ObjRef &objref, ON_3dPoint &P) const |
| bool | IsText () const |
| bool | IsLeader () const |
| bool | IsDimension () const |
| int | Index () const |
| void | SetIndex (int) |
| virtual double | NumericValue () const |
| void | SetHeight (double) |
| double | Height () const |
| void | SetType (ON::eAnnotationType) |
| ON::eAnnotationType | Type () const |
| void | SetPlane (const ON_Plane &) |
| const ON_Plane & | Plane () const |
| int | PointCount () const |
| void | SetPointCount (int count) |
| void | SetPoints (const ON_2dPointArray &) |
| const ON_2dPointArray & | Points () const |
| void | SetPoint (int, const ON_2dPoint &) |
| ON_2dPoint | Point (int) const |
| ON_DEPRECATED void | SetUserText (const wchar_t *text_value) |
| ON_DEPRECATED const ON_wString & | UserText () const |
| const wchar_t * | TextValue () const |
| void | SetTextValue (const wchar_t *text_value) |
| const wchar_t * | TextFormula () const |
| void | SetTextFormula (const wchar_t *s) |
| void | SetUserPositionedText (int bUserPositionedText) |
| bool | UserPositionedText () const |
| void | SetTextDisplayMode (ON::eTextDisplayMode) |
| ON::eTextDisplayMode | TextDisplayMode () const |
| ON_BOOL32 | GetECStoWCSXform (ON_Xform &) const |
| ON_BOOL32 | GetWCStoECSXform (ON_Xform &xform) const |
| void | ReservePoints (int) |
| virtual void | ConvertBack (ON_Annotation &target) |
| virtual void | SetJustification (unsigned int justification) |
| virtual unsigned int | Justification () |
| bool | GetTextXform (ON_RECT gdi_text_rect, int gdi_height_of_I, double dimstyle_textheight, double dimstyle_textgap, ON::eTextDisplayMode dimstyle_textalignment, double dimscale, ON_3dVector cameraX, ON_3dVector cameraY, const ON_Xform *model_xform, ON_Xform &text_xform) const |
| bool | GetTextXform (ON_RECT gdi_text_rect, int gdi_height_of_I, double dimstyle_textheight, double dimstyle_textgap, ON::eTextDisplayMode dimstyle_textalignment, double dimscale, ON_3dVector cameraX, ON_3dVector cameraY, ON_Xform &xform) const |
| bool | GetTextXform (const ON_RECT gdi_text_rect, const ON_Font &font, const ON_DimStyle *dimstyle, double dimscale, const ON_Viewport *vp, const ON_Xform *model_xform, ON_Xform &text_xform) const |
| bool | GetTextXform (ON_RECT gdi_text_rect, const ON_Font &font, const ON_DimStyle &dimstyle, double dimscale, const ON_Viewport *vp, ON_Xform &xform) const |
| bool | GetTextPoint (ON_2dPoint &text_2d_point) const |
Static Public Member Functions | |
| static const wchar_t * | DefaultText () |
Public Attributes | |
| ON::eAnnotationType | m_type |
| ON::eTextDisplayMode | m_textdisplaymode |
| ON_Plane | m_plane |
| ON_2dPointArray | m_points |
| ON_Annotation2Text | m_usertext |
| bool | m_userpositionedtext |
| bool | m_annotative_scale |
| int | m_index |
| double | m_textheight |
| unsigned int | m_justification |
Definition at line 265 of file opennurbs_annotation2.h.
| tjUndefined | |
| tjLeft | |
| tjCenter | |
| tjRight | |
| tjBottom | |
| tjMiddle | |
| tjTop | |
| tjBottomLeft | |
| tjBottomCenter | |
| tjBottomRight | |
| tjMiddleLeft | |
| tjMiddleCenter | |
| tjMiddleRight | |
| tjTopLeft | |
| tjTopCenter | |
| tjTopRight |
Definition at line 357 of file opennurbs_annotation2.h.
| ON_Annotation2::ON_Annotation2 | ( | const ON_Annotation & | ) |
| virtual void ON_Annotation2::ConvertBack | ( | ON_Annotation & | target | ) | [virtual] |
| void ON_Annotation2::Create | ( | ) |
| static const wchar_t* ON_Annotation2::DefaultText | ( | ) | [static] |
Reimplemented in ON_OrdinateDimension2, ON_AngularDimension2, and ON_LinearDimension2.
| void ON_Annotation2::Destroy | ( | ) |
| int ON_Annotation2::Dimension | ( | ) | const [virtual] |
Implements ON_Geometry.
| void ON_Annotation2::EmergencyDestroy | ( | ) |
Reimplemented from ON_Object.
| bool ON_Annotation2::EvaluatePoint | ( | const class ON_ObjRef & | objref, |
| ON_3dPoint & | P | ||
| ) | const [virtual] |
Reimplemented from ON_Geometry.
| ON_BOOL32 ON_Annotation2::GetECStoWCSXform | ( | ON_Xform & | ) | const |
| bool ON_Annotation2::GetTextPoint | ( | ON_2dPoint & | text_2d_point | ) | const |
| bool ON_Annotation2::GetTextXform | ( | ON_RECT | gdi_text_rect, |
| int | gdi_height_of_I, | ||
| double | dimstyle_textheight, | ||
| double | dimstyle_textgap, | ||
| ON::eTextDisplayMode | dimstyle_textalignment, | ||
| double | dimscale, | ||
| ON_3dVector | cameraX, | ||
| ON_3dVector | cameraY, | ||
| const ON_Xform * | model_xform, | ||
| ON_Xform & | text_xform | ||
| ) | const |
| bool ON_Annotation2::GetTextXform | ( | ON_RECT | gdi_text_rect, |
| int | gdi_height_of_I, | ||
| double | dimstyle_textheight, | ||
| double | dimstyle_textgap, | ||
| ON::eTextDisplayMode | dimstyle_textalignment, | ||
| double | dimscale, | ||
| ON_3dVector | cameraX, | ||
| ON_3dVector | cameraY, | ||
| ON_Xform & | xform | ||
| ) | const |
| bool ON_Annotation2::GetTextXform | ( | const ON_RECT | gdi_text_rect, |
| const ON_Font & | font, | ||
| const ON_DimStyle * | dimstyle, | ||
| double | dimscale, | ||
| const ON_Viewport * | vp, | ||
| const ON_Xform * | model_xform, | ||
| ON_Xform & | text_xform | ||
| ) | const |
| bool ON_Annotation2::GetTextXform | ( | ON_RECT | gdi_text_rect, |
| const ON_Font & | font, | ||
| const ON_DimStyle & | dimstyle, | ||
| double | dimscale, | ||
| const ON_Viewport * | vp, | ||
| ON_Xform & | xform | ||
| ) | const |
| ON_BOOL32 ON_Annotation2::GetWCStoECSXform | ( | ON_Xform & | xform | ) | const |
| double ON_Annotation2::Height | ( | ) | const |
| int ON_Annotation2::Index | ( | ) | const |
| bool ON_Annotation2::IsDimension | ( | ) | const |
| bool ON_Annotation2::IsLeader | ( | ) | const |
| bool ON_Annotation2::IsText | ( | ) | const |
| ON_BOOL32 ON_Annotation2::IsValid | ( | ON_TextLog * | text_log = NULL | ) | const [virtual] |
Implements ON_Object.
Reimplemented in ON_Leader2, ON_TextEntity2, ON_OrdinateDimension2, ON_AngularDimension2, ON_RadialDimension2, and ON_LinearDimension2.
| virtual unsigned int ON_Annotation2::Justification | ( | ) | [virtual] |
Reimplemented in ON_TextEntity2.
| virtual double ON_Annotation2::NumericValue | ( | ) | const [virtual] |
Reimplemented in ON_OrdinateDimension2, ON_AngularDimension2, ON_RadialDimension2, and ON_LinearDimension2.
| ON::object_type ON_Annotation2::ObjectType | ( | ) | const [virtual] |
Reimplemented from ON_Object.
| ON_Annotation2& ON_Annotation2::operator= | ( | const ON_Annotation & | ) |
| const ON_Plane& ON_Annotation2::Plane | ( | ) | const |
| ON_2dPoint ON_Annotation2::Point | ( | int | ) | const |
| int ON_Annotation2::PointCount | ( | ) | const |
| const ON_2dPointArray& ON_Annotation2::Points | ( | ) | const |
| ON_BOOL32 ON_Annotation2::Read | ( | ON_BinaryArchive & | ) | [virtual] |
Reimplemented from ON_Object.
Reimplemented in ON_Leader2, ON_TextEntity2, ON_OrdinateDimension2, ON_AngularDimension2, ON_RadialDimension2, and ON_LinearDimension2.
| void ON_Annotation2::ReservePoints | ( | int | ) |
| void ON_Annotation2::SetHeight | ( | double | ) |
| void ON_Annotation2::SetIndex | ( | int | ) |
| virtual void ON_Annotation2::SetJustification | ( | unsigned int | justification | ) | [virtual] |
Reimplemented in ON_TextEntity2.
| void ON_Annotation2::SetPlane | ( | const ON_Plane & | ) |
| void ON_Annotation2::SetPoint | ( | int | , |
| const ON_2dPoint & | |||
| ) |
| void ON_Annotation2::SetPointCount | ( | int | count | ) |
| void ON_Annotation2::SetPoints | ( | const ON_2dPointArray & | ) |
| void ON_Annotation2::SetTextDisplayMode | ( | ON::eTextDisplayMode | ) |
| void ON_Annotation2::SetTextFormula | ( | const wchar_t * | s | ) |
| void ON_Annotation2::SetTextValue | ( | const wchar_t * | text_value | ) |
| void ON_Annotation2::SetType | ( | ON::eAnnotationType | ) |
| void ON_Annotation2::SetUserPositionedText | ( | int | bUserPositionedText | ) |
| ON_DEPRECATED void ON_Annotation2::SetUserText | ( | const wchar_t * | text_value | ) |
| ON::eTextDisplayMode ON_Annotation2::TextDisplayMode | ( | ) | const |
| const wchar_t* ON_Annotation2::TextFormula | ( | ) | const |
| const wchar_t* ON_Annotation2::TextValue | ( | ) | const |
| ON_BOOL32 ON_Annotation2::Transform | ( | const ON_Xform & | xform | ) | [virtual] |
Reimplemented from ON_Geometry.
Reimplemented in ON_Leader2, ON_TextEntity2, ON_OrdinateDimension2, ON_AngularDimension2, ON_RadialDimension2, and ON_LinearDimension2.
| ON::eAnnotationType ON_Annotation2::Type | ( | ) | const |
| bool ON_Annotation2::UserPositionedText | ( | ) | const |
| ON_DEPRECATED const ON_wString& ON_Annotation2::UserText | ( | ) | const |
| ON_BOOL32 ON_Annotation2::Write | ( | ON_BinaryArchive & | ) | const [virtual] |
Reimplemented from ON_Object.
Reimplemented in ON_Leader2, ON_TextEntity2, ON_OrdinateDimension2, ON_AngularDimension2, ON_RadialDimension2, and ON_LinearDimension2.
Definition at line 985 of file opennurbs_annotation2.h.
Definition at line 993 of file opennurbs_annotation2.h.
| unsigned int ON_Annotation2::m_justification |
Definition at line 1002 of file opennurbs_annotation2.h.
Definition at line 946 of file opennurbs_annotation2.h.
Definition at line 956 of file opennurbs_annotation2.h.
| ON::eTextDisplayMode ON_Annotation2::m_textdisplaymode |
Definition at line 938 of file opennurbs_annotation2.h.
| double ON_Annotation2::m_textheight |
Definition at line 998 of file opennurbs_annotation2.h.
| ON::eAnnotationType ON_Annotation2::m_type |
Definition at line 931 of file opennurbs_annotation2.h.
Definition at line 977 of file opennurbs_annotation2.h.
Definition at line 973 of file opennurbs_annotation2.h.