Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Namespaces | Functions

/home/master/UCL/VisualizationLibrary/src/vlCore/Image.hpp File Reference

#include <vlCore/String.hpp>
#include <vlCore/Buffer.hpp>
#include <vlCore/Vector4.hpp>
#include <vlCore/vlnamespace.hpp>
#include <vlCore/Rect.hpp>
#include <vlCore/KeyValues.hpp>
#include <vector>

Go to the source code of this file.

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::createCubemap (const Image *xp, const Image *xn, const Image *yp, const Image *yn, const Image *zp, const Image *zn)
 Assembles a cubemap image.
VLCORE_EXPORT 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.
VLCORE_EXPORT ref< Imagevl::loadRAW (VirtualFile *file, long long file_offset, int width, int height, int depth, int bytealign, EImageFormat format, EImageType type)
 Loads a raw image file.
VLCORE_EXPORT ref< Imagevl::loadImage (VirtualFile *file)
 Loads an image from the specified file.
VLCORE_EXPORT ref< Imagevl::loadImage (const String &path)
 Loads an image from the specified path.
VLCORE_EXPORT 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.
VLCORE_EXPORT 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().
VLCORE_EXPORT bool vl::saveImage (Image *img, VirtualFile *file)
 Writes an image on the specified file.
VLCORE_EXPORT bool vl::saveImage (Image *img, const String &path)
 Writes an image on the specified path.
VLCORE_EXPORT ref< Image > vl::makeNonUniformColorSpectrum (size_t width, size_t col_count, const fvec4 *colors, const float *col_pos)
 Creates a 1D Image whose color is interpolated from left to right from the specified spectrum.
VLCORE_EXPORT ref< Image > vl::makeNonUniformColorSpectrum (int width, const std::vector< fvec4 > &colors, const std::vector< float > &col_pos)
 Creates a 1D Image whose color is interpolated from left to right from the specified spectrum.
VLCORE_EXPORT ref< Image > vl::makeColorSpectrum (size_t width, const std::vector< fvec4 > &colors)
 Creates a 1D Image whose color is interpolated from left to right from the specified spectrum.
VLCORE_EXPORT ref< Image > vl::makeColorSpectrum (size_t width, const fvec4 &c0, const fvec4 &c1)
 Creates a 1D Image whose color is interpolated from left to right from the specified spectrum.
VLCORE_EXPORT ref< Image > vl::makeColorSpectrum (size_t width, const fvec4 &c0, const fvec4 &c1, const fvec4 &c2)
 Creates a 1D Image whose color is interpolated from left to right from the specified spectrum.
VLCORE_EXPORT ref< Image > vl::makeColorSpectrum (size_t width, const fvec4 &c0, const fvec4 &c1, const fvec4 &c2, const fvec4 &c3)
 Creates a 1D Image whose color is interpolated from left to right from the specified spectrum.
VLCORE_EXPORT ref< Image > vl::makeColorSpectrum (size_t width, const fvec4 &c0, const fvec4 &c1, const fvec4 &c2, const fvec4 &c3, const fvec4 &c4)
 Creates a 1D Image whose color is interpolated from left to right from the specified spectrum.

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:04.
Permission is granted to use this page to write and publish articles regarding Visualization Library.