Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Member Functions | Public Attributes
ON_Linetype Class Reference

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

+ Inheritance diagram for ON_Linetype:
+ Collaboration diagram for ON_Linetype:

Public Member Functions

 ON_Linetype ()
 
 ~ON_Linetype ()
 
void Default ()
 
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 &)
 
ON_UUID ModelObjectId () const
 
bool SetLinetypeName (const char *)
 
bool SetLinetypeName (const wchar_t *)
 
const wchar_t * LinetypeName () const
 
bool SetLinetypeIndex (int)
 
int LinetypeIndex () const
 
double PatternLength () const
 
int SegmentCount () const
 
int AppendSegment (const ON_LinetypeSegment &segment)
 
bool RemoveSegment (int index)
 
bool SetSegment (int index, const ON_LinetypeSegment &segment)
 
bool SetSegment (int index, double length, ON_LinetypeSegment::eSegType type)
 
ON_LinetypeSegment Segment (int index) const
 
ON_SimpleArray< ON_LinetypeSegment > & Segments ()
 
const ON_SimpleArray< ON_LinetypeSegment > & Segments () const
 
- Public Member Functions inherited from ON_Object
bool CopyFrom (const ON_Object *src)
 
 ON_Object ()
 
 ON_Object (const ON_Object &)
 
ON_Objectoperator= (const ON_Object &)
 
virtual ~ON_Object ()
 
void EmergencyDestroy ()
 
virtual void MemoryRelocate ()
 
ON_BOOL32 IsKindOf (const ON_ClassId *pClassId) const
 
virtual unsigned int SizeOf () const
 
virtual ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
virtual ON::object_type ObjectType () const
 
bool SetUserString (const wchar_t *key, const wchar_t *string_value)
 
int SetUserStrings (int count, const ON_UserString *user_strings, bool bReplace)
 
bool GetUserString (const wchar_t *key, ON_wString &string_value) const
 
int GetUserStrings (ON_ClassArray< ON_UserString > &user_strings) const
 
int GetUserStringKeys (ON_ClassArray< ON_wString > &user_string_keys) const
 
int UserStringCount () const
 
ON_BOOL32 AttachUserData (ON_UserData *pUserData)
 
ON_BOOL32 DetachUserData (ON_UserData *pUserData)
 
ON_UserDataGetUserData (const ON_UUID &userdata_uuid) const
 
void PurgeUserData ()
 
ON_UserDataFirstUserData () const
 
void TransformUserData (const ON_Xform &xform)
 
void CopyUserData (const ON_Object &source_object)
 
void MoveUserData (ON_Object &source_object)
 
virtual void DestroyRuntimeCache (bool bDelete=true)
 

Public Attributes

int m_linetype_index
 
ON_UUID m_linetype_id
 
ON_wString m_linetype_name
 

Detailed Description

Definition at line 40 of file opennurbs_linetype.h.

Constructor & Destructor Documentation

◆ ON_Linetype()

ON_Linetype::ON_Linetype ( )

◆ ~ON_Linetype()

ON_Linetype::~ON_Linetype ( )

Member Function Documentation

◆ AppendSegment()

int ON_Linetype::AppendSegment ( const ON_LinetypeSegment segment)

◆ Default()

void ON_Linetype::Default ( )

◆ Dump()

void ON_Linetype::Dump ( ON_TextLog ) const
virtual

Reimplemented from ON_Object.

◆ IsValid()

ON_BOOL32 ON_Linetype::IsValid ( ON_TextLog text_log = NULL) const
virtual

Implements ON_Object.

◆ LinetypeIndex()

int ON_Linetype::LinetypeIndex ( ) const

◆ LinetypeName()

const wchar_t* ON_Linetype::LinetypeName ( ) const

◆ ModelObjectId()

ON_UUID ON_Linetype::ModelObjectId ( ) const
virtual

Reimplemented from ON_Object.

◆ PatternLength()

double ON_Linetype::PatternLength ( ) const

◆ Read()

ON_BOOL32 ON_Linetype::Read ( ON_BinaryArchive )
virtual

Reimplemented from ON_Object.

◆ RemoveSegment()

bool ON_Linetype::RemoveSegment ( int  index)

◆ Segment()

ON_LinetypeSegment ON_Linetype::Segment ( int  index) const

◆ SegmentCount()

int ON_Linetype::SegmentCount ( ) const

◆ Segments() [1/2]

ON_SimpleArray<ON_LinetypeSegment>& ON_Linetype::Segments ( )

◆ Segments() [2/2]

const ON_SimpleArray<ON_LinetypeSegment>& ON_Linetype::Segments ( ) const

◆ SetLinetypeIndex()

bool ON_Linetype::SetLinetypeIndex ( int  )

◆ SetLinetypeName() [1/2]

bool ON_Linetype::SetLinetypeName ( const char *  )

◆ SetLinetypeName() [2/2]

bool ON_Linetype::SetLinetypeName ( const wchar_t *  )

◆ SetSegment() [1/2]

bool ON_Linetype::SetSegment ( int  index,
const ON_LinetypeSegment segment 
)

◆ SetSegment() [2/2]

bool ON_Linetype::SetSegment ( int  index,
double  length,
ON_LinetypeSegment::eSegType  type 
)

◆ Write()

ON_BOOL32 ON_Linetype::Write ( ON_BinaryArchive ) const
virtual

Reimplemented from ON_Object.

Member Data Documentation

◆ m_linetype_id

ON_UUID ON_Linetype::m_linetype_id

Definition at line 168 of file opennurbs_linetype.h.

◆ m_linetype_index

int ON_Linetype::m_linetype_index

Definition at line 167 of file opennurbs_linetype.h.

◆ m_linetype_name

ON_wString ON_Linetype::m_linetype_name

Definition at line 169 of file opennurbs_linetype.h.


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