2#pragma warning(disable : 4251)
7class __declspec(dllexport) EntityMaterial :
public EntityBase
10 EntityMaterial(
ot::UID ID, EntityBase *parent, EntityObserver *mdl, ModelState *ms, ClassFactoryHandler* factory,
const std::string &owner);
11 virtual ~EntityMaterial();
13 virtual bool getEntityBox(
double &xmin,
double &xmax,
double &ymin,
double &ymax,
double &zmin,
double &zmax)
override;
15 virtual void StoreToDataBase(
void)
override;
16 virtual void addVisualizationNodes(
void)
override;
18 virtual std::string getClassName(
void) {
return "EntityMaterial"; };
20 void addVisualizationItem(
bool isHidden);
22 virtual entityType getEntityType(
void)
override {
return TOPOLOGY; };
23 virtual void removeChild(EntityBase *child)
override;
25 void createProperties(
void);
27 virtual bool updateFromProperties(
void)
override;
30 virtual int getSchemaVersion(
void) {
return 1; };
31 virtual void AddStorageData(bsoncxx::builder::basic::document &storage);
32 virtual void readSpecificDataFromDataBase(bsoncxx::document::view &doc_view, std::map<ot::UID, EntityBase *> &entityMap)
override;
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27