VisioMove SDK (iOS)  2.1.22
VgEngine::VgValue Class Reference

Public Types

Public Member Functions

 VgValue ()
 
void setInt (int pValue)
 
void getInt (int pResult[]) const
 
void setFloat (float pValue)
 
void getFloat (float pResult[]) const
 
void setVector2 (const float pValue[])
 
void getVector2 (float pResult[]) const
 
void setVector3 (const float pValue[])
 
void getVector3 (float pResult[]) const
 
void setVector4 (const float pValue[])
 
void getVector4 (float pResult[]) const
 
void setMatrix3 (const float pValue[])
 
void getMatrix3 (float pResult[]) const
 
void setMatrix4 (const float pValue[])
 
void getMatrix4 (float pResult[]) const
 

Protected Attributes

Type mType = eVT_None
 
union {
   float   mFloats [16]
 
   int   mInt
 
}; 
 

Detailed Description

This class implements the variant concept of multi-type values.

Version
2.1.19

Member Enumeration Documentation

Enumerator
eVT_Int1 
eVT_Float1 
eVT_Float2 
eVT_Float3 
eVT_Float4 
eVT_Float3x3 
eVT_Float4x4 
eVT_None 

Constructor & Destructor Documentation

VgEngine::VgValue::VgValue ( )
inline

Member Function Documentation

void VgEngine::VgValue::getFloat ( float  pResult[]) const
inline

References eVT_Float1, mFloats, and mType.

void VgEngine::VgValue::getInt ( int  pResult[]) const
inline

References eVT_Int1, mInt, and mType.

void VgEngine::VgValue::getMatrix3 ( float  pResult[]) const
inline

References eVT_Float3x3, mFloats, and mType.

void VgEngine::VgValue::getMatrix4 ( float  pResult[]) const
inline

References eVT_Float4x4, mFloats, and mType.

void VgEngine::VgValue::getVector2 ( float  pResult[]) const
inline

References eVT_Float2, mFloats, and mType.

void VgEngine::VgValue::getVector3 ( float  pResult[]) const
inline

References eVT_Float3, mFloats, and mType.

void VgEngine::VgValue::getVector4 ( float  pResult[]) const
inline

References eVT_Float4, mFloats, and mType.

void VgEngine::VgValue::setFloat ( float  pValue)
inline

References eVT_Float1, mFloats, and mType.

void VgEngine::VgValue::setInt ( int  pValue)
inline

References eVT_Int1, mInt, and mType.

void VgEngine::VgValue::setMatrix3 ( const float  pValue[])
inline

References eVT_Float3x3, mFloats, and mType.

void VgEngine::VgValue::setMatrix4 ( const float  pValue[])
inline

References eVT_Float4x4, mFloats, and mType.

void VgEngine::VgValue::setVector2 ( const float  pValue[])
inline

References eVT_Float2, mFloats, and mType.

void VgEngine::VgValue::setVector3 ( const float  pValue[])
inline

References eVT_Float3, mFloats, and mType.

void VgEngine::VgValue::setVector4 ( const float  pValue[])
inline

References eVT_Float4, mFloats, and mType.

Member Data Documentation

union { ... }
int VgEngine::VgValue::mInt

Referenced by getInt(), and setInt().


The documentation for this class was generated from the following file:
VisioMove 2.1.22, Visioglobe® 2016