|
Blender V5.0
|
#include "BKE_duplilist.hh"#include "BKE_idprop.hh"#include "BKE_layer.hh"#include "BKE_modifier.hh"#include "BKE_node.hh"#include "BKE_object.hh"#include "BKE_object_types.hh"#include "BLI_listbase.h"#include "BLI_math_matrix.h"#include "BLI_math_vector.h"#include "BLI_utildefines.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "DEG_depsgraph.hh"#include "DEG_depsgraph_query.hh"#include "intern/depsgraph.hh"#include "intern/node/deg_node_id.hh"#include "intern/eval/deg_eval_copy_on_write.h"Go to the source code of this file.
Macros | |
| #define | DNA_DEPRECATED_ALLOW |
| #define | INVALIDATE_WORK_DATA |
Implementation of Querying and Filtering API's
Definition in file depsgraph_query_iter.cc.
| #define DNA_DEPRECATED_ALLOW |
Definition at line 12 of file depsgraph_query_iter.cc.
| #define INVALIDATE_WORK_DATA |
Definition at line 46 of file depsgraph_query_iter.cc.
| bool DEG_iterator_dupli_is_visible | ( | const DupliObject * | dupli, |
| eEvaluationMode | eval_mode ) |
Returns true if the dupli instance should be visible on the given context.
Definition at line 478 of file depsgraph_query_iter.cc.
References GS, ID_MB, ID::name, DupliObject::no_draw, DupliObject::ob, DupliObject::ob_data, OB_MBALL, and Object::type.
Referenced by blender::draw::foreach_obref_in_scene().
| void DEG_iterator_ids_begin | ( | BLI_Iterator * | iter, |
| DEGIDIterData * | data ) |
Definition at line 424 of file depsgraph_query_iter.cc.
References BLI_Iterator::data, data, DEG_id_type_any_updated(), DEG_iterator_ids_next(), DEG_iterator_ids_step(), depsgraph, blender::deg::Depsgraph::id_nodes, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), BLI_Iterator::skip, and BLI_Iterator::valid.
| void DEG_iterator_ids_end | ( | BLI_Iterator * | iter | ) |
Definition at line 468 of file depsgraph_query_iter.cc.
| void DEG_iterator_ids_next | ( | BLI_Iterator * | iter | ) |
Definition at line 448 of file depsgraph_query_iter.cc.
References BLI_Iterator::data, data, DEG_iterator_ids_step(), depsgraph, blender::deg::Depsgraph::id_nodes, BLI_Iterator::skip, and BLI_Iterator::valid.
Referenced by DEG_iterator_ids_begin().
|
static |
Definition at line 393 of file depsgraph_query_iter.cc.
References BLI_Iterator::current, bNodeTree::id, blender::deg::IDNode::id_cow, ID_RECALC_ALL, ID_RECALC_NTREE_OUTPUT, blender::deg::IDNode::is_visible_on_build, blender::bke::node_tree_from_id(), ID::recalc, and BLI_Iterator::skip.
Referenced by DEG_iterator_ids_begin(), and DEG_iterator_ids_next().
| bool DEG_iterator_object_is_visible | ( | eEvaluationMode | eval_mode, |
| const Object * | ob ) |
Returns true if the object should be visible on the given context.
Definition at line 470 of file depsgraph_query_iter.cc.
References OB_MBALL, and Object::type.
Referenced by blender::draw::foreach_obref_in_scene().
| void DEG_iterator_objects_begin | ( | BLI_Iterator * | iter, |
| DEGObjectIterData * | data ) |
Definition at line 327 of file depsgraph_query_iter.cc.
References BLI_Iterator::data, data, DEG_get_evaluated_scene(), DEG_get_mode(), depsgraph, blender::deg::Depsgraph::id_nodes, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and BLI_Iterator::valid.
| void DEG_iterator_objects_end | ( | BLI_Iterator * | iter | ) |
Definition at line 381 of file depsgraph_query_iter.cc.
References BLI_Iterator::data, and data.
| void DEG_iterator_objects_next | ( | BLI_Iterator * | iter | ) |
Definition at line 361 of file depsgraph_query_iter.cc.
References BLI_Iterator::data, and data.
| void evil::DEG_iterator_temp_object_free_properties | ( | const DupliObject * | dupli, |
| Object * | temp_object ) |
WARNING: DON'T USE!!! Frees any property allocated when calling DEG_iterator_temp_object_from_dupli.
Definition at line 364 of file depsgraph_query_iter.cc.
References BLI_Iterator::current, data, and BLI_Iterator::valid.
|
nodiscard |
WARNING: DON'T USE!!!
These functions are exposed publicly as a temporary measure while we figure out how to fully get rid of temporary objects in the Draw module (See #144811).
DON'T ADD NEW USE CASES FOR THESE FUNCTIONS. WARNING: DON'T USE!!! Generates a temporary object for a given dupli instance.
Returns true if the resulting object should be visible, otherwise the temp object should be considered invalid. NOTE: DEG_iterator_temp_object_free_properties should be called regardless.
| do_matrix_setup | If false, the temp_object won't have valid object_to_world/world_to_object matrices, and the OB_NEG_SCALE flag will never be set. |
Definition at line 353 of file depsgraph_query_iter.cc.
References data, and find_object_with_preview_geometry().
|
static |
Definition at line 540 of file depsgraph_query_iter.cc.
References IDP_FreeProperty().
Referenced by evil::DEG_iterator_temp_object_free_properties().
|
static |
Definition at line 295 of file depsgraph_query_iter.cc.
References BKE_modifiers_findby_persistent_uid(), BLI_listbase_is_empty(), eModifierMode_Realtime, ListBase::first, GS, IDViewerPathElem::id, ID_OB, ModifierData::mode, ModifierViewerPathElem::modifier_uid, ID::name, ViewerPathElem::next, ViewerPath::path, ViewerPathElem::type, VIEWER_PATH_ELEM_TYPE_ID, and VIEWER_PATH_ELEM_TYPE_MODIFIER.
Referenced by DEG_iterator_temp_object_from_dupli().