OSGVector.h File Reference

#include "OSGBaseTypes.h"
#include "OSGBaseFunctions.h"
#include <iostream>
#include "OSGVector.inl"

Go to the source code of this file.


Namespaces

namespace  OSG

Classes

class  OSG::VecStorage1< ValueTypeT >
class  OSG::VecStorage2< ValueTypeT >
class  OSG::VecStorage3< ValueTypeT >
class  OSG::VecStorage4< ValueTypeT >
class  OSG::PointInterface< ValueTypeT, StorageInterfaceT >
class  OSG::VectorInterface< ValueTypeT, StorageInterfaceT >

Typedefs

typedef VectorInterface< UInt8,
VecStorage1< UInt8 > > 
OSG::Vec1ub
typedef Vec1ub * OSG::Vec1ubP
typedef VectorInterface< Int8,
VecStorage1< Int8 > > 
OSG::Vec1b
typedef Vec1b * OSG::Vec1bP
typedef VectorInterface< UInt16,
VecStorage1< UInt16 > > 
OSG::Vec1us
typedef Vec1us * OSG::Vec1usP
typedef VectorInterface< Int16,
VecStorage1< Int16 > > 
OSG::Vec1s
typedef Vec1s * OSG::Vec1sP
typedef VectorInterface< Real32,
VecStorage1< Real32 > > 
OSG::Vec1f
typedef Vec1f * OSG::Vec1fP
typedef VectorInterface< Fixed32,
VecStorage1< Fixed32 > > 
OSG::Vec1fx
typedef Vec1fx * OSG::Vec1fxP
typedef VectorInterface< Real64,
VecStorage1< Real64 > > 
OSG::Vec1d
typedef Vec1d * OSG::Vec1dP
typedef VectorInterface< Real128,
VecStorage1< Real128 > > 
OSG::Vec1ld
typedef Vec1ld * OSG::Vec1ldP
typedef VectorInterface< UInt8,
VecStorage2< UInt8 > > 
OSG::Vec2ub
typedef Vec2ub * OSG::Vec2ubP
typedef VectorInterface< Int8,
VecStorage2< Int8 > > 
OSG::Vec2b
typedef Vec2b * OSG::Vec2bP
typedef VectorInterface< UInt16,
VecStorage2< UInt16 > > 
OSG::Vec2us
typedef Vec2us * OSG::Vec2usP
typedef VectorInterface< Int16,
VecStorage2< Int16 > > 
OSG::Vec2s
typedef Vec2s * OSG::Vec2sP
typedef VectorInterface< Real32,
VecStorage2< Real32 > > 
OSG::Vec2f
typedef Vec2f * OSG::Vec2fP
typedef VectorInterface< Fixed32,
VecStorage2< Fixed32 > > 
OSG::Vec2fx
typedef Vec2fx * OSG::Vec2fxP
typedef VectorInterface< Real64,
VecStorage2< Real64 > > 
OSG::Vec2d
typedef Vec2d * OSG::Vec2dP
typedef VectorInterface< Real128,
VecStorage2< Real128 > > 
OSG::Vec2ld
typedef Vec2ld * OSG::Vec2ldP
typedef VectorInterface< UInt8,
VecStorage3< UInt8 > > 
OSG::Vec3ub
typedef Vec3ub * OSG::Vec3ubP
typedef VectorInterface< Int8,
VecStorage3< Int8 > > 
OSG::Vec3b
typedef Vec3b * OSG::Vec3bP
typedef VectorInterface< UInt16,
VecStorage3< UInt16 > > 
OSG::Vec3us
typedef Vec3us * OSG::Vec3usP
typedef VectorInterface< Int16,
VecStorage3< Int16 > > 
OSG::Vec3s
typedef Vec3s * OSG::Vec3sP
typedef VectorInterface< Real32,
VecStorage3< Real32 > > 
OSG::Vec3f
typedef Vec3f * OSG::Vec3fP
typedef VectorInterface< Fixed32,
VecStorage3< Fixed32 > > 
OSG::Vec3fx
typedef Vec3fx * OSG::Vec3fxP
typedef VectorInterface< Real64,
VecStorage3< Real64 > > 
OSG::Vec3d
typedef Vec3d * OSG::Vec3dP
typedef VectorInterface< Real128,
VecStorage3< Real128 > > 
OSG::Vec3ld
typedef Vec3ld * OSG::Vec3ldP
typedef VectorInterface< UInt8,
VecStorage4< UInt8 > > 
OSG::Vec4ub
typedef Vec4ub * OSG::Vec4ubP
typedef VectorInterface< Int8,
VecStorage4< Int8 > > 
OSG::Vec4b
typedef Vec4b * OSG::Vec4bP
typedef VectorInterface< UInt16,
VecStorage4< UInt16 > > 
OSG::Vec4us
typedef Vec4us * OSG::Vec4usP
typedef VectorInterface< Int16,
VecStorage4< Int16 > > 
OSG::Vec4s
typedef Vec4s * OSG::Vec4sP
typedef VectorInterface< Real32,
VecStorage4< Real32 > > 
OSG::Vec4f
typedef Vec4f * OSG::Vec4fP
typedef VectorInterface< Fixed32,
VecStorage4< Fixed32 > > 
OSG::Vec4fx
typedef Vec4fx * OSG::Vec4fxP
typedef VectorInterface< Real64,
VecStorage4< Real64 > > 
OSG::Vec4d
typedef Vec4d * OSG::Vec4dP
typedef VectorInterface< Real128,
VecStorage4< Real128 > > 
OSG::Vec4ld
typedef Vec4ld * OSG::Vec4ldP
typedef PointInterface< UInt8,
VecStorage1< UInt8 > > 
OSG::Pnt1ub
typedef Pnt1ub * OSG::Pnt1ubP
typedef PointInterface< Int8,
VecStorage1< Int8 > > 
OSG::Pnt1b
typedef Pnt1b * OSG::Pnt1bP
typedef PointInterface< UInt16,
VecStorage1< UInt16 > > 
OSG::Pnt1us
typedef Pnt1us * OSG::Pnt1usP
typedef PointInterface< Int16,
VecStorage1< Int16 > > 
OSG::Pnt1s
typedef Pnt1s * OSG::Pnt1sP
typedef PointInterface< Real32,
VecStorage1< Real32 > > 
OSG::Pnt1f
typedef Pnt1f * OSG::Pnt1fP
typedef PointInterface< Fixed32,
VecStorage1< Fixed32 > > 
OSG::Pnt1fx
typedef Pnt1fx * OSG::Pnt1fxP
typedef PointInterface< Real64,
VecStorage1< Real64 > > 
OSG::Pnt1d
typedef Pnt1d * OSG::Pnt1dP
typedef PointInterface< Real128,
VecStorage1< Real128 > > 
OSG::Pnt1ld
typedef Pnt1ld * OSG::Pnt1ldP
typedef PointInterface< UInt8,
VecStorage2< UInt8 > > 
OSG::Pnt2ub
typedef Pnt2ub * OSG::Pnt2ubP
typedef PointInterface< Int8,
VecStorage2< Int8 > > 
OSG::Pnt2b
typedef Pnt2b * OSG::Pnt2bP
typedef PointInterface< UInt16,
VecStorage2< UInt16 > > 
OSG::Pnt2us
typedef Pnt2us * OSG::Pnt2usP
typedef PointInterface< Int16,
VecStorage2< Int16 > > 
OSG::Pnt2s
typedef Pnt2s * OSG::Pnt2sP
typedef PointInterface< Real32,
VecStorage2< Real32 > > 
OSG::Pnt2f
typedef Pnt2f * OSG::Pnt2fP
typedef PointInterface< Fixed32,
VecStorage2< Fixed32 > > 
OSG::Pnt2fx
typedef Pnt2fx * OSG::Pnt2fxP
typedef PointInterface< Real64,
VecStorage2< Real64 > > 
OSG::Pnt2d
typedef Pnt2d * OSG::Pnt2dP
typedef PointInterface< Real128,
VecStorage2< Real128 > > 
OSG::Pnt2ld
typedef Pnt2ld * OSG::Pnt2ldP
typedef PointInterface< UInt8,
VecStorage3< UInt8 > > 
OSG::Pnt3ub
typedef Pnt3ub * OSG::Pnt3ubP
typedef PointInterface< Int8,
VecStorage3< Int8 > > 
OSG::Pnt3b
typedef Pnt3b * OSG::Pnt3bP
typedef PointInterface< UInt16,
VecStorage3< UInt16 > > 
OSG::Pnt3us
typedef Pnt3us * OSG::Pnt3usP
typedef PointInterface< Int16,
VecStorage3< Int16 > > 
OSG::Pnt3s
typedef Pnt3s * OSG::Pnt3sP
typedef PointInterface< Real32,
VecStorage3< Real32 > > 
OSG::Pnt3f
typedef Pnt3f * OSG::Pnt3fP
typedef PointInterface< Fixed32,
VecStorage3< Fixed32 > > 
OSG::Pnt3fx
typedef Pnt3fx * OSG::Pnt3fxP
typedef PointInterface< Real64,
VecStorage3< Real64 > > 
OSG::Pnt3d
typedef Pnt3d * OSG::Pnt3dP
typedef PointInterface< Real128,
VecStorage3< Real128 > > 
OSG::Pnt3ld
typedef Pnt3ld * OSG::Pnt3ldP
typedef PointInterface< UInt8,
VecStorage4< UInt8 > > 
OSG::Pnt4ub
typedef Pnt4ub * OSG::Pnt4ubP
typedef PointInterface< Int8,
VecStorage4< Int8 > > 
OSG::Pnt4b
typedef Pnt4b * OSG::Pnt4bP
typedef PointInterface< UInt16,
VecStorage4< UInt16 > > 
OSG::Pnt4us
typedef Pnt4us * OSG::Pnt4usP
typedef PointInterface< Int16,
VecStorage4< Int16 > > 
OSG::Pnt4s
typedef Pnt4s * OSG::Pnt4sP
typedef PointInterface< Real32,
VecStorage4< Real32 > > 
OSG::Pnt4f
typedef Pnt4f * OSG::Pnt4fP
typedef PointInterface< Fixed32,
VecStorage4< Fixed32 > > 
OSG::Pnt4fx
typedef Pnt4fx * OSG::Pnt4fxP
typedef PointInterface< Real64,
VecStorage4< Real64 > > 
OSG::Pnt4d
typedef Pnt4d * OSG::Pnt4dP
typedef PointInterface< Real128,
VecStorage4< Real128 > > 
OSG::Pnt4ld
typedef Pnt4ld * OSG::Pnt4ldP
typedef Vec2f OSG::Vec2r
typedef Vec3f OSG::Vec3r
typedef Vec4f OSG::Vec4r
typedef Pnt2f OSG::Pnt2r
typedef Pnt3f OSG::Pnt3r
typedef Pnt4f OSG::Pnt4r

Functions

template<class ValueTypeT, class StorageInterfaceT>
PointInterface< ValueTypeT,
StorageInterfaceT > 
OSG::operator * (const ValueTypeT val, const PointInterface< ValueTypeT, StorageInterfaceT > &vec)
 Component wise binary scalar multiplication.
template<class ValueTypeT, class StorageInterfaceT>
std::ostream & OSG::operator<< (std::ostream &os, const PointInterface< ValueTypeT, StorageInterfaceT > &obj)
 Write point to the given stream.
template<class ValueTypeT, class StorageInterfaceT>
VectorInterface< ValueTypeT,
StorageInterfaceT > 
OSG::operator * (const ValueTypeT val, const VectorInterface< ValueTypeT, StorageInterfaceT > &vec)
 Component wise binary scalar multiplication.
template<class ValueTypeT, class StorageInterfaceT>
std::ostream & OSG::operator<< (std::ostream &os, const VectorInterface< ValueTypeT, StorageInterfaceT > &obj)
 Write vector to stream.