openscenegraph
|
#include <Vec4d>
Public Types | |
enum | { num_components = 4 } |
typedef double | value_type |
Public Attributes | |
value_type | _v [4] |
General purpose double quad. Uses include representation of color coordinates. No support yet added for double * Vec4d - is it necessary? Need to define a non-member non-friend operator* etc. Vec4d * double is okay
Data type of vector components.
|
inline |
Constructor that sets all components of the vector to zero
References _v.
Referenced by operator*(), operator+(), operator-(), operator-(), and operator/().
|
inline |
|
inline |
|
inline |
References _v.
|
inline |
References _v.
References _v, osg::clampTo(), and set().
References _v, osg::clampTo(), and set().
|
inline |
References _v.
|
inline |
References _v.
|
inline |
References _v.
|
inline |
References _v.
|
inline |
Returns true if at least one component has value NaN.
References _v, and osg::isNaN().
Referenced by valid().
|
inline |
|
inline |
Length squared of the vector = vec . vec
References _v.
|
inline |
|
inline |
References _v.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References _v.
|
inline |
References _v.
|
inline |
References _v.
|
inline |
References _v.
|
inline |
References _v.
|
inline |
References _v.
|
inline |
References _v.
|
inline |
References _v.
|
inline |
References _v, w(), x(), y(), and z().
Referenced by asABGR(), asRGBA(), length(), normalize(), operator*(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), and Vec4d().
|
inline |
Returns true if all components have values that are not NaN.
References isNaN().
|
inline |
References _v.
Referenced by osg::Matrixd::postMult(), osg::Matrixf::postMult(), osg::Matrixd::preMult(), osg::Matrixf::preMult(), osg::Quat::Quat(), osg::Quat::set(), set(), Vec4d(), and Vec4d().
|
inline |
References _v.
|
inline |
References _v.
Referenced by osg::Matrixd::postMult(), osg::Matrixf::postMult(), osg::Matrixd::preMult(), osg::Matrixf::preMult(), osg::Quat::Quat(), osg::Quat::set(), set(), and Vec4d().
|
inline |
References _v.
|
inline |
References _v.
Referenced by osg::Matrixd::postMult(), osg::Matrixf::postMult(), osg::Matrixd::preMult(), osg::Matrixf::preMult(), osg::Quat::Quat(), osg::Quat::set(), set(), and Vec4d().
|
inline |
References _v.
|
inline |
References _v.
Referenced by osg::Matrixd::postMult(), osg::Matrixf::postMult(), osg::Matrixd::preMult(), osg::Matrixf::preMult(), osg::Quat::Quat(), osg::Quat::set(), set(), and Vec4d().
|
inline |
References _v.
value_type osg::Vec4d::_v[4] |
Referenced by a(), a(), asABGR(), asRGBA(), b(), b(), g(), g(), isNaN(), length(), length2(), normalize(), operator Vec4f(), operator!=(), operator*(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-(), operator-=(), operator/(), operator/=(), operator<(), osg::operator<<(), operator==(), osg::operator>>(), operator[](), operator[](), ptr(), ptr(), r(), r(), set(), Vec4d(), Vec4d(), Vec4d(), Vec4d(), w(), w(), x(), x(), y(), y(), z(), and z().