Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]

E:/VisualizationLibrary/Visualization_Library_SDK/src/vl/Image.hpp File Reference

#include <vl/String.hpp>
#include <vl/GLBufferObject.hpp>
#include <vl/vlnamespace.hpp>
#include <vl/Rect.hpp>
#include <vl/KeyValues.hpp>
#include <vector>


Classes

class  vl::Image
 Implements a generic 1d, 2d, 3d and cubemap image that can have mipmaps. More...

Namespaces

namespace  vl
 Visualization Library namespace.

Functions

ref< Imagevl::loadCubemap (const String &xp_file, const String &xn_file, const String &yp_file, const String &yn_file, const String &zp_file, const String &zn_file)
 Loads six images and assembles them into a cubemap image.
ref< Imagevl::loadRAW (VirtualFile *file, int width, int height, int depth, int bytealign, EImageFormat format, EImageType type)
 Loads a raw image file.
ref< Imagevl::loadImage (VirtualFile *file)
 Loads an image from the specified file.
ref< Imagevl::loadImage (const String &path)
 Loads an image from the specified path.
bool vl::loadImagesFromDir (const String &dir_path, const String &ext, std::vector< ref< Image > > &images)
 Loads all the images with the specified extension from the given directory.
ref< Imagevl::assemble3DImage (const std::vector< ref< Image > > &images)
 Assembles the given 2D images in a single 2D image, all the images must be 2D images and have the same size, format() and type().
bool vl::saveImage (Image *img, VirtualFile *file)
 Writes an image on the specified file.
bool vl::saveImage (Image *img, const String &path)
 Writes an image on the specified path.

Visualization Library v2010.06 Reference Documentation
Copyright 2005-2009 Michele Bosi. All rights reserved.
Updated on Tue Jun 1 00:57:06 2010.
Permission is granted to use this page to write and publish articles regarding Visualization Library.