66 Vec3s(
const osg::Vec3s &v);
71 const osg::Vec3s& GetOSGVector()
const;
157 void Set(
const Vec3s& v);
192 std::string
ToString(
int precision = -1);
217 void operator = (
const Vec3s& v);
222 void operator = (
const osg::Vec3s& v);
237 bool operator < (
const Vec3s& v)
const;
242 bool operator > (
const Vec3s& v)
const;
283 const Vec3s operator - (
const Vec3s& rhs)
const;
293 const Vec3s operator - ()
const;
298 const Vec3s operator ^ (
const Vec3s& rhs)
const;
303 operator osg::Vec3s()
const;
308 operator osg::Vec3s& ();
313 operator const osg::Vec3s& ()
const;
318 operator osg::Vec3s* ();
std::string operator+(const std::string &s1, const RefStr &s2)
bool operator==(const std::string &s1, const RefStr &s2)
bool operator!=(const std::string &s1, const RefStr &s2)
TR_BASE_EXPORT std::ostream & operator<<(std::ostream &ios, const Matrixd &q)
Stream insertion operator.
General purpose 3D short Vector.
std::string ToString(const T &t, int precision=-1)
A utility function to convert a basic type into a string.
TR_BASE_EXPORT Vec2b ComponentDivide(const Vec2b &lhs, const Vec2b &rhs)
Divide rhs components by rhs vector components.
TR_BASE_EXPORT Vec2b ComponentMultiply(const Vec2b &lhs, const Vec2b &rhs)
Multiply individual vector components.
short value_type
Data type of vector components.
T Lerp(T from, T to, T alpha)
Linear Interpolation function.
static const int NUM_OF_COMPONENTS