Blender V4.3
blender::deg::DepsgraphBuilder Class Reference

#include <deg_builder.h>

Inherited by blender::deg::DepsgraphNodeBuilder, and blender::deg::DepsgraphRelationBuilder.

Public Member Functions

virtual ~DepsgraphBuilder ()=default
 

Protected Attributes

Mainbmain_
 
Depsgraphgraph_
 
DepsgraphBuilderCachecache_
 

Base Class for Builders

virtual bool need_pull_base_into_graph (const Base *base)
 
virtual bool is_object_visibility_animated (const Object *object)
 
virtual bool is_modifier_visibility_animated (const Object *object, const ModifierData *modifier)
 
virtual bool check_pchan_has_bbone (const Object *object, const bPoseChannel *pchan)
 
virtual bool check_pchan_has_bbone_segments (const Object *object, const bPoseChannel *pchan)
 
virtual bool check_pchan_has_bbone_segments (const Object *object, const char *bone_name)
 
static const char * get_rna_path_relative_to_scene_camera (const Scene *scene, const PointerRNA &target_prop, const char *rna_path)
 
 DepsgraphBuilder (Main *bmain, Depsgraph *graph, DepsgraphBuilderCache *cache)
 

Detailed Description

Definition at line 25 of file deg_builder.h.

Constructor & Destructor Documentation

◆ ~DepsgraphBuilder()

virtual blender::deg::DepsgraphBuilder::~DepsgraphBuilder ( )
virtualdefault

◆ DepsgraphBuilder()

blender::deg::DepsgraphBuilder::DepsgraphBuilder ( Main * bmain,
Depsgraph * graph,
DepsgraphBuilderCache * cache )
protected

Definition at line 66 of file deg_builder.cc.

Member Function Documentation

◆ check_pchan_has_bbone()

◆ check_pchan_has_bbone_segments() [1/2]

◆ check_pchan_has_bbone_segments() [2/2]

bool blender::deg::DepsgraphBuilder::check_pchan_has_bbone_segments ( const Object * object,
const char * bone_name )
virtual

◆ get_rna_path_relative_to_scene_camera()

const char * blender::deg::DepsgraphBuilder::get_rna_path_relative_to_scene_camera ( const Scene * scene,
const PointerRNA & target_prop,
const char * rna_path )
static

If target_prop + rna_path uses indirection via the scene.camera pointer, returns the sub-string of rna_path relative to the camera; otherwise returns nullptr.

Definition at line 152 of file deg_builder.cc.

References BLI_str_startswith(), PointerRNA::data, and PointerRNA::type.

Referenced by blender::deg::DepsgraphNodeBuilder::build_driver_variables(), and blender::deg::DepsgraphRelationBuilder::build_driver_variables().

◆ is_modifier_visibility_animated()

bool blender::deg::DepsgraphBuilder::is_modifier_visibility_animated ( const Object * object,
const ModifierData * modifier )
virtual

◆ is_object_visibility_animated()

bool blender::deg::DepsgraphBuilder::is_object_visibility_animated ( const Object * object)
virtual

◆ need_pull_base_into_graph()

Member Data Documentation

◆ bmain_

◆ cache_

◆ graph_

Depsgraph* blender::deg::DepsgraphBuilder::graph_
protected

Definition at line 52 of file deg_builder.h.

Referenced by blender::deg::DepsgraphRelationBuilder::add_customdata_mask(), blender::deg::DepsgraphNodeBuilder::add_id_node(), blender::deg::DepsgraphNodeBuilder::add_operation_node(), blender::deg::DepsgraphRelationBuilder::add_operation_relation(), blender::deg::DepsgraphRelationBuilder::add_particle_collision_relations(), blender::deg::DepsgraphRelationBuilder::add_particle_forcefield_relations(), blender::deg::DepsgraphRelationBuilder::add_special_eval_flag(), blender::deg::DepsgraphRelationBuilder::add_time_relation(), blender::deg::DepsgraphNodeBuilder::add_time_source(), blender::deg::DepsgraphNodeBuilder::begin_build(), blender::deg::DepsgraphRelationBuilder::build_animdata_fcurve_target(), blender::deg::DepsgraphNodeBuilder::build_collection(), blender::deg::DepsgraphRelationBuilder::build_copy_on_write_relations(), blender::deg::DepsgraphRelationBuilder::build_copy_on_write_relations(), blender::deg::DepsgraphRelationBuilder::build_driver_data(), blender::deg::DepsgraphRelationBuilder::build_driver_relations(), blender::deg::DepsgraphNodeBuilder::build_driver_variables(), blender::deg::DepsgraphRelationBuilder::build_driver_variables(), blender::deg::DepsgraphRelationBuilder::build_ik_pose(), blender::deg::DepsgraphRelationBuilder::build_layer_collection(), blender::deg::DepsgraphNodeBuilder::build_layer_collections(), blender::deg::DepsgraphRelationBuilder::build_object_instance_collection(), blender::deg::DepsgraphNodeBuilder::build_object_light_linking(), blender::deg::DepsgraphNodeBuilder::build_object_modifiers(), blender::deg::DepsgraphRelationBuilder::build_object_pointcache(), blender::deg::DepsgraphRelationBuilder::build_rigidbody(), blender::deg::DepsgraphNodeBuilder::build_view_layer(), blender::deg::DepsgraphNodeBuilder::end_build(), blender::deg::DepsgraphNodeBuilder::find_id_node(), blender::deg::DepsgraphRelationBuilder::find_node(), blender::deg::DepsgraphRelationBuilder::find_node(), blender::deg::DepsgraphNodeBuilder::foreach_id_cow_detect_need_for_update_callback(), blender::deg::DepsgraphNodeBuilder::get_cow_id(), blender::deg::DepsgraphRelationBuilder::get_node(), blender::deg::DepsgraphRelationBuilder::get_node(), blender::deg::DepsgraphRelationBuilder::getGraph(), is_modifier_visibility_animated(), is_object_visibility_animated(), need_pull_base_into_graph(), blender::deg::DepsgraphNodeBuilder::tag_previously_tagged_nodes(), and blender::deg::DepsgraphNodeBuilder::update_invalid_cow_pointers().


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