Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes
ON_Annotation2 Class Reference

#include <opennurbs_annotation2.h>

Inheritance diagram for ON_Annotation2:
Inheritance graph
[legend]

List of all members.

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

virtual void ConvertBack (ON_Annotation &target)
void Create ()
void Destroy ()
int Dimension () const
void EmergencyDestroy ()
bool EvaluatePoint (const class ON_ObjRef &objref, ON_3dPoint &P) const
ON_BOOL32 GetECStoWCSXform (ON_Xform &) const
bool GetTextPoint (ON_2dPoint &text_2d_point) 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, 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
ON_BOOL32 GetWCStoECSXform (ON_Xform &xform) const
double Height () const
int Index () const
bool IsDimension () const
bool IsLeader () const
bool IsText () const
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
virtual unsigned int Justification ()
virtual double NumericValue () const
ON::object_type ObjectType () const
 ON_Annotation2 ()
 ON_Annotation2 (const ON_Annotation &)
ON_Annotation2operator= (const ON_Annotation &)
const ON_PlanePlane () const
ON_2dPoint Point (int) const
int PointCount () const
const ON_2dPointArrayPoints () const
ON_BOOL32 Read (ON_BinaryArchive &)
void ReservePoints (int)
void SetHeight (double)
void SetIndex (int)
virtual void SetJustification (unsigned int justification)
void SetPlane (const ON_Plane &)
void SetPoint (int, const ON_2dPoint &)
void SetPointCount (int count)
void SetPoints (const ON_2dPointArray &)
void SetTextDisplayMode (ON::eTextDisplayMode)
void SetTextFormula (const wchar_t *s)
void SetTextValue (const wchar_t *text_value)
void SetType (ON::eAnnotationType)
void SetUserPositionedText (int bUserPositionedText)
ON_DEPRECATED void SetUserText (const wchar_t *text_value)
ON::eTextDisplayMode TextDisplayMode () const
const wchar_t * TextFormula () const
const wchar_t * TextValue () const
ON_BOOL32 Transform (const ON_Xform &xform)
ON::eAnnotationType Type () const
bool UserPositionedText () const
ON_DEPRECATED const ON_wStringUserText () const
ON_BOOL32 Write (ON_BinaryArchive &) const
 ~ON_Annotation2 ()

Static Public Member Functions

static const wchar_t * DefaultText ()

Public Attributes

bool m_annotative_scale
int m_index
unsigned int m_justification
ON_Plane m_plane
ON_2dPointArray m_points
ON::eTextDisplayMode m_textdisplaymode
double m_textheight
ON::eAnnotationType m_type
bool m_userpositionedtext
ON_Annotation2Text m_usertext

Private Types

enum  SYMBOLS { degreesym = 176, radiussym = L'R', diametersym = 216, plusminussym = 177 }

Private Member Functions

 ON_OBJECT_DECLARE (ON_Annotation2)

Private Attributes

bool m_reserved_b1
bool m_reserved_b2

Detailed Description

Definition at line 265 of file opennurbs_annotation2.h.


Member Enumeration Documentation

Enumerator:
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.

enum ON_Annotation2::SYMBOLS [private]
Enumerator:
degreesym 
radiussym 
diametersym 
plusminussym 

Definition at line 270 of file opennurbs_annotation2.h.


Constructor & Destructor Documentation

Definition at line 567 of file opennurbs_annotation2.cpp.

Definition at line 572 of file opennurbs_annotation2.cpp.

Definition at line 643 of file opennurbs_annotation2.cpp.


Member Function Documentation

void ON_Annotation2::ConvertBack ( ON_Annotation target) [virtual]

Definition at line 1680 of file opennurbs_annotation2.cpp.

Definition at line 540 of file opennurbs_annotation2.cpp.

const wchar_t * ON_Annotation2::DefaultText ( ) [static]

Definition at line 548 of file opennurbs_annotation2.cpp.

int ON_Annotation2::Dimension ( ) const [virtual]

Implements ON_Geometry.

Definition at line 1162 of file opennurbs_annotation2.cpp.

Reimplemented from ON_Object.

Definition at line 561 of file opennurbs_annotation2.cpp.

bool ON_Annotation2::EvaluatePoint ( const class ON_ObjRef objref,
ON_3dPoint P 
) const [virtual]

Reimplemented from ON_Geometry.

Definition at line 577 of file opennurbs_annotation2.cpp.

Definition at line 1645 of file opennurbs_annotation2.cpp.

bool ON_Annotation2::GetTextPoint ( ON_2dPoint text_2d_point) const

Definition at line 6718 of file opennurbs_annotation2.cpp.

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

Definition at line 6346 of file opennurbs_annotation2.cpp.

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

Definition at line 5990 of file opennurbs_annotation2.cpp.

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

Definition at line 5877 of file opennurbs_annotation2.cpp.

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

Definition at line 5823 of file opennurbs_annotation2.cpp.

Definition at line 1653 of file opennurbs_annotation2.cpp.

double ON_Annotation2::Height ( ) const

Definition at line 1564 of file opennurbs_annotation2.cpp.

int ON_Annotation2::Index ( ) const

Definition at line 528 of file opennurbs_annotation2.cpp.

Definition at line 1555 of file opennurbs_annotation2.cpp.

bool ON_Annotation2::IsLeader ( ) const

Definition at line 1552 of file opennurbs_annotation2.cpp.

bool ON_Annotation2::IsText ( ) const

Definition at line 1549 of file opennurbs_annotation2.cpp.

ON_BOOL32 ON_Annotation2::IsValid ( ON_TextLog text_log = NULL) const [virtual]
unsigned int ON_Annotation2::Justification ( ) [virtual]

Reimplemented in ON_TextEntity2.

Definition at line 1698 of file opennurbs_annotation2.cpp.

double ON_Annotation2::NumericValue ( ) const [virtual]
ON::object_type ON_Annotation2::ObjectType ( ) const [virtual]

Reimplemented from ON_Object.

Definition at line 1157 of file opennurbs_annotation2.cpp.

ON_Annotation2 & ON_Annotation2::operator= ( const ON_Annotation src)

Definition at line 608 of file opennurbs_annotation2.cpp.

const ON_Plane & ON_Annotation2::Plane ( ) const

Definition at line 1586 of file opennurbs_annotation2.cpp.

ON_2dPoint ON_Annotation2::Point ( int  idx) const

Definition at line 1619 of file opennurbs_annotation2.cpp.

Definition at line 1599 of file opennurbs_annotation2.cpp.

Definition at line 1605 of file opennurbs_annotation2.cpp.

void ON_Annotation2::ReservePoints ( int  count)

Definition at line 1660 of file opennurbs_annotation2.cpp.

void ON_Annotation2::SetHeight ( double  ht)

Definition at line 1561 of file opennurbs_annotation2.cpp.

void ON_Annotation2::SetIndex ( int  index)

Definition at line 533 of file opennurbs_annotation2.cpp.

void ON_Annotation2::SetJustification ( unsigned int  justification) [virtual]

Reimplemented in ON_TextEntity2.

Definition at line 1691 of file opennurbs_annotation2.cpp.

void ON_Annotation2::SetPlane ( const ON_Plane plane)

Definition at line 1583 of file opennurbs_annotation2.cpp.

void ON_Annotation2::SetPoint ( int  idx,
const ON_2dPoint point 
)

Definition at line 1608 of file opennurbs_annotation2.cpp.

void ON_Annotation2::SetPointCount ( int  count)

Definition at line 1589 of file opennurbs_annotation2.cpp.

void ON_Annotation2::SetPoints ( const ON_2dPointArray points)

Definition at line 1602 of file opennurbs_annotation2.cpp.

void ON_Annotation2::SetTextDisplayMode ( ON::eTextDisplayMode  mode)

Definition at line 1669 of file opennurbs_annotation2.cpp.

void ON_Annotation2::SetTextFormula ( const wchar_t *  s)

Definition at line 6881 of file opennurbs_annotation2.cpp.

void ON_Annotation2::SetTextValue ( const wchar_t *  text_value)

Definition at line 6871 of file opennurbs_annotation2.cpp.

void ON_Annotation2::SetType ( ON::eAnnotationType  type)

Definition at line 1567 of file opennurbs_annotation2.cpp.

void ON_Annotation2::SetUserPositionedText ( int  bUserPositionedText)

Definition at line 1638 of file opennurbs_annotation2.cpp.

void ON_Annotation2::SetUserText ( const wchar_t *  text_value)

Definition at line 1626 of file opennurbs_annotation2.cpp.

ON::eTextDisplayMode ON_Annotation2::TextDisplayMode ( ) const

Definition at line 1674 of file opennurbs_annotation2.cpp.

const wchar_t * ON_Annotation2::TextFormula ( ) const

Definition at line 6886 of file opennurbs_annotation2.cpp.

const wchar_t * ON_Annotation2::TextValue ( ) const

Definition at line 6876 of file opennurbs_annotation2.cpp.

ON_BOOL32 ON_Annotation2::Transform ( const ON_Xform xform) [virtual]
ON::eAnnotationType ON_Annotation2::Type ( ) const

Definition at line 1580 of file opennurbs_annotation2.cpp.

Definition at line 1640 of file opennurbs_annotation2.cpp.

Definition at line 1632 of file opennurbs_annotation2.cpp.

ON_BOOL32 ON_Annotation2::Write ( ON_BinaryArchive file) const [virtual]

Member Data Documentation

Definition at line 985 of file opennurbs_annotation2.h.

Definition at line 993 of file opennurbs_annotation2.h.

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.

Definition at line 987 of file opennurbs_annotation2.h.

Definition at line 988 of file opennurbs_annotation2.h.

ON::eTextDisplayMode ON_Annotation2::m_textdisplaymode

Definition at line 938 of file opennurbs_annotation2.h.

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.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:51