class for storing and changing visual object properties based on the object tags More...
#include <MRViewer/MRVisualObjectTag.h>
Static Public Member Functions | |
| static VisualObjectTagManager & | instance () |
| get access to the global instance | |
| static const std::map< std::string, VisualObjectTag > & | tags () |
| get read-only access to the visual object tags' storage | |
| static void | registerTag (std::string tag, VisualObjectTag visTag) |
| add visual object tag | |
| static void | updateTag (const std::string &tag, VisualObjectTag visTag) |
| update visual object tag; linked objects are NOT updated automatically | |
| static void | unregisterTag (const std::string &tag) |
| remove visual object tag; linked objects are NOT updated automatically | |
| static std::vector< std::shared_ptr< Object > > | getAllObjectsWithTag (Object *root, const std::string &tag, const ObjectSelectivityType &type=ObjectSelectivityType::Selectable) |
| find all object in given object tree with the visual object tag | |
| static void | update (VisualObject &visObj, const std::string &tag) |
| update visual object properties according to whether given object has the visual object tag or not | |
Friends | |
| void | deserializeFromJson (const Json::Value &root, VisualObjectTagManager &manager) |
class for storing and changing visual object properties based on the object tags