18 #if !defined(OPENNURBS_EXTENSIONS_INC_)
19 #define OPENNURBS_EXTENSIONS_INC_
21 #include <pcl/pcl_exports.h>
30 #if defined(ON_DLL_EXPORTS) || defined(ON_DLL_IMPORTS)
34 void*
operator new(size_t);
35 void operator delete(
void*);
38 void*
operator new[] (size_t);
39 void operator delete[] (
void*);
42 void*
operator new(size_t,
void*);
43 void operator delete(
void*,
void*);
47 ~ONX_Model_UserData();
48 ONX_Model_UserData(
const ONX_Model_UserData&);
49 ONX_Model_UserData& operator=(
const ONX_Model_UserData&);
58 unsigned int* m_ref_count;
72 #if defined(ON_DLL_EXPORTS) || defined(ON_DLL_IMPORTS)
76 void*
operator new(size_t);
77 void operator delete(
void*);
80 void*
operator new[] (size_t);
81 void operator delete[] (
void*);
84 void*
operator new(size_t,
void*);
85 void operator delete(
void*,
void*);
90 ONX_Model_Object(
const ONX_Model_Object&);
91 ONX_Model_Object& operator=(
const ONX_Model_Object&);
104 unsigned int* m_ref_count;
114 #if defined(ON_DLL_EXPORTS) || defined(ON_DLL_IMPORTS)
118 void*
operator new(size_t);
119 void operator delete(
void*);
122 void*
operator new[] (size_t);
123 void operator delete[] (
void*);
126 void*
operator new(size_t,
void*);
127 void operator delete(
void*,
void*);
131 ~ONX_Model_RenderLight();
132 ONX_Model_RenderLight(
const ONX_Model_RenderLight&);
133 ONX_Model_RenderLight& operator=(
const ONX_Model_RenderLight&);
139 #if defined(ON_DLL_TEMPLATE)
143 #pragma warning( push )
144 #pragma warning( disable : 4231 )
166 #pragma warning( pop )
180 #if defined(ON_DLL_EXPORTS) || defined(ON_DLL_IMPORTS)
184 void*
operator new(size_t);
185 void operator delete(
void*);
188 void*
operator new[] (size_t);
189 void operator delete[] (
void*);
192 void*
operator new(size_t,
void*);
193 void operator delete(
void*,
void*);
197 virtual ~ONX_Model();
255 const char* filename,
260 const wchar_t* filename,
348 const char* sStartSectionComment = NULL,
353 const char* filename,
355 const char* sStartSectionComment = NULL,
360 const wchar_t* filename,
362 const char* sStartSectionComment = NULL,
376 bool IsValid(
ON_TextLog* text_log = NULL )
const;
498 void GetRenderMaterial(
510 void GetRenderMaterial(
557 ON_Color WireframeColor(
int object_index)
const;
608 const wchar_t* idef_name
616 void GetUnusedIDefName(
ON_wString& idef_name )
const;
662 const wchar_t* layer_name
670 void GetUnusedLayerName(
ON_wString& layer_name )
const;
687 bool SetDocumentUserString(
689 const wchar_t* string_value
701 bool GetDocumentUserString(
738 void DumpTextureMappingTable(
ON_TextLog& )
const;
762 void DumpHatchPatternTable(
ON_TextLog& )
const;
771 void DumpHistoryRecordTable(
ON_TextLog& )
const;
795 static bool IsRDKObjectInformation(
const ON_UserData& objectud);
796 static bool GetRDKObjectInformation(
const ON_Object&
object,
ON_wString& rdk_xml_object_data);
805 ONX_Model(
const ONX_Model&);
806 ONX_Model& operator=(
const ONX_Model&);
824 bool ONX_IsValidName(
ON_ObjectArray< ON_Material > m_material_table
ON_3dmObjectAttributes m_attributes
ON_ClassArray< ONX_Model_RenderLight > m_light_table
ON_ClassArray< ONX_Model_Object > m_object_table
ON_String m_sStartSectionComments
ON_SimpleArray< ON_Bitmap * > m_bitmap_table
ON_3dmProperties m_properties
ON_ObjectArray< ON_InstanceDefinition > m_idef_table
ON_3dmSettings m_settings
ON_UuidIndexList m_mapping_id_index
ON_ObjectArray< ON_Font > m_font_table
ON_ObjectArray< ON_TextureMapping > m_mapping_table
ON_3dmObjectAttributes m_attributes
ON_UuidIndexList m_object_id_index
ON_SimpleArray< ON_HistoryRecord * > m_history_record_table
ON_UuidIndexList m_idef_id_index
ON_UuidIndexList m_material_id_index
int m_usertable_3dm_version
const ON_Object * m_object
ON_ObjectArray< ON_Linetype > m_linetype_table
ON_ObjectArray< ON_HatchPattern > m_hatch_pattern_table
ON_ObjectArray< ON_Group > m_group_table
ON_ClassArray< ONX_Model_UserData > m_userdata_table
int m_usertable_opennurbs_version
ON_ObjectArray< ON_Layer > m_layer_table
ON_ObjectArray< ON_DimStyle > m_dimstyle_table
int m_3dm_opennurbs_version