#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
Go to the source code of this file.
◆ MR_Object
◆ MR_ObjectSelectivityType
◆ MR_std_shared_ptr_MR_Object
◆ MR_std_vector_std_shared_ptr_MR_Object
◆ MR_ObjectSelectivityType
| Enumerator | 
|---|
| MR_ObjectSelectivityType_Selectable | object itself and all its ancestors are selectable  | 
| MR_ObjectSelectivityType_LocalSelectable | object itself is selectable  | 
| MR_ObjectSelectivityType_Selected | object itself is selected and all its ancestors are selectable  | 
| MR_ObjectSelectivityType_LocalSelected | object itself is selected  | 
| MR_ObjectSelectivityType_Any | any object  | 
 
 
◆ MR_asSelectivityType()
◆ MR_getAllObjectsInTree()
Traverses tree and collect objects of given type excluding root returns vector Generated from function MR::getAllObjectsInTree<MR::Object>. Parameter type is a single object. Parameter type has a default argument: ObjectSelectivityType::Selectable, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_shared_ptr_MR_Object_Destroy() to free it when you're done using it. 
 
 
◆ MR_getDepthFirstObject()
◆ MR_getTopmostObjects()
Returns all topmost objects of given type (if an object is returned, its children are not) excluding root Generated from function MR::getTopmostObjects<MR::Object>. Parameter type is a single object. Parameter type has a default argument: ObjectSelectivityType::Selectable, pass a null pointer to use it. Parameter visibilityCheck has a default argument: false, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_shared_ptr_MR_Object_Destroy() to free it when you're done using it. 
 
 
◆ MR_getTopmostVisibleObjects()
Returns all topmost visible objects of given type (if an object is returned, its children are not) excluding root Generated from function MR::getTopmostVisibleObjects<MR::Object>. Parameter type is a single object. Parameter type has a default argument: ObjectSelectivityType::Selectable, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_shared_ptr_MR_Object_Destroy() to free it when you're done using it. 
 
 
◆ MR_objectHasSelectableChildren()
      
        
          | MRC_API bool MR_objectHasSelectableChildren | ( | const MR_Object * | object, | 
        
          |  |  | const bool * | recurse ) | 
      
 
returns whether the object has selectable children 
- Parameters
- 
  
    | recurse | - if true, look up for selectable children at any depth Generated from function MR::objectHasSelectableChildren. Parameterobjectcan not be null. It is a single object. Parameterrecursehas a default argument:false, pass a null pointer to use it. |