/*********************************************************************************************************************** * * Copyright (c) 2010 - 2025 by Tech Soft 3D, Inc. * The information contained herein is confidential and proprietary to Tech Soft 3D, Inc., and considered a trade secret * as defined under civil and criminal statutes. Tech Soft 3D shall pursue its civil and criminal remedies in the event * of unauthorized use or misappropriation of its trade secrets. Use of this information by anyone other than authorized * employees of Tech Soft 3D, Inc. is granted only under a written non-disclosure agreement, expressly prescribing the * scope and manner of such use. * ***********************************************************************************************************************/ #ifndef EXCHANGE_H #define EXCHANGE_H #include #include "../utils/properties.h" #include "../utils/geometry.h" #include "he/entity.h" #include "he/part.h" namespace model { namespace exchange { namespace geometry { std::vector prepare_render_buffer(A3DRiRepresentationItem* rep_item, const A3DMiscCascadedAttributes* cascaded_attributes); } int load_model(const std::string& input_file, A3DAsmModelFile*& mdlFile); int collect_leaves(A3DAsmModelFile* mdlFile, std::vector& parts); utils::properties::style::Graphics convert_style(A3DInt32 index); namespace tree { /*! Dump the model tree in an XML file. * \param[in] model The model to dump. * \param[in] model_file_path The model path. * \param[in] model_tree_file_path The model tree XML file path. */ void print(const A3DAsmModelFile* model, const std::string& model_file_path, const std::string& model_tree_file_path); } } } #endif // EXCHANGE_H