FBX C++ API Reference
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FbxVectorTemplate4< T > Class Template Reference

#include <fbxtypes.h>

Class Description

template<class T>
class FbxVectorTemplate4< T >

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

Definition at line 237 of file fbxtypes.h.

+ Inheritance diagram for FbxVectorTemplate4< T >:

Public Member Functions

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

Public Attributes

mData [4]
 

Constructor & Destructor Documentation

◆ FbxVectorTemplate4() [1/3]

FbxVectorTemplate4 ( )
inline

Definition at line 240 of file fbxtypes.h.

240 { *this = T(0); }

◆ FbxVectorTemplate4() [2/3]

FbxVectorTemplate4 ( pValue)
inlineexplicit

Definition at line 241 of file fbxtypes.h.

241 { *this = pValue; }

◆ FbxVectorTemplate4() [3/3]

FbxVectorTemplate4 ( pData0,
pData1,
pData2,
pData3 
)
inline

Definition at line 242 of file fbxtypes.h.

242 { mData[0] = pData0; mData[1] = pData1; mData[2] = pData2; mData[3] = pData3; }

◆ ~FbxVectorTemplate4()

~FbxVectorTemplate4 ( )
inline

Definition at line 243 of file fbxtypes.h.

243 {}

Member Function Documentation

◆ operator[]() [1/2]

T& operator[] ( int  pIndex)
inline

Definition at line 244 of file fbxtypes.h.

244 { return mData[pIndex]; }

◆ operator[]() [2/2]

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

Definition at line 245 of file fbxtypes.h.

245 { return mData[pIndex]; }

◆ operator FbxVectorTemplate3< T > &()

operator FbxVectorTemplate3< T > & ( ) const
inline

Definition at line 246 of file fbxtypes.h.

246 { return *((FbxVectorTemplate3<T>*)this); }

◆ operator=() [1/3]

FbxVectorTemplate4<T>& operator= ( const T &  pValue)
inline

Definition at line 247 of file fbxtypes.h.

247 { mData[0] = pValue; mData[1] = pValue; mData[2] = pValue; mData[3] = pValue; return *this; }

◆ operator=() [2/3]

FbxVectorTemplate4<T>& operator= ( const FbxVectorTemplate3< T > &  pValue)
inline

Definition at line 248 of file fbxtypes.h.

248 { mData[0] = pValue[0]; mData[1] = pValue[1]; mData[2] = pValue[2]; return *this; }

◆ operator=() [3/3]

FbxVectorTemplate4<T>& operator= ( const FbxVectorTemplate4< T > &  pVector)
inline

Definition at line 249 of file fbxtypes.h.

249 { mData[0] = pVector.mData[0]; mData[1] = pVector.mData[1]; mData[2] = pVector.mData[2]; mData[3] = pVector.mData[3]; return *this; }

◆ operator==()

bool operator== ( const FbxVectorTemplate4< T > &  pVector) const
inline

Definition at line 250 of file fbxtypes.h.

250 { return ((mData[0] == pVector.mData[0]) && (mData[1] == pVector.mData[1]) && (mData[2] == pVector.mData[2]) && (mData[3] == pVector.mData[3])); }

◆ operator!=()

bool operator!= ( const FbxVectorTemplate4< T > &  pVector) const
inline

Definition at line 251 of file fbxtypes.h.

251 { return !operator==( pVector ); }
bool operator==(const FbxVectorTemplate4< T > &pVector) const
Definition: fbxtypes.h:250

◆ Buffer() [1/2]

T* Buffer ( )
inline

Definition at line 252 of file fbxtypes.h.

252 { return mData; }

◆ Buffer() [2/2]

const T* Buffer ( ) const
inline

Definition at line 253 of file fbxtypes.h.

253 { return mData; }

Member Data Documentation

◆ mData

T mData[4]
Examples:
ExportScene01/main.cxx, and ViewScene/DrawScene.cxx.

Definition at line 254 of file fbxtypes.h.


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