OsgVectorConversions.h File Reference

Conversions to and from OSG vector types. More...

`#include "SurgSim/Math/Vector.h"`
`#include <osg/Vec2f>`
`#include <osg/Vec2d>`
`#include <osg/Vec3f>`
`#include <osg/Vec3d>`
`#include <osg/Vec4f>`
`#include <osg/Vec4d>`

Go to the source code of this file.

## Namespaces

| SurgSim
| SurgSim::Graphics

## Functions

osg::Vec2f | SurgSim::Graphics::toOsg (const SurgSim::Math::Vector2f &vector)
| Convert 2D vector of floats to OSG. More...
SurgSim::Math::Vector2f | SurgSim::Graphics::fromOsg (const osg::Vec2f &vector)
| Convert from OSG to 2D vector of floats. More...
osg::Vec2d | SurgSim::Graphics::toOsg (const SurgSim::Math::Vector2d &vector)
| Convert 2D vector of doubles to OSG. More...
SurgSim::Math::Vector2d | SurgSim::Graphics::fromOsg (const osg::Vec2d &vector)
| Convert from OSG to 2D vector of doubles. More...
osg::Vec3f | SurgSim::Graphics::toOsg (const SurgSim::Math::Vector3f &vector)
| Convert 3D vector of floats to OSG. More...
SurgSim::Math::Vector3f | SurgSim::Graphics::fromOsg (const osg::Vec3f &vector)
| Convert from OSG to 3D vector of floats. More...
osg::Vec3d | SurgSim::Graphics::toOsg (SurgSim::Math::Vector3d vector)
| Convert 3D vector of doubles to OSG. More...
SurgSim::Math::Vector3d | SurgSim::Graphics::fromOsg (const osg::Vec3d &vector)
| Convert from OSG to 3D vector of doubles. More...
osg::Vec4f | SurgSim::Graphics::toOsg (const SurgSim::Math::Vector4f &vector)
| Convert 4D vector of floats to OSG. More...
SurgSim::Math::Vector4f | SurgSim::Graphics::fromOsg (const osg::Vec4f &vector)
| Convert from OSG to 4D vector of floats. More...
osg::Vec4d | SurgSim::Graphics::toOsg (const SurgSim::Math::Vector4d &vector)
| Convert 4D vector of doubles to OSG. More...
SurgSim::Math::Vector4d | SurgSim::Graphics::fromOsg (const osg::Vec4d &vector)
| Convert from OSG to 4D vector of doubles. More...

## Detailed Description

Conversions to and from OSG vector types.