Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/builder/deg_builder.h
| Show All 29 Lines | |||||
| namespace DEG { | namespace DEG { | ||||
| struct Depsgraph; | struct Depsgraph; | ||||
| class DepsgraphBuilderCache; | class DepsgraphBuilderCache; | ||||
| class DepsgraphBuilder { | class DepsgraphBuilder { | ||||
| public: | public: | ||||
| bool need_pull_base_into_graph(Base *base); | virtual ~DepsgraphBuilder(); | ||||
| bool check_pchan_has_bbone(Object *object, const bPoseChannel *pchan); | virtual bool need_pull_base_into_graph(Base *base); | ||||
| bool check_pchan_has_bbone_segments(Object *object, const bPoseChannel *pchan); | |||||
| bool check_pchan_has_bbone_segments(Object *object, const char *bone_name); | virtual bool check_pchan_has_bbone(Object *object, const bPoseChannel *pchan); | ||||
| virtual bool check_pchan_has_bbone_segments(Object *object, const bPoseChannel *pchan); | |||||
| virtual bool check_pchan_has_bbone_segments(Object *object, const char *bone_name); | |||||
| protected: | protected: | ||||
| /* NOTE: The builder does NOT take ownership over any of those resources. */ | /* NOTE: The builder does NOT take ownership over any of those resources. */ | ||||
| DepsgraphBuilder(Main *bmain, Depsgraph *graph, DepsgraphBuilderCache *cache); | DepsgraphBuilder(Main *bmain, Depsgraph *graph, DepsgraphBuilderCache *cache); | ||||
| /* State which never changes, same for the whole builder time. */ | /* State which never changes, same for the whole builder time. */ | ||||
| Main *bmain_; | Main *bmain_; | ||||
| Depsgraph *graph_; | Depsgraph *graph_; | ||||
| DepsgraphBuilderCache *cache_; | DepsgraphBuilderCache *cache_; | ||||
| }; | }; | ||||
| bool deg_check_base_in_depsgraph(const Depsgraph *graph, Base *base); | bool deg_check_base_in_depsgraph(const Depsgraph *graph, Base *base); | ||||
| void deg_graph_build_finalize(Main *bmain, Depsgraph *graph); | void deg_graph_build_finalize(Main *bmain, Depsgraph *graph); | ||||
| } // namespace DEG | } // namespace DEG | ||||