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

#include <opennurbs_instance.h>

Inheritance diagram for ON_InstanceDefinition:
Inheritance graph
[legend]

List of all members.

Public Types

enum  {
  no_idef_settings = 0, idef_name_setting = 1, idef_description_setting = 2, idef_url_setting = 4,
  idef_units_setting = 8, idef_source_archive_setting = 0x10, idef_userdata_setting = 0x20, all_idef_settings = 0xFFFFFFFF
}
enum  IDEF_UPDATE_TYPE {
  static_def = 0, embedded_def = 1, linked_and_embedded_def = 2, linked_def = 3,
  force_32bit_idef_update_type = 0xFFFFFFFF
}

Public Member Functions

const wchar_t * Description () const
void DestroySourceArchive ()
int Dimension () const
void Dump (ON_TextLog &) const
bool GetAlternateSourceArchivePath (ON_wString &alternate_source_archive_path, bool &bRelativePath) const
ON_BOOL32 GetBBox (double *boxmin, double *boxmax, int bGrowBox=false) const
bool HasLinkedIdefLayerSettings () const
IDEF_UPDATE_TYPE IdefUpdateType () const
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
const ON_LayerLinkedIdefParentLayerSettings () const
ON_UUID ModelObjectId () const
const wchar_t * Name () const
ON::object_type ObjectType () const
 ON_InstanceDefinition ()
ON_BOOL32 Read (ON_BinaryArchive &binary_archive)
void SetAlternateSourceArchivePath (const wchar_t *alternate_source_archive_path, bool bRelativePath)
void SetBoundingBox (ON_BoundingBox bbox)
void SetDescription (const wchar_t *description)
void SetName (const wchar_t *name)
void SetSourceArchive (const wchar_t *source_archive, ON_CheckSum checksum, IDEF_UPDATE_TYPE update_type)
void SetUnitSystem (ON::unit_system us)
void SetUnitSystem (const ON_UnitSystem &us)
void SetURL (const wchar_t *url)
void SetURL_Tag (const wchar_t *url_tag)
void SetUuid (ON_UUID uuid)
unsigned int SizeOf () const
const wchar_t * SourceArchive () const
ON_CheckSum SourceArchiveCheckSum () const
ON_BOOL32 Transform (const ON_Xform &xform)
const ON_UnitSystemUnitSystem () const
void UpdateLinkedIdefLayerSettings (unsigned int layer_count, const ON_Layer *const *layer_settings)
void UpdateLinkedIdefParentLayerSettings (const ON_Layer *linked_idef_parent_layer)
void UpdateLinkedIdefReferenceFileLayerRuntimeId (const ON_UuidPairList &id_map)
void UpdateLinkedIdefReferenceFileLayerSettings (unsigned int layer_count, ON_Layer **layer_settings)
const wchar_t * URL () const
const wchar_t * URL_Tag () const
ON_UUID Uuid () const
ON_BOOL32 Write (ON_BinaryArchive &binary_archive) const
 ~ON_InstanceDefinition ()

Static Public Member Functions

static IDEF_UPDATE_TYPE IdefUpdateType (int i)

Public Attributes

ON_BoundingBox m_bbox
ON_wString m_description
unsigned char m_idef_layer_style
int m_idef_update_depth
IDEF_UPDATE_TYPE m_idef_update_type
ON_wString m_name
ON_SimpleArray< ON_UUIDm_object_uuid
ON_wString m_source_archive
ON_CheckSum m_source_archive_checksum
bool m_source_bRelativePath
ON_wString m_url
ON_wString m_url_tag
ON_UnitSystem m_us
ON_UUID m_uuid

Private Member Functions

 ON_OBJECT_DECLARE (ON_InstanceDefinition)

Private Attributes

unsigned char m_reserved2 [2]

Detailed Description

Definition at line 27 of file opennurbs_instance.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
no_idef_settings 
idef_name_setting 
idef_description_setting 
idef_url_setting 
idef_units_setting 
idef_source_archive_setting 
idef_userdata_setting 
all_idef_settings 

Definition at line 79 of file opennurbs_instance.h.

Enumerator:
static_def 
embedded_def 
linked_and_embedded_def 
linked_def 
force_32bit_idef_update_type 

Definition at line 36 of file opennurbs_instance.h.


Constructor & Destructor Documentation

Definition at line 24 of file opennurbs_instance.cpp.

Definition at line 39 of file opennurbs_instance.cpp.


Member Function Documentation

const wchar_t * ON_InstanceDefinition::Description ( ) const

Definition at line 648 of file opennurbs_instance.cpp.

Definition at line 694 of file opennurbs_instance.cpp.

int ON_InstanceDefinition::Dimension ( ) const [virtual]

Implements ON_Geometry.

Definition at line 558 of file opennurbs_instance.cpp.

void ON_InstanceDefinition::Dump ( ON_TextLog text_log) const [virtual]

Reimplemented from ON_Object.

Definition at line 44 of file opennurbs_instance.cpp.

bool ON_InstanceDefinition::GetAlternateSourceArchivePath ( ON_wString alternate_source_archive_path,
bool &  bRelativePath 
) const

Definition at line 1684 of file opennurbs_instance.cpp.

ON_BOOL32 ON_InstanceDefinition::GetBBox ( double *  boxmin,
double *  boxmax,
int  bGrowBox = false 
) const [virtual]

Implements ON_Geometry.

Definition at line 563 of file opennurbs_instance.cpp.

Definition at line 1181 of file opennurbs_instance.cpp.

Definition at line 389 of file opennurbs_instance.cpp.

Definition at line 376 of file opennurbs_instance.cpp.

ON_BOOL32 ON_InstanceDefinition::IsValid ( ON_TextLog text_log = NULL) const [virtual]

Implements ON_Object.

Definition at line 151 of file opennurbs_instance.cpp.

Definition at line 1316 of file opennurbs_instance.cpp.

Reimplemented from ON_Object.

Definition at line 1620 of file opennurbs_object.cpp.

const wchar_t * ON_InstanceDefinition::Name ( ) const

Definition at line 592 of file opennurbs_instance.cpp.

ON::object_type ON_InstanceDefinition::ObjectType ( ) const [virtual]

Reimplemented from ON_Object.

Definition at line 551 of file opennurbs_instance.cpp.

ON_BOOL32 ON_InstanceDefinition::Read ( ON_BinaryArchive binary_archive) [virtual]

Reimplemented from ON_Object.

Definition at line 414 of file opennurbs_instance.cpp.

void ON_InstanceDefinition::SetAlternateSourceArchivePath ( const wchar_t *  alternate_source_archive_path,
bool  bRelativePath 
)

Definition at line 1657 of file opennurbs_instance.cpp.

Definition at line 663 of file opennurbs_instance.cpp.

void ON_InstanceDefinition::SetDescription ( const wchar_t *  description)

Definition at line 653 of file opennurbs_instance.cpp.

void ON_InstanceDefinition::SetName ( const wchar_t *  name)

Definition at line 597 of file opennurbs_instance.cpp.

void ON_InstanceDefinition::SetSourceArchive ( const wchar_t *  source_archive,
ON_CheckSum  checksum,
ON_InstanceDefinition::IDEF_UPDATE_TYPE  idef_update_type 
)

Definition at line 668 of file opennurbs_instance.cpp.

void ON_InstanceDefinition::SetUnitSystem ( ON::unit_system  us)

Definition at line 720 of file opennurbs_instance.cpp.

Definition at line 735 of file opennurbs_instance.cpp.

void ON_InstanceDefinition::SetURL ( const wchar_t *  url)

Definition at line 613 of file opennurbs_instance.cpp.

void ON_InstanceDefinition::SetURL_Tag ( const wchar_t *  url_tag)

Definition at line 628 of file opennurbs_instance.cpp.

Definition at line 643 of file opennurbs_instance.cpp.

unsigned int ON_InstanceDefinition::SizeOf ( ) const [virtual]

Reimplemented from ON_Object.

Definition at line 268 of file opennurbs_instance.cpp.

const wchar_t * ON_InstanceDefinition::SourceArchive ( ) const

Definition at line 705 of file opennurbs_instance.cpp.

Definition at line 710 of file opennurbs_instance.cpp.

ON_BOOL32 ON_InstanceDefinition::Transform ( const ON_Xform xform) [virtual]

Reimplemented from ON_Geometry.

Definition at line 584 of file opennurbs_instance.cpp.

Definition at line 715 of file opennurbs_instance.cpp.

void ON_InstanceDefinition::UpdateLinkedIdefLayerSettings ( unsigned int  layer_count,
const ON_Layer *const *  layer_settings 
)

Definition at line 1415 of file opennurbs_instance.cpp.

void ON_InstanceDefinition::UpdateLinkedIdefParentLayerSettings ( const ON_Layer linked_idef_parent_layer)

Definition at line 1298 of file opennurbs_instance.cpp.

Definition at line 1289 of file opennurbs_instance.cpp.

void ON_InstanceDefinition::UpdateLinkedIdefReferenceFileLayerSettings ( unsigned int  layer_count,
ON_Layer **  layer_settings 
)

Definition at line 1322 of file opennurbs_instance.cpp.

const wchar_t * ON_InstanceDefinition::URL ( ) const

Definition at line 608 of file opennurbs_instance.cpp.

const wchar_t * ON_InstanceDefinition::URL_Tag ( ) const

Definition at line 623 of file opennurbs_instance.cpp.

Definition at line 638 of file opennurbs_instance.cpp.

ON_BOOL32 ON_InstanceDefinition::Write ( ON_BinaryArchive binary_archive) const [virtual]

Reimplemented from ON_Object.

Definition at line 282 of file opennurbs_instance.cpp.


Member Data Documentation

Definition at line 322 of file opennurbs_instance.h.

Definition at line 306 of file opennurbs_instance.h.

Definition at line 352 of file opennurbs_instance.h.

Definition at line 336 of file opennurbs_instance.h.

Definition at line 332 of file opennurbs_instance.h.

Definition at line 302 of file opennurbs_instance.h.

Definition at line 143 of file opennurbs_instance.h.

unsigned char ON_InstanceDefinition::m_reserved2[2] [private]

Definition at line 355 of file opennurbs_instance.h.

Definition at line 341 of file opennurbs_instance.h.

Definition at line 368 of file opennurbs_instance.h.

Definition at line 343 of file opennurbs_instance.h.

Definition at line 308 of file opennurbs_instance.h.

Definition at line 309 of file opennurbs_instance.h.

Definition at line 324 of file opennurbs_instance.h.

Definition at line 301 of file opennurbs_instance.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:52