Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
ONX_Model Class Reference

#include <opennurbs_extensions.h>

List of all members.

Public Member Functions

virtual int Audit (bool bAttemptRepair, int *repair_count, ON_TextLog *text_log, ON_SimpleArray< int > *warnings)
ON_BoundingBox BoundingBox () const
void Destroy ()
void DestroyCache ()
void Dump (ON_TextLog &) const
void DumpBitmapTable (ON_TextLog &) const
void DumpDimStyleTable (ON_TextLog &) const
void DumpFontTable (ON_TextLog &) const
void DumpGroupTable (ON_TextLog &) const
void DumpHatchPatternTable (ON_TextLog &) const
void DumpHistoryRecordTable (ON_TextLog &) const
void DumpIDefTable (ON_TextLog &) const
void DumpLayerTable (ON_TextLog &) const
void DumpLightTable (ON_TextLog &) const
void DumpLinetypeTable (ON_TextLog &) const
void DumpMaterialTable (ON_TextLog &) const
void DumpObjectTable (ON_TextLog &) const
void DumpSummary (ON_TextLog &) const
void DumpTextureMappingTable (ON_TextLog &) const
void DumpUserDataTable (ON_TextLog &) const
bool GetDocumentUserString (const wchar_t *key, ON_wString &string_value) const
int GetDocumentUserStrings (ON_ClassArray< ON_UserString > &user_strings) const
void GetLinetype (const ON_3dmObjectAttributes &attributes, ON_Linetype &linetype) const
void GetLinetype (int object_index, ON_Linetype &linetype) const
void GetRenderMaterial (const ON_3dmObjectAttributes &attributes, ON_Material &material) const
void GetRenderMaterial (int object_index, ON_Material &material) const
virtual void GetUnusedIDefName (ON_wString &idef_name) const
virtual void GetUnusedLayerName (ON_wString &layer_name) const
virtual int IDefIndex (ON_UUID idef_uuid) const
virtual int IDefIndex (const wchar_t *idef_name) const
bool IsValid (ON_TextLog *text_log=NULL) const
virtual int LayerIndex (const wchar_t *layer_name) const
virtual int ObjectIndex (ON_UUID object_uuid) const
 ONX_Model ()
virtual void Polish ()
bool Read (ON_BinaryArchive &archive, ON_TextLog *error_log=NULL)
bool Read (const char *filename, ON_TextLog *error_log=NULL)
bool Read (const wchar_t *filename, ON_TextLog *error_log=NULL)
bool SetDocumentUserString (const wchar_t *key, const wchar_t *string_value)
virtual int UsesIDef (const ON_InstanceRef &iref, ON_UUID idef_uuid) const
ON_Color WireframeColor (const ON_3dmObjectAttributes &attributes) const
ON_Color WireframeColor (int object_index) const
bool Write (ON_BinaryArchive &archive, int version=0, const char *sStartSectionComment=NULL, ON_TextLog *error_log=NULL)
bool Write (const char *filename, int version=0, const char *sStartSectionComment=NULL, ON_TextLog *error_log=NULL)
bool Write (const wchar_t *filename, int version=0, const char *sStartSectionComment=NULL, ON_TextLog *error_log=NULL)
virtual ~ONX_Model ()

Static Public Member Functions

static bool GetRDKDocumentInformation (const ONX_Model_UserData &docud, ON_wString &rdk_xml_document_data)
static bool GetRDKObjectInformation (const ON_Object &object, ON_wString &rdk_xml_object_data)
static bool IsRDKDocumentInformation (const ONX_Model_UserData &docud)
static bool IsRDKObjectInformation (const ON_UserData &objectud)

Public Attributes

int m_3dm_file_version
int m_3dm_opennurbs_version
ON_SimpleArray< ON_Bitmap * > m_bitmap_table
int m_crc_error_count
ON_ObjectArray< ON_DimStylem_dimstyle_table
size_t m_file_length
ON_ObjectArray< ON_Fontm_font_table
ON_ObjectArray< ON_Groupm_group_table
ON_ObjectArray< ON_HatchPatternm_hatch_pattern_table
ON_SimpleArray
< ON_HistoryRecord * > 
m_history_record_table
ON_UuidIndexList m_idef_id_index
ON_ObjectArray
< ON_InstanceDefinition
m_idef_table
ON_ObjectArray< ON_Layerm_layer_table
ON_ClassArray
< ONX_Model_RenderLight
m_light_table
ON_ObjectArray< ON_Linetypem_linetype_table
ON_UuidIndexList m_mapping_id_index
ON_ObjectArray< ON_TextureMappingm_mapping_table
ON_UuidIndexList m_material_id_index
ON_ObjectArray< ON_Materialm_material_table
ON_UuidIndexList m_object_id_index
ON_ClassArray< ONX_Model_Objectm_object_table
ON_3dmProperties m_properties
ON_3dmSettings m_settings
ON_String m_sStartSectionComments
ON_ClassArray< ONX_Model_UserDatam_userdata_table

Private Member Functions

 ONX_Model (const ONX_Model &)
ONX_Modeloperator= (const ONX_Model &)

Private Attributes

ON_BoundingBox m__object_table_bbox

Detailed Description

Definition at line 175 of file opennurbs_extensions.h.


Constructor & Destructor Documentation

Definition at line 399 of file opennurbs_extensions.cpp.

ONX_Model::~ONX_Model ( ) [virtual]

Definition at line 410 of file opennurbs_extensions.cpp.

ONX_Model::ONX_Model ( const ONX_Model ) [private]

Member Function Documentation

int ONX_Model::Audit ( bool  bAttemptRepair,
int *  repair_count,
ON_TextLog text_log,
ON_SimpleArray< int > *  warnings 
) [virtual]

Definition at line 5152 of file opennurbs_extensions.cpp.

Definition at line 464 of file opennurbs_extensions.cpp.

Definition at line 415 of file opennurbs_extensions.cpp.

Definition at line 454 of file opennurbs_extensions.cpp.

void ONX_Model::Dump ( ON_TextLog dump) const

Definition at line 969 of file opennurbs_extensions.cpp.

void ONX_Model::DumpBitmapTable ( ON_TextLog dump) const

Definition at line 671 of file opennurbs_extensions.cpp.

void ONX_Model::DumpDimStyleTable ( ON_TextLog dump) const

Definition at line 768 of file opennurbs_extensions.cpp.

void ONX_Model::DumpFontTable ( ON_TextLog dump) const

Definition at line 756 of file opennurbs_extensions.cpp.

void ONX_Model::DumpGroupTable ( ON_TextLog dump) const

Definition at line 744 of file opennurbs_extensions.cpp.

Definition at line 781 of file opennurbs_extensions.cpp.

Definition at line 933 of file opennurbs_extensions.cpp.

void ONX_Model::DumpIDefTable ( ON_TextLog dump) const

Definition at line 793 of file opennurbs_extensions.cpp.

void ONX_Model::DumpLayerTable ( ON_TextLog dump) const

Definition at line 719 of file opennurbs_extensions.cpp.

void ONX_Model::DumpLightTable ( ON_TextLog dump) const

Definition at line 731 of file opennurbs_extensions.cpp.

void ONX_Model::DumpLinetypeTable ( ON_TextLog dump) const

Definition at line 707 of file opennurbs_extensions.cpp.

void ONX_Model::DumpMaterialTable ( ON_TextLog dump) const

Definition at line 695 of file opennurbs_extensions.cpp.

void ONX_Model::DumpObjectTable ( ON_TextLog dump) const

Definition at line 915 of file opennurbs_extensions.cpp.

void ONX_Model::DumpSummary ( ON_TextLog dump) const

Definition at line 634 of file opennurbs_extensions.cpp.

Definition at line 683 of file opennurbs_extensions.cpp.

void ONX_Model::DumpUserDataTable ( ON_TextLog dump) const

Definition at line 955 of file opennurbs_extensions.cpp.

bool ONX_Model::GetDocumentUserString ( const wchar_t *  key,
ON_wString string_value 
) const

Definition at line 3799 of file opennurbs_extensions.cpp.

Definition at line 3824 of file opennurbs_extensions.cpp.

void ONX_Model::GetLinetype ( const ON_3dmObjectAttributes attributes,
ON_Linetype linetype 
) const

Definition at line 528 of file opennurbs_extensions.cpp.

void ONX_Model::GetLinetype ( int  object_index,
ON_Linetype linetype 
) const

Definition at line 561 of file opennurbs_extensions.cpp.

bool ONX_Model::GetRDKDocumentInformation ( const ONX_Model_UserData docud,
ON_wString rdk_xml_document_data 
) [static]

Definition at line 5395 of file opennurbs_extensions.cpp.

bool ONX_Model::GetRDKObjectInformation ( const ON_Object object,
ON_wString rdk_xml_object_data 
) [static]

Definition at line 5315 of file opennurbs_extensions.cpp.

void ONX_Model::GetRenderMaterial ( const ON_3dmObjectAttributes attributes,
ON_Material material 
) const

Definition at line 481 of file opennurbs_extensions.cpp.

void ONX_Model::GetRenderMaterial ( int  object_index,
ON_Material material 
) const

Definition at line 514 of file opennurbs_extensions.cpp.

void ONX_Model::GetUnusedIDefName ( ON_wString idef_name) const [virtual]

Definition at line 3588 of file opennurbs_extensions.cpp.

void ONX_Model::GetUnusedLayerName ( ON_wString layer_name) const [virtual]

Definition at line 3711 of file opennurbs_extensions.cpp.

int ONX_Model::IDefIndex ( ON_UUID  idef_uuid) const [virtual]

Definition at line 3522 of file opennurbs_extensions.cpp.

int ONX_Model::IDefIndex ( const wchar_t *  idef_name) const [virtual]

Definition at line 3566 of file opennurbs_extensions.cpp.

bool ONX_Model::IsRDKDocumentInformation ( const ONX_Model_UserData docud) [static]

Definition at line 5385 of file opennurbs_extensions.cpp.

bool ONX_Model::IsRDKObjectInformation ( const ON_UserData objectud) [static]

Definition at line 5310 of file opennurbs_extensions.cpp.

bool ONX_Model::IsValid ( ON_TextLog text_log = NULL) const

Definition at line 3470 of file opennurbs_extensions.cpp.

int ONX_Model::LayerIndex ( const wchar_t *  layer_name) const [virtual]

Definition at line 3688 of file opennurbs_extensions.cpp.

int ONX_Model::ObjectIndex ( ON_UUID  object_uuid) const [virtual]

Definition at line 3478 of file opennurbs_extensions.cpp.

ONX_Model& ONX_Model::operator= ( const ONX_Model ) [private]
void ONX_Model::Polish ( ) [virtual]

Definition at line 2104 of file opennurbs_extensions.cpp.

bool ONX_Model::Read ( ON_BinaryArchive archive,
ON_TextLog error_log = NULL 
)

Definition at line 2159 of file opennurbs_extensions.cpp.

bool ONX_Model::Read ( const char *  filename,
ON_TextLog error_log = NULL 
)

Definition at line 2119 of file opennurbs_extensions.cpp.

bool ONX_Model::Read ( const wchar_t *  filename,
ON_TextLog error_log = NULL 
)

Definition at line 2139 of file opennurbs_extensions.cpp.

bool ONX_Model::SetDocumentUserString ( const wchar_t *  key,
const wchar_t *  string_value 
)

Definition at line 3726 of file opennurbs_extensions.cpp.

int ONX_Model::UsesIDef ( const ON_InstanceRef iref,
ON_UUID  idef_uuid 
) const [virtual]

Definition at line 3601 of file opennurbs_extensions.cpp.

Definition at line 579 of file opennurbs_extensions.cpp.

ON_Color ONX_Model::WireframeColor ( int  object_index) const

Definition at line 615 of file opennurbs_extensions.cpp.

bool ONX_Model::Write ( ON_BinaryArchive archive,
int  version = 0,
const char *  sStartSectionComment = NULL,
ON_TextLog error_log = NULL 
)

Definition at line 3034 of file opennurbs_extensions.cpp.

bool ONX_Model::Write ( const char *  filename,
int  version = 0,
const char *  sStartSectionComment = NULL,
ON_TextLog error_log = NULL 
)

Definition at line 2989 of file opennurbs_extensions.cpp.

bool ONX_Model::Write ( const wchar_t *  filename,
int  version = 0,
const char *  sStartSectionComment = NULL,
ON_TextLog error_log = NULL 
)

Definition at line 3011 of file opennurbs_extensions.cpp.


Member Data Documentation

Definition at line 437 of file opennurbs_extensions.h.

Definition at line 438 of file opennurbs_extensions.h.

Definition at line 809 of file opennurbs_extensions.h.

Definition at line 450 of file opennurbs_extensions.h.

Definition at line 476 of file opennurbs_extensions.h.

Definition at line 457 of file opennurbs_extensions.h.

Definition at line 472 of file opennurbs_extensions.h.

Definition at line 456 of file opennurbs_extensions.h.

Definition at line 455 of file opennurbs_extensions.h.

Definition at line 459 of file opennurbs_extensions.h.

Definition at line 462 of file opennurbs_extensions.h.

Definition at line 469 of file opennurbs_extensions.h.

Definition at line 460 of file opennurbs_extensions.h.

Definition at line 454 of file opennurbs_extensions.h.

Definition at line 458 of file opennurbs_extensions.h.

Definition at line 453 of file opennurbs_extensions.h.

Definition at line 466 of file opennurbs_extensions.h.

Definition at line 451 of file opennurbs_extensions.h.

Definition at line 467 of file opennurbs_extensions.h.

Definition at line 452 of file opennurbs_extensions.h.

Definition at line 468 of file opennurbs_extensions.h.

Definition at line 461 of file opennurbs_extensions.h.

Definition at line 443 of file opennurbs_extensions.h.

Definition at line 447 of file opennurbs_extensions.h.

Definition at line 439 of file opennurbs_extensions.h.

Definition at line 463 of file opennurbs_extensions.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