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(std::size_t);
 
   35   void  operator delete(
void*);
 
   38   void* 
operator new[] (std::size_t);
 
   39   void  operator delete[] (
void*);
 
   42   void* 
operator new(std::size_t,
void*);
 
   43   void  operator delete(
void*,
void*);
 
   58   unsigned int* m_ref_count; 
 
   72 #if defined(ON_DLL_EXPORTS) || defined(ON_DLL_IMPORTS) 
   76   void* 
operator new(std::size_t);
 
   77   void  operator delete(
void*);
 
   80   void* 
operator new[] (std::size_t);
 
   81   void  operator delete[] (
void*);
 
   84   void* 
operator new(std::size_t,
void*);
 
   85   void  operator delete(
void*,
void*);
 
  104   unsigned int* m_ref_count; 
 
  114 #if defined(ON_DLL_EXPORTS) || defined(ON_DLL_IMPORTS) 
  118   void* 
operator new(std::size_t);
 
  119   void  operator delete(
void*);
 
  122   void* 
operator new[] (std::size_t);
 
  123   void  operator delete[] (
void*);
 
  126   void* 
operator new(std::size_t,
void*);
 
  127   void  operator delete(
void*,
void*);
 
  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(std::size_t);
 
  185   void  operator delete(
void*);
 
  188   void* 
operator new[] (std::size_t);
 
  189   void  operator delete[] (
void*);
 
  192   void* 
operator new(std::size_t,
void*);
 
  193   void  operator delete(
void*,
void*);
 
  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,
 
  608     const wchar_t* idef_name
 
  662     const wchar_t* layer_name
 
  689     const wchar_t* string_value 
 
  824 bool ONX_IsValidName( 
 
const ON_Object * m_object
ON_3dmObjectAttributes m_attributes
ONX_Model_Object(const ONX_Model_Object &)
void Dump(ON_TextLog &) const
ONX_Model_Object & operator=(const ONX_Model_Object &)
ON_3dmObjectAttributes m_attributes
ONX_Model_RenderLight(const ONX_Model_RenderLight &)
ONX_Model_RenderLight & operator=(const ONX_Model_RenderLight &)
void Dump(ON_TextLog &) const
int m_usertable_3dm_version
int m_usertable_opennurbs_version
ONX_Model_UserData(const ONX_Model_UserData &)
ONX_Model_UserData & operator=(const ONX_Model_UserData &)
void DumpUserDataTable(ON_TextLog &) const
bool Write(const char *filename, int version=0, const char *sStartSectionComment=NULL, ON_TextLog *error_log=NULL)
ON_UuidIndexList m_material_id_index
void DumpGroupTable(ON_TextLog &) const
void GetRenderMaterial(const ON_3dmObjectAttributes &attributes, ON_Material &material) const
ON_SimpleArray< ON_Bitmap * > m_bitmap_table
ON_ObjectArray< ON_HatchPattern > m_hatch_pattern_table
bool Write(ON_BinaryArchive &archive, int version=0, const char *sStartSectionComment=NULL, ON_TextLog *error_log=NULL)
ON_UuidIndexList m_idef_id_index
bool Read(ON_BinaryArchive &archive, ON_TextLog *error_log=NULL)
ON_Color WireframeColor(int object_index) const
virtual int IDefIndex(const wchar_t *idef_name) const
void DumpMaterialTable(ON_TextLog &) const
virtual int LayerIndex(const wchar_t *layer_name) const
virtual int ObjectIndex(ON_UUID object_uuid) const
ON_ObjectArray< ON_InstanceDefinition > m_idef_table
void GetRenderMaterial(int object_index, ON_Material &material) const
ON_BoundingBox BoundingBox() const
ON_ClassArray< ONX_Model_RenderLight > m_light_table
void DumpTextureMappingTable(ON_TextLog &) const
static bool GetRDKObjectInformation(const ON_Object &object, ON_wString &rdk_xml_object_data)
ON_UuidIndexList m_object_id_index
ON_3dmSettings m_settings
void GetLinetype(int object_index, ON_Linetype &linetype) const
void DumpLayerTable(ON_TextLog &) const
void DumpObjectTable(ON_TextLog &) const
virtual void GetUnusedIDefName(ON_wString &idef_name) const
void DumpHistoryRecordTable(ON_TextLog &) const
bool IsValid(ON_TextLog *text_log=NULL) const
ON_ObjectArray< ON_Material > m_material_table
std::size_t m_file_length
bool Read(const char *filename, ON_TextLog *error_log=NULL)
bool Read(const wchar_t *filename, ON_TextLog *error_log=NULL)
static bool IsRDKDocumentInformation(const ONX_Model_UserData &docud)
void GetLinetype(const ON_3dmObjectAttributes &attributes, ON_Linetype &linetype) const
virtual int Audit(bool bAttemptRepair, int *repair_count, ON_TextLog *text_log, ON_SimpleArray< int > *warnings)
ON_ClassArray< ONX_Model_Object > m_object_table
int m_3dm_opennurbs_version
void DumpLinetypeTable(ON_TextLog &) const
void DumpIDefTable(ON_TextLog &) const
ON_ObjectArray< ON_Layer > m_layer_table
ON_String m_sStartSectionComments
virtual int IDefIndex(ON_UUID idef_uuid) const
ON_ObjectArray< ON_TextureMapping > m_mapping_table
void Dump(ON_TextLog &) const
ON_ClassArray< ONX_Model_UserData > m_userdata_table
ON_ObjectArray< ON_Linetype > m_linetype_table
ON_3dmProperties m_properties
virtual void GetUnusedLayerName(ON_wString &layer_name) const
static bool GetRDKDocumentInformation(const ONX_Model_UserData &docud, ON_wString &rdk_xml_document_data)
bool GetDocumentUserString(const wchar_t *key, ON_wString &string_value) const
ON_Color WireframeColor(const ON_3dmObjectAttributes &attributes) const
ON_SimpleArray< ON_HistoryRecord * > m_history_record_table
int GetDocumentUserStrings(ON_ClassArray< ON_UserString > &user_strings) const
static bool IsRDKObjectInformation(const ON_UserData &objectud)
void DumpBitmapTable(ON_TextLog &) const
void DumpSummary(ON_TextLog &) const
void DumpFontTable(ON_TextLog &) const
void DumpHatchPatternTable(ON_TextLog &) const
ON_UuidIndexList m_mapping_id_index
ON_ObjectArray< ON_Font > m_font_table
bool SetDocumentUserString(const wchar_t *key, const wchar_t *string_value)
void DumpDimStyleTable(ON_TextLog &) const
void DumpLightTable(ON_TextLog &) const
virtual int UsesIDef(const ON_InstanceRef &iref, ON_UUID idef_uuid) const
ON_ObjectArray< ON_Group > m_group_table
ON_ObjectArray< ON_DimStyle > m_dimstyle_table
bool Write(const wchar_t *filename, int version=0, const char *sStartSectionComment=NULL, ON_TextLog *error_log=NULL)