diff --git a/include/VABase.h b/include/VABase.h index d3225b61d76bd8680659690ded762d3f959639ac..424b71ed420fc67d501de25bd6e43719da5628b8 100644 --- a/include/VABase.h +++ b/include/VABase.h @@ -78,6 +78,15 @@ public: y /= l; z /= l; }; + + inline CVAStruct GetAsStruct() const + { + CVAStruct oVec; + oVec[ "x" ] = x; + oVec[ "y" ] = y; + oVec[ "z" ] = z; + return oVec; + }; }; inline VABASE_API bool operator==( const VAVec3& a, const VAVec3& b ) @@ -149,6 +158,16 @@ public: z = z_; w = w_; }; + + inline CVAStruct GetAsStruct() const + { + CVAStruct oOrient; + oOrient[ "x" ] = x; + oOrient[ "y" ] = y; + oOrient[ "z" ] = z; + oOrient[ "w" ] = w; + return oOrient; + }; }; //! Stream output operator for Quaternion diff --git a/include/VAInterface.h b/include/VAInterface.h index 57882f22c7c4c7f640d5e55bc1c673fcef612b65..7488ee6f089ce75be450dc3d07c3dc36585d0232 100644 --- a/include/VAInterface.h +++ b/include/VAInterface.h @@ -235,11 +235,9 @@ public: //! Returns a struct with the hardware configuration /** - * @param[in] bFilterEnabled If true, only include enabled sections. - * * @return Encapsulated hardware configuration */ - virtual CVAStruct GetHardwareConfiguration( const bool bFilterEnabled = true ) const = 0; + virtual CVAStruct GetHardwareConfiguration() const = 0; //! Create a directivity from a set of parameters /**