41 lines
931 B
C++
41 lines
931 B
C++
#ifndef _ENGINE_SPACIALTRANSFORM_HPP_
|
|
#define _ENGINE_SPACIALTRANSFROM_HPP_
|
|
#ifndef _COMMON_WINDOWS_HPP_
|
|
#include <common/windows.hpp>
|
|
#endif
|
|
|
|
template <class T>
|
|
class Array;
|
|
|
|
class SpacialTransform
|
|
{
|
|
public:
|
|
SpacialTransform(void);
|
|
virtual ~SpacialTransform();
|
|
BOOL transform(Array<int> &srcVector,Array<int> &dstVector,WORD sizeFactor);
|
|
private:
|
|
SpacialTransform(const SpacialTransform &someSpacialTransform);
|
|
SpacialTransform &operator=(const SpacialTransform &someSpacialTransform);
|
|
BOOL nextInput(Array<int> &srcVector);
|
|
|
|
int mNextInputIndex;
|
|
int mCurrentValue;
|
|
int mNextValue;
|
|
};
|
|
|
|
inline
|
|
SpacialTransform::SpacialTransform(void)
|
|
{
|
|
}
|
|
|
|
inline
|
|
SpacialTransform::SpacialTransform(const SpacialTransform &/*someSpacialTransform*/)
|
|
{ // private implementation
|
|
}
|
|
|
|
inline
|
|
SpacialTransform &SpacialTransform::operator=(const SpacialTransform &/*someSpacialTransform*/)
|
|
{ // private implementation
|
|
return *this;
|
|
}
|
|
#endif |