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

#include <fbxtypes.h>

Class Description

Public Member Functions

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

Public Attributes

mData [3]
 

Constructor & Destructor Documentation

◆ FbxVectorTemplate3() [1/3]

FbxVectorTemplate3 ( )
inline

Definition at line 220 of file fbxtypes.h.

220 { *this = T(0); }

◆ FbxVectorTemplate3() [2/3]

FbxVectorTemplate3 ( pValue)
inlineexplicit

Definition at line 221 of file fbxtypes.h.

221 { *this = pValue; }

◆ FbxVectorTemplate3() [3/3]

FbxVectorTemplate3 ( pData0,
pData1,
pData2 
)
inline

Definition at line 222 of file fbxtypes.h.

222 { mData[0] = pData0; mData[1] = pData1; mData[2] = pData2; }

◆ ~FbxVectorTemplate3()

~FbxVectorTemplate3 ( )
inline

Definition at line 223 of file fbxtypes.h.

223 {}

Member Function Documentation

◆ operator[]() [1/2]

T& operator[] ( int  pIndex)
inline

Definition at line 224 of file fbxtypes.h.

224 { return mData[pIndex]; }

◆ operator[]() [2/2]

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

Definition at line 225 of file fbxtypes.h.

225 { return mData[pIndex]; }

◆ operator FbxVectorTemplate2< T > &()

operator FbxVectorTemplate2< T > & ( ) const
inline

Definition at line 226 of file fbxtypes.h.

226 { return *((FbxVectorTemplate2<T>*)this); }

◆ operator=() [1/3]

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

Definition at line 227 of file fbxtypes.h.

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

◆ operator=() [2/3]

FbxVectorTemplate3<T>& operator= ( const FbxVectorTemplate2< T > &  pVector)
inline

Definition at line 228 of file fbxtypes.h.

228 { mData[0] = pVector.mData[0]; mData[1] = pVector.mData[1]; return *this; }

◆ operator=() [3/3]

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

Definition at line 229 of file fbxtypes.h.

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

◆ operator==()

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

Definition at line 230 of file fbxtypes.h.

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

◆ operator!=()

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

Definition at line 231 of file fbxtypes.h.

231 { return !operator==(pVector); }
bool operator==(const FbxVectorTemplate3< T > &pVector) const
Definition: fbxtypes.h:230

◆ Buffer() [1/2]

T* Buffer ( )
inline

Definition at line 232 of file fbxtypes.h.

232 { return mData; }

◆ Buffer() [2/2]

const T* Buffer ( ) const
inline

Definition at line 233 of file fbxtypes.h.

233 { return mData; }

Member Data Documentation

◆ mData

T mData[3]

Definition at line 234 of file fbxtypes.h.


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