OGRE 2.3.3
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::v1::VertexMorphKeyFrame Class Reference

Specialised KeyFrame which stores absolute vertex positions for a complete buffer, designed to be interpolated with other keys in the same track. More...

#include <OgreKeyFrame.h>

+ Inheritance diagram for Ogre::v1::VertexMorphKeyFrame:

Public Member Functions

 VertexMorphKeyFrame (const AnimationTrack *parent, Real time)
 Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
 
 ~VertexMorphKeyFrame ()
 
KeyFrame * _clone (AnimationTrack *newParent) const
 Clone a keyframe (internal use only)
 
Real getTime (void) const
 Gets the time of this keyframe in the animation sequence.
 
const HardwareVertexBufferSharedPtr & getVertexBuffer (void) const
 Gets the vertex buffer containing positions for this keyframe.
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, const char *, int, const char *)
 
void operator delete (void *ptr, void *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info
 
void * operator new (size_t sz, void *ptr)
 placement operator new
 
void * operator new[] (size_t sz)
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info
 
void setVertexBuffer (const HardwareVertexBufferSharedPtr &buf)
 Sets the vertex buffer containing the source positions for this keyframe.
 

Detailed Description

Specialised KeyFrame which stores absolute vertex positions for a complete buffer, designed to be interpolated with other keys in the same track.

Constructor & Destructor Documentation

◆ VertexMorphKeyFrame()

Ogre::v1::VertexMorphKeyFrame::VertexMorphKeyFrame ( const AnimationTrack *  parent,
Real  time 
)

Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.

◆ ~VertexMorphKeyFrame()

Ogre::v1::VertexMorphKeyFrame::~VertexMorphKeyFrame ( )
inline

Member Function Documentation

◆ _clone()

KeyFrame * Ogre::v1::VertexMorphKeyFrame::_clone ( AnimationTrack *  newParent) const
virtual

Clone a keyframe (internal use only)

Reimplemented from Ogre::v1::KeyFrame.

◆ getTime()

Real Ogre::v1::KeyFrame::getTime ( void  ) const
inlineinherited

Gets the time of this keyframe in the animation sequence.

◆ getVertexBuffer()

const HardwareVertexBufferSharedPtr & Ogre::v1::VertexMorphKeyFrame::getVertexBuffer ( void  ) const

Gets the vertex buffer containing positions for this keyframe.

◆ operator delete() [1/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr)
inlineinherited

◆ operator delete() [2/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

◆ operator delete() [3/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
)
inlineinherited

◆ operator delete[]() [1/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr)
inlineinherited

◆ operator delete[]() [2/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

◆ operator new() [1/3]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

◆ operator new() [2/3]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

operator new, with debug line info

◆ operator new() [3/3]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void *  ptr 
)
inlineinherited

placement operator new

◆ operator new[]() [1/2]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

◆ operator new[]() [2/2]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

array operator new, with debug line info

◆ setVertexBuffer()

void Ogre::v1::VertexMorphKeyFrame::setVertexBuffer ( const HardwareVertexBufferSharedPtr &  buf)

Sets the vertex buffer containing the source positions for this keyframe.

Remarks

We assume that positions are the first 3 float elements in this buffer, although we don't necessarily assume they're the only ones in there.
Parameters
bufVertex buffer link; will not be modified so can be shared read-only data

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