NGL  6.5
The NCCA Graphics Library
NGLStream.h File Reference

stream helpers for ngl data types More...

#include <iostream>
#include "Types.h"
+ Include dependency graph for NGLStream.h:
+ This graph shows which files directly or indirectly include this file:

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 &_output, TransformStack &_m)
 insertion operator to write matrix to stream More...
 
NGL_DLLEXPORT std::istream & ngl::operator>> (std::istream &_ifs, Quaternion &_q)
 the streaming operator for the quaternion More...
 
NGL_DLLEXPORT std::ostream & ngl::operator<< (std::ostream &i_s, const Quaternion &i_q)
 the streaming operator for the quaternion More...
 

Detailed Description

stream helpers for ngl data types

Definition in file NGLStream.h.