66 Vec3ub(
const osg::Vec3ub &v);
71 const osg::Vec3ub& GetOSGVector()
const;
157 void Set(
const Vec3ub& v);
192 std::string
ToString(
int precision = -1);
217 void operator = (
const Vec3ub& v);
222 void operator = (
const osg::Vec3ub& v);
237 bool operator < (
const Vec3ub& v)
const;
242 bool operator > (
const Vec3ub& v)
const;
293 const Vec3ub operator - ()
const;
303 operator osg::Vec3ub()
const;
308 operator osg::Vec3ub& ();
313 operator const osg::Vec3ub& ()
const;
318 operator osg::Vec3ub* ();
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.
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.
General purpose 3D unsigned byte Vector.
unsigned char value_type
Data type of vector components.
T Lerp(T from, T to, T alpha)
Linear Interpolation function.
static const int NUM_OF_COMPONENTS