/*********************************************************************************************************************** * * 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 REP_ITEM_H #define REP_ITEM_H #include "entity.h" #include "../../utils/geometry.h" namespace he { namespace geometry { class RepresentationItem : public Entity { A3DMeshData mesh_data; public: RepresentationItem(A3DRiRepresentationItem* rep_item, const A3DMiscCascadedAttributes* cascaded_attributes); ~RepresentationItem(); bool is_unicolor() const; void prepare_render_buffer(std::vector & buffer_data_array); private: void build_one_buffer(utils::geometry::BufferData& buffer_data) const; void build_buffer_per_style(std::vector & buffers_data) const; }; } } #endif // REP_ITEM_H