2#pragma warning(disable : 4251)
10class __declspec(dllexport) EntityVis2D3D :
public EntityContainer
13 EntityVis2D3D(
ot::UID ID, EntityBase *parent, EntityObserver *obs, ModelState *ms, ClassFactoryHandler* factory,
const std::string &owner);
14 virtual ~EntityVis2D3D();
16 virtual void addVisualizationNodes(
void)
override;
18 virtual std::string getClassName(
void)
override {
return "EntityVis2D3D"; } ;
20 virtual entityType getEntityType(
void)
override {
return TOPOLOGY; };
22 virtual bool considerForPropertyFilter(
void)
override {
return true; };
23 virtual bool considerChildrenForPropertyFilter(
void)
override {
return false; };
25 virtual bool updateFromProperties(
void)
override;
27 virtual void createProperties(
void);
28 virtual bool updatePropertyVisibilities(
void);
30 ot::UID getDataID(
void) {
return visualizationDataID; }
31 void setDataID(
ot::UID data) { visualizationDataID = data; setModified(); }
33 ot::UID getDataVersion(
void) {
return visualizationDataVersion; }
34 void setDataVersion(
ot::UID data) { visualizationDataVersion = data; setModified(); }
36 void setResultType(EntityResultBase::tResultType type) { resultType =
type; }
37 EntityResultBase::tResultType getResultType(
void) {
return resultType; }
39 void setSource(
ot::UID id,
ot::UID version) { sourceID = id; sourceVersion = version; }
40 void setMesh(
ot::UID id,
ot::UID version) { meshID = id; meshVersion = version; }
44 ot::UID getSourceID(
void) {
return sourceID; }
45 ot::UID getSourceVersion(
void) {
return sourceVersion; }
47 ot::UID getMeshID(
void) {
return meshID; }
48 ot::UID getMeshVersion(
void) {
return meshVersion; }
51 virtual int getSchemaVersion(
void)
override {
return 1; } ;
52 virtual void AddStorageData(bsoncxx::builder::basic::document &storage);
53 virtual void readSpecificDataFromDataBase(bsoncxx::document::view &doc_view, std::map<ot::UID, EntityBase *> &entityMap)
override;
57 ot::UID visualizationDataVersion;
62 EntityResultBase::tResultType resultType;
UICORE_API_EXPORT objectType type(UID _objectUID)
Will return the object type of the specified object.
Definition uiAPI.cpp:596
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27