FbxNode::Pivot Class Reference


Detailed Description

Definition at line 1933 of file fbxnode.h.

#include <fbxnode.h>

List of all members.

Public Member Functions

 Pivot ()
 ~Pivot ()
void Reset ()
const FbxVector4GetRotationOffset () const
void SetRotationOffset (const FbxVector4 &pV)
const FbxVector4GetRotationPivot () const
void SetRotationPivot (const FbxVector4 &pV)
const FbxVector4GetPreRotation () const
void SetPreRotation (const FbxVector4 &pV)
const FbxVector4GetPostRotation () const
void SetPostRotation (const FbxVector4 &pV)
const FbxVector4GetScalingOffset () const
void SetScalingOffset (const FbxVector4 &pV)
const FbxVector4GetScalingPivot () const
void SetScalingPivot (const FbxVector4 &pV)
const FbxVector4GetGeometricTranslation () const
void SetGeometricTranslation (const FbxVector4 &pV)
const FbxVector4GetGeometricRotation () const
void SetGeometricRotation (const FbxVector4 &pV)
const FbxVector4GetGeometricScaling () const
void SetGeometricScaling (const FbxVector4 &pV)
EFbxRotationOrder GetRotationOrder () const
void SetRotationOrder (EFbxRotationOrder pROrder)
bool GetRotationSpaceForLimitOnly () const
void SetRotationSpaceForLimitOnly (bool pVal)
EFbxQuatInterpMode GetQuaternionInterpolate () const
void SetQuaternionInterpolate (EFbxQuatInterpMode pVal)
FbxNode::EPivotState GetPivotState () const
void SetPivotState (FbxNode::EPivotState pVal)

Static Public Attributes

static const FbxVector4 sZeroVector
static const FbxVector4 sOneVector

Constructor & Destructor Documentation

Pivot ( ) [inline]

Definition at line 1939 of file fbxnode.h.

        {
            mRotationOffset = NULL;
            mRotationPivot = NULL;
            mPreRotation = NULL;
            mPostRotation = NULL;
            mScalingOffset = NULL;
            mScalingPivot = NULL;
            mGeometricTranslation = NULL;
            mGeometricRotation = NULL;
            mGeometricScaling = NULL;
            Reset();
        }
~Pivot ( ) [inline]

Definition at line 1952 of file fbxnode.h.

{ Reset(); }

Member Function Documentation

void Reset ( ) [inline]

Definition at line 1954 of file fbxnode.h.

        {
            FBX_SAFE_DELETE(mRotationOffset);
            FBX_SAFE_DELETE(mRotationPivot); 
            FBX_SAFE_DELETE(mPreRotation);
            FBX_SAFE_DELETE(mPostRotation);
            FBX_SAFE_DELETE(mScalingOffset);
            FBX_SAFE_DELETE(mScalingPivot);
            FBX_SAFE_DELETE(mGeometricTranslation);
            FBX_SAFE_DELETE(mGeometricRotation);
            FBX_SAFE_DELETE(mGeometricScaling);
            mRotationOrder = eEulerXYZ;
            mRotationSpaceForLimitOnly = false;
            mPivotState = FbxNode::ePivotReference;
            mQuaternionInterpolate  = eQuatInterpOff;
        }
const FbxVector4& GetRotationOffset ( ) const [inline]

Definition at line 1971 of file fbxnode.h.

{ return (mRotationOffset) ? *mRotationOffset : sZeroVector; }
void SetRotationOffset ( const FbxVector4 pV) [inline]

Definition at line 1972 of file fbxnode.h.

        {
            if( !mRotationOffset )
            {
            #if( defined(__GNUC__) && __GNUC__ < 4 )
                mRotationOffset = FbxNew< FbxVector4 >((FbxVector4&)pV);
            #else
                mRotationOffset = FbxNew< FbxVector4 >(pV);
            #endif
            }
            else
            {
                *mRotationOffset = pV;
            }
        }
const FbxVector4& GetRotationPivot ( ) const [inline]

Definition at line 1988 of file fbxnode.h.

{ return (mRotationPivot) ? *mRotationPivot : sZeroVector; }
void SetRotationPivot ( const FbxVector4 pV) [inline]

Definition at line 1989 of file fbxnode.h.

        {
            if( !mRotationPivot )
            {
            #if (defined(__GNUC__) && __GNUC__ < 4)
                mRotationPivot = FbxNew< FbxVector4 >((FbxVector4&)pV);
            #else
                mRotationPivot = FbxNew< FbxVector4 >(pV);
            #endif
            }
            else
            {
                *mRotationPivot = pV;
            }
        }
const FbxVector4& GetPreRotation ( ) const [inline]

Definition at line 2005 of file fbxnode.h.

{ return (mPreRotation) ? *mPreRotation : sZeroVector; }
void SetPreRotation ( const FbxVector4 pV) [inline]

Definition at line 2006 of file fbxnode.h.

        {
            if( !mPreRotation )
            {
            #if (defined(__GNUC__) && __GNUC__ < 4)
                mPreRotation = FbxNew< FbxVector4 >((FbxVector4&)pV);
            #else
                mPreRotation = FbxNew< FbxVector4 >(pV);
            #endif
            }
            else
            {
                *mPreRotation = pV;
            }
        }
const FbxVector4& GetPostRotation ( ) const [inline]

Definition at line 2022 of file fbxnode.h.

{ return (mPostRotation) ? *mPostRotation : sZeroVector; }
void SetPostRotation ( const FbxVector4 pV) [inline]

Definition at line 2023 of file fbxnode.h.

        {
            if( !mPostRotation )
            {
            #if (defined(__GNUC__) && __GNUC__ < 4)
                mPostRotation = FbxNew< FbxVector4 >((FbxVector4&)pV);
            #else
                mPostRotation = FbxNew< FbxVector4 >(pV);
            #endif
            }
            else
            {
                *mPostRotation = pV;
            }
        }
const FbxVector4& GetScalingOffset ( ) const [inline]

Definition at line 2039 of file fbxnode.h.

{ return (mScalingOffset) ? *mScalingOffset : sZeroVector; }
void SetScalingOffset ( const FbxVector4 pV) [inline]

Definition at line 2040 of file fbxnode.h.

        {
            if( !mScalingOffset )
            {
            #if (defined(__GNUC__) && __GNUC__ < 4)
                mScalingOffset = FbxNew< FbxVector4 >((FbxVector4&)pV);
            #else                    
                mScalingOffset = FbxNew< FbxVector4 >(pV);
            #endif                        
            }
            else
            {
                *mScalingOffset = pV;
            }
        }
const FbxVector4& GetScalingPivot ( ) const [inline]

Definition at line 2056 of file fbxnode.h.

{ return (mScalingPivot) ? *mScalingPivot : sZeroVector; }
void SetScalingPivot ( const FbxVector4 pV) [inline]

Definition at line 2057 of file fbxnode.h.

        {
            if( !mScalingPivot )
            {
            #if (defined(__GNUC__) && __GNUC__ < 4)
                mScalingPivot = FbxNew< FbxVector4 >((FbxVector4&)pV);
            #else                    
                mScalingPivot = FbxNew< FbxVector4 >(pV);
            #endif                        
            }
            else
            {
                *mScalingPivot = pV;
            }
        }
const FbxVector4& GetGeometricTranslation ( ) const [inline]

Definition at line 2073 of file fbxnode.h.

{ return (mGeometricTranslation) ? *mGeometricTranslation : sZeroVector; }
void SetGeometricTranslation ( const FbxVector4 pV) [inline]

Definition at line 2074 of file fbxnode.h.

        {
            if( !mGeometricTranslation )
            {
            #if (defined(__GNUC__) && __GNUC__ < 4)
                mGeometricTranslation = FbxNew< FbxVector4 >((FbxVector4&)pV);
            #else
                mGeometricTranslation = FbxNew< FbxVector4 >(pV);
            #endif
            }
            else
            {
                *mGeometricTranslation = pV;
            }
        }
const FbxVector4& GetGeometricRotation ( ) const [inline]

Definition at line 2090 of file fbxnode.h.

{ return (mGeometricRotation) ? *mGeometricRotation : sZeroVector; }
void SetGeometricRotation ( const FbxVector4 pV) [inline]

Definition at line 2091 of file fbxnode.h.

        {
            if( !mGeometricRotation )
            {
            #if (defined(__GNUC__) && __GNUC__ < 4)
                mGeometricRotation = FbxNew< FbxVector4 >((FbxVector4&)pV);
            #else
                mGeometricRotation = FbxNew< FbxVector4 >(pV);
            #endif
            }
            else
            {
                *mGeometricRotation = pV;
            }
        }
const FbxVector4& GetGeometricScaling ( ) const [inline]

Definition at line 2107 of file fbxnode.h.

{ return (mGeometricScaling) ? *mGeometricScaling : sOneVector; }
void SetGeometricScaling ( const FbxVector4 pV) [inline]

Definition at line 2108 of file fbxnode.h.

        {
            if( !mGeometricScaling )
            {
            #if (defined(__GNUC__) && __GNUC__ < 4)
                mGeometricScaling = FbxNew< FbxVector4 >((FbxVector4&)pV);
            #else
                mGeometricScaling = FbxNew< FbxVector4 >(pV);
            #endif                        
            }
            else
            {
                *mGeometricScaling = pV;
            }
        }
EFbxRotationOrder GetRotationOrder ( ) const [inline]

Definition at line 2124 of file fbxnode.h.

{ return mRotationOrder; }
void SetRotationOrder ( EFbxRotationOrder  pROrder) [inline]

Definition at line 2125 of file fbxnode.h.

{ mRotationOrder = pROrder; }
bool GetRotationSpaceForLimitOnly ( ) const [inline]

Definition at line 2126 of file fbxnode.h.

{ return mRotationSpaceForLimitOnly; }
void SetRotationSpaceForLimitOnly ( bool  pVal) [inline]

Definition at line 2127 of file fbxnode.h.

{ mRotationSpaceForLimitOnly = pVal; }
EFbxQuatInterpMode GetQuaternionInterpolate ( ) const [inline]

Definition at line 2128 of file fbxnode.h.

{ return mQuaternionInterpolate; }
void SetQuaternionInterpolate ( EFbxQuatInterpMode  pVal) [inline]

Definition at line 2129 of file fbxnode.h.

{ mQuaternionInterpolate = pVal;  }
FbxNode::EPivotState GetPivotState ( ) const [inline]

Definition at line 2130 of file fbxnode.h.

{ return mPivotState; }
void SetPivotState ( FbxNode::EPivotState  pVal) [inline]

Definition at line 2131 of file fbxnode.h.

{ mPivotState = pVal; }

Member Data Documentation

const FbxVector4 sZeroVector [static]

Definition at line 1936 of file fbxnode.h.

const FbxVector4 sOneVector [static]

Definition at line 1937 of file fbxnode.h.


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

FbxNode::Pivot FbxNode::Pivot FbxNode::Pivot FbxNode::Pivot FbxNode::Pivot FbxNode::Pivot FbxNode::Pivot FbxNode::Pivot FbxNode::Pivot FbxNode::Pivot
FbxNode::Pivot FbxNode::Pivot FbxNode::Pivot FbxNode::Pivot FbxNode::Pivot FbxNode::Pivot FbxNode::Pivot FbxNode::Pivot FbxNode::Pivot FbxNode::Pivot