35 #ifndef IE_CORE_PRIMITIVEMOTION_H
36 #define IE_CORE_PRIMITIVEMOTION_H
38 #include "IECore/Export.h"
39 #include "IECore/Primitive.h"
65 const SnapshotMap &snapshots()
const;
69 SnapshotMap &snapshots();
72 void addSnapshot(
float time, PrimitivePtr primitive );
74 void removeSnapshot(
float time );
75 void removeSnapshot( PrimitivePtr primitive );
80 void render(
Renderer *renderer )
const override;
81 Imath::Box3f bound()
const override;
85 static const unsigned int m_ioVersion;
87 SnapshotMap m_snapshots;
95 #endif // IE_CORE_PRIMITIVEMOTION_H
Definition: VisibleRenderable.h:51
std::map< float, PrimitivePtr > SnapshotMap
Definition: MotionPrimitive.h:55
Definition: MotionPrimitive.h:49
Definition: Renderer.h:93
This namespace contains all components of the core library.
Definition: AddSmoothSkinningInfluencesOp.h:43