openscenegraph
|
#include <Vec4f>
Public Types | |
enum | { num_components = 4 } |
typedef float | value_type |
Public Attributes | |
value_type | _v [4] |
General purpose float quad. Uses include representation of color coordinates. No support yet added for float * Vec4f - is it necessary? Need to define a non-member non-friend operator* etc. Vec4f * float 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.
Referenced by osg::convertToRGBA8().
|
inline |
References _v.
References _v, osg::clampTo(), and set().
References _v, osg::clampTo(), and set().
|
inline |
References _v.
Referenced by osg::convertToRGBA8().
|
inline |
References _v.
|
inline |
References _v.
Referenced by osg::convertToRGBA8().
|
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 |
|
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.
Referenced by osg::convertToRGBA8().
|
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/(), and operator/=().
|
inline |
Returns true if all components have values that are not NaN.
References isNaN().
|
inline |
References _v.
Referenced by osgUtil::HighlightMapGenerator::compute_color(), osgParticle::Interpolator::interpolate(), osgTerrain::ValidDataOperator::operator()(), osg::Matrixd::postMult(), osg::Matrixf::postMult(), osg::Matrixd::preMult(), osg::Matrixf::preMult(), osg::Quat::Quat(), osg::Quat::set(), set(), osgUtil::CubeMapGenerator::set_pixel(), Vec4f(), and Vec4f().
|
inline |
References _v.
|
inline |
References _v.
Referenced by osgParticle::Interpolator::interpolate(), osgTerrain::ValidDataOperator::operator()(), osg::Matrixd::postMult(), osg::Matrixf::postMult(), osg::Matrixd::preMult(), osg::Matrixf::preMult(), osg::Quat::Quat(), osg::Quat::set(), set(), osgUtil::CubeMapGenerator::set_pixel(), and Vec4f().
|
inline |
References _v.
|
inline |
References _v.
Referenced by osgParticle::Interpolator::interpolate(), osgTerrain::ValidDataOperator::operator()(), osg::Matrixd::postMult(), osg::Matrixf::postMult(), osg::Matrixd::preMult(), osg::Matrixf::preMult(), osg::Quat::Quat(), osg::Quat::set(), set(), osgUtil::CubeMapGenerator::set_pixel(), and Vec4f().
|
inline |
References _v.
|
inline |
References _v.
Referenced by osgParticle::Interpolator::interpolate(), osgTerrain::ValidDataOperator::operator()(), osg::Matrixd::postMult(), osg::Matrixf::postMult(), osg::Matrixd::preMult(), osg::Matrixf::preMult(), osg::Quat::Quat(), osg::Quat::set(), set(), osgUtil::CubeMapGenerator::set_pixel(), and Vec4f().
|
inline |
References _v.
value_type osg::Vec4f::_v[4] |
Vec member variable.
Referenced by a(), a(), asABGR(), asRGBA(), b(), b(), g(), g(), isNaN(), length(), length2(), normalize(), operator!=(), operator*(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-(), operator-=(), operator/(), operator/=(), operator<(), osg::operator<<(), operator==(), osg::operator>>(), operator[](), operator[](), ptr(), ptr(), r(), r(), set(), Vec4f(), Vec4f(), Vec4f(), w(), w(), x(), x(), y(), y(), z(), and z().