Public Member Functions | Public Attributes

fbxVectorTemplate4< T > Class Template Reference

This reference page is linked to from the following overview topics: List of Python FBX classes.


Search for all occurrences

Detailed Description

template<class T>
class fbxVectorTemplate4< T >

Examples:

ExportScene03/main.cxx, and ImportScene/DisplayMaterial.cxx.

Definition at line 152 of file kfbxtypes.h.

#include <kfbxtypes.h>

Inheritance diagram for fbxVectorTemplate4< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  fbxVectorTemplate4 ()
  fbxVectorTemplate4 (T pValue)
  fbxVectorTemplate4 (T pData0, T pData1, T pData2, T pData3)
  ~fbxVectorTemplate4 ()
T &  operator[] (int pIndex)
  operator fbxVectorTemplate3< T > & () const
T const &  operator[] (int pIndex) const
fbxVectorTemplate4< T > &  operator= (T const &pValue)
fbxVectorTemplate4< T > &  operator= (fbxVectorTemplate3< T > const &pValue)
fbxVectorTemplate4< T > &  operator= (const fbxVectorTemplate4< T > &pRHS)
bool  operator== (fbxVectorTemplate4< T > const &pRHS) const
bool  operator!= (fbxVectorTemplate4< T > const &pRHS) const
T *  Buffer ()
T const *  Buffer () const

Public Attributes

mData [4]

Constructor & Destructor Documentation

fbxVectorTemplate4 ( ) [inline]

Definition at line 154 of file kfbxtypes.h.

{ *this = T(0); }
fbxVectorTemplate4 ( pValue ) [inline, explicit]

Definition at line 155 of file kfbxtypes.h.

{ *this = pValue; }
fbxVectorTemplate4 ( pData0,
pData1,
pData2,
pData3 
) [inline]

Definition at line 156 of file kfbxtypes.h.

{ mData[0] = pData0; mData[1] = pData1; mData[2] = pData2; mData[3] = pData3;   }
~fbxVectorTemplate4 ( ) [inline]

Definition at line 157 of file kfbxtypes.h.

{}

Member Function Documentation

T& operator[] ( int  pIndex ) [inline]

Reimplemented in KFbxQuaternion, and KFbxVector4.

Definition at line 159 of file kfbxtypes.h.

{ return mData[pIndex]; }
operator fbxVectorTemplate3< T > & ( ) const [inline]

Definition at line 160 of file kfbxtypes.h.

{ return *((fbxVectorTemplate3<T> *)this); }
T const& operator[] ( int  pIndex ) const [inline]

Reimplemented in KFbxQuaternion, and KFbxVector4.

Definition at line 161 of file kfbxtypes.h.

{ return mData[pIndex]; }
fbxVectorTemplate4<T>& operator= ( T const &  pValue ) [inline]

Definition at line 162 of file kfbxtypes.h.

{ mData[0] = pValue; mData[1] = pValue; mData[2] = pValue; mData[3] = pValue; return *this; }
fbxVectorTemplate4<T>& operator= ( fbxVectorTemplate3< T > const &  pValue ) [inline]

Definition at line 163 of file kfbxtypes.h.

{ mData[0] = pValue[0]; mData[1] = pValue[1]; mData[2] = pValue[2]; return *this; }
fbxVectorTemplate4<T>& operator= ( const fbxVectorTemplate4< T > &  pRHS ) [inline]

Definition at line 164 of file kfbxtypes.h.

{ mData[0] = pRHS.mData[0]; mData[1] = pRHS.mData[1]; mData[2] = pRHS.mData[2]; mData[3] = pRHS.mData[3]; return *this; }
bool operator== ( fbxVectorTemplate4< T > const &  pRHS ) const [inline]

Definition at line 165 of file kfbxtypes.h.

{ return ((mData[0] == pRHS.mData[0]) && (mData[1] == pRHS.mData[1]) && (mData[2] == pRHS.mData[2]) && (mData[3] == pRHS.mData[3])); }
bool operator!= ( fbxVectorTemplate4< T > const &  pRHS ) const [inline]

Definition at line 166 of file kfbxtypes.h.

{ return !operator==( pRHS ); }
T* Buffer ( ) [inline]

Definition at line 168 of file kfbxtypes.h.

{ return mData; }
T const* Buffer ( ) const [inline]

Definition at line 169 of file kfbxtypes.h.

{ return mData; }

Member Data Documentation

T mData[4]
Examples:
ExportScene01/main.cxx.

Definition at line 172 of file kfbxtypes.h.


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