Files
Hoops_Exchange/exchange/exchangesource/MeshViewer/model/he/entity.h
2025-12-15 23:22:33 +08:00

46 lines
1.5 KiB
C++

/***********************************************************************************************************************
*
* 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 ENTITY_H
#define ENTITY_H
#include <vector>
#include <A3DSDKIncludes.h>
namespace he
{
namespace structure
{
int create_cascaded_attributes(const A3DRootBaseWithGraphics* entity, const A3DMiscCascadedAttributes* parent, A3DMiscCascadedAttributes*& attributes);
}
class Entity
{
protected:
int status = A3D_SUCCESS;
A3DMiscCascadedAttributes* attributes = nullptr;
public:
Entity(A3DMiscCascadedAttributes* attributes = nullptr);
~Entity();
int get_status() const {
return status;
}
const A3DMiscCascadedAttributes* get_attributes() const {
return attributes;
}
virtual std::vector<A3DEntity*> sub_levels() const;
};
}
#endif // ENTITY_H