15#include <vsg/core/ConstVisitor.h>
16#include <vsg/core/Inherit.h>
29 std::set<const Object*> dynamicObjects;
30 std::stack<bool> taggedStack;
32 inline void tag(
const Object*
object)
34 dynamicObjects.insert(
object);
37 inline bool tagged(
const Object*
object)
39 return dynamicObjects.count(
object) != 0;
49 if (rd->tagged(
object)) rd->taggedStack.top() =
true;
50 rd->taggedStack.push(
false);
55 if (rd->taggedStack.top())
58 rd->taggedStack.pop();
59 rd->taggedStack.top() =
true;
63 rd->taggedStack.pop();
68 const Object*
object =
nullptr;
71 void apply(
const Object&
object)
override;
73 void apply(
const Animation& animation)
override;
79 void apply(
const Image& image)
override;
80 void apply(
const ImageView& imageView)
override;
81 void apply(
const ImageInfo& info)
override;
88 void apply(
const Geometry& geom)
override;
AnimationGroup node provides a list of child nodes and a list of animations to animate them.
Definition AnimationGroup.h:24
Animation class that controls a single animation made up of one more samplers.
Definition Animation.h:44
Base class for animation samplers that sample animation data and set associated scene graph objects.
Definition Animation.h:24
BindIndexBuffer command encapsulates vkCmdBindIndexBuffer call and associated settings.
Definition BindIndexBuffer.h:28
BindVertexBuffers command encapsulates vkCmdBindVertexBuffers call and associated settings.
Definition BindVertexBuffers.h:25
BufferInfo encapsulates the settings that map to VkDescriptorBufferInfo.
Definition BufferInfo.h:27
Definition DescriptorBuffer.h:24
Definition DescriptorImage.h:24
Image class encapsulates VkImage and VkImageCreateInfo settings used to set it up.
Definition Image.h:25
ImageInfo class provides the VkDescriptorImageInfo settings used when setting up vsg::/vkDescriptorIm...
Definition ImageInfo.h:23
ImageView class encapsulates VkImageView and VkImageViewCreateInfo settings used to set it up.
Definition ImageView.h:25
Animation sampler for acumulating vsg::Joint hierarchies and assigned accumulated transform matrices ...
Definition JointSampler.h:23
Animation sampler for morphing geometry, implementation not yet completed.
Definition MorphSampler.h:48
Propagate classification of objects as dynamic to all parents.
Definition PropagateDynamicObjects.h:25
Definition VertexDraw.h:25
Definition VertexIndexDraw.h:25
Definition PropagateDynamicObjects.h:44