NGL  6.5
The NCCA Graphics Library
NGLStream.cpp File Reference
#include "Camera.h"
#include "Colour.h"
#include "Vec2.h"
#include "Vec3.h"
#include "Vec4.h"
#include "Mat3.h"
#include "Mat4.h"
#include "Quaternion.h"
#include <iostream>
#include <limits>
#include <iomanip>
+ Include dependency graph for NGLStream.cpp:

Go to the source code of this file.

Namespaces

 ngl
 implementation files for RibExport class
 

Functions

NGL_DLLEXPORT std::ostream & ngl::operator<< (std::ostream &_output, const Vec2 &_s)
 insertion operator to print out the Vec2 More...
 
NGL_DLLEXPORT std::istream & ngl::operator>> (std::istream &_input, Vec2 &_s)
 extraction operator to read in the Vec2 More...
 
NGL_DLLEXPORT std::ostream & ngl::operator<< (std::ostream &_output, const Vec3 &_s)
 insertion operator to print out the Vec3 More...
 
NGL_DLLEXPORT std::istream & ngl::operator>> (std::istream &_input, Vec3 &_s)
 extraction operator to read in the Vec3 More...
 
NGL_DLLEXPORT std::ostream & ngl::operator<< (std::ostream &_output, const Vec4 &_s)
 insertion operator to print out the vector More...
 
NGL_DLLEXPORT std::istream & ngl::operator>> (std::istream &_input, Vec4 &_s)
 extraction operator to read in the vector More...
 
NGL_DLLEXPORT std::ostream & ngl::operator<< (std::ostream &_output, const Camera &_c)
 << extraction operator to prints out the colour in the format [r,g,b,a] More...
 
NGL_DLLEXPORT std::ostream & ngl::operator<< (std::ostream &_output, const Colour &_s)
 << extraction operator to prints out the colour in the format [r,g,b,a] More...
 
NGL_DLLEXPORT std::istream & ngl::operator>> (std::istream &_input, Colour &_s)
 

insertion operator to read in the colour data r -> g -> b -> a

More...
 
NGL_DLLEXPORT std::ostream & ngl::operator<< (std::ostream &output, const Mat3 &M)
 insertion operator to write matrix to stream More...
 
NGL_DLLEXPORT std::ostream & ngl::operator<< (std::ostream &output, const Mat4 &M)
 insertion operator to write matrix to stream More...
 
NGL_DLLEXPORT std::ostream & ngl::operator<< (std::ostream &i_s, const Quaternion &i_q)
 the streaming operator for the quaternion More...