18template<
typename ObjectT = Object>
23template<
typename ObjectT = Object>
25template<
typename ObjectT = Object>
30template<
typename ObjectT = Object>
32template<
typename ObjectT = Object>
37template<
typename ObjectT = Object>
39template<
typename ObjectT = Object>
47 for (
const auto& child :
object.children() )
57#include "MRObjectsAccess.hpp"
named object in the data model
Definition MRObject.h:60
ObjectSelectivityType
Definition MRObjectsAccess.h:11
std::vector< std::shared_ptr< ObjectT > > getAllObjectsInTree(Object *root, const ObjectSelectivityType &type=ObjectSelectivityType::Selectable)
std::shared_ptr< ObjectT > asSelectivityType(std::shared_ptr< Object > obj, const ObjectSelectivityType &type)
if input object is of given type then returns another pointer on it
std::vector< std::shared_ptr< ObjectT > > getTopmostVisibleObjects(Object *root, const ObjectSelectivityType &type=ObjectSelectivityType::Selectable)
Returns all topmost visible objects of given type (if an object is returned, its children are not) ex...
std::shared_ptr< ObjectT > getDepthFirstObject(Object *root, const ObjectSelectivityType &type)
return first object of given type in depth-first traverse order excluding root
Definition MRCameraOrientationPlugin.h:7
bool objectHasSelectableChildren(const MR::Object &object)
Definition MRObjectsAccess.h:45