30 __declspec(dllexport)
void setFrontendAPI(FrontendAPI* _api);
34 __declspec(dllexport)
void deactivateCurrentlyActiveModel(
void);
40 __declspec(dllexport)
ot::UID createViewer(
ot::UID osgModelID,
double scaleWidth,
double scaleHeight,
int backgroundR,
int backgroundG,
int backgroundB,
int overlayTextR,
int overlayTextG,
int overlayTextB);
52 __declspec(dllexport)
void setSelectedTreeItems(
const std::list<ot::UID>& _selectedTreeItems, std::list<unsigned long long>& _selectedModelItems, std::list<unsigned long long>& _selectedVisibleModelItems,
bool _selectionFromTree);
53 __declspec(dllexport)
void executeAction(
unsigned long long buttonID);
57 __declspec(dllexport)
void addNodeFromFacetData(
ot::UID osgModelID,
const std::string &treeName,
double surfaceColorRGB[3],
double edgeColorRGB[3],
unsigned long long modelEntityID,
const OldTreeIcon &treeIcons,
bool backFaceCulling,
58 double offsetFactor,
bool isEditable, std::vector<Geometry::Node> &
nodes, std::list<Geometry::Triangle> &triangles, std::list<Geometry::Edge> &
edges, std::map<ot::UID, std::string>& faceNameMap, std::string &errors,
59 bool selectChildren,
bool manageParentVisibility,
bool manageChildVisibility,
bool showWhenSelected);
60 __declspec(dllexport)
void addNodeFromFacetDataBase(
ot::UID osgModelID,
const std::string &treeName,
double surfaceColorRGB[3],
double edgeColorRGB[3],
const std::string &materialType,
const std::string &textureType,
bool reflective,
unsigned long long modelEntityID,
const OldTreeIcon &treeIcons,
bool backFaceCulling,
61 double offsetFactor,
bool isHidden,
bool isEditable,
const std::string &projectName,
unsigned long long entityID,
unsigned long long entityVersion,
62 bool selectChildren,
bool manageParentVisibility,
bool manageChildVisibility,
bool showWhenSelected, std::vector<double> &transformation);
64 __declspec(dllexport)
void addVisualizationContainerNode(
ot::UID osgModelID,
const std::string &treeName,
unsigned long long modelEntityID,
const OldTreeIcon &treeIcons,
bool editable);
66 __declspec(dllexport)
void addVisualizationNode(
ot::UID osgModelID,
const std::string &treeName,
unsigned long long modelEntityID,
const OldTreeIcon &treeIcons,
bool editable,
ot::VisualisationTypes _visualisationTypes);
67 __declspec(dllexport)
void addVTKNode(
ot::UID osgModelID,
const std::string &treeName,
unsigned long long modelEntityID,
const OldTreeIcon &treeIcons,
bool isHidden,
bool editable,
const std::string &projectName,
unsigned long long visualizationDataID,
unsigned long long visualizationDataVersion);
68 __declspec(dllexport)
void updateVTKNode(
ot::UID osgModelID,
unsigned long long modelEntityID,
const std::string &projectName,
unsigned long long visualizationDataID,
unsigned long long visualizationDataVersion);
70 __declspec(dllexport)
void addVisualizationAnnotationNode(
ot::UID osgModelID,
const std::string &name,
unsigned long long modelEntityID,
71 const OldTreeIcon &treeIcons,
bool isHidden,
72 const double edgeColorRGB[3],
73 const std::vector<std::array<double, 3>> &points,
74 const std::vector<std::array<double, 3>> &points_rgb,
75 const std::vector<std::array<double, 3>> &triangle_p1,
76 const std::vector<std::array<double, 3>> &triangle_p2,
77 const std::vector<std::array<double, 3>> &triangle_p3,
78 const std::vector<std::array<double, 3>> &triangle_rgb);
79 __declspec(dllexport)
void addVisualizationAnnotationNodeDataBase(
ot::UID osgModelID,
const std::string &name,
unsigned long long modelEntityID,
const OldTreeIcon &treeIcons,
bool isHidden,
const std::string &projectName,
unsigned long long entityID,
unsigned long long entityVersion);
80 __declspec(dllexport)
void addVisualizationMeshNodeFromFacetDataBase(
ot::UID osgModelID,
const std::string &name,
unsigned long long modelEntityID,
const OldTreeIcon &treeIcons,
double edgeColorRGB[3],
bool displayTetEdges,
const std::string &projectName,
unsigned long long entityID,
unsigned long long entityVersion);
81 __declspec(dllexport)
void addVisualizationMeshItemNodeFromFacetDataBase(
ot::UID osgModelID,
const std::string &name,
unsigned long long modelEntityID,
const OldTreeIcon &treeIcons,
bool isHidden,
const std::string &projectName,
unsigned long long entityID,
unsigned long long entityVersion,
long long tetEdgesID,
long long tetEdgesVersion);
82 __declspec(dllexport)
void addVisualizationCartesianMeshNode(
ot::UID osgModelID,
const std::string &name,
unsigned long long modelEntityID,
const OldTreeIcon &treeIcons,
bool isHidden,
double edgeColorRGB[3],
double meshLineColorRGB[3],
bool showMeshLines,
const std::vector<double> &meshCoordsX,
const std::vector<double> &meshCoordsY,
const std::vector<double> &meshCoordsZ,
83 const std::string &projectName,
unsigned long long faceListEntityID,
unsigned long long faceListEntityVersion,
unsigned long long nodeListEntityID,
unsigned long long nodeListEntityVersion);
84 __declspec(dllexport)
void visualizationCartesianMeshNodeShowLines(
ot::UID osgModelID,
unsigned long long modelEntityID,
bool showMeshLines);
85 __declspec(dllexport)
void addVisualizationCartesianMeshItemNode(
ot::UID osgModelID,
const std::string &name,
unsigned long long modelEntityID,
const OldTreeIcon &treeIcons,
bool isHidden, std::vector<int> &facesList,
double color[3]);
86 __declspec(dllexport)
void visualizationTetMeshNodeTetEdges(
ot::UID osgModelID,
unsigned long long modelEntityID,
bool displayTetEdges);
90 __declspec(dllexport) std::list<std::string> getSelectedCurves(
ot::UID osgModelID);
98 __declspec(dllexport)
void setEntityName(
ot::UID modelEntityID,
const std::string &newName);
99 __declspec(dllexport)
void renameEntityPath(
const std::string &oldPath,
const std::string &newPath);
101 __declspec(dllexport)
void updateObjectColor(
ot::UID osgModelID,
unsigned long long modelEntityID,
double surfaceColorRGB[3],
double edgeColorRGB[3],
const std::string& materialType,
const std::string& textureType,
bool reflective);
102 __declspec(dllexport)
void updateMeshColor(
ot::UID osgModelID,
unsigned long long modelEntityID,
double colorRGB[3]);
103 __declspec(dllexport)
void updateObjectFacetsFromDataBase(
ot::UID osgModelID,
unsigned long long modelEntityID,
unsigned long long entityID,
unsigned long long entityVersion);
105 __declspec(dllexport)
void setClearColor(
ot::UID viewrID,
int backgroundR,
int backgroundG,
int backgroundB,
int overlayTextR,
int overlayTextG,
int overlayTextB);
109 __declspec(dllexport)
void getSelectedModelEntityIDs(std::list<unsigned long long> &selected);
110 __declspec(dllexport)
void getSelectedVisibleModelEntityIDs(std::list<unsigned long long> &selected);
114 __declspec(dllexport)
void removeShapes(
ot::UID osgModelID, std::list<unsigned long long> modelEntityID);
115 __declspec(dllexport)
void setShapeVisibility(
ot::UID osgModelID, std::list<unsigned long long> visibleID, std::list<unsigned long long> hiddenID);
116 __declspec(dllexport)
void hideEntities(
ot::UID osgModelID, std::list<unsigned long long> hiddenID);
118 __declspec(dllexport)
void showBranch(
ot::UID osgModelID,
const std::string &branchName);
119 __declspec(dllexport)
void hideBranch(
ot::UID osgModelID,
const std::string &branchName);
121 __declspec(dllexport)
void enterEntitySelectionMode(
ot::UID osgModelID,
ot::serviceID_t replyTo,
const std::string &selectionType,
bool allowMultipleSelection,
const std::string &selectionFilter,
const std::string &selectionAction,
const std::string &selectionMessage, std::list<std::string> &optionNames, std::list<std::string> &optionValues);
123 __declspec(dllexport)
void setFontPath(
const std::string& _fontPath);
125 __declspec(dllexport)
void setDataBaseConnection(
const std::string &databaseURL,
const std::string &userName,
const std::string &password);
127 __declspec(dllexport)
void prefetchDocumentsFromStorage(
const std::string &projectName, std::list<std::pair<unsigned long long, unsigned long long>> &prefetchIDs);
129 __declspec(dllexport)
void setTabNames(
ot::UID _viewerID,
const std::string & _osgViewTabName,
const std::string & _plotTabName,
const std::string & _versionGraphTabName);
139 __declspec(dllexport)
void shortcutActivated(
const std::string & _keySequence);
147 __declspec(dllexport)
void freeze3DView(
unsigned long long osgModelID,
bool flag);