66 Vec2us(
const osg::Vec2us &v);
71 const osg::Vec2us& GetOSGVector()
const;
138 std::string
ToString(
int precision = -1);
163 void operator = (
const Vec2us& v);
168 void operator = (
const osg::Vec2us& v);
183 bool operator < (
const Vec2us& v)
const;
188 bool operator > (
const Vec2us& v)
const;
239 const Vec2us operator - ()
const;
244 operator osg::Vec2us()
const;
249 operator osg::Vec2us& ();
254 operator const osg::Vec2us& ()
const;
259 operator osg::Vec2us* ();
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)
unsigned short value_type
Data type of vector components.
General purpose 2D unsigned short Vector.
TR_BASE_EXPORT std::ostream & operator<<(std::ostream &ios, const Matrixd &q)
Stream insertion operator.
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.
T Lerp(T from, T to, T alpha)
Linear Interpolation function.
static const int NUM_OF_COMPONENTS