2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of DAE2MA.
6
Licensed under the MIT Open Source License,
7
for details please see LICENSE file or the website
8
http://www.opensource.org/licenses/mit-license.php
11
#ifndef __DAE2MA_TRANSFORMANIMATION_H__
12
#define __DAE2MA_TRANSFORMANIMATION_H__
14
#include "DAE2MAPrerequisites.h"
15
#include "DAE2MABaseAnimation.h"
16
#include "DAE2MAMayaTransform.h"
18
#include "COLLADAFWTransformation.h"
24
/** Stores the transform node id, the mayaTransform node and the transformation type. */
25
class TransformAnimation : public BaseAnimation
29
const COLLADAFW::Transformation* mTransformation;
31
/** Need to know, which rotation is animted. */
32
MayaTransform::TransformPhase mTransformPhase;
34
bool mIsJointTransform;
42
virtual ~TransformAnimation();
44
const COLLADAFW::Transformation* getTransformation () const { return mTransformation; }
45
void setTransformation ( const COLLADAFW::Transformation* val );
46
const COLLADAFW::Transformation::TransformationType getTransformType () const { return mTransformation->getTransformationType (); }
48
const MayaTransform::TransformPhase& getTransformPhase () const { return mTransformPhase; }
49
void setTransformPhase ( const MayaTransform::TransformPhase& val ) { mTransformPhase = val; }
51
const bool& getIsJointTransform () const { return mIsJointTransform; }
52
void setIsJointTransform ( const bool& val ) { mIsJointTransform = val; }
58
#endif // __DAE2MA_TRANSFORMANIMATION_H__