OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ViewerComponent Class Reference

#include "ViewerComponent.h"

Inheritance diagram for ViewerComponent:
ak::aNotifier ot::ServiceBase

Public Member Functions

 ViewerComponent ()
 
virtual ~ViewerComponent ()
 
virtual void clearTree (void) override
 
virtual ot::UID addTreeItem (const std::string &treePath, bool editable, bool selectChildren) override
 
virtual void removeTreeItems (std::list< ot::UID > treeItemIDList) override
 
virtual void selectTreeItem (ot::UID treeItemID) override
 
virtual void selectSingleTreeItem (ot::UID treeItemID) override
 
virtual void expandSingleTreeItem (ot::UID treeItemID) override
 
virtual bool isTreeItemExpanded (ot::UID treeItemID) override
 
virtual void toggleTreeItemSelection (ot::UID treeItemID, bool considerChilds) override
 
virtual void clearTreeSelection (void) override
 
virtual void setTreeItemIcon (ot::UID treeItemID, int iconSize, const std::string &iconName) override
 
virtual void setTreeItemText (ot::UID treeItemID, const std::string &text) override
 
virtual void refreshSelection (void) override
 
virtual void addKeyShortcut (const std::string &keySequence) override
 
virtual void fillPropertyGrid (const ot::PropertyGridCfg &configuration) override
 
virtual void setDoublePropertyValue (const std::string &_groupName, const std::string &_itemName, double value) override
 
virtual double getDoublePropertyValue (const std::string &_groupName, const std::string &_itemName) override
 
virtual void lockSelectionAndModification (bool flag) override
 
virtual void removeViewer (ot::UID viewerID) override
 
virtual void closeView (const std::string &_entityName, ot::WidgetViewBase::ViewType _viewType) override
 
virtual ot::WidgetViewgetCurrentView (void) override
 
virtual bool getCurrentViewIsModified (void) override
 
virtual ViewerUIDtype addMenuPage (const std::string &pageName) override
 
virtual ViewerUIDtype addMenuGroup (ViewerUIDtype menuPageID, const std::string &groupName) override
 
virtual ViewerUIDtype addMenuSubGroup (ViewerUIDtype _menuGroupID, const std::string &_subGroupName) override
 
virtual ViewerUIDtype addMenuPushButton (ViewerUIDtype menuGroupID, const std::string &buttonName, const std::string &iconName) override
 
virtual ViewerUIDtype addMenuPushButton (ViewerUIDtype menuGroupID, const std::string &buttonName, const std::string &iconName, const std::string &keySequence) override
 
virtual void setMenuPushButtonToolTip (ViewerUIDtype _buttonID, const std::string &_toolTip) override
 
virtual void setCurrentMenuPage (const std::string &_pageName) override
 
virtual std::string getCurrentMenuPage (void) override
 
virtual void removeUIElements (std::list< ViewerUIDtype > &itemIDList) override
 
virtual void displayText (const std::string &text) override
 
virtual void setCurrentVisualizationTabFromEntityName (const std::string &_entityName, ot::WidgetViewBase::ViewType _viewType) override
 
virtual void setCurrentVisualizationTabFromTitle (const std::string &_tabTitle) override
 
virtual std::string getCurrentVisualizationTabTitle (void) override
 
virtual void requestSaveForCurrentVisualizationTab (void) override
 
virtual void enableDisableControls (const ot::UIDList &_enabledControls, const ot::UIDList &_disabledControls) override
 
virtual void entitiesSelected (ot::serviceID_t replyTo, const std::string &selectionAction, const std::string &selectionInfo, std::list< std::string > &optionNames, std::list< std::string > &optionValues) override
 
virtual void rubberbandFinished (ot::serviceID_t creatorId, const std::string &note, const std::string &pointJson, const std::vector< double > &transform) override
 
virtual void updateSettings (const ot::PropertyGridCfg &_config) override
 
virtual void loadSettings (ot::PropertyGridCfg &_config) override
 
virtual void saveSettings (const ot::PropertyGridCfg &_config) override
 
virtual void updateVTKEntity (unsigned long long modelEntityID) override
 
virtual void messageModelService (const std::string &_message) override
 
virtual void removeGraphicsElements (ot::UID _modelID) override
 
virtual std::string getOpenFileName (const std::string &_title, const std::string &_path, const std::string &_filters) override
 
virtual std::string getSaveFileName (const std::string &_title, const std::string &_path, const std::string &_filters) override
 
void setProcessingGroupOfMessages (bool _flag)
 
virtual void notify (ak::UID _senderId, ak::eventType _event, int _info1, int _info2) override
 Will notify this receiver that a message was received by a sender.
 
ViewerUIDtype getActiveDataModel ()
 
ViewerUIDtype getActiveViewerModel ()
 
void resetAllViews3D (ViewerUIDtype visualizationModelID)
 
void refreshAllViews (ViewerUIDtype visualizationModelID)
 
void clearSelection (ViewerUIDtype visualizationModelID)
 
void refreshSelection (ViewerUIDtype visualizationModelID)
 
void selectObject (ModelUIDtype visualizationModelID, ak::UID entityID)
 
void addNodeFromFacetData (ViewerUIDtype visModelID, const std::string &treeName, double surfaceColorRGB[3], double edgeColorRGB[3], ViewerUIDtype modelEntityID, const OldTreeIcon &treeIcons, bool backFaceCulling, 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, bool selectChildren, bool manageParentVisibility, bool manageChildVisibility, bool showWhenSelected)
 
void addNodeFromFacetDataBase (ViewerUIDtype visModelID, const std::string &treeName, double surfaceColorRGB[3], double edgeColorRGB[3], const std::string &materialType, const std::string &textureType, bool reflective, ModelUIDtype modelEntityID, const OldTreeIcon &treeIcons, bool backFaceCulling, double offsetFactor, bool isHidden, bool isEditable, const std::string &projectName, ak::UID entityID, ak::UID entityVersion, bool selectChildren, bool manageParentVisibility, bool manageChildVisibility, bool showWhenSelected, std::vector< double > &transformation)
 
void addVisualizationContainerNode (ViewerUIDtype visModelID, const std::string &treeName, ViewerUIDtype modelEntityID, const OldTreeIcon &treeIcons, bool editable)
 
virtual void addVisualizationVis2D3DNode (ViewerUIDtype visModelID, const std::string &treeName, ModelUIDtype modelEntityID, const OldTreeIcon &treeIcons, bool isHidden, bool editable, const std::string &projectName, ViewerUIDtype visualizationDataID, ViewerUIDtype visualizationDataVersion)
 
virtual void updateVisualizationVis2D3DNode (ViewerUIDtype visModelID, ViewerUIDtype modelEntityID, const std::string &projectName, ViewerUIDtype visualizationDataID, ViewerUIDtype visualizationDataVersion)
 
void addVisualizationAnnotationNode (ViewerUIDtype visModelID, const std::string &treeName, ViewerUIDtype modelEntityID, const OldTreeIcon &treeIcons, bool isHidden, const double edgeColorRGB[3], const std::vector< std::array< double, 3 > > &points, const std::vector< std::array< double, 3 > > &points_rgb, const std::vector< std::array< double, 3 > > &triangle_p1, const std::vector< std::array< double, 3 > > &triangle_p2, const std::vector< std::array< double, 3 > > &triangle_p3, const std::vector< std::array< double, 3 > > &triangle_rgb)
 
void updateObjectColor (ViewerUIDtype visModelID, ViewerUIDtype modelEntityID, double surfaceColorRGB[3], double edgeColorRGB[3], const std::string &materialType, const std::string &textureType, bool reflective)
 
void updateMeshColor (ViewerUIDtype visModelID, ViewerUIDtype modelEntityID, double colorRGB[3])
 
void updateObjectFacetsFromDataBase (ViewerUIDtype visModelID, ViewerUIDtype modelEntityID, unsigned long long entityID, unsigned long long entityVersion)
 
void enterEntitySelectionMode (ViewerUIDtype visualizationModelID, 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)
 
void freeze3DView (ViewerUIDtype visModelID, bool flag)
 
void removeShapes (ViewerUIDtype visualizationModelID, std::list< ViewerUIDtype > entityID)
 
void setTreeStateRecording (ViewerUIDtype visualizationModelID, bool flag)
 
void setShapeVisibility (ModelUIDtype visualizationModelID, std::list< ModelUIDtype > visibleID, std::list< ModelUIDtype > hiddenID)
 
void hideEntities (ModelUIDtype visualizationModelID, std::list< ModelUIDtype > hiddenID)
 
void showBranch (ModelUIDtype visualizationModelID, const std::string &branchName)
 
void hideBranch (ModelUIDtype visualizationModelID, const std::string &branchName)
 
void getSelectedModelEntityIDs (std::list< ViewerUIDtype > &selected)
 
void getSelectedVisibleModelEntityIDs (std::list< ViewerUIDtype > &selected)
 
void setFontPath (const QString &_path)
 
ViewerUIDtype createModel (void)
 
void deleteModel (ViewerUIDtype viewerUID)
 
void isModified (ViewerUIDtype viewerUID, bool modifiedState)
 
void prefetchDocumentsFromStorage (const std::string &projectName, std::list< std::pair< unsigned long long, unsigned long long > > &prefetchIDs)
 
ot::WidgetViewgetPlotWidget (ViewerUIDtype _viewerID)
 
void viewerTabChanged (const std::string &_tabTitle, ot::WidgetViewBase::ViewType _type)
 
ViewerUIDtype createViewer (ModelUIDtype _modelUid, double _scaleWidth, double _scaleHeight, int _backgroundR, int _backgroundG, int _backgroundB, int _overlayR, int _overlayG, int _overlayB)
 
ot::WidgetViewgetViewerWidget (ViewerUIDtype _viewerUID)
 
void setDataModel (ViewerUIDtype viewerUID, ModelUIDtype modelUID)
 
void activateModel (ViewerUIDtype viewerUID)
 
void deactivateCurrentlyActiveModel (void)
 
void setColors (const ot::Color &_background, const ot::Color &_foreground)
 
void setDataBaseConnectionInformation (const std::string &databaseURL, const std::string &userName, const std::string &encryptedPassword)
 
void handleSelectionChanged (bool _selectionFromTree)
 Handle navigation tree selection changed event.
 
void setTabTitles (ViewerUIDtype visualizationModelID, const std::string &_tabName3D, const std::string &_tabName1D, const std::string &_tabNameVersions)
 
void shortcutActivated (const std::string &keySequence)
 
void settingsItemChanged (const ot::Property *_property)
 
bool propertyGridValueChanged (const ot::Property *_property)
 
void viewDataModifiedChanged (const std::string &_entityName, ot::WidgetViewBase::ViewType _viewType, bool _isModified)
 
- Public Member Functions inherited from ak::aNotifier
 aNotifier ()
 Will initialize the notifier.
 
virtual ~aNotifier ()
 Destructor.
 
void enable (void)
 Will enable this notifier.
 
void disable (void)
 Will disable this notifier.
 
bool isEnabled (void) const
 Will return true if this notifier is enabled.
 
- Public Member Functions inherited from ot::ServiceBase
 ServiceBase ()
 Constructor.
 
 ServiceBase (const std::string &_name, const std::string &_type)
 Constructor.
 
 ServiceBase (const std::string &_name, const std::string &_type, const std::string &_url, serviceID_t _id, const std::string &_siteId=std::string())
 Constructor.
 
 ServiceBase (const ServiceBase &_other)
 Copy constructor.
 
ServiceBaseoperator= (const ServiceBase &_other)
 
bool operator== (const ServiceBase &_other) const
 
bool operator!= (const ServiceBase &_other) const
 
virtual ~ServiceBase ()
 Deconstructor.
 
void setServiceID (serviceID_t _id)
 Set the service ID.
 
void setServiceURL (const std::string &_url)
 Set the service URL.
 
void setServiceName (const std::string &_name)
 Set the service name.
 
void setServiceType (const std::string &_type)
 Set the service type.
 
void setSiteId (const std::string &_id)
 Set the site ID.
 
void setSessionCount (int _count)
 Set the session count.
 
serviceID_t getServiceID (void) const
 Return the service ID.
 
int getServiceIDAsInt (void) const
 Return the service ID as an Integer (The service ID is an Integer stored as a String)
 
int getSessionCount (void) const
 Return the session count.
 
const std::string & getServiceURL (void) const
 Return the service URL.
 
std::string getServiceName (void) const
 Return the service name.
 
std::string getServiceType (void) const
 Return the service type.
 
std::string getSiteId (void) const
 Return the site ID.
 
BasicServiceInformation getBasicServiceInformation (void) const
 

Additional Inherited Members

- Protected Attributes inherited from ak::aNotifier
bool m_isEnabled
 
- Protected Attributes inherited from ot::ServiceBase
serviceID_t m_serviceID
 
std::string m_serviceURL
 Service ID.
 
std::string m_serviceName
 Service URL.
 
std::string m_serviceType
 Service name.
 
std::string m_siteId
 Service type.
 
int m_sessionCount
 Site ID.
 

Constructor & Destructor Documentation

◆ ViewerComponent()

ViewerComponent::ViewerComponent ( )

◆ ~ViewerComponent()

ViewerComponent::~ViewerComponent ( )
virtual

Member Function Documentation

◆ activateModel()

void ViewerComponent::activateModel ( ViewerUIDtype viewerUID)

◆ addKeyShortcut()

void ViewerComponent::addKeyShortcut ( const std::string & keySequence)
overridevirtual

◆ addMenuGroup()

ViewerUIDtype ViewerComponent::addMenuGroup ( ViewerUIDtype menuPageID,
const std::string & groupName )
overridevirtual

◆ addMenuPage()

ViewerUIDtype ViewerComponent::addMenuPage ( const std::string & pageName)
overridevirtual

◆ addMenuPushButton() [1/2]

ViewerUIDtype ViewerComponent::addMenuPushButton ( ViewerUIDtype menuGroupID,
const std::string & buttonName,
const std::string & iconName )
overridevirtual

◆ addMenuPushButton() [2/2]

ViewerUIDtype ViewerComponent::addMenuPushButton ( ViewerUIDtype menuGroupID,
const std::string & buttonName,
const std::string & iconName,
const std::string & keySequence )
overridevirtual

◆ addMenuSubGroup()

ViewerUIDtype ViewerComponent::addMenuSubGroup ( ViewerUIDtype _menuGroupID,
const std::string & _subGroupName )
overridevirtual

◆ addNodeFromFacetData()

void ViewerComponent::addNodeFromFacetData ( ViewerUIDtype visModelID,
const std::string & treeName,
double surfaceColorRGB[3],
double edgeColorRGB[3],
ViewerUIDtype modelEntityID,
const OldTreeIcon & treeIcons,
bool backFaceCulling,
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,
bool selectChildren,
bool manageParentVisibility,
bool manageChildVisibility,
bool showWhenSelected )

◆ addNodeFromFacetDataBase()

void ViewerComponent::addNodeFromFacetDataBase ( ViewerUIDtype visModelID,
const std::string & treeName,
double surfaceColorRGB[3],
double edgeColorRGB[3],
const std::string & materialType,
const std::string & textureType,
bool reflective,
ModelUIDtype modelEntityID,
const OldTreeIcon & treeIcons,
bool backFaceCulling,
double offsetFactor,
bool isHidden,
bool isEditable,
const std::string & projectName,
ak::UID entityID,
ak::UID entityVersion,
bool selectChildren,
bool manageParentVisibility,
bool manageChildVisibility,
bool showWhenSelected,
std::vector< double > & transformation )

◆ addTreeItem()

ot::UID ViewerComponent::addTreeItem ( const std::string & treePath,
bool editable,
bool selectChildren )
overridevirtual

◆ addVisualizationAnnotationNode()

void ViewerComponent::addVisualizationAnnotationNode ( ViewerUIDtype visModelID,
const std::string & treeName,
ViewerUIDtype modelEntityID,
const OldTreeIcon & treeIcons,
bool isHidden,
const double edgeColorRGB[3],
const std::vector< std::array< double, 3 > > & points,
const std::vector< std::array< double, 3 > > & points_rgb,
const std::vector< std::array< double, 3 > > & triangle_p1,
const std::vector< std::array< double, 3 > > & triangle_p2,
const std::vector< std::array< double, 3 > > & triangle_p3,
const std::vector< std::array< double, 3 > > & triangle_rgb )

◆ addVisualizationContainerNode()

void ViewerComponent::addVisualizationContainerNode ( ViewerUIDtype visModelID,
const std::string & treeName,
ViewerUIDtype modelEntityID,
const OldTreeIcon & treeIcons,
bool editable )

◆ addVisualizationVis2D3DNode()

void ViewerComponent::addVisualizationVis2D3DNode ( ViewerUIDtype visModelID,
const std::string & treeName,
ModelUIDtype modelEntityID,
const OldTreeIcon & treeIcons,
bool isHidden,
bool editable,
const std::string & projectName,
ViewerUIDtype visualizationDataID,
ViewerUIDtype visualizationDataVersion )
virtual

◆ clearSelection()

void ViewerComponent::clearSelection ( ViewerUIDtype visualizationModelID)

◆ clearTree()

void ViewerComponent::clearTree ( void )
overridevirtual

◆ clearTreeSelection()

void ViewerComponent::clearTreeSelection ( void )
overridevirtual

◆ closeView()

void ViewerComponent::closeView ( const std::string & _entityName,
ot::WidgetViewBase::ViewType _viewType )
overridevirtual

◆ createModel()

ViewerUIDtype ViewerComponent::createModel ( void )

◆ createViewer()

ViewerUIDtype ViewerComponent::createViewer ( ModelUIDtype _modelUid,
double _scaleWidth,
double _scaleHeight,
int _backgroundR,
int _backgroundG,
int _backgroundB,
int _overlayR,
int _overlayG,
int _overlayB )

◆ deactivateCurrentlyActiveModel()

void ViewerComponent::deactivateCurrentlyActiveModel ( void )

◆ deleteModel()

void ViewerComponent::deleteModel ( ViewerUIDtype viewerUID)

◆ displayText()

void ViewerComponent::displayText ( const std::string & text)
overridevirtual

◆ enableDisableControls()

void ViewerComponent::enableDisableControls ( const ot::UIDList & _enabledControls,
const ot::UIDList & _disabledControls )
overridevirtual

◆ enterEntitySelectionMode()

void ViewerComponent::enterEntitySelectionMode ( ViewerUIDtype visualizationModelID,
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 )

◆ entitiesSelected()

void ViewerComponent::entitiesSelected ( ot::serviceID_t replyTo,
const std::string & selectionAction,
const std::string & selectionInfo,
std::list< std::string > & optionNames,
std::list< std::string > & optionValues )
overridevirtual

◆ expandSingleTreeItem()

void ViewerComponent::expandSingleTreeItem ( ot::UID treeItemID)
overridevirtual

◆ fillPropertyGrid()

void ViewerComponent::fillPropertyGrid ( const ot::PropertyGridCfg & configuration)
overridevirtual

◆ freeze3DView()

void ViewerComponent::freeze3DView ( ViewerUIDtype visModelID,
bool flag )

◆ getActiveDataModel()

ViewerUIDtype ViewerComponent::getActiveDataModel ( )

◆ getActiveViewerModel()

ViewerUIDtype ViewerComponent::getActiveViewerModel ( )

◆ getCurrentMenuPage()

std::string ViewerComponent::getCurrentMenuPage ( void )
overridevirtual

◆ getCurrentView()

ot::WidgetView * ViewerComponent::getCurrentView ( void )
overridevirtual

◆ getCurrentViewIsModified()

bool ViewerComponent::getCurrentViewIsModified ( void )
overridevirtual

◆ getCurrentVisualizationTabTitle()

std::string ViewerComponent::getCurrentVisualizationTabTitle ( void )
overridevirtual

◆ getDoublePropertyValue()

double ViewerComponent::getDoublePropertyValue ( const std::string & _groupName,
const std::string & _itemName )
overridevirtual

◆ getOpenFileName()

std::string ViewerComponent::getOpenFileName ( const std::string & _title,
const std::string & _path,
const std::string & _filters )
overridevirtual

◆ getPlotWidget()

ot::WidgetView * ViewerComponent::getPlotWidget ( ViewerUIDtype _viewerID)

◆ getSaveFileName()

std::string ViewerComponent::getSaveFileName ( const std::string & _title,
const std::string & _path,
const std::string & _filters )
overridevirtual

◆ getSelectedModelEntityIDs()

void ViewerComponent::getSelectedModelEntityIDs ( std::list< ViewerUIDtype > & selected)

◆ getSelectedVisibleModelEntityIDs()

void ViewerComponent::getSelectedVisibleModelEntityIDs ( std::list< ViewerUIDtype > & selected)

◆ getViewerWidget()

ot::WidgetView * ViewerComponent::getViewerWidget ( ViewerUIDtype _viewerUID)

◆ handleSelectionChanged()

void ViewerComponent::handleSelectionChanged ( bool _selectionFromTree)

Handle navigation tree selection changed event.

Parameters
_selectionFromTreeIf true the selection event was emitted from the tree or tree operation.

◆ hideBranch()

void ViewerComponent::hideBranch ( ModelUIDtype visualizationModelID,
const std::string & branchName )

◆ hideEntities()

void ViewerComponent::hideEntities ( ModelUIDtype visualizationModelID,
std::list< ModelUIDtype > hiddenID )

◆ isModified()

void ViewerComponent::isModified ( ViewerUIDtype viewerUID,
bool modifiedState )

◆ isTreeItemExpanded()

bool ViewerComponent::isTreeItemExpanded ( ot::UID treeItemID)
overridevirtual

◆ loadSettings()

void ViewerComponent::loadSettings ( ot::PropertyGridCfg & _config)
overridevirtual

◆ lockSelectionAndModification()

void ViewerComponent::lockSelectionAndModification ( bool flag)
overridevirtual

◆ messageModelService()

void ViewerComponent::messageModelService ( const std::string & _message)
overridevirtual

◆ notify()

void ViewerComponent::notify ( ak::UID _senderId,
ak::eventType _event,
int _info1,
int _info2 )
overridevirtual

Will notify this receiver that a message was received by a sender.

Parameters
_senderIdThe id of the sender the message was sent from
_eventThe event message
_info1Message addition 1
_info2Message addition 2
Exceptions
std::exceptionon any error occuring during the execution

Implements ak::aNotifier.

◆ prefetchDocumentsFromStorage()

void ViewerComponent::prefetchDocumentsFromStorage ( const std::string & projectName,
std::list< std::pair< unsigned long long, unsigned long long > > & prefetchIDs )

◆ propertyGridValueChanged()

bool ViewerComponent::propertyGridValueChanged ( const ot::Property * _property)

◆ refreshAllViews()

void ViewerComponent::refreshAllViews ( ViewerUIDtype visualizationModelID)

◆ refreshSelection() [1/2]

void ViewerComponent::refreshSelection ( ViewerUIDtype visualizationModelID)

◆ refreshSelection() [2/2]

void ViewerComponent::refreshSelection ( void )
overridevirtual

◆ removeGraphicsElements()

void ViewerComponent::removeGraphicsElements ( ot::UID _modelID)
overridevirtual

◆ removeShapes()

void ViewerComponent::removeShapes ( ViewerUIDtype visualizationModelID,
std::list< ViewerUIDtype > entityID )

◆ removeTreeItems()

void ViewerComponent::removeTreeItems ( std::list< ot::UID > treeItemIDList)
overridevirtual

◆ removeUIElements()

void ViewerComponent::removeUIElements ( std::list< ViewerUIDtype > & itemIDList)
overridevirtual

◆ removeViewer()

void ViewerComponent::removeViewer ( ot::UID viewerID)
overridevirtual

◆ requestSaveForCurrentVisualizationTab()

void ViewerComponent::requestSaveForCurrentVisualizationTab ( void )
overridevirtual

◆ resetAllViews3D()

void ViewerComponent::resetAllViews3D ( ViewerUIDtype visualizationModelID)

◆ rubberbandFinished()

void ViewerComponent::rubberbandFinished ( ot::serviceID_t creatorId,
const std::string & note,
const std::string & pointJson,
const std::vector< double > & transform )
overridevirtual

◆ saveSettings()

void ViewerComponent::saveSettings ( const ot::PropertyGridCfg & _config)
overridevirtual

◆ selectObject()

void ViewerComponent::selectObject ( ModelUIDtype visualizationModelID,
ak::UID entityID )

◆ selectSingleTreeItem()

void ViewerComponent::selectSingleTreeItem ( ot::UID treeItemID)
overridevirtual

◆ selectTreeItem()

void ViewerComponent::selectTreeItem ( ot::UID treeItemID)
overridevirtual

◆ setColors()

void ViewerComponent::setColors ( const ot::Color & _background,
const ot::Color & _foreground )

◆ setCurrentMenuPage()

void ViewerComponent::setCurrentMenuPage ( const std::string & _pageName)
overridevirtual

◆ setCurrentVisualizationTabFromEntityName()

void ViewerComponent::setCurrentVisualizationTabFromEntityName ( const std::string & _entityName,
ot::WidgetViewBase::ViewType _viewType )
overridevirtual

◆ setCurrentVisualizationTabFromTitle()

void ViewerComponent::setCurrentVisualizationTabFromTitle ( const std::string & _tabTitle)
overridevirtual

◆ setDataBaseConnectionInformation()

void ViewerComponent::setDataBaseConnectionInformation ( const std::string & databaseURL,
const std::string & userName,
const std::string & encryptedPassword )

◆ setDataModel()

void ViewerComponent::setDataModel ( ViewerUIDtype viewerUID,
ModelUIDtype modelUID )

◆ setDoublePropertyValue()

void ViewerComponent::setDoublePropertyValue ( const std::string & _groupName,
const std::string & _itemName,
double value )
overridevirtual

◆ setFontPath()

void ViewerComponent::setFontPath ( const QString & _path)

◆ setMenuPushButtonToolTip()

void ViewerComponent::setMenuPushButtonToolTip ( ViewerUIDtype _buttonID,
const std::string & _toolTip )
overridevirtual

◆ setProcessingGroupOfMessages()

void ViewerComponent::setProcessingGroupOfMessages ( bool _flag)

◆ setShapeVisibility()

void ViewerComponent::setShapeVisibility ( ModelUIDtype visualizationModelID,
std::list< ModelUIDtype > visibleID,
std::list< ModelUIDtype > hiddenID )

◆ setTabTitles()

void ViewerComponent::setTabTitles ( ViewerUIDtype visualizationModelID,
const std::string & _tabName3D,
const std::string & _tabName1D,
const std::string & _tabNameVersions )

◆ settingsItemChanged()

void ViewerComponent::settingsItemChanged ( const ot::Property * _property)

◆ setTreeItemIcon()

void ViewerComponent::setTreeItemIcon ( ot::UID treeItemID,
int iconSize,
const std::string & iconName )
overridevirtual

◆ setTreeItemText()

void ViewerComponent::setTreeItemText ( ot::UID treeItemID,
const std::string & text )
overridevirtual

◆ setTreeStateRecording()

void ViewerComponent::setTreeStateRecording ( ViewerUIDtype visualizationModelID,
bool flag )

◆ shortcutActivated()

void ViewerComponent::shortcutActivated ( const std::string & keySequence)

◆ showBranch()

void ViewerComponent::showBranch ( ModelUIDtype visualizationModelID,
const std::string & branchName )

◆ toggleTreeItemSelection()

void ViewerComponent::toggleTreeItemSelection ( ot::UID treeItemID,
bool considerChilds )
overridevirtual

◆ updateMeshColor()

void ViewerComponent::updateMeshColor ( ViewerUIDtype visModelID,
ViewerUIDtype modelEntityID,
double colorRGB[3] )

◆ updateObjectColor()

void ViewerComponent::updateObjectColor ( ViewerUIDtype visModelID,
ViewerUIDtype modelEntityID,
double surfaceColorRGB[3],
double edgeColorRGB[3],
const std::string & materialType,
const std::string & textureType,
bool reflective )

◆ updateObjectFacetsFromDataBase()

void ViewerComponent::updateObjectFacetsFromDataBase ( ViewerUIDtype visModelID,
ViewerUIDtype modelEntityID,
unsigned long long entityID,
unsigned long long entityVersion )

◆ updateSettings()

void ViewerComponent::updateSettings ( const ot::PropertyGridCfg & _config)
overridevirtual

◆ updateVisualizationVis2D3DNode()

void ViewerComponent::updateVisualizationVis2D3DNode ( ViewerUIDtype visModelID,
ViewerUIDtype modelEntityID,
const std::string & projectName,
ViewerUIDtype visualizationDataID,
ViewerUIDtype visualizationDataVersion )
virtual

◆ updateVTKEntity()

void ViewerComponent::updateVTKEntity ( unsigned long long modelEntityID)
overridevirtual

◆ viewDataModifiedChanged()

void ViewerComponent::viewDataModifiedChanged ( const std::string & _entityName,
ot::WidgetViewBase::ViewType _viewType,
bool _isModified )

◆ viewerTabChanged()

void ViewerComponent::viewerTabChanged ( const std::string & _tabTitle,
ot::WidgetViewBase::ViewType _type )

The documentation for this class was generated from the following files: