ShUtil Namespace Reference

The main ShUtil namespace. More...


Classes

class  ShKernelLib
class  ShKernelLight
class  ShKernelSurface
class  ShKernelSurfMap
struct  ShMeshType
struct  ShMeshVertex
struct  ShMeshFace
struct  ShMeshEdge
class  ShMesh
 ShMesh class stores a mesh using a half-edge data structure. More...
struct  Triple
struct  ObjVertLess
struct  ShObjVertex
struct  ShObjFace
struct  ShObjEdge
class  ShObjMesh
struct  ShPngImage
template<typename T>
void load_PNG (SH::ShTypedImage< T > &image, const std::string &filename)
 Load the PNG file into this image.
template<typename T>
void save_PNG (const SH::ShTypedImage< T > &image, const std::string &filename, int inverse_alpha=0)
 Save the PNG image into this file.
template<typename T>
void save_PNG16 (const SH::ShTypedImage< T > &image, const std::string &filename, int inverse_alpha=0)
 Save the PNG image into this file.

Typedefs

typedef std::vector< TripleShObjIndexedFace
typedef ShMeshType< ShObjVertex,
ShObjFace, ShObjEdge
ShObjMeshType

Functions

template<typename T>
ShGeneric< 3, T > changeBasis (const ShGeneric< 3, T > &b0, const ShGeneric< 3, T > &b1, const ShGeneric< 3, T > &b2, const ShGeneric< 3, T > &v)
 Given 3 orthonormal basis vectors b0, b1, b2, specified relative to a coordinate space C, this does a change of basis on a vector v in space C to the orthonormal basis.
std::istream & operator>> (std::istream &in, ShObjMesh &mesh)
template<typename T>
float * float_copy (const ShTypedImage< T > &image)
 Copy the contents of the image into a float array.
template<typename T>
void load_PNG (ShTypedImage< T > &image, const string &filename)
template<typename T>
void save_PNG (const ShTypedImage< T > &image, const string &filename, int inverse_alpha)
template<typename T>
void save_PNG16 (const ShTypedImage< T > &image, const string &filename, int inverse_alpha)
string normalize_path (const string &path)
std::string normalize_path (const std::string &path)
 Converts "/" to "\" on Windows and the reverse on other OSes.


Detailed Description

The main ShUtil namespace.

All the extra Sh utility functions and objects reside within this namespace.


Generated on Wed Nov 9 15:37:37 2005 for Sh by  doxygen 1.4.5