Visualization Library 2.0.0

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

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
vl Namespace Reference

Visualization Library main namespace. More...

Namespaces

 Dae
 The COLLADA namespace.
 

Classes

class  A3DSLoader
 The A3DSLoader class loads an Autodesk 3DS file and generates a vector of A3DSObject and A3DSMaterial objects. More...
 
class  A3DSMaterial
 The A3DSMaterial class represents a material in a 3DS file. More...
 
class  A3DSMaterialFaceMapping
 The A3DSMaterialFaceMapping class represents the material/face mapping in a 3DS file. More...
 
class  A3DSObject
 The A3DSObject class represents an object in a 3DS file. More...
 
class  A3DSTexture
 The A3DSTexture class represents a texture in a 3DS file. More...
 
class  A3DSTriFace
 The A3DSTriFace class represents a triangle in a 3DS file. More...
 
class  A3DSVertex
 The A3DSVertex class represents a vertex in a 3DS file. More...
 
class  AABB
 The AABB class implements an axis-aligned bounding box using vl::real precision. More...
 
class  Actor
 Associates a Renderable object to an Effect and Transform. More...
 
class  ActorCollection
 Defined as a simple subclass of Collection<Actor>, see Collection for more information. More...
 
class  ActorEventCallback
 The ActorEventCallback class defines a callback object to react to Actor-related events. More...
 
class  ActorKdTree
 ActorKdTree class extends the ActorTreeAbstract class implementing a space partitioning scheme based on a Kd-Tree. More...
 
class  ActorTree
 The ActorTree class implements a generic tree whose nodes contain Actors. More...
 
class  ActorTreeAbstract
 The ActorTreeAbstract class implements the interface of a generic tree containing Actors in its nodes. More...
 
class  AdjacencyExtractor
 
class  AlphaFunc
 RenderState wrapping the OpenGL function glAlphaFunc(), see also http://www.opengl.org/sdk/docs/man/xhtml/glAlphaFunc.xml for more information. More...
 
class  Applet
 The Applet class is an utilitly UIEventListener that features a ghost manipulator, trackball manipulator, an FPS counter and a simple rendering pipeline. More...
 
class  Array
 The Array class is a template array used to conveniently manipulate data stored in a BufferObject. More...
 
class  ArrayAbstract
 The ArrayAbstract class defines an abstract interface to conveniently manipulate data stored in a BufferObject. More...
 
class  ArrayByte1
 An array of GLbyte. More...
 
class  ArrayByte2
 An array of vl::bvec2. More...
 
class  ArrayByte3
 An array of vl::bvec3. More...
 
class  ArrayByte4
 An array of vl::bvec4. More...
 
class  ArrayDouble1
 An array of GLdouble. More...
 
class  ArrayDouble2
 An array of vl::dvec2. More...
 
class  ArrayDouble3
 An array of vl::dvec3. More...
 
class  ArrayDouble4
 An array of vl::dvec4. More...
 
class  ArrayFixed1
 An array of GL_FIXED. More...
 
class  ArrayFixed2
 An array 2d GL_FIXED vectors. More...
 
class  ArrayFixed3
 An array 3d GL_FIXED vectors. More...
 
class  ArrayFixed4
 An array 4d GL_FIXED vectors. More...
 
class  ArrayFloat1
 An array of GLfloat. More...
 
class  ArrayFloat2
 An array of vl::fvec2. More...
 
class  ArrayFloat3
 An array of vl::fvec3. More...
 
class  ArrayFloat4
 An array of vl::fvec4. More...
 
class  ArrayHFloat1
 An array of GL_HALF_FLOAT. More...
 
class  ArrayHFloat2
 A 2d array of GL_HALF_FLOAT vectors. More...
 
class  ArrayHFloat3
 A 3d array of GL_HALF_FLOAT vectors. More...
 
class  ArrayHFloat4
 A 4d array of GL_HALF_FLOAT vectors. More...
 
class  ArrayInt1
 An array of GLint. More...
 
class  ArrayInt2
 An array of vl::ivec2. More...
 
class  ArrayInt3
 An array of vl::ivec3. More...
 
class  ArrayInt4
 An array of vl::ivec4. More...
 
class  ArrayInt_2_10_10_10_REV1
 An array of GL_INT_2_10_10_10_REV. More...
 
class  ArrayInt_2_10_10_10_REV2
 A 2d array of GL_INT_2_10_10_10_REV vectors. More...
 
class  ArrayInt_2_10_10_10_REV3
 A 3d array of GL_INT_2_10_10_10_REV vectors. More...
 
class  ArrayInt_2_10_10_10_REV4
 A 4d array of GL_INT_2_10_10_10_REV vectors. More...
 
class  ArrayShort1
 An array of GLshort. More...
 
class  ArrayShort2
 An array of vl::svec2. More...
 
class  ArrayShort3
 An array of vl::svec3. More...
 
class  ArrayShort4
 An array of vl::svec4. More...
 
class  ArrayUByte1
 An array of GLubyte. More...
 
class  ArrayUByte2
 An array of vl::ubvec2. More...
 
class  ArrayUByte3
 An array of vl::ubvec3. More...
 
class  ArrayUByte4
 An array of vl::ubvec4. More...
 
class  ArrayUInt1
 An array of GLuint. More...
 
class  ArrayUInt2
 An array of vl::uvec2. More...
 
class  ArrayUInt3
 An array of vl::uvec3. More...
 
class  ArrayUInt4
 An array of vl::uvec4. More...
 
class  ArrayUInt_2_10_10_10_REV1
 An array of GL_UNSIGNED_INT_2_10_10_10_REV. More...
 
class  ArrayUInt_2_10_10_10_REV2
 A 2d array of GL_UNSIGNED_INT_2_10_10_10_REV vectors. More...
 
class  ArrayUInt_2_10_10_10_REV3
 A 3d array of GL_UNSIGNED_INT_2_10_10_10_REV vectors. More...
 
class  ArrayUInt_2_10_10_10_REV4
 A 4d array of GL_UNSIGNED_INT_2_10_10_10_REV vectors. More...
 
class  ArrayUShort1
 An array of GLushort. More...
 
class  ArrayUShort2
 An array of vl::usvec2. More...
 
class  ArrayUShort3
 An array of vl::usvec3. More...
 
class  ArrayUShort4
 An array of vl::usvec4. More...
 
class  Atom
 The Atom class represents an atom to be used with the Molecule class. More...
 
class  AtomInfo
 Encapsulates information regarding an atom type. More...
 
class  BezierPatch
 Defines one or more concatenated bicubic Bézier patches to be used with the BezierSurface class. More...
 
class  BezierSurface
 The BezierSurface class implements a Geometry that is capable of visualizing multiple bicubic Bézier patches (see BezierPatch). More...
 
class  Billboard
 A Transform that aligns an Actor towards the camera. More...
 
class  BlendColor
 RenderState wrapping the OpenGL function glBlendColor(), see also http://www.opengl.org/sdk/docs/man/xhtml/glBlendColor.xml for more information. More...
 
class  BlendEquation
 RenderState wrapping the OpenGL function glBlendEquation()/glBlendEquationSeparate(), see also http://www.opengl.org/sdk/docs/man/xhtml/glBlendEquation.xml and http://www.opengl.org/sdk/docs/man/xhtml/glBlendEquationSeparate.xml for more information. More...
 
class  BlendFunc
 RenderState wrapping the OpenGL function glBlendFunc(), see also http://www.opengl.org/sdk/docs/man/xhtml/glBlendFunc.xml for more information. More...
 
class  BlitFramebuffer
 A RenderEventCallback that can be used to copy pixels from a framebuffer to another as described in GL_EXT_framebuffer_blit. More...
 
class  Bond
 The Bond class represents a bond to be used with the Molecule class. More...
 
class  Buffer
 Implements a buffer whose storage is in local memory. More...
 
class  BufferedStream
 The BufferedStream class is a template class that that performs a buffered read of Element_Type data from a VirtualFile. More...
 
class  BufferObject
 The BufferObject class is a Buffer that can upload its data on the GPU memory. More...
 
class  CalibratedCamera
 Calibrated camera for augmented reality. More...
 
class  Camera
 Represents a virtual camera defining, among other things, the point of view from which scenes can be rendered. More...
 
class  CatmullRomInterpolator
 The LinearInterpolator class is a template class that implements Catmull-Rom spline interpolation. More...
 
class  CatmullRomInterpolatorDouble
 Interpolates double values using a CatmullRomInterpolator. More...
 
class  CatmullRomInterpolatorDVec2
 Interpolates dvec2 values using a CatmullRomInterpolator. More...
 
class  CatmullRomInterpolatorDVec3
 Interpolates dvec3 values using a CatmullRomInterpolator. More...
 
class  CatmullRomInterpolatorDVec4
 Interpolates dvec4 values using a CatmullRomInterpolator. More...
 
class  CatmullRomInterpolatorFloat
 Interpolates float values using a CatmullRomInterpolator. More...
 
class  CatmullRomInterpolatorFVec2
 Interpolates fvec2 values using a CatmullRomInterpolator. More...
 
class  CatmullRomInterpolatorFVec3
 Interpolates fvec3 values using a CatmullRomInterpolator. More...
 
class  CatmullRomInterpolatorFVec4
 Interpolates fvec4 values using a CatmullRomInterpolator. More...
 
class  Clear
 The Clear class is a Renderable used to clear the whole or a portion of the color, stencil or depth buffer. More...
 
class  ClipPlane
 Wraps the OpenGL function glClipPlane(). More...
 
class  Collection
 It's basically an std::vector for Objects that is itself an Object so it can be reference counted and passed around with ease. More...
 
class  Color
 RenderState wrapping the OpenGL function glColor(), see also http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml for more information. More...
 
class  ColorMask
 RenderState wrapping the OpenGL function glColorMask(), see also http://www.opengl.org/sdk/docs/man/xhtml/glColorMask.xml for more information. More...
 
class  CopyTexSubImage
 Wrapper class of the OpenGL function glCopyTexSubImage. More...
 
class  CopyTexSubImage1D
 Wraps glCopyTexSubImage1D, see also CopyTexSubImage. More...
 
class  CopyTexSubImage2D
 Wraps glCopyTexSubImage2D, see also CopyTexSubImage. To be used also for 1D array textures. More...
 
class  CopyTexSubImage3D
 Wraps glCopyTexSubImage3D, see also CopyTexSubImage. To be used also for 2D array textures. More...
 
class  CoreText
 Experimental. More...
 
class  CRC32CheckSum
 Computes the a CRC32 checksum of a given buffer or VirtualFile. More...
 
class  CullFace
 RenderState wrapping the OpenGL function glCullFace(), see also http://www.opengl.org/sdk/docs/man/xhtml/glCullFace.xml for more information. More...
 
class  DaeLoader
 COLLADA loader. More...
 
class  degree
 Simple class representing quantities in degrees, converts automatically to vl::radian and real. More...
 
class  DepthFunc
 RenderState wrapping the OpenGL function glDepthFunc(), see also http://www.opengl.org/sdk/docs/man/xhtml/glDepthFunc.xml for more information. More...
 
class  DepthMask
 RenderState wrapping the OpenGL function glDepthMask(), see also http://www.opengl.org/sdk/docs/man/xhtml/glDepthMask.xml for more information. More...
 
class  DepthRange
 RenderState wrapping the OpenGL function glDepthRange(), see also http://www.opengl.org/sdk/docs/man/xhtml/glDepthRange.xml for more information. More...
 
class  DepthSortCallback
 DepthSortCallback sorts the primitives of the Geometry bound to the Actor in which the callback is installed. More...
 
class  DiskDirectory
 A VirtualDirectory that operates on reguar disk directories. More...
 
class  DiskFile
 A VirtualFile that operates on regular disk files. More...
 
class  DistanceLODEvaluator
 A LODEvaluator that computes the appropriate LOD based on the distance of an Actor from the Camera. More...
 
class  DoubleVertexRemover
 Removes from a Geometry the vertices with the same attributes. More...
 
class  DrawArrays
 Wraps the OpenGL function glDrawArrays(). More...
 
class  DrawCall
 The base class of DrawArrays, DrawElements, MultiDrawElements and DrawRangeElements. More...
 
class  DrawElements
 Wrapper for the OpenGL function glDrawElements(). More...
 
class  DrawElementsBase
 Base interface for all DrawElements* sub classes. More...
 
class  DrawElementsUByte
 See DrawElements. More...
 
class  DrawElementsUInt
 See DrawElements. More...
 
class  DrawElementsUShort
 See DrawElements. More...
 
class  DrawPixels
 Wraps the OpenGL function glDrawPixels(). More...
 
class  DrawRangeElements
 Wrapper for the OpenGL function glDrawRangeElements(). More...
 
class  DrawRangeElementsBase
 Base interface for all DrawRangeElements* sub classes. More...
 
class  DrawRangeElementsUByte
 See DrawRangeElements. More...
 
class  DrawRangeElementsUInt
 See DrawRangeElements. More...
 
class  DrawRangeElementsUShort
 See DrawRangeElements. More...
 
class  EdgeExtractor
 The EdgeExtractor class extracts the edges from one or more Geometry objects. More...
 
class  EdgeRenderer
 The EdgeRenderer class implements a special Renderer that automatically extracts and renders the edges of the objects in the scene. More...
 
class  EdgeUpdateCallback
 The EdgeUpdateCallback class updates at every frame the edges of an Actor for the purpose of edge-enhancement. More...
 
class  Effect
 Defines the sequence of Shader objects used to render an Actor. More...
 
class  EnableSet
 A set of enables managed by Shader. More...
 
class  Extrusion
 The Extrusion class generates a Geometry extruding a silhouette along a path. More...
 
class  Extrusions
 The Extrusion class generates a Geometry extruding a silhouette along a path. More...
 
class  FBOAbstractAttachment
 Abstract class that represents a framebuffer object attachment to be used with FramebufferObject. More...
 
class  FBOAbstractTextureAttachment
 Base class for all the framebuffer texture attachments (see also FramebufferObject). More...
 
class  FBOColorBufferAttachment
 A color renderbuffer to be attached to a FramebufferObject. More...
 
class  FBODepthBufferAttachment
 A depth renderbuffer to be attached to a FramebufferObject. More...
 
class  FBODepthStencilBufferAttachment
 A depth+stencil renderbuffer to be attached to a FramebufferObject. More...
 
class  FBORenderbufferAttachment
 Abstract class that represents a framebuffer renderbuffer attachment, that is, a non-texture fbo attachment (wraps glFramebufferRenderbuffer()). More...
 
class  FBOStencilBufferAttachment
 A stencil renderbuffer to be attached to a FramebufferObject. More...
 
class  FBOTexture1DAttachment
 A 1D texture renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTexture1D()). More...
 
class  FBOTexture2DAttachment
 A 2D texture renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTexture2D()). More...
 
class  FBOTexture3DAttachment
 A 3D texture renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTexture3D()). More...
 
class  FBOTextureAttachment
 A texture renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTexture()). More...
 
class  FBOTextureLayerAttachment
 A texture layer renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTextureLayer()). More...
 
class  FileSystem
 Manages multiple VirtualDirectory objects. More...
 
class  Flags
 Simple class to manage flags in a type safe manner. More...
 
class  FlatManipulator
 This class lets you pan (translate) and zoom a 2D scene using the mouse. More...
 
class  Fog
 RenderState wrapping the OpenGL function glFog(), see also http://www.opengl.org/sdk/docs/man/xhtml/glFog.xml for more information. More...
 
class  Font
 A font to be used with a Text renderable. More...
 
class  FontManager
 The FontManager class keeps a map associating a font path, size and smoothing flag to a Font object. More...
 
class  Framebuffer
 The Framebuffer class defines an abstract 'surface' where OpenGL can render into. More...
 
class  FramebufferObject
 Implements a framebuffer object to be used as a rendering target as specified by the ARB_framebuffer_object extension. More...
 
class  FrontFace
 RenderState wrapping the OpenGL function glFrontFace(), see also http://www.opengl.org/sdk/docs/man/xhtml/glFrontFace.xml for more information. More...
 
class  Frustum
 A set of planes defining a frustum used for culling purposes (frustum culling). More...
 
class  Geometry
 The Geometry class is a Renderable that implements a polygonal mesh made of polygons, lines and points. More...
 
class  GeometryLoadCallback
 Defines a set of actions to be executed to a Geometry as soon as it is loaded. More...
 
class  GhostCameraManipulator
 The GhostCameraManipulator class is an UIEventListener that controls the position and orientation of a Camera. More...
 
class  GlobalSettings
 Global application settings controlling how Visualization Library behaves. More...
 
class  GLSLFragmentShader
 Wraps a GLSL fragment shader to be bound to a GLSLProgram: the shader this shader will run on the programmable fragment processor. More...
 
class  GLSLGeometryShader
 Wraps a GLSL geometry shader to be bound to a GLSLProgram: the shader this shader will run on the programmable geometry processor. More...
 
class  GLSLProgram
 Wraps a GLSL program to which you can bind vertex, fragment and geometry shaders. More...
 
class  GLSLShader
 For internal use only. More...
 
class  GLSLTessControlShader
 Wraps a GLSL tessellation control shader to be bound to a GLSLProgram: the shader this shader will run on the programmable tessellation processor in the control stage. More...
 
class  GLSLTessEvaluationShader
 Wraps a GLSL tessellation evaluation shader to be bound to a GLSLProgram: this shader will run on the programmable tessellation processor in the evaluation stage. More...
 
class  GLSLVertexShader
 Wraps a GLSL vertex shader to be bound to a GLSLProgram: the shader this shader will run on the programmable vertex processor. More...
 
class  Glyph
 The Glyph associated to a character of a given Font. More...
 
class  GZipCodec
 The GZipCodec class is a VirtualFile that transparently encodes and decodes a stream of data using the GZip compression algorithm. More...
 
class  half
 Represents an half-precision floating point value. More...
 
class  Hint
 RenderState wrapping the OpenGL function glHint(), see also http://www.opengl.org/sdk/docs/man/xhtml/glHint.xml for more information. More...
 
class  Image
 Implements a generic 1d, 2d, 3d and cubemap image that can have mipmaps. More...
 
class  ImagePBO
 Represents a vl::Image with an associated Pixel Buffer Object. More...
 
class  IMutex
 An interface to implement simple platform-independent mutexes used to protect critical sections. More...
 
class  IndexIterator
 Wraps a IndexIteratorAbstract to iterate over the indices of a DrawCall. More...
 
class  IndexIteratorAbstract
 Abstract class used as base for all the index iterators specializations. More...
 
class  IndexIteratorDrawArrays
 Index iterator operating used by DrawArrays. More...
 
class  IndexIteratorElements
 Index iterator operating over DrawElements, DrawRangeElements and MultiDrawElements. More...
 
class  Interpolator
 Abstract class for all the interpolators. More...
 
class  InterpolatorDouble
 Abstract class that interpolates double values. More...
 
class  InterpolatorDVec2
 Abstract class that interpolates vl::dvec2 values. More...
 
class  InterpolatorDVec3
 Abstract class that interpolates vl::dvec3 values. More...
 
class  InterpolatorDVec4
 Abstract class that interpolates vl::dvec4 values. More...
 
class  InterpolatorFloat
 Abstract class that interpolates float values. More...
 
class  InterpolatorFVec2
 Abstract class that interpolates vl::fvec2 values. More...
 
class  InterpolatorFVec3
 Abstract class that interpolates vl::fvec3 values. More...
 
class  InterpolatorFVec4
 Abstract class that interpolates vl::fvec4 values. More...
 
class  IVertexAttribSet
 Abstract interface to manipulate OpenGL's vertex attribute arrays. More...
 
class  KeyValues
 A set of key/value pairs usually used to associate generic information, tags, attributes etc. to another class. More...
 
class  Light
 Wraps the OpenGL function glLight(). More...
 
class  LightModel
 RenderState wrapping the OpenGL function glLightModel(), see also http://www.opengl.org/sdk/docs/man/xhtml/glLightModel.xml for more information. More...
 
class  LinearInterpolator
 The LinearInterpolator class is a template class that implements linear interpolation. More...
 
class  LinearInterpolatorDouble
 Interpolates double values using a LinearInterpolator. More...
 
class  LinearInterpolatorDVec2
 Interpolates dvec2 values using a LinearInterpolator. More...
 
class  LinearInterpolatorDVec3
 Interpolates dvec3 values using a LinearInterpolator. More...
 
class  LinearInterpolatorDVec4
 Interpolates dvec4 values using a LinearInterpolator. More...
 
class  LinearInterpolatorFloat
 Interpolates float values using a LinearInterpolator. More...
 
class  LinearInterpolatorFVec2
 Interpolates fvec2 values using a LinearInterpolator. More...
 
class  LinearInterpolatorFVec3
 Interpolates fvec3 values using a LinearInterpolator. More...
 
class  LinearInterpolatorFVec4
 Interpolates fvec4 values using a LinearInterpolator. More...
 
class  LineStipple
 RenderState wrapping the OpenGL function glLineStipple(), see also http://www.opengl.org/sdk/docs/man/xhtml/glLineStipple.xml for more information. More...
 
class  LineWidth
 RenderState wrapping the OpenGL function glLineWidth(), see also http://www.opengl.org/sdk/docs/man/xhtml/glLineWidth.xml for more information. More...
 
class  LoadCallback
 Defines an operation to be exectued to a ResourceDatabase as soon as its loaded, see also LoadWriterManager, WriteCallback. More...
 
class  LoadWriter3DS
 The LoadWriter3DS class is a ResourceLoadWriter capable of reading 3DS files. More...
 
class  LoadWriterAC3D
 The LoadWriterAC3D class is a ResourceLoadWriter capable of reading AC3D files. More...
 
class  LoadWriterBMP
 The LoadWriterBMP class is a ResourceLoadWriter capable of reading BMP files. More...
 
class  LoadWriterDae
 The LoadWriterDae class is a ResourceLoadWriter capable of reading COLLADA files. More...
 
class  LoadWriterDAT
 The LoadWriterDAT class is a ResourceLoadWriter capable of reading DAT files. More...
 
class  LoadWriterDDS
 The LoadWriterDDS class is a ResourceLoadWriter capable of reading DDS files. More...
 
class  LoadWriterDICOM
 The LoadWriterDICOM class is a ResourceLoadWriter capable of reading DICOM files (.dcm, .dicom, .dic, .ima, .ph, .mag) using GDCM 2.0 library. More...
 
class  LoadWriterJPG
 The LoadWriterJPG class is a ResourceLoadWriter capable of reading JPG files. More...
 
class  LoadWriterManager
 The LoadWriterManager class loads and writes resources using the registered ResourceLoadWriter objects. More...
 
class  LoadWriterMD2
 The LoadWriterMD2 class is a ResourceLoadWriter capable of reading MD2 files. More...
 
class  LoadWriterMHD
 The LoadWriterMHD class is a ResourceLoadWriter capable of reading MHD files. More...
 
class  LoadWriterOBJ
 The LoadWriterOBJ class is a ResourceLoadWriter capable of reading OBJ files. More...
 
class  LoadWriterPLY
 The LoadWriterPLY class is a ResourceLoadWriter capable of reading PLY files. More...
 
class  LoadWriterPNG
 The LoadWriterPNG class is a ResourceLoadWriter capable of reading PNG files. More...
 
class  LoadWriterSTL
 The LoadWriterSTL class is a ResourceLoadWriter capable of reading STL files. More...
 
class  LoadWriterTGA
 The LoadWriterTGA class is a ResourceLoadWriter capable of reading TGA files. More...
 
class  LoadWriterTIFF
 The LoadWriterTIFF class is a ResourceLoadWriter capable of reading TIFF files. More...
 
class  LODEvaluator
 Abstract class to compute the appropriate LOD of an Actor or Effect. More...
 
class  Log
 Utility class to generate logs. More...
 
class  LogicOp
 RenderState wrapping the OpenGL function glLogicOp(), see also http://www.opengl.org/sdk/docs/man/xhtml/glLogicOp.xml for more information. More...
 
class  MarchingCubes
 An efficient implementation of the Marching Cubes algorithm. More...
 
class  Material
 RenderState wrapping the OpenGL function glMaterial() and glColorMaterial(), see also http://www.opengl.org/sdk/docs/man/xhtml/glMaterial.xml and http://www.opengl.org/sdk/docs/man/xhtml/glColorMaterial.xml for more information. More...
 
class  Matrix2
 The Matrix2 class is a template class that implements a generic 2x2 matrix, see also vl::dmat2, vl::fmat2, vl::umat2, vl::imat2. More...
 
class  Matrix3
 The Matrix3 class is a template class that implements a generic 3x3 matrix, see also vl::dmat3, vl::fmat3, vl::umat3, vl::imat3. More...
 
class  Matrix4
 The Matrix4 class is a template class that implements a generic 4x4 matrix, see also vl::dmat4, vl::fmat4, vl::umat4, vl::imat4. More...
 
class  MD5CheckSum
 Computes the MD5 of a given buffer or VirtualFile. More...
 
class  MemoryDirectory
 A VirtualDirectory to manipulate directories stored in memory. More...
 
class  MemoryFile
 A VirtualFile to manipulate files stored in memory. More...
 
class  MersenneTwister
 
class  Molecule
 The Molecule class is used to manage and render 3D molecular structures. More...
 
class  MorphingCallback
 The MorphingCallback class implements a simple morphing animation mechanism using the GPU acceleration where available. More...
 
class  MultiDrawElements
 Wrapper for the OpenGL function glMultiDrawElements(). More...
 
class  MultiDrawElementsBase
 Base interface for all MultiDrawElements* sub classes. More...
 
class  MultiDrawElementsUByte
 See MultiDrawElements. More...
 
class  MultiDrawElementsUInt
 See MultiDrawElements. More...
 
class  MultiDrawElementsUShort
 See MultiDrawElements. More...
 
class  NaryQuickMap
 Simple map used to add, remove, iterate, clear elements efficiently (all O(1)). More...
 
class  Normal
 RenderState wrapping the OpenGL function glNormal(), see also http://www.opengl.org/sdk/docs/man/xhtml/glNormal.xml for more information. More...
 
class  Object
 The base class for all the reference counted objects. More...
 
class  ObjLoader
 Loads a Wavefront OBJ file. More...
 
class  ObjMaterial
 Represents a Wavefront OBJ material as loaded from an MTL file. See also ObjLoader. More...
 
class  ObjMesh
 Represents a Wavefront OBJ mesh. See also ObjLoader. More...
 
class  ObjTexture
 Represents a Wavefront OBJ texture. See also ObjMaterial and ObjLoader. More...
 
class  OcclusionCullRenderer
 Wraps a Renderer performing occlusion culling acceleration. More...
 
class  OpenGLContext
 Represents an OpenGL context, possibly a widget or a pbuffer, which can also respond to keyboard, mouse or system events. More...
 
class  OpenGLContextFormat
 The OpenGLContextFormat class encapsulates the settings of an OpenGL rendering context. More...
 
class  PatchParameter
 Wrapper of glPatchParameter(), specifies the parameters for patch primitives, used by vl::DrawCall::setPatchParameter(). More...
 
class  PixelLODEvaluator
 A LODEvaluator that computes the appropriate LOD based on the approximate 2d area that an Actor covers on the screen. More...
 
class  PixelTransfer
 RenderState wrapping the OpenGL function glPixelTransfer(), see also http://www.opengl.org/sdk/docs/man/xhtml/glPixelTransfer.xml for more information. More...
 
class  Plane
 The Plane class defines a plane using a normal and an origin. More...
 
class  PlyLoader
 Loads a PLY file. More...
 
class  PointParameter
 RenderState wrapping the OpenGL function glPointParameter(), see also http://www.opengl.org/sdk/docs/man/xhtml/glPointParameter.xml for more information. More...
 
class  PointSize
 RenderState wrapping the OpenGL function glPointSize(), see also http://www.opengl.org/sdk/docs/man/xhtml/glPointSize.xml for more information. More...
 
class  PolygonMode
 RenderState wrapping the OpenGL function glPolygonMode(), see also http://www.opengl.org/sdk/docs/man/xhtml/glPolygonMode.xml for more information. More...
 
class  PolygonOffset
 RenderState wrapping the OpenGL function glPolygonOffset(), see also http://www.opengl.org/sdk/docs/man/xhtml/glPolygonOffset.xml for more information. More...
 
class  PolygonSimplifier
 The PolygonSimplifier class reduces the amount of polygons present in a Geometry using a quadric error metric. More...
 
class  PolygonStipple
 RenderState wrapping the OpenGL function glPolygonStipple(), see also http://www.opengl.org/sdk/docs/man/xhtml/glPolygonStipple.xml for more information. More...
 
class  Portal
 A planar convex polygon used to define the visibility from one Sector to another. More...
 
class  ProjViewTransfCallback
 Callback class to update the state of the projection, view, transform and normal matrices of a GLSLProgram or fixed function pipeline. More...
 
class  QtDirectory
 A VirtualDirectory that uses Qt's QDir. More...
 
class  QtFile
 A VirtualFile that uses Qt's QFile. More...
 
class  Quaternion
 Implements a Quaternion usually used to represent rotations and orientations. More...
 
class  radian
 Simple class representing quantities in radians, converts automatically to vl::degree and real. More...
 
class  Random
 Cryptographic random number generator. More...
 
class  Ray
 The Ray class defines a ray as an origin and direction using real precision. More...
 
class  RaycastVolume
 A ActorEventCallback used to render a volume using GPU raycasting. More...
 
class  RayIntersection
 The RayIntersection encapsulates all the information relative to a Ray/Actor intersection. More...
 
class  RayIntersectionGeometry
 The RayIntersectionGeometry encapsulates all the information relative to a Ray/Actor intersection, providing also extra information relative to the intersection on the Geometry in use by the Actor. More...
 
class  RayIntersector
 The RayIntersector class is used to detect the intersection points between a Ray and a set of Actor[s]. More...
 
class  ReadPixels
 A RenderEventCallback that copyes a rectangular pixel area from a source buffer to an Image at the end of a rendering. More...
 
class  Rect
 Implements the common functions of RectI and RectF. More...
 
class  RectF
 The RectF class represents a 2D rectangular area using float precision. More...
 
class  RectI
 The RectI class represents a 2D rectangular area using int precision. More...
 
class  ref
 The ref<> class is used to reference-count an Object. More...
 
class  Renderable
 An abstract class that represents all the objects that can be rendered. More...
 
class  Renderer
 The Renderer class executes the actual rendering on the given RenderQueue. More...
 
class  RendererAbstract
 Base class providing all the basic funtionalities of a Renderer. More...
 
class  RenderEventCallback
 An abstract class used to react to rendering events. More...
 
class  Rendering
 The Rendering class collects all the information to perform the rendering of a scene. More...
 
class  RenderingAbstract
 The RenderingAbstract class is the base of all the rendering related sub-classes. More...
 
class  RenderingTree
 The RenderingTree class organizes a set of renderings into an N-ary tree. More...
 
class  RenderQueue
 The RenderQueue class collects a list of RenderToken objects to be sorted and rendered. More...
 
class  RenderQueueSorter
 The RenderQueueSorter class is the abstract base class of all the algorithms used to sort a set of RenderToken. More...
 
class  RenderQueueSorterAggressive
 Sorts the RenderTokens by Effect rank -> Actor rank -> blending on/off -> Z distance form the Camera -> GLSL program -> render state set -> enable set -> texture set -> light set -> Shader pointer -> Renderable pointer. More...
 
class  RenderQueueSorterBasic
 Sorts the RenderTokens by their Effect rank -> Actor rank -> Shader pointer -> Renderable pointer. More...
 
class  RenderQueueSorterByRenderable
 Sorts the RenderTokens by their Renderable pointer. More...
 
class  RenderQueueSorterByShader
 Sorts the RenderTokens by their Shader pointer. More...
 
class  RenderQueueSorterOcclusion
 Implements a RenderQueueSorter that maximizes the z-buffer test efficiency as much as possible. More...
 
class  RenderQueueSorterStandard
 Implements the default RenderQueueSorter. More...
 
class  RenderState
 Base class for most of the OpenGL render state wrapper classes. More...
 
class  RenderStateIndexed
 Base class for those render states which have more than one binding points like lights, clipping planes and texture unit states. More...
 
class  RenderStateNonIndexed
 Base class for those render states which have only one binding point (the vast majority). More...
 
class  RenderStateSet
 A set of RenderState objects managed by a Shader. More...
 
struct  RenderStateSlot
 
class  RenderToken
 Internally used by the rendering engine. More...
 
class  ResourceDatabase
 The ResourceDatabase class contains and manipulates a set of resources. More...
 
class  ResourceLoadWriter
 The ResourceLoadWriter class is an abstract class used to implement read/write support for one or more resource types. More...
 
class  RingExtractor
 The RingExtractor class traverses a molecule's graph and detects various types of cycles, mainly used for aromatic ring detection. More...
 
class  SampleCoverage
 RenderState wrapping the OpenGL function glSampleCoverage(), see also http://www.opengl.org/sdk/docs/man/xhtml/glSampleCoverage.xml for more information. More...
 
class  Say
 A simple String formatting class. More...
 
class  SayArg
 Used internally by the Say class. More...
 
class  SceneManager
 The SceneManager class is the base class for all the scene managers. More...
 
class  SceneManagerActorKdTree
 A SceneManagerBVH that implements its spatial partitioning strategy using an ActorKdTree. More...
 
class  SceneManagerActorTree
 A SceneManagerBVH that implements its spatial partitioning strategy using an ActorTree. More...
 
class  SceneManagerBVH
 The SceneManagerBVH class implements the basic functionalities for bounding-volume-hierarchy based scene managers. More...
 
class  SceneManagerPortals
 The SceneManagerPortals calss implements a portal-based hidden surface removal algorithm to efficently render highly occluded scenes. More...
 
class  SceneManagerVectorGraphics
 The SceneManagerVectorGraphics class is a SceneManager that contains VectorGraphics objects. More...
 
class  Scissor
 The Scissor class wraps the OpenGL function glScissor(), see http://www.opengl.org/sdk/docs/man/xhtml/glScissor.xml for more information. More...
 
class  ScopedMutex
 A class that locks the specified mutex when constructed and unlocks it when destructed. More...
 
class  SecondaryColor
 RenderState wrapping the OpenGL function glSecondaryColor(), see also http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml for more information. More...
 
class  Sector
 Defines an area containg a set if Actors that is connected to other Sector[s] through its Portal[s]. More...
 
class  ShadeModel
 RenderState wrapping the OpenGL function glShadeModel(), see also http://www.opengl.org/sdk/docs/man/xhtml/glShadeModel.xml for more information. More...
 
class  Shader
 Manages most of the OpenGL rendering states responsible of the final aspect of the rendered objects. More...
 
class  ShaderAnimator
 Callback object used to update/animate a Shader during the rendering. More...
 
class  ShaderNode
 The ShaderNode class is used to conveniently manage complex hierarchies of Shader[s]. More...
 
class  ShaderPasses
 A sequence of Shader objects each of which represent a rendering pass. More...
 
class  SlicedVolume
 A ActorEventCallback used to render a volume using viewport aligned slices. More...
 
class  Sphere
 The Sphere class defines a sphere using a center and a radius using vl::real precision. More...
 
class  StandardLog
 The StandardLog class outputs the log messages on the stdout device and optionally also on a specified file. More...
 
class  StencilFunc
 Wraps the OpenGL functions glStencilFunc() and glStencilFuncSeparate(), see also http://www.opengl.org/sdk/docs/man/xhtml/glStencilFunc.xml and http://www.opengl.org/sdk/docs/man/xhtml/glStencilFuncSeparate.xml for more information. More...
 
class  StencilMask
 RenderState wrapping the OpenGL function glStencilMask() and glStencilMaskSeparate(), see also http://www.opengl.org/sdk/docs/man/xhtml/glStencilMask.xml and http://www.opengl.org/sdk/docs/man/xhtml/glStencilMaskSeparate.xml for more information. More...
 
class  StencilOp
 RenderState wrapping the OpenGL function glStencilOp() and glStencilOpSeparate(), see also http://www.opengl.org/sdk/docs/man/xhtml/glStencilOp.xml and http://www.opengl.org/sdk/docs/man/xhtml/glStencilOpSeparate.xml for more information. More...
 
class  StereoCamera
 Utility class to setup a pair of left/right cameras for stereo rendering. More...
 
class  STLLoader
 Loads an STL file. More...
 
class  String
 The String class implements an advanced UTF16 (Unicode BMP) string manipulation engine. More...
 
class  Terrain
 The Terrain class implements a ActorKdTree-based terrain scene manager. More...
 
class  Tessellator
 Tessellates a complex polygon defined by a set of outlines into a set of triangles that can be rendered by Visualization Library. More...
 
class  TexEnv
 RenderState wrapping the OpenGL function glTexEnv(), see also http://www.opengl.org/sdk/docs/man/xhtml/glTexEnv.xml for more information. More...
 
class  TexGen
 RenderState wrapping the OpenGL function glTexGen(), see also http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml for more information. More...
 
class  TexParameter
 Wraps the OpenGL function glTexParameter(), see also http://www.opengl.org/sdk/docs/man/xhtml/glTexParameter.xml for more information. More...
 
class  Text
 A Renderable that renders text with a given Font. More...
 
class  TextStream
 The TextStream class can be used to conveniently read or parse utf8-encoded text files. More...
 
class  Texture
 Wraps an OpenGL texture object representing and managing all the supported texture types. More...
 
class  TextureMatrix
 The TextureMatrix class uses a 4x4 matrix to transform the texture coordinates of a texture unit. More...
 
class  TextureSampler
 The TextureSampler class associates a Texture object to an OpenGL texture unit. More...
 
class  Time
 Simple class to be used as a timer and to retrieve the current time and date. More...
 
class  TrackballManipulator
 This class lets you rotate a Camera or a Transform node using a virtual trackball. More...
 
class  Transform
 Implements a 4x4 matrix transform used to define the position and orientation of an Actor. More...
 
class  TriangleIterator
 Iterator used to extract the indices of every single triangle of a DrawCall regardless of the primitive type. More...
 
class  TriangleIteratorAbstract
 For internal use only. More...
 
class  TriangleIteratorDirect
 For internal use only. More...
 
class  TriangleIteratorIndexed
 For internal use only. More...
 
class  TriangleIteratorMulti
 For internal use only. More...
 
class  TriangleStripGenerator
 The TriangleStripGenerator class is used to substitute lists of triangles or quads with triangle strips. More...
 
struct  TypeInfo
 Represents a class type. More...
 
class  UIEventListener
 The UIEventListener class listens to the events emitted by an OpenGLContext. More...
 
class  Uniform
 Wraps an OpenGL Shading Language uniform to be associated to a GLSLProgram (see vl::GLSLProgram documentation). More...
 
class  UniformSet
 A set of Uniform objects managed by a Shader. More...
 
class  UUID
 Simple implementation of a 16 bytes Universally Unique ID based on http://www.ietf.org/rfc/rfc4122.txt. More...
 
class  Vector2
 The Vector2 class is a template class that implements a generic 2 components vector, see also vl::fvec2, vl::dvec2, vl::uvec2, vl::ivec2, vl::svec2, vl::usvec2, vl::bvec2, vl::ubvec2. More...
 
class  Vector3
 The Vector3 class is a template class that implements a generic 3 components vector, see also vl::fvec3, vl::dvec3, vl::uvec3, vl::ivec3, vl::svec3, vl::usvec3, vl::bvec3, vl::ubvec3. More...
 
class  Vector4
 The Vector4 class is a template class that implements a generic 4 components vector, see also vl::fvec4, vl::dvec4, vl::uvec4, vl::ivec4, vl::svec4, vl::usvec4, vl::bvec4, vl::ubvec4. More...
 
class  VectorGraphics
 The VectorGraphics class is used in conjuction with SceneManagerVectorGraphics to generate and render 2D vector graphics. More...
 
class  VertexAttrib
 RenderState wrapping the OpenGL function glVertexAttrib(), see also http://www.opengl.org/sdk/docs/man3/xhtml/glVertexAttrib.xml for more information. More...
 
class  VertexMapper
 Generates a set of new vertices from the old one. More...
 
class  Viewport
 Implements the viewport and clearing settings associated to a Camera. More...
 
class  VirtualDirectory
 Abstact class representing a directory of files. More...
 
class  VirtualFile
 An abstract class representing a file. More...
 
class  VisualizationLibrary
 Used to initialize/shutdown VisualizationLibrary and to access important global data. More...
 
class  Volume
 Defines the volume data to be used with a MarchingCube object. More...
 
class  VolumeInfo
 Defines the volume parameters to be used with a MarchingCube and Volume object. More...
 
class  VolumePlot
 Generates a 3D plot with labels and isosurface. The isosurface is generated using the MarchingCubes algorithm. More...
 
class  WriteCallback
 Defines an operation to be exectued to a ResourceDatabase just before it is written, see also LoadWriterManager, LoadCallback. More...
 
class  ZippedDirectory
 A VirtualDirectory capable of reading files from a .zip file. More...
 
class  ZippedFile
 A VirtualFile used to read a file contained in a .zip archive. More...
 
class  ZippedFileInfo
 Collects the information about a ZippedFile. More...
 

Typedefs

typedef CatmullRomInterpolator< float > CatmullRomInterpolatorFloat_T
 
typedef CatmullRomInterpolator< fvec2CatmullRomInterpolatorFVec2_T
 
typedef CatmullRomInterpolator< fvec3CatmullRomInterpolatorFVec3_T
 
typedef CatmullRomInterpolator< fvec4CatmullRomInterpolatorFVec4_T
 
typedef CatmullRomInterpolator< double > CatmullRomInterpolatorDouble_T
 
typedef CatmullRomInterpolator< dvec2CatmullRomInterpolatorDVec2_T
 
typedef CatmullRomInterpolator< dvec3CatmullRomInterpolatorDVec3_T
 
typedef CatmullRomInterpolator< dvec4CatmullRomInterpolatorDVec4_T
 
typedef Vector4< halfhvec4
 
typedef Vector3< halfhvec3
 
typedef Vector2< halfhvec2
 
typedef Matrix4< halfhmat4
 
typedef Matrix3< halfhmat3
 
typedef Matrix2< halfhmat2
 
typedef unsigned char TPalette3x256[256 *3]
 
typedef unsigned char TPalette4x256[256 *4]
 
typedef LinearInterpolator< float > LinearInterpolatorFloat_T
 
typedef LinearInterpolator< fvec2LinearInterpolatorFVec2_T
 
typedef LinearInterpolator< fvec3LinearInterpolatorFVec3_T
 
typedef LinearInterpolator< fvec4LinearInterpolatorFVec4_T
 
typedef LinearInterpolator< double > LinearInterpolatorDouble_T
 
typedef LinearInterpolator< dvec2LinearInterpolatorDVec2_T
 
typedef LinearInterpolator< dvec3LinearInterpolatorDVec3_T
 
typedef LinearInterpolator< dvec4LinearInterpolatorDVec4_T
 
typedef Matrix2< double > dmat2
 A 2x2 matrix using double precision. More...
 
typedef Matrix2< float > fmat2
 A 2x2 matrix using float precision. More...
 
typedef Matrix2< int > imat2
 A 2x2 matrix using int precision. More...
 
typedef Matrix2< unsigned int > umat2
 A 2x2 matrix using unsigned int precision. More...
 
typedef fmat2 mat2
 Defined as: 'typedef fmat2 mat2'. See also VL_PIPELINE_PRECISION. More...
 
typedef Matrix3< double > dmat3
 A 3x3 matrix using double precision. More...
 
typedef Matrix3< float > fmat3
 A 3x3 matrix using float precision. More...
 
typedef Matrix3< int > imat3
 A 3x3 matrix using int precision. More...
 
typedef Matrix3< unsigned int > umat3
 A 3x3 matrix using unsigned int precision. More...
 
typedef fmat3 mat3
 Defined as: 'typedef fmat3 mat3'. See also VL_PIPELINE_PRECISION. More...
 
typedef Matrix4< double > dmat4
 A 4x4 matrix using double precision. More...
 
typedef Matrix4< float > fmat4
 A 4x4 matrix using float precision. More...
 
typedef Matrix4< int > imat4
 A 4x4 matrix using int precision. More...
 
typedef Matrix4< unsigned int > umat4
 A 4x4 matrix using unsigned int precision. More...
 
typedef fmat4 mat4
 Defined as: 'typedef fmat4 mat4'. See also VL_PIPELINE_PRECISION. More...
 
typedef Quaternion< float > fquat
 
typedef Quaternion< double > dquat
 
typedef Quaternion< real > quat
 
typedef char i8
 8 bits signed integer More...
 
typedef unsigned char u8
 8 bits unsigned integer More...
 
typedef short i16
 16 bits signed integer More...
 
typedef unsigned short u16
 16 bits unsigned integer More...
 
typedef int i32
 32 bits signed integer More...
 
typedef unsigned int u32
 32 bits unsigned integer More...
 
typedef long long i64
 64 bits signed integer More...
 
typedef unsigned long long u64
 64 bits unsigned integer More...
 
typedef float f32
 32 bits floating point value More...
 
typedef double f64
 64 bits floating point value More...
 
typedef Vector2< int > ivec2
 A 2 components vector with int precision. More...
 
typedef Vector2< unsigned int > uvec2
 A 2 components vector with unsigned int precision. More...
 
typedef Vector2< float > fvec2
 A 2 components vector with float precision. More...
 
typedef Vector2< double > dvec2
 A 2 components vector with double precision. More...
 
typedef Vector2< char > bvec2
 A 2 components vector with char precision. More...
 
typedef Vector2< unsigned char > ubvec2
 A 2 components vector with unsigned char precision. More...
 
typedef Vector2< short > svec2
 A 2 components vector with short precision. More...
 
typedef Vector2< unsigned short > usvec2
 A 2 components vector with unsigned short precision. More...
 
typedef fvec2 vec2
 Defined as: 'typedef fvec2 vec2'. See also VL_PIPELINE_PRECISION. More...
 
typedef Vector3< int > ivec3
 A 3 components vector with int precision. More...
 
typedef Vector3< unsigned int > uvec3
 A 3 components vector with unsigned int precision. More...
 
typedef Vector3< float > fvec3
 A 3 components vector with float precision. More...
 
typedef Vector3< double > dvec3
 A 3 components vector with double precision. More...
 
typedef Vector3< char > bvec3
 A 3 components vector with char precision. More...
 
typedef Vector3< unsigned char > ubvec3
 A 3 components vector with unsigned char precision. More...
 
typedef Vector3< short > svec3
 A 3 components vector with short precision. More...
 
typedef Vector3< unsigned short > usvec3
 A 3 components vector with unsigned short precision. More...
 
typedef fvec3 vec3
 Defined as: 'typedef fvec3 vec3'. See also VL_PIPELINE_PRECISION. More...
 
typedef Vector4< int > ivec4
 A 4 components vector with int precision. More...
 
typedef Vector4< unsigned int > uvec4
 A 4 components vector with unsigned int precision. More...
 
typedef Vector4< float > fvec4
 A 4 components vector with float precision. More...
 
typedef Vector4< double > dvec4
 A 4 components vector with double precision. More...
 
typedef Vector4< char > bvec4
 A 4 components vector with char precision. More...
 
typedef Vector4< unsigned char > ubvec4
 A 4 components vector with unsigned char precision. More...
 
typedef Vector4< short > svec4
 A 4 components vector with short precision. More...
 
typedef Vector4< unsigned short > usvec4
 A 4 components vector with unsigned short precision. More...
 
typedef fvec4 vec4
 Defined as: 'typedef fvec4 vec4'. See also VL_PIPELINE_PRECISION. More...
 
typedef std::map< float, ref< RenderQueue > > TRenderQueueMap
 

Enumerations

enum  ETextureFormat {
  TF_UNKNOWN = 0, TF_ALPHA = GL_ALPHA, TF_ALPHA4 = GL_ALPHA4, TF_ALPHA8 = GL_ALPHA8,
  TF_ALPHA12 = GL_ALPHA12, TF_ALPHA16 = GL_ALPHA16, TF_INTENSITY = GL_INTENSITY, TF_INTENSITY4 = GL_INTENSITY4,
  TF_INTENSITY8 = GL_INTENSITY8, TF_INTENSITY12 = GL_INTENSITY12, TF_INTENSITY16 = GL_INTENSITY16, TF_LUMINANCE = GL_LUMINANCE,
  TF_LUMINANCE4 = GL_LUMINANCE4, TF_LUMINANCE8 = GL_LUMINANCE8, TF_LUMINANCE12 = GL_LUMINANCE12, TF_LUMINANCE16 = GL_LUMINANCE16,
  TF_LUMINANCE_ALPHA = GL_LUMINANCE_ALPHA, TF_LUMINANCE4_ALPHA4 = GL_LUMINANCE4_ALPHA4, TF_LUMINANCE6_ALPHA2 = GL_LUMINANCE6_ALPHA2, TF_LUMINANCE8_ALPHA8 = GL_LUMINANCE8_ALPHA8,
  TF_LUMINANCE12_ALPHA4 = GL_LUMINANCE12_ALPHA4, TF_LUMINANCE12_ALPHA12 = GL_LUMINANCE12_ALPHA12, TF_LUMINANCE16_ALPHA16 = GL_LUMINANCE16_ALPHA16, TF_R3_G3_B2 = GL_R3_G3_B2,
  TF_RGB = GL_RGB, TF_RGB4 = GL_RGB4, TF_RGB5 = GL_RGB5, TF_RGB8 = GL_RGB8,
  TF_RGB10 = GL_RGB10, TF_RGB12 = GL_RGB12, TF_RGB16 = GL_RGB16, TF_RGBA = GL_RGBA,
  TF_RGBA2 = GL_RGBA2, TF_RGBA4 = GL_RGBA4, TF_RGB5_A1 = GL_RGB5_A1, TF_RGBA8 = GL_RGBA8,
  TF_RGB10_A2 = GL_RGB10_A2, TF_RGBA12 = GL_RGBA12, TF_RGBA16 = GL_RGBA16, TF_RGBA32F = GL_RGBA32F,
  TF_RGB32F = GL_RGB32F, TF_ALPHA32F = GL_ALPHA32F_ARB, TF_INTENSITY32F = GL_INTENSITY32F_ARB, TF_LUMINANCE32F = GL_LUMINANCE32F_ARB,
  TF_LUMINANCE_ALPHA32F = GL_LUMINANCE_ALPHA32F_ARB, TF_RGBA16F = GL_RGBA16F, TF_RGB16F = GL_RGB16F, TF_ALPHA16F = GL_ALPHA16F_ARB,
  TF_INTENSITY16F = GL_INTENSITY16F_ARB, TF_LUMINANCE16F = GL_LUMINANCE16F_ARB, TF_LUMINANCE_ALPHA16F = GL_LUMINANCE_ALPHA16F_ARB, TF_RGBA_FLOAT32_ATI = GL_RGBA_FLOAT32_ATI,
  TF_RGB_FLOAT32_ATI = GL_RGB_FLOAT32_ATI, TF_ALPHA_FLOAT32_ATI = GL_ALPHA_FLOAT32_ATI, TF_INTENSITY_FLOAT32_ATI = GL_INTENSITY_FLOAT32_ATI, TF_LUMINANCE_FLOAT32_ATI = GL_LUMINANCE_FLOAT32_ATI,
  TF_LUMINANCE_ALPHA_FLOAT32_ATI = GL_LUMINANCE_ALPHA_FLOAT32_ATI, TF_RGBA_FLOAT16_ATI = GL_RGBA_FLOAT16_ATI, TF_RGB_FLOAT16_ATI = GL_RGB_FLOAT16_ATI, TF_ALPHA_FLOAT16_ATI = GL_ALPHA_FLOAT16_ATI,
  TF_INTENSITY_FLOAT16_ATI = GL_INTENSITY_FLOAT16_ATI, TF_LUMINANCE_FLOAT16_ATI = GL_LUMINANCE_FLOAT16_ATI, TF_LUMINANCE_ALPHA_FLOAT16_ATI = GL_LUMINANCE_ALPHA_FLOAT16_ATI, TF_RGB9_E5_EXT = GL_RGB9_E5_EXT,
  TF_11F_G11F_B10F_EXT = GL_R11F_G11F_B10F_EXT, TF_DEPTH_STENCIL = GL_DEPTH_STENCIL, TF_DEPTH24_STENCIL8 = GL_DEPTH24_STENCIL8, TF_DEPTH_COMPONENT32F = GL_DEPTH_COMPONENT32F,
  TF_DEPTH32F_STENCIL8 = GL_DEPTH32F_STENCIL8, TF_DEPTH_COMPONENT = GL_DEPTH_COMPONENT, TF_DEPTH_COMPONENT16 = GL_DEPTH_COMPONENT16, TF_DEPTH_COMPONENT24 = GL_DEPTH_COMPONENT24,
  TF_DEPTH_COMPONENT32 = GL_DEPTH_COMPONENT32, TF_COMPRESSED_ALPHA = GL_COMPRESSED_ALPHA_ARB, TF_COMPRESSED_INTENSITY = GL_COMPRESSED_INTENSITY_ARB, TF_COMPRESSED_LUMINANCE = GL_COMPRESSED_LUMINANCE_ARB,
  TF_COMPRESSED_LUMINANCE_ALPHA = GL_COMPRESSED_LUMINANCE_ALPHA_ARB, TF_COMPRESSED_RGB = GL_COMPRESSED_RGB_ARB, TF_COMPRESSED_RGBA = GL_COMPRESSED_RGBA_ARB, TF_COMPRESSED_RGB_FXT1_3DFX = GL_COMPRESSED_RGB_FXT1_3DFX,
  TF_COMPRESSED_RGBA_FXT1_3DFX = GL_COMPRESSED_RGBA_FXT1_3DFX, TF_COMPRESSED_RGB_S3TC_DXT1_EXT = GL_COMPRESSED_RGB_S3TC_DXT1_EXT, TF_COMPRESSED_RGBA_S3TC_DXT1_EXT = GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, TF_COMPRESSED_RGBA_S3TC_DXT3_EXT = GL_COMPRESSED_RGBA_S3TC_DXT3_EXT,
  TF_COMPRESSED_RGBA_S3TC_DXT5_EXT = GL_COMPRESSED_RGBA_S3TC_DXT5_EXT, TF_COMPRESSED_LUMINANCE_LATC1_EXT = GL_COMPRESSED_LUMINANCE_LATC1_EXT, TF_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT = GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT, TF_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT = GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT,
  TF_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT = GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT, TF_COMPRESSED_RED_RGTC1_EXT = GL_COMPRESSED_RED_RGTC1_EXT, TF_COMPRESSED_SIGNED_RED_RGTC1_EXT = GL_COMPRESSED_SIGNED_RED_RGTC1_EXT, TF_COMPRESSED_RED_GREEN_RGTC2_EXT = GL_COMPRESSED_RED_GREEN_RGTC2_EXT,
  TF_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT = GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT, TF_RGBA32UI_EXT = GL_RGBA32UI_EXT, TF_RGB32UI_EXT = GL_RGB32UI_EXT, TF_ALPHA32UI_EXT = GL_ALPHA32UI_EXT,
  TF_INTENSITY32UI_EXT = GL_INTENSITY32UI_EXT, TF_LUMINANCE32UI_EXT = GL_LUMINANCE32UI_EXT, TF_LUMINANCE_ALPHA32UI_EXT = GL_LUMINANCE_ALPHA32UI_EXT, TF_RGBA16UI_EXT = GL_RGBA16UI_EXT,
  TF_RGB16UI_EXT = GL_RGB16UI_EXT, TF_ALPHA16UI_EXT = GL_ALPHA16UI_EXT, TF_INTENSITY16UI_EXT = GL_INTENSITY16UI_EXT, TF_LUMINANCE16UI_EXT = GL_LUMINANCE16UI_EXT,
  TF_LUMINANCE_ALPHA16UI_EXT = GL_LUMINANCE_ALPHA16UI_EXT, TF_RGBA8UI_EXT = GL_RGBA8UI_EXT, TF_RGB8UI_EXT = GL_RGB8UI_EXT, TF_ALPHA8UI_EXT = GL_ALPHA8UI_EXT,
  TF_INTENSITY8UI_EXT = GL_INTENSITY8UI_EXT, TF_LUMINANCE8UI_EXT = GL_LUMINANCE8UI_EXT, TF_LUMINANCE_ALPHA8UI_EXT = GL_LUMINANCE_ALPHA8UI_EXT, TF_RGBA32I_EXT = GL_RGBA32I_EXT,
  TF_RGB32I_EXT = GL_RGB32I_EXT, TF_ALPHA32I_EXT = GL_ALPHA32I_EXT, TF_INTENSITY32I_EXT = GL_INTENSITY32I_EXT, TF_LUMINANCE32I_EXT = GL_LUMINANCE32I_EXT,
  TF_LUMINANCE_ALPHA32I_EXT = GL_LUMINANCE_ALPHA32I_EXT, TF_RGBA16I_EXT = GL_RGBA16I_EXT, TF_RGB16I_EXT = GL_RGB16I_EXT, TF_ALPHA16I_EXT = GL_ALPHA16I_EXT,
  TF_INTENSITY16I_EXT = GL_INTENSITY16I_EXT, TF_LUMINANCE16I_EXT = GL_LUMINANCE16I_EXT, TF_LUMINANCE_ALPHA16I_EXT = GL_LUMINANCE_ALPHA16I_EXT, TF_RGBA8I_EXT = GL_RGBA8I_EXT,
  TF_RGB8I_EXT = GL_RGB8I_EXT, TF_ALPHA8I_EXT = GL_ALPHA8I_EXT, TF_INTENSITY8I_EXT = GL_INTENSITY8I_EXT, TF_LUMINANCE8I_EXT = GL_LUMINANCE8I_EXT,
  TF_LUMINANCE_ALPHA8I_EXT = GL_LUMINANCE_ALPHA8I_EXT, TF_RED = GL_RED, TF_COMPRESSED_RED = GL_COMPRESSED_RED, TF_COMPRESSED_RG = GL_COMPRESSED_RG,
  TF_RG = GL_RG, TF_R8 = GL_R8, TF_R16 = GL_R16, TF_RG8 = GL_RG8,
  TF_RG16 = GL_RG16, TF_R16F = GL_R16F, TF_R32F = GL_R32F, TF_RG16F = GL_RG16F,
  TF_RG32F = GL_RG32F, TF_R8I = GL_R8I, TF_R8UI = GL_R8UI, TF_R16I = GL_R16I,
  TF_R16UI = GL_R16UI, TF_R32I = GL_R32I, TF_R32UI = GL_R32UI, TF_RG8I = GL_RG8I,
  TF_RG8UI = GL_RG8UI, TF_RG16I = GL_RG16I, TF_RG16UI = GL_RG16UI, TF_RG32I = GL_RG32I,
  TF_RG32UI = GL_RG32UI, TF_SLUMINANCE_ALPHA = GL_SLUMINANCE_ALPHA, TF_SLUMINANCE8_ALPHA8 = GL_SLUMINANCE8_ALPHA8, TF_SLUMINANCE = GL_SLUMINANCE,
  TF_SLUMINANCE8 = GL_SLUMINANCE8, TF_COMPRESSED_SLUMINANCE = GL_COMPRESSED_SLUMINANCE, TF_COMPRESSED_SLUMINANCE_ALPHA = GL_COMPRESSED_SLUMINANCE_ALPHA, TF_SRGB = GL_SRGB,
  TF_SRGB8 = GL_SRGB8, TF_SRGB_ALPHA = GL_SRGB_ALPHA, TF_SRGB8_ALPHA8 = GL_SRGB8_ALPHA8, TF_COMPRESSED_SRGB = GL_COMPRESSED_SRGB,
  TF_COMPRESSED_SRGB_ALPHA = GL_COMPRESSED_SRGB_ALPHA, TF_COMPRESSED_SRGB_S3TC_DXT1_EXT = GL_COMPRESSED_SRGB_S3TC_DXT1_EXT, TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT, TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT,
  TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT, TF_R8_SNORM = GL_R8_SNORM, TF_R16_SNORM = GL_R16_SNORM, TF_RG8_SNORM = GL_RG8_SNORM,
  TF_RG16_SNORM = GL_RG16_SNORM, TF_RGB8_SNORM = GL_RGB8_SNORM, TF_RGBA8_SNORM = GL_RGBA8_SNORM, TF_RGB10_A2UI = GL_RGB10_A2UI,
  TF_RGBA16_SNORM = GL_RGBA16_SNORM, TF_R11F_G11F_B10F = GL_R11F_G11F_B10F, TF_RGB9_E5 = GL_RGB9_E5, TF_RGB8I = GL_RGB8I,
  TF_RGB8UI = GL_RGB8UI, TF_RGB16I = GL_RGB16I, TF_RGB16UI = GL_RGB16UI, TF_RGB32I = GL_RGB32I,
  TF_RGB32UI = GL_RGB32UI, TF_RGBA8I = GL_RGBA8I, TF_RGBA8UI = GL_RGBA8UI, TF_RGBA16I = GL_RGBA16I,
  TF_RGBA16UI = GL_RGBA16UI, TF_RGBA32I = GL_RGBA32I, TF_RGBA32UI = GL_RGBA32UI
}
 
enum  EImageFormat {
  IF_RGB = GL_RGB, IF_RGBA = GL_RGBA, IF_BGR = GL_BGR, IF_BGRA = GL_BGRA,
  IF_RG = GL_RG, IF_RG_INTEGER = GL_RG_INTEGER, IF_RED = GL_RED, IF_GREEN = GL_GREEN,
  IF_BLUE = GL_BLUE, IF_ALPHA = GL_ALPHA, IF_LUMINANCE = GL_LUMINANCE, IF_LUMINANCE_ALPHA = GL_LUMINANCE_ALPHA,
  IF_DEPTH_COMPONENT = GL_DEPTH_COMPONENT, IF_STENCIL_INDEX = GL_STENCIL_INDEX, IF_DEPTH_STENCIL = GL_DEPTH_STENCIL, IF_COMPRESSED_RGB_S3TC_DXT1 = GL_COMPRESSED_RGB_S3TC_DXT1_EXT,
  IF_COMPRESSED_RGBA_S3TC_DXT1 = GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, IF_COMPRESSED_RGBA_S3TC_DXT3 = GL_COMPRESSED_RGBA_S3TC_DXT3_EXT, IF_COMPRESSED_RGBA_S3TC_DXT5 = GL_COMPRESSED_RGBA_S3TC_DXT5_EXT, IF_RED_INTEGER = GL_RED_INTEGER,
  IF_GREEN_INTEGER = GL_GREEN_INTEGER, IF_BLUE_INTEGER = GL_BLUE_INTEGER, IF_ALPHA_INTEGER = GL_ALPHA_INTEGER, IF_RGB_INTEGER = GL_RGB_INTEGER,
  IF_RGBA_INTEGER = GL_RGBA_INTEGER, IF_BGR_INTEGER = GL_BGR_INTEGER, IF_BGRA_INTEGER = GL_BGRA_INTEGER, IF_LUMINANCE_INTEGER = GL_LUMINANCE_INTEGER_EXT,
  IF_LUMINANCE_ALPHA_INTEGER = GL_LUMINANCE_ALPHA_INTEGER_EXT
}
 
enum  ETex2DTarget {
  T2DT_TEXTURE_2D = GL_TEXTURE_2D, T2DT_TEXTURE_CUBE_MAP_POSITIVE_X = GL_TEXTURE_CUBE_MAP_POSITIVE_X, T2DT_TEXTURE_CUBE_MAP_NEGATIVE_X = GL_TEXTURE_CUBE_MAP_NEGATIVE_X, T2DT_TEXTURE_CUBE_MAP_POSITIVE_Y = GL_TEXTURE_CUBE_MAP_POSITIVE_Y,
  T2DT_TEXTURE_CUBE_MAP_NEGATIVE_Y = GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, T2DT_TEXTURE_CUBE_MAP_POSITIVE_Z = GL_TEXTURE_CUBE_MAP_POSITIVE_Z, T2DT_TEXTURE_CUBE_MAP_NEGATIVE_Z = GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, T2DT_TEXTURE_RECTANGLE = GL_TEXTURE_RECTANGLE_ARB,
  T2DT_TEXTURE_1D_ARRAY = GL_TEXTURE_1D_ARRAY, T2DT_TEXTURE_2D_MULTISAMPLE = GL_TEXTURE_2D_MULTISAMPLE
}
 
enum  EAttachmentPoint {
  AP_NO_ATTACHMENT = 0, AP_COLOR_ATTACHMENT0 = GL_COLOR_ATTACHMENT0, AP_COLOR_ATTACHMENT1 = GL_COLOR_ATTACHMENT1, AP_COLOR_ATTACHMENT2 = GL_COLOR_ATTACHMENT2,
  AP_COLOR_ATTACHMENT3 = GL_COLOR_ATTACHMENT3, AP_COLOR_ATTACHMENT4 = GL_COLOR_ATTACHMENT4, AP_COLOR_ATTACHMENT5 = GL_COLOR_ATTACHMENT5, AP_COLOR_ATTACHMENT6 = GL_COLOR_ATTACHMENT6,
  AP_COLOR_ATTACHMENT7 = GL_COLOR_ATTACHMENT7, AP_COLOR_ATTACHMENT8 = GL_COLOR_ATTACHMENT8, AP_COLOR_ATTACHMENT9 = GL_COLOR_ATTACHMENT9, AP_COLOR_ATTACHMENT10 = GL_COLOR_ATTACHMENT10,
  AP_COLOR_ATTACHMENT11 = GL_COLOR_ATTACHMENT11, AP_COLOR_ATTACHMENT12 = GL_COLOR_ATTACHMENT12, AP_COLOR_ATTACHMENT13 = GL_COLOR_ATTACHMENT13, AP_COLOR_ATTACHMENT14 = GL_COLOR_ATTACHMENT14,
  AP_COLOR_ATTACHMENT15 = GL_COLOR_ATTACHMENT15, AP_DEPTH_ATTACHMENT = GL_DEPTH_ATTACHMENT, AP_STENCIL_ATTACHMENT = GL_STENCIL_ATTACHMENT, AP_DEPTH_STENCIL_ATTACHMENT = GL_DEPTH_STENCIL_ATTACHMENT
}
 
enum  EColorBufferFormat {
  CBF_RED = GL_RED, CBF_RG = GL_RG, CBF_RGB = GL_RGB, CBF_RGBA = GL_RGBA,
  CBF_R8 = GL_R8, CBF_R16 = GL_R16, CBF_RG8 = GL_RG8, CBF_RG16 = GL_RG16,
  CBF_RGBA8 = GL_RGBA8, CBF_RGB10_A2 = GL_RGB10_A2, CBF_RGB10_A2UI = GL_RGB10_A2UI, CBF_RGBA16 = GL_RGBA16,
  CBF_SRGB8_ALPHA8 = GL_SRGB8_ALPHA8, CBF_R16F = GL_R16F, CBF_RG16F = GL_RG16F, CBF_RGBA16F = GL_RGBA16F,
  CBF_R32F = GL_R32F, CBF_RG32F = GL_RG32F, CBF_RGBA32F = GL_RGBA32F, CBF_R11F_G11F_B10F = GL_R11F_G11F_B10F,
  CBF_R8I = GL_R8I, CBF_R8UI = GL_R8UI, CBF_R16I = GL_R16I, CBF_R16UI = GL_R16UI,
  CBF_R32I = GL_R32I, CBF_R32UI = GL_R32UI, CBF_RG8I = GL_RG8I, CBF_RG8UI = GL_RG8UI,
  CBF_RG16I = GL_RG16I, CBF_RG16UI = GL_RG16UI, CBF_RG32I = GL_RG32I, CBF_RG32UI = GL_RG32UI,
  CBF_RGBA8I = GL_RGBA8I, CBF_RGBA8UI = GL_RGBA8UI, CBF_RGBA16I = GL_RGBA16I, CBF_RGBA16UI = GL_RGBA16UI,
  CBF_RGBA32I = GL_RGBA32I, CBF_RGBA32UI = GL_RGBA32UI
}
 Color-renderable formats as defined in section 4.4.4 of opengl api specs 4.1. More...
 
enum  EDepthBufferFormat {
  DBF_DEPTH_COMPONENT = GL_DEPTH_COMPONENT, DBF_DEPTH_COMPONENT16 = GL_DEPTH_COMPONENT16, DBF_DEPTH_COMPONENT24 = GL_DEPTH_COMPONENT24, DBF_DEPTH_COMPONENT32 = GL_DEPTH_COMPONENT32,
  DBF_DEPTH_COMPONENT32F = GL_DEPTH_COMPONENT32F
}
 
enum  EStencilBufferFormat { SBF_STENCIL_INDEX1 = GL_STENCIL_INDEX1_EXT, SBF_STENCIL_INDEX4 = GL_STENCIL_INDEX4_EXT, SBF_STENCIL_INDEX8 = GL_STENCIL_INDEX8_EXT, SBF_STENCIL_INDEX16 = GL_STENCIL_INDEX16_EXT }
 
enum  EDepthStencilBufferFormat { DSBT_DEPTH_STENCIL = GL_DEPTH_STENCIL, DSBT_DEPTH24_STENCIL8 = GL_DEPTH24_STENCIL8, DSBT_DEPTH32F_STENCIL8 = GL_DEPTH32F_STENCIL8 }
 
enum  EClearFlags {
  CF_DO_NOT_CLEAR = 0, CF_CLEAR_COLOR = GL_COLOR_BUFFER_BIT, CF_CLEAR_DEPTH = GL_DEPTH_BUFFER_BIT, CF_CLEAR_STENCIL = GL_STENCIL_BUFFER_BIT,
  CF_CLEAR_COLOR_DEPTH = CF_CLEAR_COLOR + CF_CLEAR_DEPTH, CF_CLEAR_COLOR_STENCIL = CF_CLEAR_COLOR + CF_CLEAR_STENCIL, CF_CLEAR_DEPTH_STENCIL = CF_CLEAR_DEPTH + CF_CLEAR_STENCIL, CF_CLEAR_COLOR_DEPTH_STENCIL = CF_CLEAR_COLOR + CF_CLEAR_DEPTH + CF_CLEAR_STENCIL
}
 
enum  EClearColorMode { CCM_Float, CCM_Int, CCM_UInt }
 
enum  EBlendFactor {
  BF_ZERO =GL_ZERO, BF_ONE =GL_ONE, BF_SRC_COLOR =GL_SRC_COLOR, BF_ONE_MINUS_SRC_COLOR =GL_ONE_MINUS_SRC_COLOR,
  BF_DST_COLOR =GL_DST_COLOR, BF_ONE_MINUS_DST_COLOR =GL_ONE_MINUS_DST_COLOR, BF_SRC_ALPHA =GL_SRC_ALPHA, BF_ONE_MINUS_SRC_ALPHA =GL_ONE_MINUS_SRC_ALPHA,
  BF_DST_ALPHA =GL_DST_ALPHA, BF_ONE_MINUS_DST_ALPHA =GL_ONE_MINUS_DST_ALPHA, BF_CONSTANT_COLOR =GL_CONSTANT_COLOR, BF_ONE_MINUS_CONSTANT_COLOR =GL_ONE_MINUS_CONSTANT_COLOR,
  BF_CONSTANT_ALPHA =GL_CONSTANT_ALPHA, BF_ONE_MINUS_CONSTANT_ALPHA =GL_ONE_MINUS_CONSTANT_ALPHA, BF_SRC_ALPHA_SATURATE =GL_SRC_ALPHA_SATURATE
}
 
enum  ETextureDimension {
  TD_TEXTURE_UNKNOWN = 0, TD_TEXTURE_1D = GL_TEXTURE_1D, TD_TEXTURE_2D = GL_TEXTURE_2D, TD_TEXTURE_3D = GL_TEXTURE_3D,
  TD_TEXTURE_CUBE_MAP = GL_TEXTURE_CUBE_MAP, TD_TEXTURE_RECTANGLE = GL_TEXTURE_RECTANGLE, TD_TEXTURE_1D_ARRAY = GL_TEXTURE_1D_ARRAY, TD_TEXTURE_2D_ARRAY = GL_TEXTURE_2D_ARRAY,
  TD_TEXTURE_BUFFER = GL_TEXTURE_BUFFER, TD_TEXTURE_2D_MULTISAMPLE = GL_TEXTURE_2D_MULTISAMPLE, TD_TEXTURE_2D_MULTISAMPLE_ARRAY = GL_TEXTURE_2D_MULTISAMPLE_ARRAY
}
 
enum  ETexCompareMode { TCM_NONE = GL_NONE, TCM_COMPARE_R_TO_TEXTURE = GL_COMPARE_R_TO_TEXTURE, TCM_COMPARE_REF_DEPTH_TO_TEXTURE = GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT }
 
enum  ETexCompareFunc {
  TCF_LEQUAL = GL_LEQUAL, TCF_GEQUAL = GL_GEQUAL, TCF_LESS = GL_LESS, TCF_GREATER = GL_GREATER,
  TCF_EQUAL = GL_EQUAL, TCF_NOTEQUAL = GL_NOTEQUAL, TCF_ALWAYS = GL_ALWAYS, TCF_NEVER = GL_NEVER
}
 
enum  EDepthTextureMode { DTM_LUMINANCE = GL_LUMINANCE, DTM_INTENSITY = GL_INTENSITY, DTM_ALPHA = GL_ALPHA, DTM_RED = GL_RED }
 
enum  EReadDrawBuffer {
  RDB_NONE = GL_NONE, RDB_FRONT_LEFT = GL_FRONT_LEFT, RDB_FRONT_RIGHT = GL_FRONT_RIGHT, RDB_BACK_LEFT = GL_BACK_LEFT,
  RDB_BACK_RIGHT = GL_BACK_RIGHT, RDB_AUX0 = GL_AUX0, RDB_AUX1 = GL_AUX1, RDB_AUX2 = GL_AUX2,
  RDB_AUX3 = GL_AUX3, RDB_COLOR_ATTACHMENT0 = GL_COLOR_ATTACHMENT0_EXT, RDB_COLOR_ATTACHMENT1 = GL_COLOR_ATTACHMENT1_EXT, RDB_COLOR_ATTACHMENT2 = GL_COLOR_ATTACHMENT2_EXT,
  RDB_COLOR_ATTACHMENT3 = GL_COLOR_ATTACHMENT3_EXT, RDB_COLOR_ATTACHMENT4 = GL_COLOR_ATTACHMENT4_EXT, RDB_COLOR_ATTACHMENT5 = GL_COLOR_ATTACHMENT5_EXT, RDB_COLOR_ATTACHMENT6 = GL_COLOR_ATTACHMENT6_EXT,
  RDB_COLOR_ATTACHMENT7 = GL_COLOR_ATTACHMENT7_EXT, RDB_COLOR_ATTACHMENT8 = GL_COLOR_ATTACHMENT8_EXT, RDB_COLOR_ATTACHMENT9 = GL_COLOR_ATTACHMENT9_EXT, RDB_COLOR_ATTACHMENT10 = GL_COLOR_ATTACHMENT10_EXT,
  RDB_COLOR_ATTACHMENT11 = GL_COLOR_ATTACHMENT11_EXT, RDB_COLOR_ATTACHMENT12 = GL_COLOR_ATTACHMENT12_EXT, RDB_COLOR_ATTACHMENT13 = GL_COLOR_ATTACHMENT13_EXT, RDB_COLOR_ATTACHMENT14 = GL_COLOR_ATTACHMENT14_EXT,
  RDB_COLOR_ATTACHMENT15 = GL_COLOR_ATTACHMENT15_EXT
}
 
enum  EFramebufferBind { FBB_FRAMEBUFFER = GL_FRAMEBUFFER, FBB_DRAW_FRAMEBUFFER = GL_DRAW_FRAMEBUFFER, FBB_READ_FRAMEBUFFER = GL_READ_FRAMEBUFFER }
 
enum  EImageType {
  IT_IMPLICIT_TYPE = 0, IT_UNSIGNED_BYTE = GL_UNSIGNED_BYTE, IT_BYTE = GL_BYTE, IT_UNSIGNED_SHORT = GL_UNSIGNED_SHORT,
  IT_SHORT = GL_SHORT, IT_UNSIGNED_INT = GL_UNSIGNED_INT, IT_INT = GL_INT, IT_FLOAT = GL_FLOAT,
  IT_UNSIGNED_BYTE_3_3_2 = GL_UNSIGNED_BYTE_3_3_2, IT_UNSIGNED_BYTE_2_3_3_REV = GL_UNSIGNED_BYTE_2_3_3_REV, IT_UNSIGNED_SHORT_5_6_5 = GL_UNSIGNED_SHORT_5_6_5, IT_UNSIGNED_SHORT_5_6_5_REV = GL_UNSIGNED_SHORT_5_6_5_REV,
  IT_UNSIGNED_SHORT_4_4_4_4 = GL_UNSIGNED_SHORT_4_4_4_4, IT_UNSIGNED_SHORT_4_4_4_4_REV = GL_UNSIGNED_SHORT_4_4_4_4_REV, IT_UNSIGNED_SHORT_5_5_5_1 = GL_UNSIGNED_SHORT_5_5_5_1, IT_UNSIGNED_SHORT_1_5_5_5_REV = GL_UNSIGNED_SHORT_1_5_5_5_REV,
  IT_UNSIGNED_INT_8_8_8_8 = GL_UNSIGNED_INT_8_8_8_8, IT_UNSIGNED_INT_8_8_8_8_REV = GL_UNSIGNED_INT_8_8_8_8_REV, IT_UNSIGNED_INT_10_10_10_2 = GL_UNSIGNED_INT_10_10_10_2, IT_UNSIGNED_INT_2_10_10_10_REV = GL_UNSIGNED_INT_2_10_10_10_REV,
  IT_UNSIGNED_INT_5_9_9_9_REV = GL_UNSIGNED_INT_5_9_9_9_REV_EXT, IT_UNSIGNED_INT_10F_11F_11F_REV = GL_UNSIGNED_INT_10F_11F_11F_REV_EXT, IT_UNSIGNED_INT_24_8 = GL_UNSIGNED_INT_24_8, IT_FLOAT_32_UNSIGNED_INT_24_8_REV = GL_FLOAT_32_UNSIGNED_INT_24_8_REV
}
 
enum  EPrimitiveType {
  PT_POINTS = GL_POINTS, PT_LINES = GL_LINES, PT_LINE_LOOP = GL_LINE_LOOP, PT_LINE_STRIP = GL_LINE_STRIP,
  PT_TRIANGLES = GL_TRIANGLES, PT_TRIANGLE_STRIP = GL_TRIANGLE_STRIP, PT_TRIANGLE_FAN = GL_TRIANGLE_FAN, PT_QUADS = GL_QUADS,
  PT_QUAD_STRIP = GL_QUAD_STRIP, PT_POLYGON = GL_POLYGON, PT_LINES_ADJACENCY = GL_LINES_ADJACENCY_EXT, PT_LINE_STRIP_ADJACENCY = GL_LINE_STRIP_ADJACENCY_EXT,
  PT_TRIANGLES_ADJACENCY = GL_TRIANGLES_ADJACENCY_EXT, PT_TRIANGLE_STRIP_ADJACENCY = GL_TRIANGLE_STRIP_ADJACENCY_EXT, PT_PATCHES = GL_PATCHES, PT_UNKNOWN
}
 
enum  EPolygonFace { PF_FRONT =GL_FRONT, PF_BACK =GL_BACK, PF_FRONT_AND_BACK =GL_FRONT_AND_BACK }
 
enum  EHintMode { HM_FASTEST =GL_FASTEST, HM_NICEST =GL_NICEST, HM_DONT_CARE =GL_DONT_CARE }
 
enum  EFrontFace { FF_CW =GL_CW, FF_CCW =GL_CCW }
 
enum  EFunction {
  FU_NEVER =GL_NEVER, FU_LESS =GL_LESS, FU_EQUAL =GL_EQUAL, FU_LEQUAL =GL_LEQUAL,
  FU_GREATER =GL_GREATER, FU_NOTEQUAL =GL_NOTEQUAL, FU_GEQUAL =GL_GEQUAL, FU_ALWAYS =GL_ALWAYS
}
 
enum  EPolygonMode { PM_FILL =GL_FILL, PM_LINE =GL_LINE, PM_POINT =GL_POINT }
 
enum  EShadeModel { SM_FLAT =GL_FLAT, SM_SMOOTH =GL_SMOOTH }
 
enum  EBlendEquation {
  BE_FUNC_ADD =GL_FUNC_ADD, BE_FUNC_SUBTRACT =GL_FUNC_SUBTRACT, BE_FUNC_REVERSE_SUBTRACT =GL_FUNC_REVERSE_SUBTRACT, BE_MIN =GL_MIN,
  BE_MAX =GL_MAX
}
 
enum  EColorMaterial {
  CM_EMISSION =GL_EMISSION, CM_AMBIENT =GL_AMBIENT, CM_DIFFUSE =GL_DIFFUSE, CM_SPECULAR =GL_SPECULAR,
  CM_AMBIENT_AND_DIFFUSE =GL_AMBIENT_AND_DIFFUSE
}
 
enum  EColorControl { CC_SEPARATE_SPECULAR_COLOR =GL_SEPARATE_SPECULAR_COLOR, CC_SINGLE_COLOR =GL_SINGLE_COLOR }
 
enum  EFogMode { FM_LINEAR =GL_LINEAR, FM_EXP =GL_EXP, FM_EXP2 =GL_EXP2 }
 
enum  ELogicOp {
  LO_CLEAR =GL_CLEAR, LO_SET =GL_SET, LO_COPY =GL_COPY, LO_COPY_INVERTED =GL_COPY_INVERTED,
  LO_NOOP =GL_NOOP, LO_INVERT =GL_INVERT, LO_AND =GL_AND, LO_NAND =GL_NAND,
  LO_OR =GL_OR, LO_NOR =GL_NOR, LO_XOR =GL_XOR, LO_EQUIV =GL_EQUIV,
  LO_AND_REVERSE =GL_AND_REVERSE, LO_AND_INVERTED =GL_AND_INVERTED, LO_OR_REVERSE =GL_OR_REVERSE, LO_OR_INVERTED =GL_OR_INVERTED
}
 
enum  EStencilOp {
  SO_KEEP =GL_KEEP, SO_ZERO =GL_ZERO, SO_REPLACE =GL_REPLACE, SO_INCR =GL_INCR,
  SO_INCR_WRAP =GL_INCR_WRAP, SO_DECR =GL_DECR, SO_DECR_WRAP =GL_DECR_WRAP, SO_INVERT =GL_INVERT
}
 
enum  ETexParamFilter {
  TPF_NEAREST =GL_NEAREST, TPF_LINEAR =GL_LINEAR, TPF_NEAREST_MIPMAP_NEAREST =GL_NEAREST_MIPMAP_NEAREST, TPF_LINEAR_MIPMAP_NEAREST =GL_LINEAR_MIPMAP_NEAREST,
  TPF_NEAREST_MIPMAP_LINEAR =GL_NEAREST_MIPMAP_LINEAR, TPF_LINEAR_MIPMAP_LINEAR =GL_LINEAR_MIPMAP_LINEAR
}
 
enum  ETexParamWrap {
  TPW_CLAMP = GL_CLAMP, TPW_CLAMP_TO_BORDER = GL_CLAMP_TO_BORDER, TPW_CLAMP_TO_EDGE = GL_CLAMP_TO_EDGE, TPW_MIRRORED_REPEAT = GL_MIRRORED_REPEAT,
  TPW_REPEAT = GL_REPEAT
}
 
enum  ETexEnvMode {
  TEM_DECAL =GL_DECAL, TEM_MODULATE =GL_MODULATE, TEM_ADD =GL_ADD, TEM_BLEND =GL_BLEND,
  TEM_REPLACE =GL_REPLACE, TEM_COMBINE =GL_COMBINE, TEM_ADD_SIGN =GL_ADD_SIGNED, TEM_INTERPOLATE =GL_INTERPOLATE,
  TEM_SUBTRACT =GL_SUBTRACT, TEM_DOT3_RGB =GL_DOT3_RGB, TEM_DOT3_RGBA =GL_DOT3_RGBA
}
 
enum  ETexEnvSource {
  TES_TEXTURE =GL_TEXTURE, TES_TEXTURE0 =GL_TEXTURE0, TES_TEXTURE1 =GL_TEXTURE1, TES_TEXTURE2 =GL_TEXTURE2,
  TES_TEXTURE3 =GL_TEXTURE3, TES_TEXTURE4 =GL_TEXTURE4, TES_TEXTURE5 =GL_TEXTURE5, TES_TEXTURE6 =GL_TEXTURE6,
  TES_TEXTURE7 =GL_TEXTURE7, TES_CONSTANT =GL_CONSTANT, TES_PRIMARY_COLOR =GL_PRIMARY_COLOR, TES_PREVIOUS =GL_PREVIOUS
}
 
enum  ETexEnvOperand { TEO_SRC_COLOR =GL_SRC_COLOR, TEO_ONE_MINUS_SRC_COLOR =GL_ONE_MINUS_SRC_COLOR, TEO_SRC_ALPHA =GL_SRC_ALPHA, TEO_ONE_MINUS_SRC_ALPHA =GL_ONE_MINUS_SRC_ALPHA }
 
enum  ETexGenMode {
  TGM_DISABLED = 0, TGM_EYE_LINEAR = GL_EYE_LINEAR, TGM_OBJECT_LINEAR = GL_OBJECT_LINEAR, TGM_SPHERE_MAP = GL_SPHERE_MAP,
  TGM_REFLECTION_MAP = GL_REFLECTION_MAP, TGM_NORMAL_MAP = GL_NORMAL_MAP
}
 Texture generation modes, see also http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml for more information. More...
 
enum  EEnable {
  EN_BLEND, EN_CULL_FACE, EN_DEPTH_TEST, EN_STENCIL_TEST,
  EN_DITHER, EN_POLYGON_OFFSET_FILL, EN_POLYGON_OFFSET_LINE, EN_POLYGON_OFFSET_POINT,
  EN_COLOR_LOGIC_OP, EN_MULTISAMPLE, EN_POINT_SMOOTH, EN_LINE_SMOOTH,
  EN_POLYGON_SMOOTH, EN_LINE_STIPPLE, EN_POLYGON_STIPPLE, EN_POINT_SPRITE,
  EN_PROGRAM_POINT_SIZE, EN_ALPHA_TEST, EN_LIGHTING, EN_COLOR_SUM,
  EN_FOG, EN_NORMALIZE, EN_RESCALE_NORMAL, EN_VERTEX_PROGRAM_TWO_SIDE,
  EN_TEXTURE_CUBE_MAP_SEAMLESS, EN_CLIP_DISTANCE0, EN_CLIP_DISTANCE1, EN_CLIP_DISTANCE2,
  EN_CLIP_DISTANCE3, EN_CLIP_DISTANCE4, EN_CLIP_DISTANCE5, EN_CLIP_DISTANCE6,
  EN_CLIP_DISTANCE7, EN_SAMPLE_ALPHA_TO_COVERAGE, EN_SAMPLE_ALPHA_TO_ONE, EN_SAMPLE_COVERAGE,
  EN_EnableCount, EN_UnknownEnable
}
 Constant that enable/disable a specific OpenGL feature, see also Shader, Shader::enable(), Shader::disable(), Shader::isEnabled() More...
 
enum  EBufferObjectUsage {
  BU_STREAM_DRAW = GL_STREAM_DRAW, BU_STREAM_READ = GL_STREAM_READ, BU_STREAM_COPY = GL_STREAM_COPY, BU_STATIC_DRAW = GL_STATIC_DRAW,
  BU_STATIC_READ = GL_STATIC_READ, BU_STATIC_COPY = GL_STATIC_COPY, BU_DYNAMIC_DRAW = GL_DYNAMIC_DRAW, BU_DYNAMIC_READ = GL_DYNAMIC_READ,
  BU_DYNAMIC_COPY = GL_DYNAMIC_COPY
}
 
enum  EBufferObjectAccess { BA_READ_ONLY = GL_READ_ONLY, BA_WRITE_ONLY = GL_WRITE_ONLY, BA_READ_WRITE = GL_READ_WRITE }
 
enum  EAlign {
  AlignLeft = 1, AlignHCenter = 2, AlignRight = 4, AlignTop = 8,
  AlignVCenter = 16, AlignBottom = 32
}
 
enum  ETextAlign { TextAlignLeft, TextAlignRight, TextAlignCenter, TextAlignJustify }
 
enum  ETextMode { Text2D = 1, Text3D = 2 }
 
enum  ETextLayout { LeftToRightText, RightToLeftText, TopToBottomText }
 
enum  EDepthSortMode { NeverDepthSort, AlwaysDepthSort, AlphaDepthSort }
 
enum  EImageDimension {
  ID_None, ID_1D, ID_2D, ID_3D,
  ID_Cubemap, ID_Error
}
 
enum  EStateType {
  ST_RenderStates = 1, ST_Enables = 2, ST_TextureSamplers = 4, ST_Lights = 8,
  ST_ClipPlanes = 16
}
 
enum  ERenderState {
  RS_VertexAttrib, RS_VertexAttrib0 = RS_VertexAttrib, RS_VertexAttrib1, RS_VertexAttrib2,
  RS_VertexAttrib3, RS_VertexAttrib4, RS_VertexAttrib5, RS_VertexAttrib6,
  RS_VertexAttrib7, RS_AlphaFunc, RS_BlendColor, RS_BlendEquation,
  RS_BlendFunc, RS_Color, RS_ColorMask, RS_CullFace,
  RS_DepthFunc, RS_DepthMask, RS_DepthRange, RS_Fog,
  RS_FrontFace, RS_PolygonMode, RS_Hint, RS_LightModel,
  RS_LineStipple, RS_LineWidth, RS_LogicOp, RS_Material,
  RS_Normal, RS_PixelTransfer, RS_PointParameter, RS_PointSize,
  RS_PolygonOffset, RS_PolygonStipple, RS_SampleCoverage, RS_SecondaryColor,
  RS_ShadeModel, RS_StencilFunc, RS_StencilMask, RS_StencilOp,
  RS_GLSLProgram, RS_Light, RS_Light0 = RS_Light, RS_Light1,
  RS_Light2, RS_Light3, RS_Light4, RS_Light5,
  RS_Light6, RS_Light7, RS_ClipPlane, RS_ClipPlane0 = RS_ClipPlane,
  RS_ClipPlane1, RS_ClipPlane2, RS_ClipPlane3, RS_ClipPlane4,
  RS_ClipPlane5, RS_TextureSampler, RS_TextureSampler0 = RS_TextureSampler + 0, RS_TextureSampler1 = RS_TextureSampler + 1,
  RS_TextureSampler2 = RS_TextureSampler + 2, RS_TextureSampler3 = RS_TextureSampler + 3, RS_TextureSampler4 = RS_TextureSampler + 4, RS_TextureSampler5 = RS_TextureSampler + 5,
  RS_TextureSampler6 = RS_TextureSampler + 6, RS_TextureSampler7 = RS_TextureSampler + 7, RS_TextureSampler8 = RS_TextureSampler + 8, RS_TextureSampler9 = RS_TextureSampler + 9,
  RS_TextureSampler10 = RS_TextureSampler + 10, RS_TextureSampler11 = RS_TextureSampler + 11, RS_TextureSampler12 = RS_TextureSampler + 12, RS_TextureSampler13 = RS_TextureSampler + 13,
  RS_TextureSampler14 = RS_TextureSampler + 14, RS_TextureSampler15 = RS_TextureSampler + 15, RS_TexGen = RS_TextureSampler + VL_MAX_TEXTURE_IMAGE_UNITS, RS_TexGen0 = RS_TexGen + 0,
  RS_TexGen1 = RS_TexGen + 1, RS_TexGen2 = RS_TexGen + 2, RS_TexGen3 = RS_TexGen + 3, RS_TexGen4 = RS_TexGen + 4,
  RS_TexGen5 = RS_TexGen + 5, RS_TexGen6 = RS_TexGen + 6, RS_TexGen7 = RS_TexGen + 7, RS_TexGen8 = RS_TexGen + 8,
  RS_TexGen9 = RS_TexGen + 9, RS_TexGen10 = RS_TexGen + 10, RS_TexGen11 = RS_TexGen + 11, RS_TexGen12 = RS_TexGen + 12,
  RS_TexGen13 = RS_TexGen + 13, RS_TexGen14 = RS_TexGen + 14, RS_TexGen15 = RS_TexGen + 15, RS_TexEnv = RS_TexGen + VL_MAX_LEGACY_TEXTURE_UNITS,
  RS_TexEnv0 = RS_TexEnv + 0, RS_TexEnv1 = RS_TexEnv + 1, RS_TexEnv2 = RS_TexEnv + 2, RS_TexEnv3 = RS_TexEnv + 3,
  RS_TexEnv4 = RS_TexEnv + 4, RS_TexEnv5 = RS_TexEnv + 5, RS_TexEnv6 = RS_TexEnv + 6, RS_TexEnv7 = RS_TexEnv + 7,
  RS_TexEnv8 = RS_TexEnv + 8, RS_TexEnv9 = RS_TexEnv + 9, RS_TexEnv10 = RS_TexEnv + 10, RS_TexEnv11 = RS_TexEnv + 11,
  RS_TexEnv12 = RS_TexEnv + 12, RS_TexEnv13 = RS_TexEnv + 13, RS_TexEnv14 = RS_TexEnv + 14, RS_TexEnv15 = RS_TexEnv + 15,
  RS_TextureMatrix = RS_TexEnv + VL_MAX_LEGACY_TEXTURE_UNITS, RS_TextureMatrix0 = RS_TextureMatrix + 0, RS_TextureMatrix1 = RS_TextureMatrix + 1, RS_TextureMatrix2 = RS_TextureMatrix + 2,
  RS_TextureMatrix3 = RS_TextureMatrix + 3, RS_TextureMatrix4 = RS_TextureMatrix + 4, RS_TextureMatrix5 = RS_TextureMatrix + 5, RS_TextureMatrix6 = RS_TextureMatrix + 6,
  RS_TextureMatrix7 = RS_TextureMatrix + 7, RS_TextureMatrix8 = RS_TextureMatrix + 8, RS_TextureMatrix9 = RS_TextureMatrix + 9, RS_TextureMatrix10 = RS_TextureMatrix + 10,
  RS_TextureMatrix11 = RS_TextureMatrix + 11, RS_TextureMatrix12 = RS_TextureMatrix + 12, RS_TextureMatrix13 = RS_TextureMatrix + 13, RS_TextureMatrix14 = RS_TextureMatrix + 14,
  RS_TextureMatrix15 = RS_TextureMatrix + 15, RS_RenderStateCount = RS_TextureMatrix + VL_MAX_LEGACY_TEXTURE_UNITS, RS_NONE
}
 
enum  EBufferBits { BB_COLOR_BUFFER_BIT = GL_COLOR_BUFFER_BIT, BB_DEPTH_BUFFER_BIT = GL_DEPTH_BUFFER_BIT, BB_STENCIL_BUFFER_BIT = GL_STENCIL_BUFFER_BIT }
 
enum  EBillboardType { BT_AxisAlignedBillboard = 1, BT_SphericalBillboard = 2 }
 
enum  ESortMode { SM_SortBackToFront, SM_SortFrontToBack }
 
enum  EGetMode { GM_GetOrCreate, GM_DontCreate }
 
enum  EStringEncoding {
  SE_Unknown, SE_ASCII, SE_UTF8, SE_UTF16_BE,
  SE_UTF16_LE, SE_UTF32_BE, SE_UTF32_LE, SE_LATIN1
}
 
enum  EOpenMode { OM_ReadOnly, OM_WriteOnly }
 
enum  EKey {
  Key_None = 0, Key_0, Key_1, Key_2,
  Key_3, Key_4, Key_5, Key_6,
  Key_7, Key_8, Key_9, Key_A,
  Key_B, Key_C, Key_D, Key_E,
  Key_F, Key_G, Key_H, Key_I,
  Key_J, Key_K, Key_L, Key_M,
  Key_N, Key_O, Key_P, Key_Q,
  Key_R, Key_S, Key_T, Key_U,
  Key_V, Key_W, Key_X, Key_Y,
  Key_Z, Key_Return, Key_BackSpace, Key_Tab,
  Key_Space, Key_Clear, Key_Escape, Key_Exclam,
  Key_QuoteDbl, Key_Hash, Key_Dollar, Key_Ampersand,
  Key_Quote, Key_LeftParen, Key_RightParen, Key_Asterisk,
  Key_Plus, Key_Comma, Key_Minus, Key_Period,
  Key_Slash, Key_Colon, Key_Semicolon, Key_Less,
  Key_Equal, Key_Greater, Key_Question, Key_At,
  Key_LeftBracket, Key_BackSlash, Key_RightBracket, Key_Caret,
  Key_Underscore, Key_QuoteLeft, Key_Ctrl, Key_LeftCtrl,
  Key_RightCtrl, Key_Alt, Key_LeftAlt, Key_RightAlt,
  Key_Shift, Key_LeftShift, Key_RightShift, Key_Insert,
  Key_Delete, Key_Home, Key_End, Key_Print,
  Key_Pause, Key_PageUp, Key_PageDown, Key_Left,
  Key_Right, Key_Up, Key_Down, Key_F1,
  Key_F2, Key_F3, Key_F4, Key_F5,
  Key_F6, Key_F7, Key_F8, Key_F9,
  Key_F10, Key_F11, Key_F12, Key_Unknown,
  Key_NumberOfKeys
}
 
enum  EMouseButton {
  NoButton = 0, LeftButton = 1, RightButton = 2, MiddleButton = 4,
  UnknownButton
}
 
enum  EInheritance {
  IN_Local = 0x00, IN_Propagate = 0x01, IN_Sticky = 0x04, IN_Propagate_Overrides_Sticky = 0x01 | 0x02 | 0x04,
  IN_Propagate_Overrides = 0x01 | 0x02, IN_Propagate_Sticky = 0x01 | 0x04
}
 
enum  EShaderType {
  ST_VERTEX_SHADER = GL_VERTEX_SHADER, ST_TESS_CONTROL_SHADER = GL_TESS_CONTROL_SHADER, ST_TESS_EVALUATION_SHADER = GL_TESS_EVALUATION_SHADER, ST_GEOMETRY_SHADER = GL_GEOMETRY_SHADER,
  ST_FRAGMENT_SHADER = GL_FRAGMENT_SHADER
}
 
enum  ETessellationWinding {
  TW_TESS_WINDING_ODD = GLU_TESS_WINDING_ODD, TW_TESS_WINDING_NONZERO = GLU_TESS_WINDING_NONZERO, TW_TESS_WINDING_POSITIVE = GLU_TESS_WINDING_POSITIVE, TW_TESS_WINDING_NEGATIVE = GLU_TESS_WINDING_NEGATIVE,
  TW_TESS_WINDING_ABS_GEQ_TWO = GLU_TESS_WINDING_ABS_GEQ_TWO
}
 
enum  EVerbosityLevel { VEL_VERBOSITY_SILENT, VEL_VERBOSITY_ERROR, VEL_VERBOSITY_NORMAL, VEL_VERBOSITY_DEBUG }
 
enum  ELogLevel {
  LL_LogNotify, LL_LogPrint, LL_LogBug, LL_LogError,
  LL_LogWarning, LL_LogDebug
}
 
enum  EPointSpriteCoordOrigin { PPCO_LOWER_LEFT = GL_LOWER_LEFT, PPCO_UPPER_LEFT = GL_UPPER_LEFT }
 
enum  EVertexAttribInterpretation { VAI_NORMAL, VAI_INTEGER, VAI_DOUBLE }
 Specifies how the data of a VertexAttribInfo is sent to the OpenGL driver, see also http://www.opengl.org/sdk/docs/man4/xhtml/glVertexAttribPointer.xml. More...
 
enum  EVertexAttribBinding {
  VA_Position = 0, VA_Normal = 1, VA_Color = 2, VA_SecondaryColor = 3,
  VA_FogCoord = 4, VA_TexCoord0 = 5, VA_TexCoord1 = 6, VA_TexCoord2 = 7,
  VA_TexCoord3 = 8, VA_TexCoord4 = 9, VA_TexCoord5 = 10, VA_TexCoord6 = 11,
  VA_TexCoord7 = 12, VA_TexCoord8 = 13, VA_TexCoord9 = 14, VA_TexCoord10 = 15,
  VA_MaxTexCoordCount = 11, VA_MaxAttribCount = 16, VA_TexCoordDiffuse = VA_TexCoord0, VA_TexCoordDetail = VA_TexCoord1,
  VA_TexCoordShadow = VA_TexCoord2, VA_TexCoordSpecular = VA_TexCoord3, VA_TexCoordNormalMap = VA_TexCoord4, VA_TexCoordDisplace = VA_TexCoord5,
  VA_Tangent = VA_TexCoord6, VA_Bitangent = VA_TexCoord7, VA_NextPosition = VA_TexCoord8, VA_NextNormal = VA_TexCoord9
}
 Default vertex attribute bindings. More...
 
enum  EUniformType {
  UT_NONE = 0x0, UT_FLOAT = GL_FLOAT, UT_FLOAT_VEC2 = GL_FLOAT_VEC2, UT_FLOAT_VEC3 = GL_FLOAT_VEC3,
  UT_FLOAT_VEC4 = GL_FLOAT_VEC4, UT_DOUBLE = GL_DOUBLE, UT_DOUBLE_VEC2 = GL_DOUBLE_VEC2, UT_DOUBLE_VEC3 = GL_DOUBLE_VEC3,
  UT_DOUBLE_VEC4 = GL_DOUBLE_VEC4, UT_INT = GL_INT, UT_INT_VEC2 = GL_INT_VEC2, UT_INT_VEC3 = GL_INT_VEC3,
  UT_INT_VEC4 = GL_INT_VEC4, UT_UNSIGNED_INT = GL_UNSIGNED_INT, UT_UNSIGNED_INT_VEC2 = GL_UNSIGNED_INT_VEC2, UT_UNSIGNED_INT_VEC3 = GL_UNSIGNED_INT_VEC3,
  UT_UNSIGNED_INT_VEC4 = GL_UNSIGNED_INT_VEC4, UT_BOOL = GL_BOOL, UT_BOOL_VEC2 = GL_BOOL_VEC2, UT_BOOL_VEC3 = GL_BOOL_VEC3,
  UT_BOOL_VEC4 = GL_BOOL_VEC4, UT_FLOAT_MAT2 = GL_FLOAT_MAT2, UT_FLOAT_MAT3 = GL_FLOAT_MAT3, UT_FLOAT_MAT4 = GL_FLOAT_MAT4,
  UT_FLOAT_MAT2x3 = GL_FLOAT_MAT2x3, UT_FLOAT_MAT2x4 = GL_FLOAT_MAT2x4, UT_FLOAT_MAT3x2 = GL_FLOAT_MAT3x2, UT_FLOAT_MAT3x4 = GL_FLOAT_MAT3x4,
  UT_FLOAT_MAT4x2 = GL_FLOAT_MAT4x2, UT_FLOAT_MAT4x3 = GL_FLOAT_MAT4x3, UT_DOUBLE_MAT2 = GL_DOUBLE_MAT2, UT_DOUBLE_MAT3 = GL_DOUBLE_MAT3,
  UT_DOUBLE_MAT4 = GL_DOUBLE_MAT4, UT_DOUBLE_MAT2x3 = GL_DOUBLE_MAT2x3, UT_DOUBLE_MAT2x4 = GL_DOUBLE_MAT2x4, UT_DOUBLE_MAT3x2 = GL_DOUBLE_MAT3x2,
  UT_DOUBLE_MAT3x4 = GL_DOUBLE_MAT3x4, UT_DOUBLE_MAT4x2 = GL_DOUBLE_MAT4x2, UT_DOUBLE_MAT4x3 = GL_DOUBLE_MAT4x3, UT_SAMPLER_1D = GL_SAMPLER_1D,
  UT_SAMPLER_2D = GL_SAMPLER_2D, UT_SAMPLER_3D = GL_SAMPLER_3D, UT_SAMPLER_CUBE = GL_SAMPLER_CUBE, UT_SAMPLER_1D_SHADOW = GL_SAMPLER_1D_SHADOW,
  UT_SAMPLER_2D_SHADOW = GL_SAMPLER_2D_SHADOW, UT_SAMPLER_1D_ARRAY = GL_SAMPLER_1D_ARRAY, UT_SAMPLER_2D_ARRAY = GL_SAMPLER_2D_ARRAY, UT_SAMPLER_1D_ARRAY_SHADOW = GL_SAMPLER_1D_ARRAY_SHADOW,
  UT_SAMPLER_2D_ARRAY_SHADOW = GL_SAMPLER_2D_ARRAY_SHADOW, UT_SAMPLER_2D_MULTISAMPLE = GL_SAMPLER_2D_MULTISAMPLE, UT_SAMPLER_2D_MULTISAMPLE_ARRAY = GL_SAMPLER_2D_MULTISAMPLE_ARRAY, UT_SAMPLER_CUBE_SHADOW = GL_SAMPLER_CUBE_SHADOW,
  UT_SAMPLER_BUFFER = GL_SAMPLER_BUFFER, UT_SAMPLER_2D_RECT = GL_SAMPLER_2D_RECT, UT_SAMPLER_2D_RECT_SHADOW = GL_SAMPLER_2D_RECT_SHADOW, UT_INT_SAMPLER_1D = GL_INT_SAMPLER_1D,
  UT_INT_SAMPLER_2D = GL_INT_SAMPLER_2D, UT_INT_SAMPLER_3D = GL_INT_SAMPLER_3D, UT_INT_SAMPLER_CUBE = GL_INT_SAMPLER_CUBE, UT_INT_SAMPLER_1D_ARRAY = GL_INT_SAMPLER_1D_ARRAY,
  UT_INT_SAMPLER_2D_ARRAY = GL_INT_SAMPLER_2D_ARRAY, UT_INT_SAMPLER_2D_MULTISAMPLE = GL_INT_SAMPLER_2D_MULTISAMPLE, UT_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY, UT_INT_SAMPLER_BUFFER = GL_INT_SAMPLER_BUFFER,
  UT_INT_SAMPLER_2D_RECT = GL_INT_SAMPLER_2D_RECT, UT_UNSIGNED_INT_SAMPLER_1D = GL_UNSIGNED_INT_SAMPLER_1D, UT_UNSIGNED_INT_SAMPLER_2D = GL_UNSIGNED_INT_SAMPLER_2D, UT_UNSIGNED_INT_SAMPLER_3D = GL_UNSIGNED_INT_SAMPLER_3D,
  UT_UNSIGNED_INT_SAMPLER_CUBE = GL_UNSIGNED_INT_SAMPLER_CUBE, UT_UNSIGNED_INT_SAMPLER_1D_ARRAY = GL_UNSIGNED_INT_SAMPLER_1D_ARRAY, UT_UNSIGNED_INT_SAMPLER_2D_ARRAY = GL_UNSIGNED_INT_SAMPLER_2D_ARRAY, UT_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE = GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE,
  UT_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY, UT_UNSIGNED_INT_SAMPLER_BUFFER = GL_UNSIGNED_INT_SAMPLER_BUFFER, UT_UNSIGNED_INT_SAMPLER_2D_RECT = GL_UNSIGNED_INT_SAMPLER_2D_RECT, UT_UniformTypeCount
}
 Uniform types, see also vl::UniformInfo, vl::GLSLProgram, vl::Uniform, http://www.opengl.org/sdk/docs/man4/xhtml/glGetActiveUniform.xml. More...
 
enum  EAttributeType {
  AT_FLOAT = GL_FLOAT, AT_FLOAT_VEC2 = GL_FLOAT_VEC2, AT_FLOAT_VEC3 = GL_FLOAT_VEC3, AT_FLOAT_VEC4 = GL_FLOAT_VEC4,
  AT_FLOAT_MAT2 = GL_FLOAT_MAT2, AT_FLOAT_MAT3 = GL_FLOAT_MAT3, AT_FLOAT_MAT4 = GL_FLOAT_MAT4, AT_FLOAT_MAT2x3 = GL_FLOAT_MAT2x3,
  AT_FLOAT_MAT2x4 = GL_FLOAT_MAT2x4, AT_FLOAT_MAT3x2 = GL_FLOAT_MAT3x2, AT_FLOAT_MAT3x4 = GL_FLOAT_MAT3x4, AT_FLOAT_MAT4x2 = GL_FLOAT_MAT4x2,
  AT_FLOAT_MAT4x3 = GL_FLOAT_MAT4x3, AT_INT = GL_INT, AT_INT_VEC2 = GL_INT_VEC2, AT_INT_VEC3 = GL_INT_VEC3,
  AT_INT_VEC4 = GL_INT_VEC4, AT_UNSIGNED_INT = GL_UNSIGNED_INT, AT_UNSIGNED_INT_VEC2 = GL_UNSIGNED_INT_VEC2, AT_UNSIGNED_INT_VEC3 = GL_UNSIGNED_INT_VEC3,
  AT_UNSIGNED_INT_VEC4 = GL_UNSIGNED_INT_VEC4, AT_DOUBLE = GL_DOUBLE, AT_DOUBLE_VEC2 = GL_DOUBLE_VEC2, AT_DOUBLE_VEC3 = GL_DOUBLE_VEC3,
  AT_DOUBLE_VEC4 = GL_DOUBLE_VEC4, AT_DOUBLE_MAT2 = GL_DOUBLE_MAT2, AT_DOUBLE_MAT3 = GL_DOUBLE_MAT3, AT_DOUBLE_MAT4 = GL_DOUBLE_MAT4,
  AT_DOUBLE_MAT2x3 = GL_DOUBLE_MAT2x3, AT_DOUBLE_MAT2x4 = GL_DOUBLE_MAT2x4, AT_DOUBLE_MAT3x2 = GL_DOUBLE_MAT3x2, AT_DOUBLE_MAT3x4 = GL_DOUBLE_MAT3x4,
  AT_DOUBLE_MAT4x2 = GL_DOUBLE_MAT4x2, AT_DOUBLE_MAT4x3 = GL_DOUBLE_MAT4x3
}
 GLSLProgram attribute types, see also GLSLProgram::activeAttribs() and http://www.opengl.org/sdk/docs/man4/xhtml/glGetActiveAttrib.xml. More...
 
enum  EProjectionMatrixType { PMT_UserProjection, PMT_OrthographicProjection, PMT_PerspectiveProjection, PMT_PerspectiveProjectionFrustum }
 
enum  EBufferObjectUpdateFlags { BUF_ForceUpdate = 0x1, BUF_DiscardRamBuffer = 0x2 }
 
enum  EBufferObjectUpdateMode { BUM_KeepRamBuffer = 0x0, BUM_KeepRamBufferAndForceUpdate = BUF_ForceUpdate, BUM_DiscardRamBuffer = BUF_DiscardRamBuffer, BUM_DiscardRamBufferAndForceUpdate = BUF_DiscardRamBuffer | BUF_ForceUpdate }
 
enum  EShaderCopyMode { SCM_OwnShaders, SCM_ShareShaders }
 
enum  EResetContextStates { RCS_RenderingStarted, RCS_RenderingFinished }
 
enum  EOpenGLProfile { GLP_Default, GLP_Compatibility, GLP_Core }
 
enum  ESilhouetteMode { SilhouetteClosed, SilhouetteOpen, SilhouetteClosed, SilhouetteOpen }
 
enum  ESilhouetteMode { SilhouetteClosed, SilhouetteOpen, SilhouetteClosed, SilhouetteOpen }
 
enum  ECapsuleCap { CC_FlatCap, CC_RoundedCap, CC_NoCap }
 
enum  EBondType {
  BT_None, BT_Single, BT_Double, BT_Triple,
  BT_Aromatic, BT_Amide, BT_Dummy, BT_Unknown
}
 Bond types. More...
 
enum  EAtomType {
  AT_Hydrogen, AT_Helium, AT_Lithium, AT_Beryllium,
  AT_Boron, AT_Carbon, AT_Nitrogen, AT_Oxygen,
  AT_Fluorine, AT_Neon, AT_Sodium, AT_Magnesium,
  AT_Aluminium, AT_Silicon, AT_Phosphorus, AT_Sulfur,
  AT_Chlorine, AT_Argon, AT_Potassium, AT_Calcium,
  AT_Scandium, AT_Titanium, AT_Vanadium, AT_Chromium,
  AT_Manganese, AT_Iron, AT_Cobalt, AT_Nickel,
  AT_Copper, AT_Zinc, AT_Gallium, AT_Germanium,
  AT_Arsenic, AT_Selenium, AT_Bromine, AT_Krypton,
  AT_Rubidium, AT_Strontium, AT_Yttrium, AT_Zirconium,
  AT_Niobium, AT_Molybdenum, AT_Technetium, AT_Ruthenium,
  AT_Rhodium, AT_Palladium, AT_Silver, AT_Cadmium,
  AT_Indium, AT_Tin, AT_Antimony, AT_Tellurium,
  AT_Iodine, AT_Xenon, AT_Caesium, AT_Barium,
  AT_Lanthanum, AT_Cerium, AT_Praseodymium, AT_Neodymium,
  AT_Promethium, AT_Samarium, AT_Europium, AT_Gadolinium,
  AT_Terbium, AT_Dysprosium, AT_Holmium, AT_Erbium,
  AT_Thulium, AT_Ytterbium, AT_Lutetium, AT_Hafnium,
  AT_Tantalum, AT_Tungsten, AT_Rhenium, AT_Osmium,
  AT_Iridium, AT_Platinum, AT_Gold, AT_Mercury,
  AT_Thallium, AT_Lead, AT_Bismuth, AT_Polonium,
  AT_Astatine, AT_Radon, AT_Francium, AT_Radium,
  AT_Actinium, AT_Thorium, AT_Protactinium, AT_Uranium,
  AT_Neptunium, AT_Plutonium, AT_Americium, AT_Curium,
  AT_Berkelium, AT_Californium, AT_Einsteinium, AT_Fermium,
  AT_Mendelevium, AT_Nobelium, AT_Lawrencium, AT_Rutherfordium,
  AT_Dubnium, AT_Seaborgium, AT_Bohrium, AT_Hassium,
  AT_Meitnerium, AT_Darmstadtium, AT_Roentgenium, AT_Ununbium,
  AT_Ununtrium, AT_Ununquadium, AT_Ununpentium, AT_Ununhexium,
  AT_Ununseptium, AT_Ununoctium, AT_Unknown, AT_Count
}
 Element types. More...
 
enum  EMoleculeStyle { MS_AtomsOnly, MS_BallAndStick, MS_Sticks, MS_Wireframe }
 Defines the main molecule styles. More...
 
enum  ETextureMode { TextureMode_Clamp, TextureMode_Repeat }
 Defines how the texture is applied to the rendering primitive. More...
 
enum  EPolygonStipple {
  PolygonStipple_Solid, PolygonStipple_Dot, PolygonStipple_Chain, PolygonStipple_HLine,
  PolygonStipple_VLine
}
 Poligon stipple patterns. More...
 
enum  ELineStipple {
  LineStipple_Solid, LineStipple_Dot, LineStipple_Dash, LineStipple_Dash4,
  LineStipple_Dash8, LineStipple_DashDot, LineStipple_DashDotDot
}
 Line stipple patterns. More...
 

Functions

VLCORE_EXPORT void log_failed_check (const char *, const char *, int)
 
VLCORE_EXPORT void abort_vl ()
 
fvec4 makeColor (unsigned int color)
 
bool isValidColor (const fvec4 &color)
 
VLCORE_EXPORT FileSystemdefFileSystem ()
 Returns the default FileSystem used by VisualizationLibrary. More...
 
VLCORE_EXPORT void setDefFileSystem (FileSystem *fs)
 Sets the default FileSystem used by VisualizationLibrary. More...
 
template<typename T >
Flags< T > operator| (T flag1, T flag2)
 
template<typename T >
Flags< T > operator & (T flag1, T flag2)
 
VLCORE_EXPORT GlobalSettingsglobalSettings ()
 Returns VisulizationLibrary's global settings. More...
 
VLCORE_EXPORT void setGlobalSettings (GlobalSettings *)
 Sets VisulizationLibrary's global settings. More...
 
template<typename T >
asinh (T x)
 
template<typename T >
acosh (T x)
 
template<typename T >
atanh (T x)
 
template<typename T >
bool isnan (T value)
 
template<typename T >
bool isinf (T value)
 
template<typename T >
bool isinf_pos (T value)
 
template<typename T >
bool isinf_neg (T value)
 
template<typename T >
modf (T a, T &intpart)
 
template<typename T >
radians (T degrees)
 
template<typename T >
Vector2< T > radians (const Vector2< T > &degrees)
 
template<typename T >
Vector3< T > radians (const Vector3< T > &degrees)
 
template<typename T >
Vector4< T > radians (const Vector4< T > &degrees)
 
template<typename T >
degrees (T radians)
 
template<typename T >
Vector2< T > degrees (const Vector2< T > &radians)
 
template<typename T >
Vector3< T > degrees (const Vector3< T > &radians)
 
template<typename T >
Vector4< T > degrees (const Vector4< T > &radians)
 
template<typename T >
sin (T a)
 
template<typename T >
Vector2< T > sin (const Vector2< T > &angle)
 
template<typename T >
Vector3< T > sin (const Vector3< T > &angle)
 
template<typename T >
Vector4< T > sin (const Vector4< T > &angle)
 
template<typename T >
cos (T a)
 
template<typename T >
Vector2< T > cos (const Vector2< T > &angle)
 
template<typename T >
Vector3< T > cos (const Vector3< T > &angle)
 
template<typename T >
Vector4< T > cos (const Vector4< T > &angle)
 
template<typename T >
tan (T a)
 
template<typename T >
Vector2< T > tan (const Vector2< T > &angle)
 
template<typename T >
Vector3< T > tan (const Vector3< T > &angle)
 
template<typename T >
Vector4< T > tan (const Vector4< T > &angle)
 
template<typename T >
atan (T a)
 
template<typename T >
Vector2< T > atan (const Vector2< T > &a, const Vector2< T > &b)
 
template<typename T >
Vector3< T > atan (const Vector3< T > &a, const Vector3< T > &b)
 
template<typename T >
Vector4< T > atan (const Vector4< T > &a, const Vector4< T > &b)
 
template<typename T >
asin (T a)
 
template<typename T >
Vector2< T > asin (const Vector2< T > &angle)
 
template<typename T >
Vector3< T > asin (const Vector3< T > &angle)
 
template<typename T >
Vector4< T > asin (const Vector4< T > &angle)
 
template<typename T >
acos (T a)
 
template<typename T >
Vector2< T > acos (const Vector2< T > &angle)
 
template<typename T >
Vector3< T > acos (const Vector3< T > &angle)
 
template<typename T >
Vector4< T > acos (const Vector4< T > &angle)
 
template<typename T >
sinh (T a)
 
template<typename T >
Vector2< T > sinh (const Vector2< T > &a)
 
template<typename T >
Vector3< T > sinh (const Vector3< T > &a)
 
template<typename T >
Vector4< T > sinh (const Vector4< T > &a)
 
template<typename T >
cosh (T a)
 
template<typename T >
Vector2< T > cosh (const Vector2< T > &a)
 
template<typename T >
Vector3< T > cosh (const Vector3< T > &a)
 
template<typename T >
Vector4< T > cosh (const Vector4< T > &a)
 
template<typename T >
tanh (T a)
 
template<typename T >
Vector2< T > tanh (const Vector2< T > &a)
 
template<typename T >
Vector3< T > tanh (const Vector3< T > &a)
 
template<typename T >
Vector4< T > tanh (const Vector4< T > &a)
 
template<typename T >
Vector2< T > asinh (const Vector2< T > &a)
 
template<typename T >
Vector3< T > asinh (const Vector3< T > &a)
 
template<typename T >
Vector4< T > asinh (const Vector4< T > &a)
 
template<typename T >
Vector2< T > acosh (const Vector2< T > &a)
 
template<typename T >
Vector3< T > acosh (const Vector3< T > &a)
 
template<typename T >
Vector4< T > acosh (const Vector4< T > &a)
 
template<typename T >
Vector2< T > atanh (const Vector2< T > &a)
 
template<typename T >
Vector3< T > atanh (const Vector3< T > &a)
 
template<typename T >
Vector4< T > atanh (const Vector4< T > &a)
 
template<typename T >
pow (T a, T b)
 
template<typename T >
Vector2< T > pow (const Vector2< T > &a, const Vector2< T > &b)
 
template<typename T >
Vector3< T > pow (const Vector3< T > &a, const Vector3< T > &b)
 
template<typename T >
Vector4< T > pow (const Vector4< T > &a, const Vector4< T > &b)
 
template<typename T >
exp (T a)
 
template<typename T >
Vector2< T > exp (const Vector2< T > &a)
 
template<typename T >
Vector3< T > exp (const Vector3< T > &a)
 
template<typename T >
Vector4< T > exp (const Vector4< T > &a)
 
template<typename T >
log (T a)
 
template<typename T >
Vector2< T > log (const Vector2< T > &a)
 
template<typename T >
Vector3< T > log (const Vector3< T > &a)
 
template<typename T >
Vector4< T > log (const Vector4< T > &a)
 
template<typename T >
exp2 (T a)
 
template<typename T >
Vector2< T > exp2 (const Vector2< T > &a)
 
template<typename T >
Vector3< T > exp2 (const Vector3< T > &a)
 
template<typename T >
Vector4< T > exp2 (const Vector4< T > &a)
 
template<typename T >
log2 (T a)
 
template<typename T >
Vector2< T > log2 (const Vector2< T > &a)
 
template<typename T >
Vector3< T > log2 (const Vector3< T > &a)
 
template<typename T >
Vector4< T > log2 (const Vector4< T > &a)
 
template<typename T >
log10 (T a)
 
template<typename T >
Vector2< T > log10 (const Vector2< T > &a)
 
template<typename T >
Vector3< T > log10 (const Vector3< T > &a)
 
template<typename T >
Vector4< T > log10 (const Vector4< T > &a)
 
template<typename T >
sqrt (T a)
 
template<typename T >
Vector2< T > sqrt (const Vector2< T > &a)
 
template<typename T >
Vector3< T > sqrt (const Vector3< T > &a)
 
template<typename T >
Vector4< T > sqrt (const Vector4< T > &a)
 
template<typename T >
inversesqrt (T a)
 
template<typename T >
Vector2< T > inversesqrt (const Vector2< T > &a)
 
template<typename T >
Vector3< T > inversesqrt (const Vector3< T > &a)
 
template<typename T >
Vector4< T > inversesqrt (const Vector4< T > &a)
 
template<typename T >
abs (T a)
 
template<typename T >
Vector2< T > abs (const Vector2< T > &a)
 
template<typename T >
Vector3< T > abs (const Vector3< T > &a)
 
template<typename T >
Vector4< T > abs (const Vector4< T > &a)
 
template<typename T >
sign (T a)
 
template<typename T >
Vector2< T > sign (const Vector2< T > &a)
 
template<typename T >
Vector3< T > sign (const Vector3< T > &a)
 
template<typename T >
Vector4< T > sign (const Vector4< T > &a)
 
template<typename T >
floor (T a)
 
template<typename T >
Vector2< T > floor (const Vector2< T > &a)
 
template<typename T >
Vector3< T > floor (const Vector3< T > &a)
 
template<typename T >
Vector4< T > floor (const Vector4< T > &a)
 
template<typename T >
fract (T a)
 
template<typename T >
Vector2< T > fract (const Vector2< T > &a)
 
template<typename T >
Vector3< T > fract (const Vector3< T > &a)
 
template<typename T >
Vector4< T > fract (const Vector4< T > &a)
 
template<typename T >
trunc (T a)
 
template<typename T >
Vector2< T > trunc (const Vector2< T > &a)
 
template<typename T >
Vector3< T > trunc (const Vector3< T > &a)
 
template<typename T >
Vector4< T > trunc (const Vector4< T > &a)
 
template<typename T >
round (T x)
 
template<typename T >
Vector2< T > round (const Vector2< T > &a)
 
template<typename T >
Vector3< T > round (const Vector3< T > &a)
 
template<typename T >
Vector4< T > round (const Vector4< T > &a)
 
float modf (float a, float &intpart)
 
double modf (double a, double &intpart)
 
template<typename T >
Vector2< T > modf (const Vector2< T > &a, Vector2< T > &intpart)
 
template<typename T >
Vector3< T > modf (const Vector3< T > &a, Vector3< T > &intpart)
 
template<typename T >
Vector4< T > modf (const Vector4< T > &a, Vector4< T > &intpart)
 
float roundEven (float a, float epsilon)
 
double roundEven (double a, double epsilon)
 
template<typename T >
Vector2< T > roundEven (const Vector2< T > &a, T epsilon=0.00001)
 
template<typename T >
Vector3< T > roundEven (const Vector3< T > &a, T epsilon=0.00001)
 
template<typename T >
Vector4< T > roundEven (const Vector4< T > &a, T epsilon=0.00001)
 
template<typename T >
ceil (T a)
 
template<typename T >
Vector2< T > ceil (const Vector2< T > &a)
 
template<typename T >
Vector3< T > ceil (const Vector3< T > &a)
 
template<typename T >
Vector4< T > ceil (const Vector4< T > &a)
 
template<typename T >
mod (T a, T b)
 
template<typename T >
Vector2< T > mod (const Vector2< T > &a, T b)
 
template<typename T >
Vector3< T > mod (const Vector3< T > &a, T b)
 
template<typename T >
Vector4< T > mod (const Vector4< T > &a, T b)
 
template<typename T >
Vector2< T > mod (const Vector2< T > &a, const Vector2< T > &b)
 
template<typename T >
Vector3< T > mod (const Vector3< T > &a, const Vector3< T > &b)
 
template<typename T >
Vector4< T > mod (const Vector4< T > &a, const Vector4< T > &b)
 
template<typename T >
mix (T a, T b, T t)
 
template<typename T >
Vector2< T > mix (const Vector2< T > &a, const Vector2< T > &b, T t)
 
template<typename T >
Vector3< T > mix (const Vector3< T > &a, const Vector3< T > &b, T t)
 
template<typename T >
Vector4< T > mix (const Vector4< T > &a, const Vector4< T > &b, T t)
 
template<typename T >
Vector2< T > mix (const Vector2< T > &a, const Vector2< T > &b, const Vector2< T > &t)
 
template<typename T >
Vector3< T > mix (const Vector3< T > &a, const Vector3< T > &b, const Vector3< T > &t)
 
template<typename T >
Vector4< T > mix (const Vector4< T > &a, const Vector4< T > &b, const Vector4< T > &t)
 
template<typename T >
step (T edge, T a)
 
template<typename T >
Vector2< T > step (const Vector2< T > &edge, const Vector2< T > &a)
 
template<typename T >
Vector3< T > step (const Vector3< T > &edge, const Vector3< T > &a)
 
template<typename T >
Vector4< T > step (const Vector4< T > &edge, const Vector4< T > &a)
 
template<typename T >
smoothstep (T edge0, T edge1, T a)
 
template<typename T >
Vector2< T > smoothstep (const Vector2< T > &edge0, const Vector2< T > &edge1, const Vector2< T > &a)
 
template<typename T >
Vector3< T > smoothstep (const Vector3< T > &edge0, const Vector3< T > &edge1, const Vector3< T > &a)
 
template<typename T >
Vector4< T > smoothstep (const Vector4< T > &edge0, const Vector4< T > &edge1, const Vector4< T > &a)
 
template<typename T >
ivec2 isnan (const Vector2< T > &a)
 
template<typename T >
ivec3 isnan (const Vector3< T > &a)
 
template<typename T >
ivec4 isnan (const Vector4< T > &a)
 
template<typename T >
ivec2 isinf (const Vector2< T > &a)
 
template<typename T >
ivec3 isinf (const Vector3< T > &a)
 
template<typename T >
ivec4 isinf (const Vector4< T > &a)
 
template<typename T >
length (T v)
 
template<typename T >
length (const Vector2< T > &v)
 
template<typename T >
length (const Vector3< T > &v)
 
template<typename T >
length (const Vector4< T > &v)
 
template<typename T >
distance (T p0, T p1)
 
template<typename T >
distance (const Vector2< T > &p0, const Vector2< T > &p1)
 
template<typename T >
distance (const Vector3< T > &p0, const Vector3< T > &p1)
 
template<typename T >
distance (const Vector4< T > &p0, const Vector4< T > &p1)
 
float dot (float a, float b)
 
double dot (double a, double b)
 
real dot (int a, int b)
 
real dot (unsigned int a, unsigned int b)
 
template<typename T >
normalize (T)
 
template<typename T >
Vector2< T > normalize (const Vector2< T > &v)
 
template<typename T >
Vector3< T > normalize (const Vector3< T > &v)
 
template<typename T >
Vector4< T > normalize (const Vector4< T > &v)
 
template<typename T >
faceforward (T N, T I, T Nref)
 
template<typename T >
Vector2< T > faceforward (const Vector2< T > &N, const Vector2< T > &I, const Vector2< T > &Nref)
 
template<typename T >
Vector3< T > faceforward (const Vector3< T > &N, const Vector3< T > &I, const Vector3< T > &Nref)
 
template<typename T >
Vector4< T > faceforward (const Vector4< T > &N, const Vector4< T > &I, const Vector4< T > &Nref)
 
template<typename T >
reflect (T I, T N)
 
template<typename T >
Vector2< T > reflect (const Vector2< T > &I, const Vector2< T > &N)
 
template<typename T >
Vector3< T > reflect (const Vector3< T > &I, const Vector3< T > &N)
 
template<typename T >
Vector4< T > reflect (const Vector4< T > &I, const Vector4< T > &N)
 
template<typename T >
refract (T I, T N, T eta)
 
template<typename T >
Vector2< T > refract (const Vector2< T > &I, const Vector2< T > &N, T eta)
 
template<typename T >
Vector3< T > refract (const Vector3< T > &I, const Vector3< T > &N, T eta)
 
template<typename T >
Vector4< T > refract (const Vector4< T > &I, const Vector4< T > &N, T eta)
 
template<typename T >
Matrix2< T > matrixCompMult (const Matrix2< T > &a, const Matrix2< T > &b)
 
template<typename T >
Matrix3< T > matrixCompMult (const Matrix3< T > &a, const Matrix3< T > &b)
 
template<typename T >
Matrix4< T > matrixCompMult (const Matrix4< T > &a, const Matrix4< T > &b)
 
template<typename T >
Matrix2< T > outerProduct (const Vector2< T > &a, const Vector2< T > &b)
 
template<typename T >
Matrix3< T > outerProduct (const Vector3< T > &a, const Vector3< T > &b)
 
template<typename T >
Matrix4< T > outerProduct (const Vector4< T > &a, const Vector4< T > &b)
 
template<typename T >
Matrix2< T > transpose (const Matrix2< T > &a)
 
template<typename T >
Matrix3< T > transpose (const Matrix3< T > &a)
 
template<typename T >
Matrix4< T > transpose (const Matrix4< T > &a)
 
template<typename T >
ivec4 lessThan (const Vector4< T > &a, const Vector4< T > &b)
 
template<typename T >
ivec3 lessThan (const Vector3< T > &a, const Vector3< T > &b)
 
template<typename T >
ivec2 lessThan (const Vector2< T > &a, const Vector2< T > &b)
 
template<typename T >
ivec4 lessThanEqual (const Vector4< T > &a, const Vector4< T > &b)
 
template<typename T >
ivec3 lessThanEqual (const Vector3< T > &a, const Vector3< T > &b)
 
template<typename T >
ivec2 lessThanEqual (const Vector2< T > &a, const Vector2< T > &b)
 
template<typename T >
ivec4 greaterThan (const Vector4< T > &a, const Vector4< T > &b)
 
template<typename T >
ivec3 greaterThan (const Vector3< T > &a, const Vector3< T > &b)
 
template<typename T >
ivec2 greaterThan (const Vector2< T > &a, const Vector2< T > &b)
 
template<typename T >
ivec4 greaterThanEqual (const Vector4< T > &a, const Vector4< T > &b)
 
template<typename T >
ivec3 greaterThanEqual (const Vector3< T > &a, const Vector3< T > &b)
 
template<typename T >
ivec2 greaterThanEqual (const Vector2< T > &a, const Vector2< T > &b)
 
template<typename T >
ivec4 equal (const Vector4< T > &a, const Vector4< T > &b)
 
template<typename T >
ivec3 equal (const Vector3< T > &a, const Vector3< T > &b)
 
template<typename T >
ivec2 equal (const Vector2< T > &a, const Vector2< T > &b)
 
template<typename T >
ivec4 notEqual (const Vector4< T > &a, const Vector4< T > &b)
 
template<typename T >
ivec3 notEqual (const Vector3< T > &a, const Vector3< T > &b)
 
template<typename T >
ivec2 notEqual (const Vector2< T > &a, const Vector2< T > &b)
 
bool any (const ivec2 &a)
 
bool any (const ivec3 &a)
 
bool any (const ivec4 &a)
 
bool all (const ivec2 &a)
 
bool all (const ivec3 &a)
 
bool all (const ivec4 &a)
 
float operator/ (float a, const half &b)
 
float operator/ (double a, const half &b)
 
float operator/ (int a, const half &b)
 
float operator* (float a, const half &b)
 
float operator* (double a, const half &b)
 
float operator* (int a, const half &b)
 
float operator+ (float a, const half &b)
 
float operator+ (double a, const half &b)
 
float operator+ (int a, const half &b)
 
float operator- (float a, const half &b)
 
float operator- (double a, const half &b)
 
float operator- (int a, const half &b)
 
float operator/ (const half &a, float b)
 
float operator/ (const half &a, double b)
 
float operator/ (const half &a, int b)
 
float operator* (const half &a, float b)
 
float operator* (const half &a, double b)
 
float operator* (const half &a, int b)
 
float operator+ (const half &a, float b)
 
float operator+ (const half &a, double b)
 
float operator+ (const half &a, int b)
 
float operator- (const half &a, float b)
 
float operator- (const half &a, double b)
 
float operator- (const half &a, int b)
 
ref< ImagecreateCubemap (const Image *xp, const Image *xn, const Image *yp, const Image *yn, const Image *zp, const Image *zn)
 Assembles a cubemap image. More...
 
VLCORE_EXPORT ref< ImageloadCubemap (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. More...
 
VLCORE_EXPORT ref< ImageloadRAW (VirtualFile *file, long long file_offset, int width, int height, int depth, int bytealign, EImageFormat format, EImageType type)
 Loads a raw image file. More...
 
VLCORE_EXPORT ref< ImageloadImage (VirtualFile *file)
 Loads an image from the specified file. More...
 
VLCORE_EXPORT ref< ImageloadImage (const String &path)
 Loads an image from the specified path. More...
 
VLCORE_EXPORT bool 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. More...
 
VLCORE_EXPORT ref< Imageassemble3DImage (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(). More...
 
VLCORE_EXPORT bool saveImage (Image *img, VirtualFile *file)
 Writes an image on the specified file. More...
 
VLCORE_EXPORT bool saveImage (Image *img, const String &path)
 Writes an image on the specified path. More...
 
VLCORE_EXPORT ref< ImagemakeNonUniformColorSpectrum (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. More...
 
VLCORE_EXPORT ref< ImagemakeNonUniformColorSpectrum (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. More...
 
VLCORE_EXPORT ref< ImagemakeColorSpectrum (size_t width, const std::vector< fvec4 > &colors)
 Creates a 1D Image whose color is interpolated from left to right from the specified spectrum. More...
 
VLCORE_EXPORT ref< ImagemakeColorSpectrum (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. More...
 
VLCORE_EXPORT ref< ImagemakeColorSpectrum (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. More...
 
VLCORE_EXPORT ref< ImagemakeColorSpectrum (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. More...
 
VLCORE_EXPORT ref< ImagemakeColorSpectrum (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. More...
 
VLCORE_EXPORT ref< ImagemakeColorSpectrum (size_t width, const fvec4 &c0, const fvec4 &c1, const fvec4 &c2, const fvec4 &c3, const fvec4 &c4, const fvec4 &c5)
 Creates a 1D Image whose color is interpolated from left to right from the specified spectrum. More...
 
void convertRGBToRGBA (void *buf, int w, int h, unsigned char alpha, int bytealign=1)
 
void convertGrayscaleToRGBA (void *buf, int size, unsigned char alpha)
 
void convertA1R5G5B5ToRGBA (void *buf, int size, unsigned char alpha)
 
void convert8ToRGBA (const TPalette3x256 &palette, void *buf, int w, int h, unsigned char alpha, int bytealign=1)
 
void convert8ToRGBA (const TPalette4x256 &palette, void *buf, int w, int h, int bytealign=1)
 
void swapBytes32 (void *buf, int size)
 
void swapBytes32_BGRA_RGBA (void *buf, int bytecount)
 
void swapBytes24_BGR_RGB (void *buf, int bytecount)
 
void fillRGBA32_Alpha (void *buf, int bytecount, unsigned char alpha)
 
void fillGray8Alpha8_Alpha (void *buf, int bytecount, unsigned char alpha)
 
VLCORE_EXPORT LoadWriterManagerdefLoadWriterManager ()
 Returs the default LoadWriterManager used by Visualization Library. More...
 
VLCORE_EXPORT void setDefLoadWriterManager (LoadWriterManager *lwm)
 Sets the default LoadWriterManager used by Visualization Library. More...
 
void registerLoadWriter (ResourceLoadWriter *rlw)
 Utility function, equivalent to defLoadWriterManager()->registerLoadWriter(rlw). More...
 
VLCORE_EXPORT void setDefLogger (Log *logger)
 Installs the default logger used by Visualization Library. Setting this to NULL will disable logging. More...
 
VLCORE_EXPORT LogdefLogger ()
 Returns the currently installed default logger. More...
 
VLCORE_EXPORT real random (real min, real max)
 Returns a random number N between 'min' and 'max' (included) with 53 bits of randomness generated using MersenneTwister->rand53(). More...
 
VLCORE_EXPORT u32 randomU32 (u32 min, u32 max)
 Returns a random number N between 'min' and 'max' (included) generated using MersenneTwister->randInt(). More...
 
VLCORE_EXPORT i32 randomI32 (i32 min, i32 max)
 Returns a random number N between 'min' and 'max' (included) generated using MersenneTwister->randInt(). More...
 
VLCORE_EXPORT int greaterEqualPow2 (int n)
 Returns a number N that is a power of 2 and that is equal to or greater than 'n'. More...
 
VLCORE_EXPORT int smallerEqualPow2 (int n)
 Returns a number N that is a power of 2 and that is equal to or smaller than 'n'. More...
 
VLCORE_EXPORT void extractPlanes (Plane *planes, const mat4 &modelviewproj)
 Extracts the 6 frustum planes for the given model-view-projection matrix. More...
 
template<typename T_Scalar >
Matrix2< T_Scalar > operator* (const Matrix2< T_Scalar > &p, const Matrix2< T_Scalar > &q)
 
template<typename T_Scalar >
Matrix2< T_Scalar > operator+ (T_Scalar d, const Matrix2< T_Scalar > &m)
 
template<typename T_Scalar >
Matrix2< T_Scalar > operator* (T_Scalar d, const Matrix2< T_Scalar > &m)
 
template<typename T_Scalar >
Vector2< T_Scalar > operator* (const Matrix2< T_Scalar > &m, const Vector2< T_Scalar > &v)
 
template<typename T_Scalar >
Vector2< T_Scalar > operator* (const Vector2< T_Scalar > &v, const Matrix2< T_Scalar > &m)
 
template<typename T_Scalar >
Matrix3< T_Scalar > operator* (const Matrix3< T_Scalar > &p, const Matrix3< T_Scalar > &q)
 
template<typename T_Scalar >
Matrix3< T_Scalar > operator+ (T_Scalar d, const Matrix3< T_Scalar > &m)
 
template<typename T_Scalar >
Matrix3< T_Scalar > operator* (T_Scalar d, const Matrix3< T_Scalar > &m)
 
template<typename T_Scalar >
Vector3< T_Scalar > operator* (const Matrix3< T_Scalar > &m, const Vector3< T_Scalar > &v)
 Post multiplication: matrix * column vector. More...
 
template<typename T_Scalar >
Vector2< T_Scalar > operator* (const Matrix3< T_Scalar > &m, const Vector2< T_Scalar > &v)
 Post multiplication: matrix * column vector The incoming vector is considered a Vector3<T_Scalar> with the component z = 0. More...
 
template<typename T_Scalar >
Vector3< T_Scalar > operator* (const Vector3< T_Scalar > &v, const Matrix3< T_Scalar > &m)
 pre-multiplication: row vector * matrix More...
 
template<typename T_Scalar >
Vector2< T_Scalar > operator* (const Vector2< T_Scalar > &v, const Matrix3< T_Scalar > &m)
 pre-multiplication: row vector * matrix The incoming vector is considered a Vector3<T_Scalar> with the component z = 0 More...
 
template<typename T_Scalar >
Matrix4< T_Scalar > operator* (const Matrix4< T_Scalar > &p, const Matrix4< T_Scalar > &q)
 
template<typename T_Scalar >
Matrix4< T_Scalar > operator+ (T_Scalar d, const Matrix4< T_Scalar > &m)
 
template<typename T_Scalar >
Matrix4< T_Scalar > operator* (T_Scalar d, const Matrix4< T_Scalar > &m)
 
template<typename T_Scalar >
Vector4< T_Scalar > operator* (const Matrix4< T_Scalar > &m, const Vector4< T_Scalar > &v)
 Post multiplication: matrix * column vector. More...
 
template<typename T_Scalar >
Vector3< T_Scalar > operator* (const Matrix4< T_Scalar > &m, const Vector3< T_Scalar > &v)
 Post multiplication: matrix * column vector The incoming vector is considered a Vector4<T_Scalar> with the component w = 1. More...
 
template<typename T_Scalar >
Vector2< T_Scalar > operator* (const Matrix4< T_Scalar > &m, const Vector2< T_Scalar > &v)
 Post multiplication: matrix * column vector The incoming vector is considered a Vector4<T_Scalar> with components: z = 0 and w = 1. More...
 
template<typename T_Scalar >
Vector4< T_Scalar > operator* (const Vector4< T_Scalar > &v, const Matrix4< T_Scalar > &m)
 pre-multiplication: row vector * matrix More...
 
template<typename T_Scalar >
Vector3< T_Scalar > operator* (const Vector3< T_Scalar > &v, const Matrix4< T_Scalar > &m)
 pre-multiplication: row vector * matrix The incoming vector is considered a Vector4<T_Scalar> with the component w = 1 More...
 
template<typename T_Scalar >
Vector2< T_Scalar > operator* (const Vector2< T_Scalar > &v, const Matrix4< T_Scalar > &m)
 pre-multiplication: row vector * matrix The incoming vector is considered a Vector4<T_Scalar> with components: z = 0 and w = 1 More...
 
VLCORE_EXPORT MersenneTwisterdefMersenneTwister ()
 
VLCORE_EXPORT void setDefMersenneTwister (MersenneTwister *)
 
std::ostream & operator<< (std::ostream &os, const MersenneTwister &mtrand)
 
std::istream & operator>> (std::istream &is, MersenneTwister &mtrand)
 
VLCORE_EXPORT void MurmurHash3_x86_32 (const void *key, int len, u32 seed, void *out)
 
VLCORE_EXPORT void MurmurHash3_x86_128 (const void *key, int len, u32 seed, void *out)
 
VLCORE_EXPORT void MurmurHash3_x64_128 (const void *key, int len, u32 seed, void *out)
 
template<class T1 , class T2 >
bool operator== (const ref< T1 > &o1, const ref< T2 > &o2)
 
template<class T1 , class T2 >
bool operator!= (const ref< T1 > &o1, const ref< T2 > &o2)
 
template<class T1 , class T2 >
bool operator== (const ref< T1 > &o1, T2 *o2)
 
template<class T1 , class T2 >
bool operator!= (const ref< T1 > &o1, T2 *o2)
 
template<class T1 , class T2 >
bool operator== (T1 *o1, const ref< T2 > &o2)
 
template<class T1 , class T2 >
bool operator!= (T1 *o1, const ref< T2 > &o2)
 
VLCORE_EXPORT ref< ImageloadBMP (VirtualFile *file)
 
VLCORE_EXPORT ref< ImageloadBMP (const String &path)
 Loads a BMP file. More...
 
VLCORE_EXPORT bool isBMP (VirtualFile *file)
 
VLCORE_EXPORT ref< ImageloadDAT (VirtualFile *file)
 
VLCORE_EXPORT ref< ImageloadDAT (const String &path)
 
VLCORE_EXPORT bool isDAT (VirtualFile *file)
 
VLCORE_EXPORT ref< ImageloadDDS (VirtualFile *file)
 
VLCORE_EXPORT ref< ImageloadDDS (const String &path)
 Loads a DDS file. More...
 
VLCORE_EXPORT bool isDDS (VirtualFile *file)
 
VLCORE_EXPORT ref< ImageloadDICOM (VirtualFile *file)
 Loads a DICOM file. More...
 
VLCORE_EXPORT ref< ImageloadDICOM (const String &path)
 Loads a DICOM file. More...
 
VLCORE_EXPORT bool saveDICOM (const Image *src, const String &path)
 Writes a DICOM file. More...
 
VLCORE_EXPORT bool saveDICOM (const Image *src, VirtualFile *file)
 Writes a DICOM file. More...
 
VLCORE_EXPORT bool isDICOM (VirtualFile *file)
 Checks if the given file is a DICOM file. More...
 
VLCORE_EXPORT ref< ImageloadJPG (VirtualFile *file)
 
VLCORE_EXPORT ref< ImageloadJPG (const String &path)
 
VLCORE_EXPORT bool isJPG (VirtualFile *file)
 
VLCORE_EXPORT bool saveJPG (const Image *src, const String &path, int quality=95)
 
VLCORE_EXPORT bool saveJPG (const Image *src, VirtualFile *file, int quality=95)
 
VLCORE_EXPORT ref< ImageloadMHD (VirtualFile *file)
 
VLCORE_EXPORT ref< ImageloadMHD (const String &path)
 
VLCORE_EXPORT bool isMHD (VirtualFile *file)
 
VLCORE_EXPORT ref< ImageloadPNG (VirtualFile *file)
 
VLCORE_EXPORT ref< ImageloadPNG (const String &path)
 
VLCORE_EXPORT bool isPNG (VirtualFile *file)
 
VLCORE_EXPORT bool savePNG (const Image *src, const String &path, int compression=6)
 
VLCORE_EXPORT bool savePNG (const Image *src, VirtualFile *file, int compression=6)
 
VLCORE_EXPORT ref< ImageloadTGA (VirtualFile *file)
 
VLCORE_EXPORT ref< ImageloadTGA (const String &path)
 Loads a TGA file. More...
 
VLCORE_EXPORT bool isTGA (VirtualFile *file)
 A TGA file is accepted only if it has a 'TGA' extension. More...
 
VLCORE_EXPORT bool saveTGA (const Image *src, const String &path)
 
VLCORE_EXPORT bool saveTGA (const Image *src, VirtualFile *file)
 
VLCORE_EXPORT ref< ImageloadTIFF (VirtualFile *file)
 
VLCORE_EXPORT ref< ImageloadTIFF (const String &path)
 
VLCORE_EXPORT bool isTIFF (VirtualFile *file)
 
VLCORE_EXPORT bool saveTIFF (const Image *src, const String &path)
 
VLCORE_EXPORT bool saveTIFF (const Image *src, VirtualFile *file)
 
template<typename T_Scalar >
Quaternion< T_Scalar > operator* (T_Scalar r, const Quaternion< T_Scalar > &q)
 
template<typename T_Scalar >
Quaternion< T_Scalar > operator* (const Quaternion< T_Scalar > &q1, const Quaternion< T_Scalar > &q2)
 
template<typename T_Scalar >
Vector3< T_Scalar > operator* (const Quaternion< T_Scalar > &q, const Vector3< T_Scalar > &v)
 
template<typename T_Scalar >
Vector4< T_Scalar > operator* (const Quaternion< T_Scalar > &q, const Vector4< T_Scalar > &v)
 
VLCORE_EXPORT bool canLoad (const String &path)
 Short version of defLoadWriterManager()->canLoad(path). More...
 
VLCORE_EXPORT bool canWrite (const String &path)
 Short version of defLoadWriterManager()->canWrite(path). More...
 
VLCORE_EXPORT bool canLoad (VirtualFile *file)
 Short version of defLoadWriterManager()->canLoad(file). More...
 
VLCORE_EXPORT bool canWrite (VirtualFile *file)
 Short version of defLoadWriterManager()->canWrite(file). More...
 
VLCORE_EXPORT ref< ResourceDatabaseloadResource (const String &path, bool quick=true)
 Short version of defLoadWriterManager()->loadResource(path, quick). More...
 
VLCORE_EXPORT ref< ResourceDatabaseloadResource (VirtualFile *file, bool quick=true)
 Short version of defLoadWriterManager()->loadResource(file, quick). More...
 
VLCORE_EXPORT bool writeResource (const String &path, ResourceDatabase *resource)
 Short version of defLoadWriterManager()->writeResource(path, resource). More...
 
VLCORE_EXPORT bool writeResource (VirtualFile *file, ResourceDatabase *resource)
 Short version of defLoadWriterManager()->writeResource(file, resource). More...
 
template<typename T >
void swapBytes (T &value)
 Swaps the byte order of the given object. More...
 
 VL_COMPILE_TIME_CHECK (sizeof(i8) *8==8)
 
 VL_COMPILE_TIME_CHECK (sizeof(u8) *8==8)
 
 VL_COMPILE_TIME_CHECK (sizeof(i16) *8==16)
 
 VL_COMPILE_TIME_CHECK (sizeof(u16) *8==16)
 
 VL_COMPILE_TIME_CHECK (sizeof(i32) *8==32)
 
 VL_COMPILE_TIME_CHECK (sizeof(u32) *8==32)
 
 VL_COMPILE_TIME_CHECK (sizeof(i64) *8==64)
 
 VL_COMPILE_TIME_CHECK (sizeof(u64) *8==64)
 
 VL_COMPILE_TIME_CHECK (sizeof(f32) *8==32)
 
 VL_COMPILE_TIME_CHECK (sizeof(f64) *8==64)
 
String operator+ (const wchar_t *pstr, const String &str)
 
String operator+ (const char *pstr, const String &str)
 
String operator+ (wchar_t ch, const String &str)
 
String operator+ (char ch, const String &str)
 
void initStartTime ()
 
template<class B , class A >
B * cast (A *obj)
 
template<class B , class A >
const B * cast_const (const A *obj)
 
float fast1_inversesqrt (float x)
 
float fast2_inversesqrt (float x)
 
float fast_sqrt (float x)
 
template<typename T >
const Vector2< T > operator* (T val, const Vector2< T > &v)
 
float dot (const fvec2 &v1, const fvec2 &v2)
 
double dot (const dvec2 &v1, const dvec2 &v2)
 
float dot (const ivec2 &v1, const ivec2 &v2)
 
float dot (const uvec2 &v1, const uvec2 &v2)
 
float min (float a, float b)
 
double min (double a, double b)
 
int min (int a, int b)
 
unsigned int min (unsigned int a, unsigned int b)
 
float max (float a, float b)
 
double max (double a, double b)
 
int max (int a, int b)
 
unsigned int max (unsigned int a, unsigned int b)
 
float clamp (float x, float minval, float maxval)
 
double clamp (double x, double minval, double maxval)
 
int clamp (int x, int minval, int maxval)
 
unsigned int clamp (unsigned int x, unsigned int minval, unsigned int maxval)
 
fvec2 min (const fvec2 &a, const fvec2 &b)
 
fvec2 min (const fvec2 &a, float b)
 
dvec2 min (const dvec2 &a, const dvec2 &b)
 
dvec2 min (const dvec2 &a, double b)
 
ivec2 min (const ivec2 &a, const ivec2 &b)
 
ivec2 min (const ivec2 &a, int b)
 
uvec2 min (const uvec2 &a, const uvec2 &b)
 
uvec2 min (const uvec2 &a, unsigned int b)
 
fvec2 max (const fvec2 &a, const fvec2 &b)
 
fvec2 max (const fvec2 &a, float b)
 
dvec2 max (const dvec2 &a, const dvec2 &b)
 
dvec2 max (const dvec2 &a, double b)
 
ivec2 max (const ivec2 &a, const ivec2 &b)
 
ivec2 max (const ivec2 &a, int b)
 
uvec2 max (const uvec2 &a, const uvec2 &b)
 
uvec2 max (const uvec2 &a, unsigned int b)
 
fvec2 clamp (const fvec2 &x, float minval, float maxval)
 
fvec2 clamp (const fvec2 &x, const fvec2 &minval, const fvec2 &maxval)
 
dvec2 clamp (const dvec2 &x, double minval, double maxval)
 
dvec2 clamp (const dvec2 &x, const dvec2 &minval, const dvec2 &maxval)
 
ivec2 clamp (const ivec2 &x, int minval, int maxval)
 
ivec2 clamp (const ivec2 &x, const ivec2 &minval, const ivec2 &maxval)
 
uvec2 clamp (const uvec2 &x, unsigned int minval, unsigned int maxval)
 
uvec2 clamp (const uvec2 &x, const uvec2 &minval, const uvec2 &maxval)
 
template<typename T >
const Vector3< T > operator* (T val, const Vector3< T > &v)
 
float dot (const fvec3 &v1, const fvec3 &v2)
 
double dot (const dvec3 &v1, const dvec3 &v2)
 
float dot (const ivec3 &v1, const ivec3 &v2)
 
float dot (const uvec3 &v1, const uvec3 &v2)
 
fvec3 cross (const fvec3 &v1, const fvec3 &v2)
 
dvec3 cross (const dvec3 &v1, const dvec3 &v2)
 
fvec3 min (const fvec3 &a, const fvec3 &b)
 
fvec3 min (const fvec3 &a, float b)
 
dvec3 min (const dvec3 &a, const dvec3 &b)
 
dvec3 min (const dvec3 &a, double b)
 
ivec3 min (const ivec3 &a, const ivec3 &b)
 
ivec3 min (const ivec3 &a, int b)
 
uvec3 min (const uvec3 &a, const uvec3 &b)
 
uvec3 min (const uvec3 &a, unsigned int b)
 
fvec3 max (const fvec3 &a, const fvec3 &b)
 
fvec3 max (const fvec3 &a, float b)
 
dvec3 max (const dvec3 &a, const dvec3 &b)
 
dvec3 max (const dvec3 &a, double b)
 
ivec3 max (const ivec3 &a, const ivec3 &b)
 
ivec3 max (const ivec3 &a, int b)
 
uvec3 max (const uvec3 &a, const uvec3 &b)
 
uvec3 max (const uvec3 &a, unsigned int b)
 
fvec3 clamp (const fvec3 &x, float minval, float maxval)
 
fvec3 clamp (const fvec3 &x, const fvec3 &minval, const fvec3 &maxval)
 
ivec3 clamp (const ivec3 &x, const ivec3 &minval, const ivec3 &maxval)
 
dvec3 clamp (const dvec3 &x, double minval, double maxval)
 
dvec3 clamp (const dvec3 &x, const dvec3 &minval, const dvec3 &maxval)
 
ivec3 clamp (const ivec3 &x, int minval, int maxval)
 
uvec3 clamp (const uvec3 &x, unsigned int minval, unsigned int maxval)
 
uvec3 clamp (const uvec3 &x, const uvec3 &minval, const uvec3 &maxval)
 
template<typename T >
const Vector4< T > operator* (T val, const Vector4< T > &v)
 
float dot (const fvec4 &v1, const fvec4 &v2)
 
double dot (const dvec4 &v1, const dvec4 &v2)
 
float dot (const ivec4 &v1, const ivec4 &v2)
 
float dot (const uvec4 &v1, const uvec4 &v2)
 
fvec4 min (const fvec4 &a, const fvec4 &b)
 
fvec4 min (const fvec4 &a, float b)
 
dvec4 min (const dvec4 &a, const dvec4 &b)
 
dvec4 min (const dvec4 &a, double b)
 
ivec4 min (const ivec4 &a, const ivec4 &b)
 
ivec4 min (const ivec4 &a, int b)
 
uvec4 min (const uvec4 &a, const uvec4 &b)
 
uvec4 min (const uvec4 &a, unsigned int b)
 
fvec4 max (const fvec4 &a, const fvec4 &b)
 
fvec4 max (const fvec4 &a, float b)
 
dvec4 max (const dvec4 &a, const dvec4 &b)
 
dvec4 max (const dvec4 &a, double b)
 
ivec4 max (const ivec4 &a, const ivec4 &b)
 
ivec4 max (const ivec4 &a, int b)
 
uvec4 max (const uvec4 &a, const uvec4 &b)
 
uvec4 max (const uvec4 &a, unsigned int b)
 
fvec4 clamp (const fvec4 &x, float minval, float maxval)
 
fvec4 clamp (const fvec4 &x, const fvec4 &minval, const fvec4 &maxval)
 
dvec4 clamp (const dvec4 &x, double minval, double maxval)
 
dvec4 clamp (const dvec4 &x, const dvec4 &minval, const dvec4 &maxval)
 
ivec4 clamp (const ivec4 &x, int minval, int maxval)
 
ivec4 clamp (const ivec4 &x, const ivec4 &minval, const ivec4 &maxval)
 
uvec4 clamp (const uvec4 &x, unsigned int minval, unsigned int maxval)
 
uvec4 clamp (const uvec4 &x, const uvec4 &minval, const uvec4 &maxval)
 
VLCORE_EXPORT ref< VirtualFilelocateFile (const String &path)
 Utility function, equivalent to vl::defFileSystem()->locateFile(path) More...
 
VLCORE_EXPORT const char * versionString ()
 Returns the Visualization Library's version string. More...
 
VLCORE_EXPORT void logSystemInfo ()
 Logs VL and system information. More...
 
VLCORE_EXPORT void showWin32Console ()
 Shows a console window that displays the standard output. This function is meant to be used only under Windows only. More...
 
bool compress (const void *data, size_t size, std::vector< unsigned char > &out, int level)
 
bool decompress (const void *cdata, size_t csize, void *data_out)
 
VLGRAPHICS_EXPORT void expandResourceDatabase (ResourceDatabase *db)
 Extracts and sorts Shaders, Effects, Renderables, RenderStates, Transforms etc. from their parent objects. More...
 
vl::ref< vl::GeometrymakeScales (bool X=true, bool Y=true, bool Z=true, int numArmTicks=50, float mmStep=10, float mmTickSize=4, vl::fvec4 color=vl::fvec4(1, 1, 1, 1))
 Makes an orthogonal cross-hair scales (reticle). More...
 
VLGRAPHICS_EXPORT FontManagerdefFontManager ()
 Returns the default FontManager used by Visualization Library. More...
 
VLGRAPHICS_EXPORT void setDefFontManager (FontManager *)
 Sets the default FontManager used by Visualization Library. More...
 
VLGRAPHICS_EXPORT ref< GeometrymakeBox (const vec3 &origin, real xside=1, real yside=1, real zside=1, bool tex_coords=true)
 Creates a box. More...
 
VLGRAPHICS_EXPORT ref< GeometrymakeBox (const vec3 &min, const vec3 &max, bool tex_coords=true)
 Creates a box. More...
 
VLGRAPHICS_EXPORT ref< GeometrymakeBox (const AABB &aabb, bool tex_coords=true)
 Creates a box. More...
 
VLGRAPHICS_EXPORT ref< GeometrymakeCone (const vec3 &origin, real diameter=1, real height=1, int phi=20, bool bottom=true)
 Creates a cone. More...
 
VLGRAPHICS_EXPORT ref< GeometrymakePyramid (const vec3 &origin, real side=1, real height=1)
 Creates a pyramid. More...
 
VLGRAPHICS_EXPORT ref< GeometrymakeIcosahedron (const vec3 &origin, real diameter)
 Creates an icosahedron. More...
 
VLGRAPHICS_EXPORT ref< GeometrymakeIcosphere (const vec3 &pos, real diameter=1, int detail=2, bool remove_doubles=true)
 Creates a sphere by iteratively subdividing an icosahedron. More...
 
VLGRAPHICS_EXPORT ref< GeometrymakeUVSphere (const vec3 &origin, real diameter=1, int phi=20, int theta=20)
 Creates a uv sphere. More...
 
VLGRAPHICS_EXPORT ref< GeometrymakeCylinder (const vec3 &origin, real diameter=1, real height=1, int phi=20, int theta=2, bool top=true, bool bottom=true)
 Creates a cylinder. More...
 
VLGRAPHICS_EXPORT ref< GeometrymakeTorus (const vec3 &origin, real diameter=1, real thickness=0.2, int phi=10, int theta=10, float tex_coords=0.0f)
 Creates torus. This function generates also appropriate normals. More...
 
VLGRAPHICS_EXPORT ref< GeometrymakeCapsule (float radius, float height, int segments, ECapsuleCap top_cap, ECapsuleCap bottom_cap, const fvec4 &top_col, const fvec4 &bottom_col)
 Creates a 3d capsule with rounded, flat or no caps. More...
 
VLGRAPHICS_EXPORT ref< GeometrymakeTeapot (const vec3 &origin, real diameter=1, int detail=8)
 Creates a classic Newell's teapot. More...
 
VLGRAPHICS_EXPORT ref< GeometrymakeGrid (const vec3 &origin, real xside, real zside, int x, int z, bool gen_texcoords=false, fvec2 uv0=fvec2(0, 0), fvec2 uv1=fvec2(1, 1), bool center=true)
 Creates a 2D grid. More...
 
VLGRAPHICS_EXPORT ref< GeometrymakePoints (const std::vector< vec3 > &pos, const fvec4 &color=white)
 Creates a set of points. More...
 
VLGRAPHICS_EXPORT ref< GeometrymakeCircle (vec3 origin, real radius, int slices=60)
 Creates a 2D circle. More...
 
 VL_COMPILE_TIME_CHECK (EN_EnableCount==sizeof(Is_Enable_Supported)/sizeof(Is_Enable_Supported[0]))
 
VLGRAPHICS_EXPORT bool initializeOpenGL ()
 To test whether OpenGL has been initialized at least once check vl::Is_OpenGL_Initialized. More...
 
VLGRAPHICS_EXPORT void * getGLProcAddress (const char *name)
 Returns the address of the specified OpenGL function if supported by the active OpenGL driver and profile. More...
 
VLGRAPHICS_EXPORT const char * getGLErrorString (int err)
 Returns a readable string corresponding to the given OpenGL error code as returned by glGetError() More...
 
VLGRAPHICS_EXPORT int glcheck (const char *file, int line)
 
VLGRAPHICS_EXPORT ref< ResourceDatabaseload3DS (VirtualFile *file)
 
VLGRAPHICS_EXPORT ref< ResourceDatabaseload3DS (const String &path)
 
VLGRAPHICS_EXPORT ref< ResourceDatabaseloadAC3D (VirtualFile *file)
 Loads and AC3D file (.ac) More...
 
VLGRAPHICS_EXPORT ref< ResourceDatabaseloadAC3D (const String &path)
 Loads and AC3D file (.ac) More...
 
VLGRAPHICS_EXPORT ref< ResourceDatabaseloadMD2 (const String &path)
 
VLGRAPHICS_EXPORT ref< ResourceDatabaseloadMD2 (VirtualFile *file)
 
VLGRAPHICS_EXPORT ref< ResourceDatabaseloadOBJ (const String &path)
 Loads a Wavefront OBJ file. See also ObjLoader. More...
 
VLGRAPHICS_EXPORT ref< ResourceDatabaseloadOBJ (VirtualFile *file)
 Loads a Wavefront OBJ file. See also ObjLoader. More...
 
VLGRAPHICS_EXPORT ref< ResourceDatabaseloadPLY (VirtualFile *file)
 
VLGRAPHICS_EXPORT ref< ResourceDatabaseloadPLY (const String &path)
 
VLGRAPHICS_EXPORT ref< ResourceDatabaseloadSTL (VirtualFile *file)
 
VLGRAPHICS_EXPORT ref< ResourceDatabaseloadSTL (const String &path)
 
void readPixels (Image *image, int x, int y, int w, int h, EReadDrawBuffer read_buffer, bool store_in_pixel_buffer_object)
 Reads a rectangular pixel area from the specified read buffer and stores it in an Image. More...
 
const AtomInfoatomInfo (EAtomType type)
 Returns an AtomInfo representing the properties of the given atom type. More...
 
EAtomType atomType (const char *type)
 Translates a string containing atom type name, atom symbol or a Sybyl type into an EAtomType. More...
 
VLMOLECULE_EXPORT bool loadMOL2 (const String &path, std::vector< ref< Molecule > > &structures)
 Loads a Tripos MOL2 file. More...
 
VLMOLECULE_EXPORT bool loadMOL2 (VirtualFile *vfile, std::vector< ref< Molecule > > &structures)
 Loads a Tripos MOL2 file. More...
 
VLVOLUME_EXPORT ref< ImagegenRGBAVolume (const Image *data, const Image *trfunc, const fvec3 &light_dir, bool alpha_from_data=true)
 Generates an RGBA image based on the given data source and transfer function. More...
 
VLVOLUME_EXPORT ref< ImagegenRGBAVolume (const Image *data, const Image *trfunc, bool alpha_from_data=true)
 Generates an RGBA image based on the given data source and transfer function. More...
 
VLVOLUME_EXPORT ref< ImagegenGradientNormals (const Image *data)
 Generates an image whose RGB components represent the normals computed from the input image gradient packed into 0..1 range. More...
 
template<typename data_type , EImageType img_type>
VLVOLUME_EXPORT ref< ImagegenRGBAVolumeT (const Image *data, const Image *trfunc, const fvec3 &light_dir, bool alpha_from_data)
 Internally used. More...
 
template<typename data_type , EImageType img_type>
VLVOLUME_EXPORT ref< ImagegenRGBAVolumeT (const Image *data, const Image *trfunc, bool alpha_from_data)
 Internally used. More...
 

Variables

const double dPi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093845
 Greek Pi constant using double precision. More...
 
const double dDEG_TO_RAD = dPi / 180.0
 Constant to convert degree into radian using double precision. More...
 
const double dRAD_TO_DEG = 180.0 / dPi
 Constant to convert radian into degree using double precision. More...
 
const float fPi = (float)3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093845
 Greek Pi constant using float precision. More...
 
const float fDEG_TO_RAD = float(dPi / 180.0)
 Constant to convert degree into radian using float precision. More...
 
const float fRAD_TO_DEG = float(180.0 / dPi)
 Constant to convert radian into degree using float precision. More...
 
unsigned long long gStartTime = 0
 
vl::Glyph ft_errors []
 
bool Is_OpenGL_Initialized = false
 Set to true if the last call to vl::initializeOpenGL() was succesful. More...
 
bool Is_OpenGL_Core_Profile = false
 OpenGL: true if the current context has been created with the WGL_CONTEXT_CORE_PROFILE_BIT_ARB or equivalent. More...
 
bool Is_OpenGL_Forward_Compatible = false
 OpenGL: true if the current context has been created with the WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB or equivalent. More...
 
bool Has_GL_Version_1_1 = false
 
bool Has_GL_Version_1_2 = false
 
bool Has_GL_Version_1_3 = false
 
bool Has_GL_Version_1_4 = false
 
bool Has_GL_Version_1_5 = false
 
bool Has_GL_Version_2_0 = false
 
bool Has_GL_Version_2_1 = false
 
bool Has_GL_Version_3_0 = false
 
bool Has_GL_Version_3_1 = false
 
bool Has_GL_Version_3_2 = false
 
bool Has_GL_Version_3_3 = false
 
bool Has_GL_Version_4_0 = false
 
bool Has_GL_Version_4_1 = false
 
bool Has_Fixed_Function_Pipeline = false
 OpenGL: true if !Is_OpenGL_Forward_Compatible && !Is_OpenGL_Core_Profile OpenGL ES 1: always true OpenGL ES 2: always false. More...
 
bool Has_GLES_Version_1_1 = false
 
bool Has_GLES_Version_2_0 = false
 
bool Has_GLES = false
 
bool Has_GLSL = false
 
bool Has_GLSL_120_Or_More = false
 
bool Has_GLSL_130_Or_More = false
 
bool Has_GLSL_140_Or_More = false
 
bool Has_GLSL_150_Or_More = false
 
bool Has_GLSL_330_Or_More = false
 
bool Has_GLSL_400_Or_More = false
 
bool Has_GLSL_410_Or_More = false
 
bool Has_Geometry_Shader = false
 
bool Has_BufferObject = false
 
bool Has_FBO = false
 
bool Has_PBO = false
 
bool Has_FBO_Multisample = false
 
bool Has_Cubemap_Textures = false
 
bool Has_Texture_Rectangle = false
 
bool Has_Texture_Array = false
 
bool Has_Texture_Buffer = false
 
bool Has_Texture_Multisample = false
 
bool Has_Texture_3D = false
 
bool Has_Multitexture = false
 
bool Has_Primitive_Restart = false
 
bool Has_Occlusion_Query = false
 
bool Has_Transform_Feedback = false
 
bool Has_glGenerateMipmaps = false
 
bool Has_GL_GENERATE_MIPMAP = false
 
bool Has_Point_Sprite = false
 
bool Has_Base_Vertex = false
 
bool Has_Primitive_Instancing = false
 
const GLenum Translate_Enable []
 
const char * Translate_Enable_String []
 
bool Is_Enable_Supported [EN_EnableCount]
 

Detailed Description

Visualization Library main namespace.

Typedef Documentation

◆ bvec2

typedef Vector2<char> vl::bvec2

A 2 components vector with char precision.

Definition at line 286 of file Vector2.hpp.

◆ bvec3

typedef Vector3<char> vl::bvec3

A 3 components vector with char precision.

Definition at line 256 of file Vector3.hpp.

◆ bvec4

typedef Vector4<char> vl::bvec4

A 4 components vector with char precision.

Definition at line 283 of file Vector4.hpp.

◆ CatmullRomInterpolatorDouble_T

Definition at line 147 of file CatmullRomInterpolator.hpp.

◆ CatmullRomInterpolatorDVec2_T

Definition at line 148 of file CatmullRomInterpolator.hpp.

◆ CatmullRomInterpolatorDVec3_T

Definition at line 149 of file CatmullRomInterpolator.hpp.

◆ CatmullRomInterpolatorDVec4_T

Definition at line 150 of file CatmullRomInterpolator.hpp.

◆ CatmullRomInterpolatorFloat_T

Definition at line 143 of file CatmullRomInterpolator.hpp.

◆ CatmullRomInterpolatorFVec2_T

Definition at line 144 of file CatmullRomInterpolator.hpp.

◆ CatmullRomInterpolatorFVec3_T

Definition at line 145 of file CatmullRomInterpolator.hpp.

◆ CatmullRomInterpolatorFVec4_T

Definition at line 146 of file CatmullRomInterpolator.hpp.

◆ dmat2

typedef Matrix2<double> vl::dmat2

A 2x2 matrix using double precision.

Definition at line 454 of file Matrix2.hpp.

◆ dmat3

typedef Matrix3<double> vl::dmat3

A 3x3 matrix using double precision.

Definition at line 651 of file Matrix3.hpp.

◆ dmat4

typedef Matrix4<double> vl::dmat4

A 4x4 matrix using double precision.

Definition at line 1227 of file Matrix4.hpp.

◆ dquat

typedef Quaternion<double> vl::dquat

Definition at line 752 of file Quaternion.hpp.

◆ dvec2

typedef Vector2<double> vl::dvec2

A 2 components vector with double precision.

Definition at line 284 of file Vector2.hpp.

◆ dvec3

typedef Vector3<double> vl::dvec3

A 3 components vector with double precision.

Definition at line 254 of file Vector3.hpp.

◆ dvec4

typedef Vector4<double> vl::dvec4

A 4 components vector with double precision.

Definition at line 281 of file Vector4.hpp.

◆ f32

typedef float vl::f32

32 bits floating point value

Definition at line 57 of file std_types.hpp.

◆ f64

typedef double vl::f64

64 bits floating point value

Definition at line 59 of file std_types.hpp.

◆ fmat2

typedef Matrix2<float> vl::fmat2

A 2x2 matrix using float precision.

Definition at line 456 of file Matrix2.hpp.

◆ fmat3

typedef Matrix3<float> vl::fmat3

A 3x3 matrix using float precision.

Definition at line 653 of file Matrix3.hpp.

◆ fmat4

typedef Matrix4<float> vl::fmat4

A 4x4 matrix using float precision.

Definition at line 1229 of file Matrix4.hpp.

◆ fquat

typedef Quaternion<float> vl::fquat

Definition at line 751 of file Quaternion.hpp.

◆ fvec2

typedef Vector2<float> vl::fvec2

A 2 components vector with float precision.

Definition at line 282 of file Vector2.hpp.

◆ fvec3

typedef Vector3<float> vl::fvec3

A 3 components vector with float precision.

Definition at line 252 of file Vector3.hpp.

◆ fvec4

typedef Vector4<float> vl::fvec4

A 4 components vector with float precision.

Definition at line 279 of file Vector4.hpp.

◆ hmat2

Definition at line 617 of file half.hpp.

◆ hmat3

Definition at line 616 of file half.hpp.

◆ hmat4

Definition at line 615 of file half.hpp.

◆ hvec2

Definition at line 613 of file half.hpp.

◆ hvec3

Definition at line 612 of file half.hpp.

◆ hvec4

Definition at line 611 of file half.hpp.

◆ i16

typedef short vl::i16

16 bits signed integer

Definition at line 45 of file std_types.hpp.

◆ i32

typedef int vl::i32

32 bits signed integer

Definition at line 49 of file std_types.hpp.

◆ i64

typedef long long vl::i64

64 bits signed integer

Definition at line 53 of file std_types.hpp.

◆ i8

typedef char vl::i8

8 bits signed integer

Definition at line 41 of file std_types.hpp.

◆ imat2

typedef Matrix2<int> vl::imat2

A 2x2 matrix using int precision.

Definition at line 458 of file Matrix2.hpp.

◆ imat3

typedef Matrix3<int> vl::imat3

A 3x3 matrix using int precision.

Definition at line 655 of file Matrix3.hpp.

◆ imat4

typedef Matrix4<int> vl::imat4

A 4x4 matrix using int precision.

Definition at line 1231 of file Matrix4.hpp.

◆ ivec2

typedef Vector2<int> vl::ivec2

A 2 components vector with int precision.

Definition at line 278 of file Vector2.hpp.

◆ ivec3

typedef Vector3<int> vl::ivec3

A 3 components vector with int precision.

Definition at line 248 of file Vector3.hpp.

◆ ivec4

typedef Vector4<int> vl::ivec4

A 4 components vector with int precision.

Definition at line 275 of file Vector4.hpp.

◆ LinearInterpolatorDouble_T

Definition at line 90 of file LinearInterpolator.hpp.

◆ LinearInterpolatorDVec2_T

Definition at line 91 of file LinearInterpolator.hpp.

◆ LinearInterpolatorDVec3_T

Definition at line 92 of file LinearInterpolator.hpp.

◆ LinearInterpolatorDVec4_T

Definition at line 93 of file LinearInterpolator.hpp.

◆ LinearInterpolatorFloat_T

Definition at line 86 of file LinearInterpolator.hpp.

◆ LinearInterpolatorFVec2_T

Definition at line 87 of file LinearInterpolator.hpp.

◆ LinearInterpolatorFVec3_T

Definition at line 88 of file LinearInterpolator.hpp.

◆ LinearInterpolatorFVec4_T

Definition at line 89 of file LinearInterpolator.hpp.

◆ mat2

typedef fmat2 vl::mat2

Defined as: 'typedef fmat2 mat2'. See also VL_PIPELINE_PRECISION.

Definition at line 467 of file Matrix2.hpp.

◆ mat3

typedef fmat3 vl::mat3

Defined as: 'typedef fmat3 mat3'. See also VL_PIPELINE_PRECISION.

Definition at line 664 of file Matrix3.hpp.

◆ mat4

typedef fmat4 vl::mat4

Defined as: 'typedef fmat4 mat4'. See also VL_PIPELINE_PRECISION.

Definition at line 1240 of file Matrix4.hpp.

◆ quat

typedef Quaternion<real> vl::quat

Definition at line 753 of file Quaternion.hpp.

◆ svec2

typedef Vector2<short> vl::svec2

A 2 components vector with short precision.

Definition at line 290 of file Vector2.hpp.

◆ svec3

typedef Vector3<short> vl::svec3

A 3 components vector with short precision.

Definition at line 260 of file Vector3.hpp.

◆ svec4

typedef Vector4<short> vl::svec4

A 4 components vector with short precision.

Definition at line 287 of file Vector4.hpp.

◆ TPalette3x256

typedef unsigned char vl::TPalette3x256[256 *3]

Definition at line 40 of file ImageTools.hpp.

◆ TPalette4x256

typedef unsigned char vl::TPalette4x256[256 *4]

Definition at line 41 of file ImageTools.hpp.

◆ TRenderQueueMap

typedef std::map< float, ref<RenderQueue> > vl::TRenderQueueMap

Definition at line 148 of file RenderQueue.hpp.

◆ u16

typedef unsigned short vl::u16

16 bits unsigned integer

Definition at line 47 of file std_types.hpp.

◆ u32

typedef unsigned int vl::u32

32 bits unsigned integer

Definition at line 51 of file std_types.hpp.

◆ u64

typedef unsigned long long vl::u64

64 bits unsigned integer

Definition at line 55 of file std_types.hpp.

◆ u8

typedef unsigned char vl::u8

8 bits unsigned integer

Definition at line 43 of file std_types.hpp.

◆ ubvec2

typedef Vector2<unsigned char> vl::ubvec2

A 2 components vector with unsigned char precision.

Definition at line 288 of file Vector2.hpp.

◆ ubvec3

typedef Vector3<unsigned char> vl::ubvec3

A 3 components vector with unsigned char precision.

Definition at line 258 of file Vector3.hpp.

◆ ubvec4

typedef Vector4<unsigned char> vl::ubvec4

A 4 components vector with unsigned char precision.

Definition at line 285 of file Vector4.hpp.

◆ umat2

typedef Matrix2<unsigned int> vl::umat2

A 2x2 matrix using unsigned int precision.

Definition at line 460 of file Matrix2.hpp.

◆ umat3

typedef Matrix3<unsigned int> vl::umat3

A 3x3 matrix using unsigned int precision.

Definition at line 657 of file Matrix3.hpp.

◆ umat4

typedef Matrix4<unsigned int> vl::umat4

A 4x4 matrix using unsigned int precision.

Definition at line 1233 of file Matrix4.hpp.

◆ usvec2

typedef Vector2<unsigned short> vl::usvec2

A 2 components vector with unsigned short precision.

Definition at line 292 of file Vector2.hpp.

◆ usvec3

typedef Vector3<unsigned short> vl::usvec3

A 3 components vector with unsigned short precision.

Definition at line 262 of file Vector3.hpp.

◆ usvec4

typedef Vector4<unsigned short> vl::usvec4

A 4 components vector with unsigned short precision.

Definition at line 289 of file Vector4.hpp.

◆ uvec2

typedef Vector2<unsigned int> vl::uvec2

A 2 components vector with unsigned int precision.

Definition at line 280 of file Vector2.hpp.

◆ uvec3

typedef Vector3<unsigned int> vl::uvec3

A 3 components vector with unsigned int precision.

Definition at line 250 of file Vector3.hpp.

◆ uvec4

typedef Vector4<unsigned int> vl::uvec4

A 4 components vector with unsigned int precision.

Definition at line 277 of file Vector4.hpp.

◆ vec2

typedef fvec2 vl::vec2

Defined as: 'typedef fvec2 vec2'. See also VL_PIPELINE_PRECISION.

Definition at line 299 of file Vector2.hpp.

◆ vec3

typedef fvec3 vl::vec3

Defined as: 'typedef fvec3 vec3'. See also VL_PIPELINE_PRECISION.

Definition at line 269 of file Vector3.hpp.

◆ vec4

typedef fvec4 vl::vec4

Defined as: 'typedef fvec4 vec4'. See also VL_PIPELINE_PRECISION.

Definition at line 296 of file Vector4.hpp.

Enumeration Type Documentation

◆ EAlign

enum vl::EAlign
Enumerator
AlignLeft 
AlignHCenter 
AlignRight 
AlignTop 
AlignVCenter 
AlignBottom 

Definition at line 903 of file vlnamespace.hpp.

◆ EAtomType

Element types.

Enumerator
AT_Hydrogen 
AT_Helium 
AT_Lithium 
AT_Beryllium 
AT_Boron 
AT_Carbon 
AT_Nitrogen 
AT_Oxygen 
AT_Fluorine 
AT_Neon 
AT_Sodium 
AT_Magnesium 
AT_Aluminium 
AT_Silicon 
AT_Phosphorus 
AT_Sulfur 
AT_Chlorine 
AT_Argon 
AT_Potassium 
AT_Calcium 
AT_Scandium 
AT_Titanium 
AT_Vanadium 
AT_Chromium 
AT_Manganese 
AT_Iron 
AT_Cobalt 
AT_Nickel 
AT_Copper 
AT_Zinc 
AT_Gallium 
AT_Germanium 
AT_Arsenic 
AT_Selenium 
AT_Bromine 
AT_Krypton 
AT_Rubidium 
AT_Strontium 
AT_Yttrium 
AT_Zirconium 
AT_Niobium 
AT_Molybdenum 
AT_Technetium 
AT_Ruthenium 
AT_Rhodium 
AT_Palladium 
AT_Silver 
AT_Cadmium 
AT_Indium 
AT_Tin 
AT_Antimony 
AT_Tellurium 
AT_Iodine 
AT_Xenon 
AT_Caesium 
AT_Barium 
AT_Lanthanum 
AT_Cerium 
AT_Praseodymium 
AT_Neodymium 
AT_Promethium 
AT_Samarium 
AT_Europium 
AT_Gadolinium 
AT_Terbium 
AT_Dysprosium 
AT_Holmium 
AT_Erbium 
AT_Thulium 
AT_Ytterbium 
AT_Lutetium 
AT_Hafnium 
AT_Tantalum 
AT_Tungsten 
AT_Rhenium 
AT_Osmium 
AT_Iridium 
AT_Platinum 
AT_Gold 
AT_Mercury 
AT_Thallium 
AT_Lead 
AT_Bismuth 
AT_Polonium 
AT_Astatine 
AT_Radon 
AT_Francium 
AT_Radium 
AT_Actinium 
AT_Thorium 
AT_Protactinium 
AT_Uranium 
AT_Neptunium 
AT_Plutonium 
AT_Americium 
AT_Curium 
AT_Berkelium 
AT_Californium 
AT_Einsteinium 
AT_Fermium 
AT_Mendelevium 
AT_Nobelium 
AT_Lawrencium 
AT_Rutherfordium 
AT_Dubnium 
AT_Seaborgium 
AT_Bohrium 
AT_Hassium 
AT_Meitnerium 
AT_Darmstadtium 
AT_Roentgenium 
AT_Ununbium 
AT_Ununtrium 
AT_Ununquadium 
AT_Ununpentium 
AT_Ununhexium 
AT_Ununseptium 
AT_Ununoctium 
AT_Unknown 
AT_Count 

Definition at line 42 of file chem_database.hpp.

◆ EAttachmentPoint

Enumerator
AP_NO_ATTACHMENT 
AP_COLOR_ATTACHMENT0 
AP_COLOR_ATTACHMENT1 
AP_COLOR_ATTACHMENT2 
AP_COLOR_ATTACHMENT3 
AP_COLOR_ATTACHMENT4 
AP_COLOR_ATTACHMENT5 
AP_COLOR_ATTACHMENT6 
AP_COLOR_ATTACHMENT7 
AP_COLOR_ATTACHMENT8 
AP_COLOR_ATTACHMENT9 
AP_COLOR_ATTACHMENT10 
AP_COLOR_ATTACHMENT11 
AP_COLOR_ATTACHMENT12 
AP_COLOR_ATTACHMENT13 
AP_COLOR_ATTACHMENT14 
AP_COLOR_ATTACHMENT15 
AP_DEPTH_ATTACHMENT 
AP_STENCIL_ATTACHMENT 
AP_DEPTH_STENCIL_ATTACHMENT 

Definition at line 342 of file vlnamespace.hpp.

◆ EAttributeType

GLSLProgram attribute types, see also GLSLProgram::activeAttribs() and http://www.opengl.org/sdk/docs/man4/xhtml/glGetActiveAttrib.xml.

Enumerator
AT_FLOAT 

float

AT_FLOAT_VEC2 

vec2

AT_FLOAT_VEC3 

vec3

AT_FLOAT_VEC4 

vec4

AT_FLOAT_MAT2 

mat2

AT_FLOAT_MAT3 

mat3

AT_FLOAT_MAT4 

mat4

AT_FLOAT_MAT2x3 

mat2x3

AT_FLOAT_MAT2x4 

mat2x4

AT_FLOAT_MAT3x2 

mat3x2

AT_FLOAT_MAT3x4 

mat3x4

AT_FLOAT_MAT4x2 

mat4x2

AT_FLOAT_MAT4x3 

mat4x3

AT_INT 

int

AT_INT_VEC2 

ivec2

AT_INT_VEC3 

ivec3

AT_INT_VEC4 

ivec4

AT_UNSIGNED_INT 

unsigned int

AT_UNSIGNED_INT_VEC2 

vec2

AT_UNSIGNED_INT_VEC3 

vec3

AT_UNSIGNED_INT_VEC4 

vec4

AT_DOUBLE 

double

AT_DOUBLE_VEC2 

dvec2

AT_DOUBLE_VEC3 

dvec3

AT_DOUBLE_VEC4 

dvec4

AT_DOUBLE_MAT2 

dmat2

AT_DOUBLE_MAT3 

dmat3

AT_DOUBLE_MAT4 

dmat4

AT_DOUBLE_MAT2x3 

dmat2x3

AT_DOUBLE_MAT2x4 

dmat2x4

AT_DOUBLE_MAT3x2 

dmat3x2

AT_DOUBLE_MAT3x4 

dmat3x4

AT_DOUBLE_MAT4x2 

dmat4x2

AT_DOUBLE_MAT4x3 

dmat4x3

Definition at line 1468 of file vlnamespace.hpp.

◆ EBillboardType

Enumerator
BT_AxisAlignedBillboard 
BT_SphericalBillboard 

Definition at line 1112 of file vlnamespace.hpp.

◆ EBlendEquation

Enumerator
BE_FUNC_ADD 
BE_FUNC_SUBTRACT 
BE_FUNC_REVERSE_SUBTRACT 
BE_MIN 
BE_MAX 

Definition at line 688 of file vlnamespace.hpp.

◆ EBlendFactor

Enumerator
BF_ZERO 
BF_ONE 
BF_SRC_COLOR 
BF_ONE_MINUS_SRC_COLOR 
BF_DST_COLOR 
BF_ONE_MINUS_DST_COLOR 
BF_SRC_ALPHA 
BF_ONE_MINUS_SRC_ALPHA 
BF_DST_ALPHA 
BF_ONE_MINUS_DST_ALPHA 
BF_CONSTANT_COLOR 
BF_ONE_MINUS_CONSTANT_COLOR 
BF_CONSTANT_ALPHA 
BF_ONE_MINUS_CONSTANT_ALPHA 
BF_SRC_ALPHA_SATURATE 

Definition at line 488 of file vlnamespace.hpp.

◆ EBondType

Bond types.

Enumerator
BT_None 
BT_Single 
BT_Double 
BT_Triple 
BT_Aromatic 
BT_Amide 
BT_Dummy 
BT_Unknown 

Definition at line 42 of file Bond.hpp.

◆ EBufferBits

Enumerator
BB_COLOR_BUFFER_BIT 
BB_DEPTH_BUFFER_BIT 
BB_STENCIL_BUFFER_BIT 

Definition at line 1105 of file vlnamespace.hpp.

◆ EBufferObjectAccess

Enumerator
BA_READ_ONLY 
BA_WRITE_ONLY 
BA_READ_WRITE 

Definition at line 896 of file vlnamespace.hpp.

◆ EBufferObjectUpdateFlags

Enumerator
BUF_ForceUpdate 
BUF_DiscardRamBuffer 

Definition at line 1515 of file vlnamespace.hpp.

◆ EBufferObjectUpdateMode

Enumerator
BUM_KeepRamBuffer 

Keeps the local buffer on RAM and updates the BufferObject only if it is marked as dirty. The BufferObject is marked as clean after the update.

BUM_KeepRamBufferAndForceUpdate 

Keeps the local buffer on RAM and updates the BufferObject always, even if it is not marked as dirty. The BufferObject is marked as clean after the update.

BUM_DiscardRamBuffer 

Discards the local buffer on RAM and updates the BufferObject only if it is marked as dirty. The BufferObject is marked as clean after the update.

BUM_DiscardRamBufferAndForceUpdate 

Discards the local buffer on RAM and updates the BufferObject always, even if it is not marked as dirty. The BufferObject is marked as clean after the update.

Definition at line 1521 of file vlnamespace.hpp.

◆ EBufferObjectUsage

Enumerator
BU_STREAM_DRAW 

Data is specified once and used at most a few times as the source of drawing and image specification commands.

BU_STREAM_READ 

Data is copied once from an OpenGL buffer and is used at most a few times by the application as data values.

BU_STREAM_COPY 

Data is copied once from an OpenGL buffer and is used at most a few times as the source for drawing or image specification commands.

BU_STATIC_DRAW 

Data is specified once and used many times as the source of drawing or image specification commands.

BU_STATIC_READ 

Data is copied once from an OpenGL buffer and is used many times by the application as data values.

BU_STATIC_COPY 

Data is copied once from an OpenGL buffer and is used many times as the source for drawing or image specification commands.

BU_DYNAMIC_DRAW 

Data is specified many times and used many times as the source of drawing and image specification commands.

BU_DYNAMIC_READ 

Data is copied many times from an OpenGL buffer and is used many times by the application as data values.

BU_DYNAMIC_COPY 

Data is copied many times from an OpenGL buffer and is used many times as the source for drawing or image specification commands.

Definition at line 883 of file vlnamespace.hpp.

◆ ECapsuleCap

Enumerator
CC_FlatCap 
CC_RoundedCap 
CC_NoCap 

Definition at line 41 of file GeometryPrimitives.hpp.

◆ EClearColorMode

Enumerator
CCM_Float 
CCM_Int 
CCM_UInt 

Definition at line 481 of file vlnamespace.hpp.

◆ EClearFlags

Enumerator
CF_DO_NOT_CLEAR 
CF_CLEAR_COLOR 
CF_CLEAR_DEPTH 
CF_CLEAR_STENCIL 
CF_CLEAR_COLOR_DEPTH 
CF_CLEAR_COLOR_STENCIL 
CF_CLEAR_DEPTH_STENCIL 
CF_CLEAR_COLOR_DEPTH_STENCIL 

Definition at line 469 of file vlnamespace.hpp.

◆ EColorBufferFormat

Color-renderable formats as defined in section 4.4.4 of opengl api specs 4.1.

Enumerator
CBF_RED 
CBF_RG 
CBF_RGB 
CBF_RGBA 
CBF_R8 
CBF_R16 
CBF_RG8 
CBF_RG16 
CBF_RGBA8 
CBF_RGB10_A2 
CBF_RGB10_A2UI 
CBF_RGBA16 
CBF_SRGB8_ALPHA8 
CBF_R16F 
CBF_RG16F 
CBF_RGBA16F 
CBF_R32F 
CBF_RG32F 
CBF_RGBA32F 
CBF_R11F_G11F_B10F 
CBF_R8I 
CBF_R8UI 
CBF_R16I 
CBF_R16UI 
CBF_R32I 
CBF_R32UI 
CBF_RG8I 
CBF_RG8UI 
CBF_RG16I 
CBF_RG16UI 
CBF_RG32I 
CBF_RG32UI 
CBF_RGBA8I 
CBF_RGBA8UI 
CBF_RGBA16I 
CBF_RGBA16UI 
CBF_RGBA32I 
CBF_RGBA32UI 

Definition at line 371 of file vlnamespace.hpp.

◆ EColorControl

Enumerator
CC_SEPARATE_SPECULAR_COLOR 
CC_SINGLE_COLOR 

Definition at line 706 of file vlnamespace.hpp.

◆ EColorMaterial

Enumerator
CM_EMISSION 
CM_AMBIENT 
CM_DIFFUSE 
CM_SPECULAR 
CM_AMBIENT_AND_DIFFUSE 

Definition at line 697 of file vlnamespace.hpp.

◆ EDepthBufferFormat

Enumerator
DBF_DEPTH_COMPONENT 
DBF_DEPTH_COMPONENT16 
DBF_DEPTH_COMPONENT24 
DBF_DEPTH_COMPONENT32 
DBF_DEPTH_COMPONENT32F 

Definition at line 445 of file vlnamespace.hpp.

◆ EDepthSortMode

Enumerator
NeverDepthSort 
AlwaysDepthSort 
AlphaDepthSort 

Definition at line 934 of file vlnamespace.hpp.

◆ EDepthStencilBufferFormat

Enumerator
DSBT_DEPTH_STENCIL 
DSBT_DEPTH24_STENCIL8 
DSBT_DEPTH32F_STENCIL8 

Definition at line 462 of file vlnamespace.hpp.

◆ EDepthTextureMode

Enumerator
DTM_LUMINANCE 
DTM_INTENSITY 
DTM_ALPHA 
DTM_RED 

Definition at line 541 of file vlnamespace.hpp.

◆ EEnable

Constant that enable/disable a specific OpenGL feature, see also Shader, Shader::enable(), Shader::disable(), Shader::isEnabled()

Enumerator
EN_BLEND 

If enabled, blend the incoming RGBA color values with the values in the color buffers, see also BlendFunc for more information.

EN_CULL_FACE 

If enabled, cull polygons based on their winding in window coordinates, see also CullFace.

EN_DEPTH_TEST 

If enabled, do depth comparisons and update the depth buffer; Note that even if the depth buffer exists and the depth mask is non-zero, the depth buffer is not updated if the depth test is disabled, see also DepthFunc and DepthRange.

EN_STENCIL_TEST 

If enabled, do stencil testing and update the stencil buffer, see also StencilFunc and StencilOp.

EN_DITHER 

If enabled, dither color components or indices before they are written to the color buffer.

EN_POLYGON_OFFSET_FILL 

If enabled, and if the polygon is rendered in GL_FILL mode, an offset is added to depth values of a polygon's fragments before the depth comparison is performed, see also PolygonOffset.

EN_POLYGON_OFFSET_LINE 

If enabled, and if the polygon is rendered in GL_LINE mode, an offset is added to depth values of a polygon's fragments before the depth comparison is performed, see also PolygonOffset.

EN_POLYGON_OFFSET_POINT 

If enabled, an offset is added to depth values of a polygon's fragments before the depth comparison is performed, if the polygon is rendered in GL_POINT mode, see also PolygonOffset.

EN_COLOR_LOGIC_OP 

If enabled, apply the currently selected logical operation to the incoming RGBA color and color buffer values, see also LogicOp.

EN_MULTISAMPLE 

If enabled, use multiple fragment samples in computing the final color of a pixel.

See glSampleCoverage.

EN_POINT_SMOOTH 

If enabled, draw points with proper filtering; Otherwise, draw aliased points, see also PointSize.

EN_LINE_SMOOTH 

If enabled, draw lines with correct filtering; Otherwise, draw aliased lines, see also LineWidth.

EN_POLYGON_SMOOTH 

If enabled, draw polygons with proper filtering; Otherwise, draw aliased polygons; For correct antialiased polygons, an alpha buffer is needed and the polygons must be sorted front to back.

EN_LINE_STIPPLE 

If enabled, use the current line stipple pattern when drawing lines, see also LineStipple.

EN_POLYGON_STIPPLE 

If enabled, use the current polygon stipple pattern when rendering polygons, see also PolygonStipple.

EN_POINT_SPRITE 

If enabled, calculate texture coordinates for points based on texture environment and point parameter settings; Otherwise texture coordinates are constant across points.

EN_PROGRAM_POINT_SIZE 

[GL_VERTEX_PROGRAM_POINT_SIZE/GL_PROGRAM_POINT_SIZE] If enabled, and a vertex shader is active, then the derived point size is taken from the (potentially clipped) shader builtin gl_PointSize and clamped to the implementation-dependent point size range|

EN_ALPHA_TEST 

If enabled, performs alpha testing, see also AlphaFunc for more information.

EN_LIGHTING 

If enabled, use the current lighting parameters to compute the vertex color; Otherwise, simply associate the current color with each vertex, see also Material, LightModel, and Light.

EN_COLOR_SUM 

If enabled, add the secondary color value to the computed fragment color.

EN_FOG 

If enabled, blend a fog color into the post-texturing color, see also Fog.

EN_NORMALIZE 

If enabled, normal vectors are scaled to unit length after transformation, see also vl::EN_RESCALE_NORMAL.

EN_RESCALE_NORMAL 

If enabled, normals are scaled by a scaling factor derived from the modelview matrix; vl::EN_RESCALE_NORMAL requires that the originally specified normals were of unit length, and that the modelview matrix contain only uniform scales for proper results, see also vl::EN_NORMALIZE.

EN_VERTEX_PROGRAM_TWO_SIDE 

If enabled, and a vertex shader is active, it specifies that the GL will choose between front and back colors based on the polygon's face direction of which the vertex being shaded is a part; It has no effect on points or lines.

EN_TEXTURE_CUBE_MAP_SEAMLESS 

If enabled, cubemap textures are sampled such that when linearly sampling from the border between two adjacent faces, texels from both faces are used to generate the final sample value.

When disabled, texels from only a single face are used to construct the final sample value.

EN_CLIP_DISTANCE0 

If enabled, clip geometry against user-defined half space #0.

EN_CLIP_DISTANCE1 

If enabled, clip geometry against user-defined half space #1.

EN_CLIP_DISTANCE2 

If enabled, clip geometry against user-defined half space #2.

EN_CLIP_DISTANCE3 

If enabled, clip geometry against user-defined half space #3.

EN_CLIP_DISTANCE4 

If enabled, clip geometry against user-defined half space #4.

EN_CLIP_DISTANCE5 

If enabled, clip geometry against user-defined half space #5.

EN_CLIP_DISTANCE6 

If enabled, clip geometry against user-defined half space #6.

EN_CLIP_DISTANCE7 

If enabled, clip geometry against user-defined half space #7.

EN_SAMPLE_ALPHA_TO_COVERAGE 

If enabled, compute a temporary coverage value where each bit is determined by the alpha value at the corresponding sample location; The temporary coverage value is then ANDed with the fragment coverage value.

EN_SAMPLE_ALPHA_TO_ONE 

If enabled, each sample alpha value is replaced by the maximum representable alpha value.

EN_SAMPLE_COVERAGE 

If enabled, the fragment's coverage is ANDed with the temporary coverage value; If GL_SAMPLE_COVERAGE_INVERT is set to GL_TRUE, invert the coverage value, see also SampleCoverage.

EN_EnableCount 

For internal use only.

EN_UnknownEnable 

For internal use only.

Definition at line 821 of file vlnamespace.hpp.

◆ EFogMode

Enumerator
FM_LINEAR 
FM_EXP 
FM_EXP2 

Definition at line 712 of file vlnamespace.hpp.

◆ EFramebufferBind

Enumerator
FBB_FRAMEBUFFER 
FBB_DRAW_FRAMEBUFFER 
FBB_READ_FRAMEBUFFER 

Definition at line 578 of file vlnamespace.hpp.

◆ EFrontFace

Enumerator
FF_CW 
FF_CCW 

Definition at line 657 of file vlnamespace.hpp.

◆ EFunction

Enumerator
FU_NEVER 
FU_LESS 
FU_EQUAL 
FU_LEQUAL 
FU_GREATER 
FU_NOTEQUAL 
FU_GEQUAL 
FU_ALWAYS 

Definition at line 663 of file vlnamespace.hpp.

◆ EGetMode

Enumerator
GM_GetOrCreate 
GM_DontCreate 

Definition at line 1124 of file vlnamespace.hpp.

◆ EHintMode

Enumerator
HM_FASTEST 
HM_NICEST 
HM_DONT_CARE 

Definition at line 650 of file vlnamespace.hpp.

◆ EImageDimension

Enumerator
ID_None 
ID_1D 
ID_2D 
ID_3D 
ID_Cubemap 
ID_Error 

Definition at line 941 of file vlnamespace.hpp.

◆ EImageFormat

Enumerator
IF_RGB 
IF_RGBA 
IF_BGR 
IF_BGRA 
IF_RG 
IF_RG_INTEGER 
IF_RED 
IF_GREEN 
IF_BLUE 
IF_ALPHA 
IF_LUMINANCE 
IF_LUMINANCE_ALPHA 
IF_DEPTH_COMPONENT 
IF_STENCIL_INDEX 
IF_DEPTH_STENCIL 
IF_COMPRESSED_RGB_S3TC_DXT1 
IF_COMPRESSED_RGBA_S3TC_DXT1 
IF_COMPRESSED_RGBA_S3TC_DXT3 
IF_COMPRESSED_RGBA_S3TC_DXT5 
IF_RED_INTEGER 
IF_GREEN_INTEGER 
IF_BLUE_INTEGER 
IF_ALPHA_INTEGER 
IF_RGB_INTEGER 
IF_RGBA_INTEGER 
IF_BGR_INTEGER 
IF_BGRA_INTEGER 
IF_LUMINANCE_INTEGER 
IF_LUMINANCE_ALPHA_INTEGER 

Definition at line 284 of file vlnamespace.hpp.

◆ EImageType

Enumerator
IT_IMPLICIT_TYPE 

The type is implicitly defined by the EImageFormat value, for ex.

IF_COMPRESSED_RGB_S3TC_DXT1.

IT_UNSIGNED_BYTE 
IT_BYTE 
IT_UNSIGNED_SHORT 
IT_SHORT 
IT_UNSIGNED_INT 
IT_INT 
IT_FLOAT 
IT_UNSIGNED_BYTE_3_3_2 
IT_UNSIGNED_BYTE_2_3_3_REV 
IT_UNSIGNED_SHORT_5_6_5 
IT_UNSIGNED_SHORT_5_6_5_REV 
IT_UNSIGNED_SHORT_4_4_4_4 
IT_UNSIGNED_SHORT_4_4_4_4_REV 
IT_UNSIGNED_SHORT_5_5_5_1 
IT_UNSIGNED_SHORT_1_5_5_5_REV 
IT_UNSIGNED_INT_8_8_8_8 
IT_UNSIGNED_INT_8_8_8_8_REV 
IT_UNSIGNED_INT_10_10_10_2 
IT_UNSIGNED_INT_2_10_10_10_REV 
IT_UNSIGNED_INT_5_9_9_9_REV 
IT_UNSIGNED_INT_10F_11F_11F_REV 
IT_UNSIGNED_INT_24_8 
IT_FLOAT_32_UNSIGNED_INT_24_8_REV 

Definition at line 585 of file vlnamespace.hpp.

◆ EInheritance

Enumerator
IN_Local 

Does not propagates to children (thus cannot override children settings); can be overridden.

IN_Propagate 

Propagates to children; does not override children settings; can be overridden.

IN_Sticky 

Does not propagates to children (thus cannot override children settings); cannot be overridden.

IN_Propagate_Overrides_Sticky 

Propagates to children; overrides children settings; cannot be overridden.

IN_Propagate_Overrides 

Propagates to children; overrides children settings; can be overridden.

IN_Propagate_Sticky 

Propagates to children; does not override children settings; cannot be overridden.

Definition at line 1278 of file vlnamespace.hpp.

◆ EKey

enum vl::EKey
Enumerator
Key_None 
Key_0 
Key_1 
Key_2 
Key_3 
Key_4 
Key_5 
Key_6 
Key_7 
Key_8 
Key_9 
Key_A 
Key_B 
Key_C 
Key_D 
Key_E 
Key_F 
Key_G 
Key_H 
Key_I 
Key_J 
Key_K 
Key_L 
Key_M 
Key_N 
Key_O 
Key_P 
Key_Q 
Key_R 
Key_S 
Key_T 
Key_U 
Key_V 
Key_W 
Key_X 
Key_Y 
Key_Z 
Key_Return 
Key_BackSpace 
Key_Tab 
Key_Space 
Key_Clear 
Key_Escape 
Key_Exclam 
Key_QuoteDbl 
Key_Hash 
Key_Dollar 
Key_Ampersand 
Key_Quote 
Key_LeftParen 
Key_RightParen 
Key_Asterisk 
Key_Plus 
Key_Comma 
Key_Minus 
Key_Period 
Key_Slash 
Key_Colon 
Key_Semicolon 
Key_Less 
Key_Equal 
Key_Greater 
Key_Question 
Key_At 
Key_LeftBracket 
Key_BackSlash 
Key_RightBracket 
Key_Caret 
Key_Underscore 
Key_QuoteLeft 
Key_Ctrl 
Key_LeftCtrl 
Key_RightCtrl 
Key_Alt 
Key_LeftAlt 
Key_RightAlt 
Key_Shift 
Key_LeftShift 
Key_RightShift 
Key_Insert 
Key_Delete 
Key_Home 
Key_End 
Key_Print 
Key_Pause 
Key_PageUp 
Key_PageDown 
Key_Left 
Key_Right 
Key_Up 
Key_Down 
Key_F1 
Key_F2 
Key_F3 
Key_F4 
Key_F5 
Key_F6 
Key_F7 
Key_F8 
Key_F9 
Key_F10 
Key_F11 
Key_F12 
Key_Unknown 
Key_NumberOfKeys 

Definition at line 1148 of file vlnamespace.hpp.

◆ ELineStipple

Line stipple patterns.

Enumerator
LineStipple_Solid 

The line is completely filled (default)

LineStipple_Dot 
LineStipple_Dash 
LineStipple_Dash4 
LineStipple_Dash8 
LineStipple_DashDot 
LineStipple_DashDotDot 

Definition at line 71 of file VectorGraphics.hpp.

◆ ELogicOp

Enumerator
LO_CLEAR 
LO_SET 
LO_COPY 
LO_COPY_INVERTED 
LO_NOOP 
LO_INVERT 
LO_AND 
LO_NAND 
LO_OR 
LO_NOR 
LO_XOR 
LO_EQUIV 
LO_AND_REVERSE 
LO_AND_INVERTED 
LO_OR_REVERSE 
LO_OR_INVERTED 

Definition at line 719 of file vlnamespace.hpp.

◆ ELogLevel

Enumerator
LL_LogNotify 
LL_LogPrint 
LL_LogBug 
LL_LogError 
LL_LogWarning 
LL_LogDebug 

Definition at line 1313 of file vlnamespace.hpp.

◆ EMoleculeStyle

Defines the main molecule styles.

Enumerator
MS_AtomsOnly 
MS_BallAndStick 
MS_Sticks 
MS_Wireframe 

Definition at line 48 of file Molecule.hpp.

◆ EMouseButton

Enumerator
NoButton 
LeftButton 
RightButton 
MiddleButton 
UnknownButton 

Definition at line 1267 of file vlnamespace.hpp.

◆ EOpenGLProfile

Enumerator
GLP_Default 
GLP_Compatibility 
GLP_Core 

Definition at line 1548 of file vlnamespace.hpp.

◆ EOpenMode

Enumerator
OM_ReadOnly 
OM_WriteOnly 

Definition at line 1142 of file vlnamespace.hpp.

◆ EPointSpriteCoordOrigin

Enumerator
PPCO_LOWER_LEFT 
PPCO_UPPER_LEFT 

Definition at line 1323 of file vlnamespace.hpp.

◆ EPolygonFace

Enumerator
PF_FRONT 
PF_BACK 
PF_FRONT_AND_BACK 

Definition at line 643 of file vlnamespace.hpp.

◆ EPolygonMode

Enumerator
PM_FILL 
PM_LINE 
PM_POINT 

Definition at line 675 of file vlnamespace.hpp.

◆ EPolygonStipple

Poligon stipple patterns.

Enumerator
PolygonStipple_Solid 

The poligon is completely filled (default)

PolygonStipple_Dot 
PolygonStipple_Chain 
PolygonStipple_HLine 
PolygonStipple_VLine 

Definition at line 60 of file VectorGraphics.hpp.

◆ EPrimitiveType

Enumerator
PT_POINTS 
PT_LINES 
PT_LINE_LOOP 
PT_LINE_STRIP 
PT_TRIANGLES 
PT_TRIANGLE_STRIP 
PT_TRIANGLE_FAN 
PT_QUADS 
PT_QUAD_STRIP 
PT_POLYGON 
PT_LINES_ADJACENCY 
PT_LINE_STRIP_ADJACENCY 
PT_TRIANGLES_ADJACENCY 
PT_TRIANGLE_STRIP_ADJACENCY 
PT_PATCHES 
PT_UNKNOWN 

Definition at line 616 of file vlnamespace.hpp.

◆ EProjectionMatrixType

Enumerator
PMT_UserProjection 

Unknown or other projection type.

PMT_OrthographicProjection 

Projection matrix generated by mat4::getOrtho() or similar.

Any orthographic projection.

PMT_PerspectiveProjection 

Projection matrix generated by mat4::getPerspective() or similar.

Symmetrical (on-axis) perspective projection.

PMT_PerspectiveProjectionFrustum 

Projection matrix generated by mat4::getFrustum() or similar.

Possibly asymmetrical (off-axis) perspetive projection, like the ones used for tile-rendering.

Definition at line 1507 of file vlnamespace.hpp.

◆ EReadDrawBuffer

Enumerator
RDB_NONE 
RDB_FRONT_LEFT 
RDB_FRONT_RIGHT 
RDB_BACK_LEFT 
RDB_BACK_RIGHT 
RDB_AUX0 
RDB_AUX1 
RDB_AUX2 
RDB_AUX3 
RDB_COLOR_ATTACHMENT0 
RDB_COLOR_ATTACHMENT1 
RDB_COLOR_ATTACHMENT2 
RDB_COLOR_ATTACHMENT3 
RDB_COLOR_ATTACHMENT4 
RDB_COLOR_ATTACHMENT5 
RDB_COLOR_ATTACHMENT6 
RDB_COLOR_ATTACHMENT7 
RDB_COLOR_ATTACHMENT8 
RDB_COLOR_ATTACHMENT9 
RDB_COLOR_ATTACHMENT10 
RDB_COLOR_ATTACHMENT11 
RDB_COLOR_ATTACHMENT12 
RDB_COLOR_ATTACHMENT13 
RDB_COLOR_ATTACHMENT14 
RDB_COLOR_ATTACHMENT15 

Definition at line 549 of file vlnamespace.hpp.

◆ ERenderState

Enumerator
RS_VertexAttrib 
RS_VertexAttrib0 
RS_VertexAttrib1 
RS_VertexAttrib2 
RS_VertexAttrib3 
RS_VertexAttrib4 
RS_VertexAttrib5 
RS_VertexAttrib6 
RS_VertexAttrib7 
RS_AlphaFunc 
RS_BlendColor 
RS_BlendEquation 
RS_BlendFunc 
RS_Color 
RS_ColorMask 
RS_CullFace 
RS_DepthFunc 
RS_DepthMask 
RS_DepthRange 
RS_Fog 
RS_FrontFace 
RS_PolygonMode 
RS_Hint 
RS_LightModel 
RS_LineStipple 
RS_LineWidth 
RS_LogicOp 
RS_Material 
RS_Normal 
RS_PixelTransfer 
RS_PointParameter 
RS_PointSize 
RS_PolygonOffset 
RS_PolygonStipple 
RS_SampleCoverage 
RS_SecondaryColor 
RS_ShadeModel 
RS_StencilFunc 
RS_StencilMask 
RS_StencilOp 
RS_GLSLProgram 
RS_Light 
RS_Light0 
RS_Light1 
RS_Light2 
RS_Light3 
RS_Light4 
RS_Light5 
RS_Light6 
RS_Light7 
RS_ClipPlane 
RS_ClipPlane0 
RS_ClipPlane1 
RS_ClipPlane2 
RS_ClipPlane3 
RS_ClipPlane4 
RS_ClipPlane5 
RS_TextureSampler 
RS_TextureSampler0 
RS_TextureSampler1 
RS_TextureSampler2 
RS_TextureSampler3 
RS_TextureSampler4 
RS_TextureSampler5 
RS_TextureSampler6 
RS_TextureSampler7 
RS_TextureSampler8 
RS_TextureSampler9 
RS_TextureSampler10 
RS_TextureSampler11 
RS_TextureSampler12 
RS_TextureSampler13 
RS_TextureSampler14 
RS_TextureSampler15 
RS_TexGen 
RS_TexGen0 
RS_TexGen1 
RS_TexGen2 
RS_TexGen3 
RS_TexGen4 
RS_TexGen5 
RS_TexGen6 
RS_TexGen7 
RS_TexGen8 
RS_TexGen9 
RS_TexGen10 
RS_TexGen11 
RS_TexGen12 
RS_TexGen13 
RS_TexGen14 
RS_TexGen15 
RS_TexEnv 
RS_TexEnv0 
RS_TexEnv1 
RS_TexEnv2 
RS_TexEnv3 
RS_TexEnv4 
RS_TexEnv5 
RS_TexEnv6 
RS_TexEnv7 
RS_TexEnv8 
RS_TexEnv9 
RS_TexEnv10 
RS_TexEnv11 
RS_TexEnv12 
RS_TexEnv13 
RS_TexEnv14 
RS_TexEnv15 
RS_TextureMatrix 
RS_TextureMatrix0 
RS_TextureMatrix1 
RS_TextureMatrix2 
RS_TextureMatrix3 
RS_TextureMatrix4 
RS_TextureMatrix5 
RS_TextureMatrix6 
RS_TextureMatrix7 
RS_TextureMatrix8 
RS_TextureMatrix9 
RS_TextureMatrix10 
RS_TextureMatrix11 
RS_TextureMatrix12 
RS_TextureMatrix13 
RS_TextureMatrix14 
RS_TextureMatrix15 
RS_RenderStateCount 
RS_NONE 

Definition at line 960 of file vlnamespace.hpp.

◆ EResetContextStates

Enumerator
RCS_RenderingStarted 
RCS_RenderingFinished 

Definition at line 1542 of file vlnamespace.hpp.

◆ EShadeModel

Enumerator
SM_FLAT 
SM_SMOOTH 

Definition at line 682 of file vlnamespace.hpp.

◆ EShaderCopyMode

Enumerator
SCM_OwnShaders 

A local copy of the Shaders will be created but the contained render states will be shared.

SCM_ShareShaders 

The Shader pointer will be copied as is.

Definition at line 1536 of file vlnamespace.hpp.

◆ EShaderType

Enumerator
ST_VERTEX_SHADER 

A shader that is intended to run on the programmable vertex processor.

ST_TESS_CONTROL_SHADER 

A shader that is intended to run on the programmable tessellation processor in the control stage.

ST_TESS_EVALUATION_SHADER 

A shader that is intended to run on the programmable tessellation processor in the evaluation stage.

ST_GEOMETRY_SHADER 

A shader that is intended to run on the programmable geometry processor.

ST_FRAGMENT_SHADER 

A shader that is intended to run on the programmable fragment processor.

Definition at line 1288 of file vlnamespace.hpp.

◆ ESilhouetteMode [1/2]

Enumerator
SilhouetteClosed 
SilhouetteOpen 
SilhouetteClosed 
SilhouetteOpen 

Definition at line 43 of file Extrusions.hpp.

◆ ESilhouetteMode [2/2]

Enumerator
SilhouetteClosed 
SilhouetteOpen 
SilhouetteClosed 
SilhouetteOpen 

Definition at line 43 of file Extrusion.hpp.

◆ ESortMode

Enumerator
SM_SortBackToFront 
SM_SortFrontToBack 

Definition at line 1118 of file vlnamespace.hpp.

◆ EStateType

Enumerator
ST_RenderStates 
ST_Enables 
ST_TextureSamplers 
ST_Lights 
ST_ClipPlanes 

Definition at line 951 of file vlnamespace.hpp.

◆ EStencilBufferFormat

Enumerator
SBF_STENCIL_INDEX1 
SBF_STENCIL_INDEX4 
SBF_STENCIL_INDEX8 
SBF_STENCIL_INDEX16 

Definition at line 454 of file vlnamespace.hpp.

◆ EStencilOp

Enumerator
SO_KEEP 
SO_ZERO 
SO_REPLACE 
SO_INCR 
SO_INCR_WRAP 
SO_DECR 
SO_DECR_WRAP 
SO_INVERT 

Definition at line 739 of file vlnamespace.hpp.

◆ EStringEncoding

Enumerator
SE_Unknown 
SE_ASCII 
SE_UTF8 
SE_UTF16_BE 
SE_UTF16_LE 
SE_UTF32_BE 
SE_UTF32_LE 
SE_LATIN1 

Definition at line 1130 of file vlnamespace.hpp.

◆ ETessellationWinding

Enumerator
TW_TESS_WINDING_ODD 
TW_TESS_WINDING_NONZERO 
TW_TESS_WINDING_POSITIVE 
TW_TESS_WINDING_NEGATIVE 
TW_TESS_WINDING_ABS_GEQ_TWO 

Definition at line 1297 of file vlnamespace.hpp.

◆ ETex2DTarget

Enumerator
T2DT_TEXTURE_2D 
T2DT_TEXTURE_CUBE_MAP_POSITIVE_X 
T2DT_TEXTURE_CUBE_MAP_NEGATIVE_X 
T2DT_TEXTURE_CUBE_MAP_POSITIVE_Y 
T2DT_TEXTURE_CUBE_MAP_NEGATIVE_Y 
T2DT_TEXTURE_CUBE_MAP_POSITIVE_Z 
T2DT_TEXTURE_CUBE_MAP_NEGATIVE_Z 
T2DT_TEXTURE_RECTANGLE 
T2DT_TEXTURE_1D_ARRAY 
T2DT_TEXTURE_2D_MULTISAMPLE 

Definition at line 328 of file vlnamespace.hpp.

◆ ETexCompareFunc

Enumerator
TCF_LEQUAL 
TCF_GEQUAL 
TCF_LESS 
TCF_GREATER 
TCF_EQUAL 
TCF_NOTEQUAL 
TCF_ALWAYS 
TCF_NEVER 

Definition at line 529 of file vlnamespace.hpp.

◆ ETexCompareMode

Enumerator
TCM_NONE 
TCM_COMPARE_R_TO_TEXTURE 
TCM_COMPARE_REF_DEPTH_TO_TEXTURE 

Definition at line 522 of file vlnamespace.hpp.

◆ ETexEnvMode

Enumerator
TEM_DECAL 
TEM_MODULATE 
TEM_ADD 
TEM_BLEND 
TEM_REPLACE 
TEM_COMBINE 
TEM_ADD_SIGN 
TEM_INTERPOLATE 
TEM_SUBTRACT 
TEM_DOT3_RGB 
TEM_DOT3_RGBA 

Definition at line 770 of file vlnamespace.hpp.

◆ ETexEnvOperand

Enumerator
TEO_SRC_COLOR 
TEO_ONE_MINUS_SRC_COLOR 
TEO_SRC_ALPHA 
TEO_ONE_MINUS_SRC_ALPHA 

Definition at line 801 of file vlnamespace.hpp.

◆ ETexEnvSource

Enumerator
TES_TEXTURE 
TES_TEXTURE0 
TES_TEXTURE1 
TES_TEXTURE2 
TES_TEXTURE3 
TES_TEXTURE4 
TES_TEXTURE5 
TES_TEXTURE6 
TES_TEXTURE7 
TES_CONSTANT 
TES_PRIMARY_COLOR 
TES_PREVIOUS 

Definition at line 785 of file vlnamespace.hpp.

◆ ETexGenMode

Texture generation modes, see also http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml for more information.

Enumerator
TGM_DISABLED 
TGM_EYE_LINEAR 

Not supported under OpenGL ES 1.x.

TGM_OBJECT_LINEAR 

Not supported under OpenGL ES 1.x.

TGM_SPHERE_MAP 

Not supported under OpenGL ES 1.x.

TGM_REFLECTION_MAP 
TGM_NORMAL_MAP 

Definition at line 810 of file vlnamespace.hpp.

◆ ETexParamFilter

Enumerator
TPF_NEAREST 
TPF_LINEAR 
TPF_NEAREST_MIPMAP_NEAREST 
TPF_LINEAR_MIPMAP_NEAREST 
TPF_NEAREST_MIPMAP_LINEAR 
TPF_LINEAR_MIPMAP_LINEAR 

Definition at line 751 of file vlnamespace.hpp.

◆ ETexParamWrap

Enumerator
TPW_CLAMP 
TPW_CLAMP_TO_BORDER 
TPW_CLAMP_TO_EDGE 
TPW_MIRRORED_REPEAT 
TPW_REPEAT 

Definition at line 761 of file vlnamespace.hpp.

◆ ETextAlign

Enumerator
TextAlignLeft 
TextAlignRight 
TextAlignCenter 
TextAlignJustify 

Definition at line 913 of file vlnamespace.hpp.

◆ ETextLayout

Enumerator
LeftToRightText 
RightToLeftText 
TopToBottomText 

Definition at line 927 of file vlnamespace.hpp.

◆ ETextMode

Enumerator
Text2D 
Text3D 

Definition at line 921 of file vlnamespace.hpp.

◆ ETextureDimension

Enumerator
TD_TEXTURE_UNKNOWN 
TD_TEXTURE_1D 
TD_TEXTURE_2D 
TD_TEXTURE_3D 
TD_TEXTURE_CUBE_MAP 
TD_TEXTURE_RECTANGLE 
TD_TEXTURE_1D_ARRAY 
TD_TEXTURE_2D_ARRAY 
TD_TEXTURE_BUFFER 
TD_TEXTURE_2D_MULTISAMPLE 
TD_TEXTURE_2D_MULTISAMPLE_ARRAY 

Definition at line 507 of file vlnamespace.hpp.

◆ ETextureFormat

Enumerator
TF_UNKNOWN 
TF_ALPHA 
TF_ALPHA4 
TF_ALPHA8 
TF_ALPHA12 
TF_ALPHA16 
TF_INTENSITY 
TF_INTENSITY4 
TF_INTENSITY8 
TF_INTENSITY12 
TF_INTENSITY16 
TF_LUMINANCE 
TF_LUMINANCE4 
TF_LUMINANCE8 
TF_LUMINANCE12 
TF_LUMINANCE16 
TF_LUMINANCE_ALPHA 
TF_LUMINANCE4_ALPHA4 
TF_LUMINANCE6_ALPHA2 
TF_LUMINANCE8_ALPHA8 
TF_LUMINANCE12_ALPHA4 
TF_LUMINANCE12_ALPHA12 
TF_LUMINANCE16_ALPHA16 
TF_R3_G3_B2 
TF_RGB 
TF_RGB4 
TF_RGB5 
TF_RGB8 
TF_RGB10 
TF_RGB12 
TF_RGB16 
TF_RGBA 
TF_RGBA2 
TF_RGBA4 
TF_RGB5_A1 
TF_RGBA8 
TF_RGB10_A2 
TF_RGBA12 
TF_RGBA16 
TF_RGBA32F 
TF_RGB32F 
TF_ALPHA32F 
TF_INTENSITY32F 
TF_LUMINANCE32F 
TF_LUMINANCE_ALPHA32F 
TF_RGBA16F 
TF_RGB16F 
TF_ALPHA16F 
TF_INTENSITY16F 
TF_LUMINANCE16F 
TF_LUMINANCE_ALPHA16F 
TF_RGBA_FLOAT32_ATI 
TF_RGB_FLOAT32_ATI 
TF_ALPHA_FLOAT32_ATI 
TF_INTENSITY_FLOAT32_ATI 
TF_LUMINANCE_FLOAT32_ATI 
TF_LUMINANCE_ALPHA_FLOAT32_ATI 
TF_RGBA_FLOAT16_ATI 
TF_RGB_FLOAT16_ATI 
TF_ALPHA_FLOAT16_ATI 
TF_INTENSITY_FLOAT16_ATI 
TF_LUMINANCE_FLOAT16_ATI 
TF_LUMINANCE_ALPHA_FLOAT16_ATI 
TF_RGB9_E5_EXT 
TF_11F_G11F_B10F_EXT 
TF_DEPTH_STENCIL 
TF_DEPTH24_STENCIL8 
TF_DEPTH_COMPONENT32F 
TF_DEPTH32F_STENCIL8 
TF_DEPTH_COMPONENT 
TF_DEPTH_COMPONENT16 
TF_DEPTH_COMPONENT24 
TF_DEPTH_COMPONENT32 
TF_COMPRESSED_ALPHA 
TF_COMPRESSED_INTENSITY 
TF_COMPRESSED_LUMINANCE 
TF_COMPRESSED_LUMINANCE_ALPHA 
TF_COMPRESSED_RGB 
TF_COMPRESSED_RGBA 
TF_COMPRESSED_RGB_FXT1_3DFX 
TF_COMPRESSED_RGBA_FXT1_3DFX 
TF_COMPRESSED_RGB_S3TC_DXT1_EXT 
TF_COMPRESSED_RGBA_S3TC_DXT1_EXT 
TF_COMPRESSED_RGBA_S3TC_DXT3_EXT 
TF_COMPRESSED_RGBA_S3TC_DXT5_EXT 
TF_COMPRESSED_LUMINANCE_LATC1_EXT 
TF_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 
TF_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 
TF_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 
TF_COMPRESSED_RED_RGTC1_EXT 
TF_COMPRESSED_SIGNED_RED_RGTC1_EXT 
TF_COMPRESSED_RED_GREEN_RGTC2_EXT 
TF_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 
TF_RGBA32UI_EXT 
TF_RGB32UI_EXT 
TF_ALPHA32UI_EXT 
TF_INTENSITY32UI_EXT 
TF_LUMINANCE32UI_EXT 
TF_LUMINANCE_ALPHA32UI_EXT 
TF_RGBA16UI_EXT 
TF_RGB16UI_EXT 
TF_ALPHA16UI_EXT 
TF_INTENSITY16UI_EXT 
TF_LUMINANCE16UI_EXT 
TF_LUMINANCE_ALPHA16UI_EXT 
TF_RGBA8UI_EXT 
TF_RGB8UI_EXT 
TF_ALPHA8UI_EXT 
TF_INTENSITY8UI_EXT 
TF_LUMINANCE8UI_EXT 
TF_LUMINANCE_ALPHA8UI_EXT 
TF_RGBA32I_EXT 
TF_RGB32I_EXT 
TF_ALPHA32I_EXT 
TF_INTENSITY32I_EXT 
TF_LUMINANCE32I_EXT 
TF_LUMINANCE_ALPHA32I_EXT 
TF_RGBA16I_EXT 
TF_RGB16I_EXT 
TF_ALPHA16I_EXT 
TF_INTENSITY16I_EXT 
TF_LUMINANCE16I_EXT 
TF_LUMINANCE_ALPHA16I_EXT 
TF_RGBA8I_EXT 
TF_RGB8I_EXT 
TF_ALPHA8I_EXT 
TF_INTENSITY8I_EXT 
TF_LUMINANCE8I_EXT 
TF_LUMINANCE_ALPHA8I_EXT 
TF_RED 
TF_COMPRESSED_RED 
TF_COMPRESSED_RG 
TF_RG 
TF_R8 
TF_R16 
TF_RG8 
TF_RG16 
TF_R16F 
TF_R32F 
TF_RG16F 
TF_RG32F 
TF_R8I 
TF_R8UI 
TF_R16I 
TF_R16UI 
TF_R32I 
TF_R32UI 
TF_RG8I 
TF_RG8UI 
TF_RG16I 
TF_RG16UI 
TF_RG32I 
TF_RG32UI 
TF_SLUMINANCE_ALPHA 
TF_SLUMINANCE8_ALPHA8 
TF_SLUMINANCE 
TF_SLUMINANCE8 
TF_COMPRESSED_SLUMINANCE 
TF_COMPRESSED_SLUMINANCE_ALPHA 
TF_SRGB 
TF_SRGB8 
TF_SRGB_ALPHA 
TF_SRGB8_ALPHA8 
TF_COMPRESSED_SRGB 
TF_COMPRESSED_SRGB_ALPHA 
TF_COMPRESSED_SRGB_S3TC_DXT1_EXT 
TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 
TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 
TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 
TF_R8_SNORM 
TF_R16_SNORM 
TF_RG8_SNORM 
TF_RG16_SNORM 
TF_RGB8_SNORM 
TF_RGBA8_SNORM 
TF_RGB10_A2UI 
TF_RGBA16_SNORM 
TF_R11F_G11F_B10F 
TF_RGB9_E5 
TF_RGB8I 
TF_RGB8UI 
TF_RGB16I 
TF_RGB16UI 
TF_RGB32I 
TF_RGB32UI 
TF_RGBA8I 
TF_RGBA8UI 
TF_RGBA16I 
TF_RGBA16UI 
TF_RGBA32I 
TF_RGBA32UI 

Definition at line 45 of file vlnamespace.hpp.

◆ ETextureMode

Defines how the texture is applied to the rendering primitive.

Enumerator
TextureMode_Clamp 

The texture is stretched over the primitive.

TextureMode_Repeat 

The texture is repeated over the primitive.

Definition at line 51 of file VectorGraphics.hpp.

◆ EUniformType

Uniform types, see also vl::UniformInfo, vl::GLSLProgram, vl::Uniform, http://www.opengl.org/sdk/docs/man4/xhtml/glGetActiveUniform.xml.

Enumerator
UT_NONE 
UT_FLOAT 

float

UT_FLOAT_VEC2 

vec2

UT_FLOAT_VEC3 

vec3

UT_FLOAT_VEC4 

vec4

UT_DOUBLE 

double

UT_DOUBLE_VEC2 

dvec2

UT_DOUBLE_VEC3 

dvec3

UT_DOUBLE_VEC4 

dvec4

UT_INT 

int

UT_INT_VEC2 

ivec2

UT_INT_VEC3 

ivec3

UT_INT_VEC4 

ivec4

UT_UNSIGNED_INT 

unsigned int

UT_UNSIGNED_INT_VEC2 

uvec2

UT_UNSIGNED_INT_VEC3 

uvec3

UT_UNSIGNED_INT_VEC4 

uvec4

UT_BOOL 

bool

UT_BOOL_VEC2 

bvec2

UT_BOOL_VEC3 

bvec3

UT_BOOL_VEC4 

bvec4

UT_FLOAT_MAT2 

mat2

UT_FLOAT_MAT3 

mat3

UT_FLOAT_MAT4 

mat4

UT_FLOAT_MAT2x3 

mat2x3

UT_FLOAT_MAT2x4 

mat2x4

UT_FLOAT_MAT3x2 

mat3x2

UT_FLOAT_MAT3x4 

mat3x4

UT_FLOAT_MAT4x2 

mat4x2

UT_FLOAT_MAT4x3 

mat4x3

UT_DOUBLE_MAT2 

dmat2

UT_DOUBLE_MAT3 

dmat3

UT_DOUBLE_MAT4 

dmat4

UT_DOUBLE_MAT2x3 

dmat2x3

UT_DOUBLE_MAT2x4 

dmat2x4

UT_DOUBLE_MAT3x2 

dmat3x2

UT_DOUBLE_MAT3x4 

dmat3x4

UT_DOUBLE_MAT4x2 

dmat4x2

UT_DOUBLE_MAT4x3 

dmat4x3

UT_SAMPLER_1D 

sampler1D

UT_SAMPLER_2D 

sampler2D

UT_SAMPLER_3D 

sampler3D

UT_SAMPLER_CUBE 

samplerCube

UT_SAMPLER_1D_SHADOW 

sampler1DShadow

UT_SAMPLER_2D_SHADOW 

sampler2DShadow

UT_SAMPLER_1D_ARRAY 

sampler1DArray

UT_SAMPLER_2D_ARRAY 

sampler2DArray

UT_SAMPLER_1D_ARRAY_SHADOW 

sampler1DArrayShadow

UT_SAMPLER_2D_ARRAY_SHADOW 

sampler2DArrayShadow

UT_SAMPLER_2D_MULTISAMPLE 

sampler2DMS

UT_SAMPLER_2D_MULTISAMPLE_ARRAY 

sampler2DMSArray

UT_SAMPLER_CUBE_SHADOW 

samplerCubeShadow

UT_SAMPLER_BUFFER 

samplerBuffer

UT_SAMPLER_2D_RECT 

sampler2DRect

UT_SAMPLER_2D_RECT_SHADOW 

sampler2DRectShadow

UT_INT_SAMPLER_1D 

isampler1D

UT_INT_SAMPLER_2D 

isampler2D

UT_INT_SAMPLER_3D 

isampler3D

UT_INT_SAMPLER_CUBE 

isamplerCube

UT_INT_SAMPLER_1D_ARRAY 

isampler1DArray

UT_INT_SAMPLER_2D_ARRAY 

isampler2DArray

UT_INT_SAMPLER_2D_MULTISAMPLE 

isampler2DMS

UT_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 

isampler2DMSArray

UT_INT_SAMPLER_BUFFER 

isamplerBuffer

UT_INT_SAMPLER_2D_RECT 

isampler2DRect

UT_UNSIGNED_INT_SAMPLER_1D 

usampler1D

UT_UNSIGNED_INT_SAMPLER_2D 

usampler2D

UT_UNSIGNED_INT_SAMPLER_3D 

usampler3D

UT_UNSIGNED_INT_SAMPLER_CUBE 

usamplerCube

UT_UNSIGNED_INT_SAMPLER_1D_ARRAY 

usampler2DArray

UT_UNSIGNED_INT_SAMPLER_2D_ARRAY 

usampler2DArray

UT_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 

usampler2DMS

UT_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 

usampler2DMSArray

UT_UNSIGNED_INT_SAMPLER_BUFFER 

usamplerBuffer

UT_UNSIGNED_INT_SAMPLER_2D_RECT 

usampler2DRect

UT_UniformTypeCount 

Definition at line 1383 of file vlnamespace.hpp.

◆ EVerbosityLevel

Enumerator
VEL_VERBOSITY_SILENT 

< No log information is generated.

VEL_VERBOSITY_ERROR 

< Outputs critical and runtime error messages.

VEL_VERBOSITY_NORMAL 

< Outputs normal information messages, plus all error messages.

VEL_VERBOSITY_DEBUG 

< Outputs extra information messages useful for debugging, plus all normal and error messages.

Definition at line 1306 of file vlnamespace.hpp.

◆ EVertexAttribBinding

Default vertex attribute bindings.

Enumerator
VA_Position 
VA_Normal 
VA_Color 
VA_SecondaryColor 
VA_FogCoord 
VA_TexCoord0 
VA_TexCoord1 
VA_TexCoord2 
VA_TexCoord3 
VA_TexCoord4 
VA_TexCoord5 
VA_TexCoord6 
VA_TexCoord7 
VA_TexCoord8 
VA_TexCoord9 
VA_TexCoord10 
VA_MaxTexCoordCount 
VA_MaxAttribCount 
VA_TexCoordDiffuse 
VA_TexCoordDetail 
VA_TexCoordShadow 
VA_TexCoordSpecular 
VA_TexCoordNormalMap 
VA_TexCoordDisplace 
VA_Tangent 
VA_Bitangent 
VA_NextPosition 
VA_NextNormal 

Definition at line 1344 of file vlnamespace.hpp.

◆ EVertexAttribInterpretation

Specifies how the data of a VertexAttribInfo is sent to the OpenGL driver, see also http://www.opengl.org/sdk/docs/man4/xhtml/glVertexAttribPointer.xml.

Enumerator
VAI_NORMAL 

Data will be sent using glVertexAttribPointer(), that is, data will be converted to floating point precision and eventually normalized.

VAI_INTEGER 

Data will be sent using glVertexAttribIPointer(), that is, values are always left as integer values, data format must be an integer type.

VAI_DOUBLE 

Data will be sent using glVertexAttribLPointer(), that is, it will be associated with a shader attribute variable declared with 64-bit double precision components, data format must be double.

Definition at line 1331 of file vlnamespace.hpp.

Function Documentation

◆ abort_vl()

void vl::abort_vl ( )

Definition at line 121 of file pimpl.cpp.

References vl::Time::sleep(), and vl::String::toStdString().

◆ abs() [1/4]

template<typename T >
T vl::abs ( a)

Definition at line 646 of file glsl_math.hpp.

Referenced by vl::ActorKdTree::rebuildKdTree().

◆ abs() [2/4]

template<typename T >
Vector2<T> vl::abs ( const Vector2< T > &  a)

Definition at line 649 of file glsl_math.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ abs() [3/4]

template<typename T >
Vector3<T> vl::abs ( const Vector3< T > &  a)

◆ abs() [4/4]

template<typename T >
Vector4<T> vl::abs ( const Vector4< T > &  a)

◆ acos() [1/4]

template<typename T >
T vl::acos ( a)

◆ acos() [2/4]

template<typename T >
Vector2<T> vl::acos ( const Vector2< T > &  angle)

Definition at line 332 of file glsl_math.hpp.

References acos(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ acos() [3/4]

template<typename T >
Vector3<T> vl::acos ( const Vector3< T > &  angle)

◆ acos() [4/4]

template<typename T >
Vector4<T> vl::acos ( const Vector4< T > &  angle)

◆ acosh() [1/4]

template<typename T >
T vl::acosh ( x)

Definition at line 110 of file glsl_math.hpp.

References log(), and sqrt().

Referenced by acosh().

◆ acosh() [2/4]

template<typename T >
Vector2<T> vl::acosh ( const Vector2< T > &  a)

◆ acosh() [3/4]

template<typename T >
Vector3<T> vl::acosh ( const Vector3< T > &  a)

◆ acosh() [4/4]

template<typename T >
Vector4<T> vl::acosh ( const Vector4< T > &  a)

◆ all() [1/3]

bool vl::all ( const ivec2 a)
inline

Definition at line 1455 of file glsl_math.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ all() [2/3]

bool vl::all ( const ivec3 a)
inline

◆ all() [3/3]

bool vl::all ( const ivec4 a)
inline

◆ any() [1/3]

bool vl::any ( const ivec2 a)
inline

Definition at line 1449 of file glsl_math.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ any() [2/3]

bool vl::any ( const ivec3 a)
inline

◆ any() [3/3]

bool vl::any ( const ivec4 a)
inline

◆ asin() [1/4]

template<typename T >
T vl::asin ( a)

Definition at line 303 of file glsl_math.hpp.

References asin().

Referenced by asin().

◆ asin() [2/4]

template<typename T >
Vector2<T> vl::asin ( const Vector2< T > &  angle)

Definition at line 306 of file glsl_math.hpp.

References asin(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ asin() [3/4]

template<typename T >
Vector3<T> vl::asin ( const Vector3< T > &  angle)

◆ asin() [4/4]

template<typename T >
Vector4<T> vl::asin ( const Vector4< T > &  angle)

◆ asinh() [1/4]

template<typename T >
T vl::asinh ( x)

Definition at line 107 of file glsl_math.hpp.

References log(), and sqrt().

Referenced by asinh().

◆ asinh() [2/4]

template<typename T >
Vector2<T> vl::asinh ( const Vector2< T > &  a)

◆ asinh() [3/4]

template<typename T >
Vector3<T> vl::asinh ( const Vector3< T > &  a)

◆ asinh() [4/4]

template<typename T >
Vector4<T> vl::asinh ( const Vector4< T > &  a)

◆ assemble3DImage()

ref< Image > vl::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().

The order of the given images is important: the first image will be used for z layer #0, the second for z layer #1 and so on.

Definition at line 1151 of file Image.cpp.

References vl::Image::allocate3D(), vl::Image::bitsPerPixel(), vl::Image::byteAlignment(), vl::Image::depth(), vl::Image::format(), vl::Image::height(), vl::Image::Image(), NULL, vl::Image::pixels(), vl::Image::pixelsZSlice(), vl::Image::requiredMemory(), vl::Image::type(), VL_CHECK, and vl::Image::width().

◆ atan() [1/4]

template<typename T >
T vl::atan ( a)

Definition at line 277 of file glsl_math.hpp.

References atan().

Referenced by vl::Camera::setProjectionFrustum().

◆ atan() [2/4]

template<typename T >
Vector2<T> vl::atan ( const Vector2< T > &  a,
const Vector2< T > &  b 
)

Definition at line 280 of file glsl_math.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ atan() [3/4]

template<typename T >
Vector3<T> vl::atan ( const Vector3< T > &  a,
const Vector3< T > &  b 
)

◆ atan() [4/4]

template<typename T >
Vector4<T> vl::atan ( const Vector4< T > &  a,
const Vector4< T > &  b 
)

◆ atanh() [1/4]

template<typename T >
T vl::atanh ( x)

Definition at line 120 of file glsl_math.hpp.

References log(), and sqrt().

Referenced by atanh().

◆ atanh() [2/4]

template<typename T >
Vector2<T> vl::atanh ( const Vector2< T > &  a)

◆ atanh() [3/4]

template<typename T >
Vector3<T> vl::atanh ( const Vector3< T > &  a)

◆ atanh() [4/4]

template<typename T >
Vector4<T> vl::atanh ( const Vector4< T > &  a)

◆ atomInfo()

VLMOLECULE_EXPORT const AtomInfo & vl::atomInfo ( EAtomType  type)

◆ atomType()

VLMOLECULE_EXPORT EAtomType vl::atomType ( const char *  type)

◆ canLoad() [1/2]

bool vl::canLoad ( const String path)

Short version of defLoadWriterManager()->canLoad(path).

Definition at line 189 of file LoadWriterManager.cpp.

References vl::LoadWriterManager::canLoad(), and defLoadWriterManager().

◆ canLoad() [2/2]

bool vl::canLoad ( VirtualFile file)

Short version of defLoadWriterManager()->canLoad(file).

Definition at line 193 of file LoadWriterManager.cpp.

References vl::LoadWriterManager::canLoad(), and defLoadWriterManager().

◆ canWrite() [1/2]

bool vl::canWrite ( const String path)

Short version of defLoadWriterManager()->canWrite(path).

Definition at line 191 of file LoadWriterManager.cpp.

References vl::LoadWriterManager::canWrite(), and defLoadWriterManager().

◆ canWrite() [2/2]

bool vl::canWrite ( VirtualFile file)

Short version of defLoadWriterManager()->canWrite(file).

Definition at line 195 of file LoadWriterManager.cpp.

References vl::LoadWriterManager::canWrite(), and defLoadWriterManager().

◆ cast()

template<class B , class A >
B* vl::cast ( A *  obj)

Definition at line 219 of file TypeInfo.hpp.

References NULL.

◆ cast_const()

template<class B , class A >
const B* vl::cast_const ( const A *  obj)

Definition at line 228 of file TypeInfo.hpp.

References NULL.

◆ ceil() [1/4]

template<typename T >
T vl::ceil ( a)

Definition at line 903 of file glsl_math.hpp.

References ceil().

Referenced by ceil(), round(), and roundEven().

◆ ceil() [2/4]

template<typename T >
Vector2<T> vl::ceil ( const Vector2< T > &  a)

Definition at line 906 of file glsl_math.hpp.

References ceil(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ ceil() [3/4]

template<typename T >
Vector3<T> vl::ceil ( const Vector3< T > &  a)

◆ ceil() [4/4]

template<typename T >
Vector4<T> vl::ceil ( const Vector4< T > &  a)

◆ clamp() [1/28]

float vl::clamp ( float  x,
float  minval,
float  maxval 
)
inline

◆ clamp() [2/28]

double vl::clamp ( double  x,
double  minval,
double  maxval 
)
inline

Definition at line 316 of file Vector2.hpp.

References max(), and min().

◆ clamp() [3/28]

int vl::clamp ( int  x,
int  minval,
int  maxval 
)
inline

Definition at line 317 of file Vector2.hpp.

References max(), and min().

◆ clamp() [4/28]

unsigned int vl::clamp ( unsigned int  x,
unsigned int  minval,
unsigned int  maxval 
)
inline

Definition at line 318 of file Vector2.hpp.

References max(), and min().

◆ clamp() [5/28]

fvec3 vl::clamp ( const fvec3 x,
float  minval,
float  maxval 
)
inline

Definition at line 391 of file Vector3.hpp.

References max(), and min().

◆ clamp() [6/28]

fvec3 vl::clamp ( const fvec3 x,
const fvec3 minval,
const fvec3 maxval 
)
inline

Definition at line 392 of file Vector3.hpp.

References max(), and min().

◆ clamp() [7/28]

ivec3 vl::clamp ( const ivec3 x,
const ivec3 minval,
const ivec3 maxval 
)
inline

Definition at line 393 of file Vector3.hpp.

References max(), and min().

◆ clamp() [8/28]

dvec3 vl::clamp ( const dvec3 x,
double  minval,
double  maxval 
)
inline

Definition at line 394 of file Vector3.hpp.

References max(), and min().

◆ clamp() [9/28]

dvec3 vl::clamp ( const dvec3 x,
const dvec3 minval,
const dvec3 maxval 
)
inline

Definition at line 395 of file Vector3.hpp.

References max(), and min().

◆ clamp() [10/28]

ivec3 vl::clamp ( const ivec3 x,
int  minval,
int  maxval 
)
inline

Definition at line 396 of file Vector3.hpp.

References max(), and min().

◆ clamp() [11/28]

uvec3 vl::clamp ( const uvec3 x,
unsigned int  minval,
unsigned int  maxval 
)
inline

Definition at line 397 of file Vector3.hpp.

References max(), and min().

◆ clamp() [12/28]

uvec3 vl::clamp ( const uvec3 x,
const uvec3 minval,
const uvec3 maxval 
)
inline

Definition at line 398 of file Vector3.hpp.

References max(), and min().

◆ clamp() [13/28]

fvec2 vl::clamp ( const fvec2 x,
float  minval,
float  maxval 
)
inline

Definition at line 400 of file Vector2.hpp.

References max(), and min().

◆ clamp() [14/28]

fvec2 vl::clamp ( const fvec2 x,
const fvec2 minval,
const fvec2 maxval 
)
inline

Definition at line 401 of file Vector2.hpp.

References max(), and min().

◆ clamp() [15/28]

dvec2 vl::clamp ( const dvec2 x,
double  minval,
double  maxval 
)
inline

Definition at line 402 of file Vector2.hpp.

References max(), and min().

◆ clamp() [16/28]

dvec2 vl::clamp ( const dvec2 x,
const dvec2 minval,
const dvec2 maxval 
)
inline

Definition at line 403 of file Vector2.hpp.

References max(), and min().

◆ clamp() [17/28]

ivec2 vl::clamp ( const ivec2 x,
int  minval,
int  maxval 
)
inline

Definition at line 404 of file Vector2.hpp.

References max(), and min().

◆ clamp() [18/28]

ivec2 vl::clamp ( const ivec2 x,
const ivec2 minval,
const ivec2 maxval 
)
inline

Definition at line 405 of file Vector2.hpp.

References max(), and min().

◆ clamp() [19/28]

uvec2 vl::clamp ( const uvec2 x,
unsigned int  minval,
unsigned int  maxval 
)
inline

Definition at line 406 of file Vector2.hpp.

References max(), and min().

◆ clamp() [20/28]

uvec2 vl::clamp ( const uvec2 x,
const uvec2 minval,
const uvec2 maxval 
)
inline

Definition at line 407 of file Vector2.hpp.

References max(), and min().

◆ clamp() [21/28]

fvec4 vl::clamp ( const fvec4 x,
float  minval,
float  maxval 
)
inline

Definition at line 416 of file Vector4.hpp.

References max(), and min().

◆ clamp() [22/28]

fvec4 vl::clamp ( const fvec4 x,
const fvec4 minval,
const fvec4 maxval 
)
inline

Definition at line 417 of file Vector4.hpp.

References max(), and min().

◆ clamp() [23/28]

dvec4 vl::clamp ( const dvec4 x,
double  minval,
double  maxval 
)
inline

Definition at line 418 of file Vector4.hpp.

References max(), and min().

◆ clamp() [24/28]

dvec4 vl::clamp ( const dvec4 x,
const dvec4 minval,
const dvec4 maxval 
)
inline

Definition at line 419 of file Vector4.hpp.

References max(), and min().

◆ clamp() [25/28]

ivec4 vl::clamp ( const ivec4 x,
int  minval,
int  maxval 
)
inline

Definition at line 420 of file Vector4.hpp.

References max(), and min().

◆ clamp() [26/28]

ivec4 vl::clamp ( const ivec4 x,
const ivec4 minval,
const ivec4 maxval 
)
inline

Definition at line 421 of file Vector4.hpp.

References max(), and min().

◆ clamp() [27/28]

uvec4 vl::clamp ( const uvec4 x,
unsigned int  minval,
unsigned int  maxval 
)
inline

Definition at line 422 of file Vector4.hpp.

References max(), and min().

◆ clamp() [28/28]

uvec4 vl::clamp ( const uvec4 x,
const uvec4 minval,
const uvec4 maxval 
)
inline

Definition at line 423 of file Vector4.hpp.

References max(), and min().

◆ compress()

bool vl::compress ( const void *  data,
size_t  size,
std::vector< unsigned char > &  out,
int  level 
)

Definition at line 42 of file ZippedFile.cpp.

References min(), and VL_CHECK.

◆ convert8ToRGBA() [1/2]

void vl::convert8ToRGBA ( const TPalette3x256 palette,
void *  buf,
int  w,
int  h,
unsigned char  alpha,
int  bytealign = 1 
)
inline

Definition at line 117 of file ImageTools.hpp.

Referenced by loadBMP(), loadDDS(), and loadTGA().

◆ convert8ToRGBA() [2/2]

void vl::convert8ToRGBA ( const TPalette4x256 palette,
void *  buf,
int  w,
int  h,
int  bytealign = 1 
)
inline

Definition at line 157 of file ImageTools.hpp.

◆ convertA1R5G5B5ToRGBA()

void vl::convertA1R5G5B5ToRGBA ( void *  buf,
int  size,
unsigned char  alpha 
)
inline

Definition at line 97 of file ImageTools.hpp.

Referenced by loadTGA().

◆ convertGrayscaleToRGBA()

void vl::convertGrayscaleToRGBA ( void *  buf,
int  size,
unsigned char  alpha 
)
inline

Definition at line 82 of file ImageTools.hpp.

◆ convertRGBToRGBA()

void vl::convertRGBToRGBA ( void *  buf,
int  w,
int  h,
unsigned char  alpha,
int  bytealign = 1 
)
inline

Definition at line 43 of file ImageTools.hpp.

Referenced by loadBMP(), and loadTGA().

◆ cos() [1/4]

template<typename T >
T vl::cos ( a)

◆ cos() [2/4]

template<typename T >
Vector2<T> vl::cos ( const Vector2< T > &  angle)

Definition at line 228 of file glsl_math.hpp.

References cos(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ cos() [3/4]

template<typename T >
Vector3<T> vl::cos ( const Vector3< T > &  angle)

◆ cos() [4/4]

template<typename T >
Vector4<T> vl::cos ( const Vector4< T > &  angle)

◆ cosh() [1/4]

template<typename T >
T vl::cosh ( a)

Definition at line 371 of file glsl_math.hpp.

References exp().

Referenced by cosh(), and tanh().

◆ cosh() [2/4]

template<typename T >
Vector2<T> vl::cosh ( const Vector2< T > &  a)

Definition at line 374 of file glsl_math.hpp.

References cosh(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ cosh() [3/4]

template<typename T >
Vector3<T> vl::cosh ( const Vector3< T > &  a)

◆ cosh() [4/4]

template<typename T >
Vector4<T> vl::cosh ( const Vector4< T > &  a)

◆ createCubemap()

ref< Image > vl::createCubemap ( const Image xp,
const Image xn,
const Image yp,
const Image yn,
const Image zp,
const Image zn 
)

◆ cross() [1/2]

fvec3 vl::cross ( const fvec3 v1,
const fvec3 v2 
)
inline

◆ cross() [2/2]

dvec3 vl::cross ( const dvec3 v1,
const dvec3 v2 
)
inline

◆ decompress()

bool vl::decompress ( const void *  cdata,
size_t  csize,
void *  data_out 
)

Definition at line 94 of file ZippedFile.cpp.

References min(), vl::VirtualFile::read(), and VL_CHECK.

◆ defFileSystem()

FileSystem * vl::defFileSystem ( )

◆ defFontManager()

FontManager * vl::defFontManager ( )

Returns the default FontManager used by Visualization Library.

Definition at line 43 of file pimpl.cpp.

Referenced by vl::VectorGraphics::setDefaultFont(), vl::VectorGraphics::setFont(), and vl::VolumePlot::VolumePlot().

◆ defLoadWriterManager()

LoadWriterManager * vl::defLoadWriterManager ( )

Returs the default LoadWriterManager used by Visualization Library.

Definition at line 82 of file pimpl.cpp.

Referenced by canLoad(), canWrite(), loadImage(), loadResource(), registerLoadWriter(), saveImage(), and writeResource().

◆ defLogger()

Log * vl::defLogger ( )

Returns the currently installed default logger.

Definition at line 71 of file pimpl.cpp.

References NULL.

Referenced by vl::Log::bug(), vl::Log::debug(), vl::Log::error(), vl::Log::logMutex(), vl::Log::notify(), vl::Log::print(), and vl::Log::warning().

◆ defMersenneTwister()

MersenneTwister * vl::defMersenneTwister ( )

Definition at line 112 of file pimpl.cpp.

Referenced by vl::Random::fillRandomMersenneTwister(), random(), randomI32(), and randomU32().

◆ degrees() [1/4]

template<typename T >
T vl::degrees ( radians)

◆ degrees() [2/4]

template<typename T >
Vector2<T> vl::degrees ( const Vector2< T > &  radians)

◆ degrees() [3/4]

template<typename T >
Vector3<T> vl::degrees ( const Vector3< T > &  radians)

◆ degrees() [4/4]

template<typename T >
Vector4<T> vl::degrees ( const Vector4< T > &  radians)

◆ distance() [1/4]

template<typename T >
T vl::distance ( p0,
p1 
)

◆ distance() [2/4]

template<typename T >
T vl::distance ( const Vector2< T > &  p0,
const Vector2< T > &  p1 
)

Definition at line 1101 of file glsl_math.hpp.

References length().

◆ distance() [3/4]

template<typename T >
T vl::distance ( const Vector3< T > &  p0,
const Vector3< T > &  p1 
)

Definition at line 1104 of file glsl_math.hpp.

References length().

◆ distance() [4/4]

template<typename T >
T vl::distance ( const Vector4< T > &  p0,
const Vector4< T > &  p1 
)

Definition at line 1107 of file glsl_math.hpp.

References length().

◆ dot() [1/16]

float vl::dot ( const fvec3 v1,
const fvec3 v2 
)
inline

◆ dot() [2/16]

double vl::dot ( const dvec3 v1,
const dvec3 v2 
)
inline

◆ dot() [3/16]

float vl::dot ( const ivec3 v1,
const ivec3 v2 
)
inline

◆ dot() [4/16]

float vl::dot ( const uvec3 v1,
const uvec3 v2 
)
inline

◆ dot() [5/16]

float vl::dot ( const fvec4 v1,
const fvec4 v2 
)
inline

◆ dot() [6/16]

double vl::dot ( const dvec4 v1,
const dvec4 v2 
)
inline

◆ dot() [7/16]

float vl::dot ( const ivec4 v1,
const ivec4 v2 
)
inline

◆ dot() [8/16]

float vl::dot ( const fvec2 v1,
const fvec2 v2 
)
inline

Definition at line 302 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ dot() [9/16]

float vl::dot ( const uvec4 v1,
const uvec4 v2 
)
inline

◆ dot() [10/16]

double vl::dot ( const dvec2 v1,
const dvec2 v2 
)
inline

Definition at line 303 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ dot() [11/16]

float vl::dot ( const ivec2 v1,
const ivec2 v2 
)
inline

Definition at line 304 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ dot() [12/16]

float vl::dot ( const uvec2 v1,
const uvec2 v2 
)
inline

Definition at line 305 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ dot() [13/16]

float vl::dot ( float  a,
float  b 
)
inline

◆ dot() [14/16]

double vl::dot ( double  a,
double  b 
)
inline

Definition at line 1115 of file glsl_math.hpp.

◆ dot() [15/16]

real vl::dot ( int  a,
int  b 
)
inline

Definition at line 1119 of file glsl_math.hpp.

◆ dot() [16/16]

real vl::dot ( unsigned int  a,
unsigned int  b 
)
inline

Definition at line 1123 of file glsl_math.hpp.

◆ equal() [1/3]

template<typename T >
ivec4 vl::equal ( const Vector4< T > &  a,
const Vector4< T > &  b 
)

◆ equal() [2/3]

template<typename T >
ivec3 vl::equal ( const Vector3< T > &  a,
const Vector3< T > &  b 
)

◆ equal() [3/3]

template<typename T >
ivec2 vl::equal ( const Vector2< T > &  a,
const Vector2< T > &  b 
)

Definition at line 1419 of file glsl_math.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ exp() [1/4]

template<typename T >
T vl::exp ( a)

◆ exp() [2/4]

template<typename T >
Vector2<T> vl::exp ( const Vector2< T > &  a)

Definition at line 463 of file glsl_math.hpp.

References exp(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ exp() [3/4]

template<typename T >
Vector3<T> vl::exp ( const Vector3< T > &  a)

◆ exp() [4/4]

template<typename T >
Vector4<T> vl::exp ( const Vector4< T > &  a)

◆ exp2() [1/4]

template<typename T >
T vl::exp2 ( a)

Definition at line 512 of file glsl_math.hpp.

References pow().

◆ exp2() [2/4]

template<typename T >
Vector2<T> vl::exp2 ( const Vector2< T > &  a)

Definition at line 515 of file glsl_math.hpp.

References pow(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ exp2() [3/4]

template<typename T >
Vector3<T> vl::exp2 ( const Vector3< T > &  a)

◆ exp2() [4/4]

template<typename T >
Vector4<T> vl::exp2 ( const Vector4< T > &  a)

◆ expandResourceDatabase()

void vl::expandResourceDatabase ( ResourceDatabase db)

Extracts and sorts Shaders, Effects, Renderables, RenderStates, Transforms etc. from their parent objects.

Definition at line 132 of file expandResourceDatabase.cpp.

References vl::Object::as(), vl::Camera::boundTransform(), vl::ResourceDatabase::resources(), and vl::Camera::viewport().

Referenced by main().

◆ extractPlanes()

void vl::extractPlanes ( Plane planes,
const mat4 modelviewproj 
)

◆ faceforward() [1/4]

template<typename T >
T vl::faceforward ( N,
I,
Nref 
)

Definition at line 1142 of file glsl_math.hpp.

References dot().

◆ faceforward() [2/4]

template<typename T >
Vector2<T> vl::faceforward ( const Vector2< T > &  N,
const Vector2< T > &  I,
const Vector2< T > &  Nref 
)

Definition at line 1145 of file glsl_math.hpp.

References dot().

◆ faceforward() [3/4]

template<typename T >
Vector3<T> vl::faceforward ( const Vector3< T > &  N,
const Vector3< T > &  I,
const Vector3< T > &  Nref 
)

Definition at line 1148 of file glsl_math.hpp.

References dot().

◆ faceforward() [4/4]

template<typename T >
Vector4<T> vl::faceforward ( const Vector4< T > &  N,
const Vector4< T > &  I,
const Vector4< T > &  Nref 
)

Definition at line 1151 of file glsl_math.hpp.

References dot().

◆ fast1_inversesqrt()

float vl::fast1_inversesqrt ( float  x)
inline

Definition at line 69 of file Vector2.hpp.

◆ fast2_inversesqrt()

float vl::fast2_inversesqrt ( float  x)
inline

Definition at line 79 of file Vector2.hpp.

Referenced by fast_sqrt().

◆ fast_sqrt()

float vl::fast_sqrt ( float  x)
inline

Definition at line 90 of file Vector2.hpp.

References fast2_inversesqrt().

◆ fillGray8Alpha8_Alpha()

void vl::fillGray8Alpha8_Alpha ( void *  buf,
int  bytecount,
unsigned char  alpha 
)
inline

Definition at line 245 of file ImageTools.hpp.

Referenced by loadDDS().

◆ fillRGBA32_Alpha()

void vl::fillRGBA32_Alpha ( void *  buf,
int  bytecount,
unsigned char  alpha 
)
inline

Definition at line 236 of file ImageTools.hpp.

Referenced by loadDDS().

◆ floor() [1/4]

template<typename T >
T vl::floor ( a)

◆ floor() [2/4]

template<typename T >
Vector2<T> vl::floor ( const Vector2< T > &  a)

◆ floor() [3/4]

template<typename T >
Vector3<T> vl::floor ( const Vector3< T > &  a)

◆ floor() [4/4]

template<typename T >
Vector4<T> vl::floor ( const Vector4< T > &  a)

◆ fract() [1/4]

template<typename T >
T vl::fract ( a)

Definition at line 724 of file glsl_math.hpp.

References floor().

Referenced by genRGBAVolume(), vl::Image::sampleLinear(), and trunc().

◆ fract() [2/4]

template<typename T >
Vector2<T> vl::fract ( const Vector2< T > &  a)

Definition at line 727 of file glsl_math.hpp.

References floor().

◆ fract() [3/4]

template<typename T >
Vector3<T> vl::fract ( const Vector3< T > &  a)

Definition at line 730 of file glsl_math.hpp.

References floor().

◆ fract() [4/4]

template<typename T >
Vector4<T> vl::fract ( const Vector4< T > &  a)

Definition at line 733 of file glsl_math.hpp.

References floor().

◆ genGradientNormals()

ref< Image > vl::genGradientNormals ( const Image data)

Generates an image whose RGB components represent the normals computed from the input image gradient packed into 0..1 range.

The format of the image is IF_RGB/IT_FLOAT which is equivalent to a 3D grid of fvec3. The generated image is ready to be used as a texture for normal lookup. The original normal can be recomputed as N = (RGB - 0.5)*2.0.

Definition at line 301 of file VolumeUtils.cpp.

References vl::Image::allocate3D(), vl::Image::convertFormat(), vl::Image::convertType(), vl::Image::depth(), vl::Image::height(), IF_LUMINANCE, IF_RGB, IT_FLOAT, normalize(), vl::Image::pixels(), vl::Vector4< T_Scalar >::r(), vl::Image::sample(), vl::Image::width(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().

◆ genRGBAVolume() [1/2]

ref< Image > vl::genRGBAVolume ( const Image data,
const Image trfunc,
const fvec3 light_dir,
bool  alpha_from_data = true 
)

Generates an RGBA image based on the given data source and transfer function.

Parameters
dataThe Image used as the volume data source. It must have format() equal to IF_LUMINANCE and type() equal to IT_UNSIGNED_BYTE, IT_UNSIGNED_SHORT or IT_FLOAT.
trfuncAn 1D Image used as transfer function that is used to assign to each value in data an RGBA value in the new image. The Image pointed by trfunc must mast have type() IT_UNSIGNED_BYTE and format() IF_RGBA.
light_dirThe direction of the light in object space.
alpha_from_dataIf set to true the alpha channel of the generated image will be taken from data otherwise from the transfer function.

Definition at line 39 of file VolumeUtils.cpp.

References vl::Log::error(), IT_FLOAT, IT_UNSIGNED_BYTE, IT_UNSIGNED_SHORT, and vl::Image::type().

◆ genRGBAVolume() [2/2]

ref< Image > vl::genRGBAVolume ( const Image data,
const Image trfunc,
bool  alpha_from_data = true 
)

Generates an RGBA image based on the given data source and transfer function.

Parameters
dataThe Image used as the volume data source. It must have format() equal to IF_LUMINANCE and type() equal to IT_UNSIGNED_BYTE, IT_UNSIGNED_SHORT or IT_FLOAT.
trfuncAn 1D Image used as transfer function that is used to assign to each value in data an RGBA value in the new image. The Image pointed by trfunc must mast have type() IT_UNSIGNED_BYTE and format() IF_RGBA.
alpha_from_dataIf set to true the alpha channel of the generated image will be taken from data otherwise from the transfer function.

Unlike genRGBAVolume(Image* data, Image* trfunc, const fvec3& light_dir, bool alpha_from_data=true) this function does not compute lighting.

Definition at line 57 of file VolumeUtils.cpp.

References vl::Vector4< T_Scalar >::a(), vl::Vector4< T_Scalar >::b(), clamp(), vl::Image::depth(), vl::Image::dimension(), dot(), vl::Log::error(), vl::Image::format(), fract(), vl::Vector4< T_Scalar >::g(), genRGBAVolumeT(), vl::Image::height(), ID_1D, ID_3D, IF_LUMINANCE, IF_RGBA, IT_FLOAT, IT_UNSIGNED_BYTE, IT_UNSIGNED_SHORT, max(), vl::Vector3< T_Scalar >::normalize(), NULL, vl::Image::pitch(), vl::Image::pixels(), vl::Vector4< T_Scalar >::r(), vl::Image::type(), VL_CHECK, and vl::Image::width().

◆ genRGBAVolumeT() [1/2]

template<typename data_type , EImageType img_type>
VLVOLUME_EXPORT ref<Image> vl::genRGBAVolumeT ( const Image data,
const Image trfunc,
const fvec3 light_dir,
bool  alpha_from_data 
)

Internally used.

Referenced by genRGBAVolume().

◆ genRGBAVolumeT() [2/2]

template<typename data_type , EImageType img_type>
VLVOLUME_EXPORT ref<Image> vl::genRGBAVolumeT ( const Image data,
const Image trfunc,
bool  alpha_from_data 
)

Internally used.

◆ getGLErrorString()

const char * vl::getGLErrorString ( int  err)

Returns a readable string corresponding to the given OpenGL error code as returned by glGetError()

Definition at line 591 of file OpenGL.cpp.

Referenced by vl::Texture::createTexture(), glcheck(), vl::DrawArrays::render(), and vl::DrawElements< ArrayUShort1 >::render().

◆ getGLProcAddress()

void * vl::getGLProcAddress ( const char *  name)

Returns the address of the specified OpenGL function if supported by the active OpenGL driver and profile.

Definition at line 719 of file OpenGL.cpp.

References NULL.

Referenced by vl::OpenGLContext::getProcAddress(), and glcheck().

◆ glcheck()

int vl::glcheck ( const char *  file,
int  line 
)

Definition at line 606 of file OpenGL.cpp.

References vl::Log::bug(), getGLErrorString(), getGLProcAddress(), and NULL.

◆ globalSettings()

GlobalSettings * vl::globalSettings ( )

◆ greaterEqualPow2()

int vl::greaterEqualPow2 ( int  n)

Returns a number N that is a power of 2 and that is equal to or greater than 'n'.

Definition at line 60 of file math_utils.cpp.

◆ greaterThan() [1/3]

template<typename T >
ivec4 vl::greaterThan ( const Vector4< T > &  a,
const Vector4< T > &  b 
)

◆ greaterThan() [2/3]

template<typename T >
ivec3 vl::greaterThan ( const Vector3< T > &  a,
const Vector3< T > &  b 
)

◆ greaterThan() [3/3]

template<typename T >
ivec2 vl::greaterThan ( const Vector2< T > &  a,
const Vector2< T > &  b 
)

Definition at line 1373 of file glsl_math.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ greaterThanEqual() [1/3]

template<typename T >
ivec4 vl::greaterThanEqual ( const Vector4< T > &  a,
const Vector4< T > &  b 
)

◆ greaterThanEqual() [2/3]

template<typename T >
ivec3 vl::greaterThanEqual ( const Vector3< T > &  a,
const Vector3< T > &  b 
)

◆ greaterThanEqual() [3/3]

template<typename T >
ivec2 vl::greaterThanEqual ( const Vector2< T > &  a,
const Vector2< T > &  b 
)

Definition at line 1396 of file glsl_math.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ initializeOpenGL()

bool vl::initializeOpenGL ( )

To test whether OpenGL has been initialized at least once check vl::Is_OpenGL_Initialized.

Definition at line 304 of file OpenGL.cpp.

References CONTEXT_CORE_PROFILE_BIT, CONTEXT_PROFILE_MASK, EN_ALPHA_TEST, EN_BLEND, EN_CLIP_DISTANCE0, EN_CLIP_DISTANCE1, EN_CLIP_DISTANCE2, EN_CLIP_DISTANCE3, EN_CLIP_DISTANCE4, EN_CLIP_DISTANCE5, EN_CLIP_DISTANCE6, EN_CLIP_DISTANCE7, EN_COLOR_LOGIC_OP, EN_COLOR_SUM, EN_CULL_FACE, EN_DEPTH_TEST, EN_DITHER, EN_EnableCount, EN_FOG, EN_LIGHTING, EN_LINE_SMOOTH, EN_LINE_STIPPLE, EN_MULTISAMPLE, EN_NORMALIZE, EN_POINT_SMOOTH, EN_POINT_SPRITE, EN_POLYGON_OFFSET_FILL, EN_POLYGON_OFFSET_LINE, EN_POLYGON_OFFSET_POINT, EN_POLYGON_SMOOTH, EN_POLYGON_STIPPLE, EN_PROGRAM_POINT_SIZE, EN_RESCALE_NORMAL, EN_SAMPLE_ALPHA_TO_COVERAGE, EN_SAMPLE_ALPHA_TO_ONE, EN_SAMPLE_COVERAGE, EN_STENCIL_TEST, EN_TEXTURE_CUBE_MAP_SEAMLESS, EN_VERTEX_PROGRAM_TWO_SIDE, vl::Log::error(), Has_Base_Vertex, Has_BufferObject, Has_Cubemap_Textures, Has_FBO, Has_FBO_Multisample, Has_Fixed_Function_Pipeline, Has_Geometry_Shader, Has_GL_GENERATE_MIPMAP, Has_GL_Version_1_1, Has_GL_Version_1_2, Has_GL_Version_1_3, Has_GL_Version_1_4, Has_GL_Version_1_5, Has_GL_Version_2_0, Has_GL_Version_2_1, Has_GL_Version_3_0, Has_GL_Version_3_1, Has_GL_Version_3_2, Has_GL_Version_3_3, Has_GL_Version_4_0, Has_GL_Version_4_1, Has_GLES, Has_GLES_Version_1_1, Has_GLES_Version_2_0, Has_glGenerateMipmaps, Has_GLSL, Has_GLSL_120_Or_More, Has_GLSL_130_Or_More, Has_GLSL_140_Or_More, Has_GLSL_150_Or_More, Has_GLSL_330_Or_More, Has_GLSL_400_Or_More, Has_GLSL_410_Or_More, Has_Multitexture, Has_Occlusion_Query, Has_PBO, Has_Point_Sprite, Has_Primitive_Instancing, Has_Primitive_Restart, Has_Texture_3D, Has_Texture_Array, Has_Texture_Buffer, Has_Texture_Multisample, Has_Texture_Rectangle, Has_Transform_Feedback, Is_Enable_Supported, Is_OpenGL_Core_Profile, Is_OpenGL_Forward_Compatible, Is_OpenGL_Initialized, NULL, PRINT_INFO, Translate_Enable, Translate_Enable_String, VL_CHECK_OGL, and vl::Log::warning().

Referenced by vlWin32::choosePixelFormat(), and vl::OpenGLContext::initGLContext().

◆ initStartTime()

void vl::initStartTime ( )

Definition at line 87 of file Time.cpp.

References NULL.

Referenced by vl::Time::currentTime().

◆ inversesqrt() [1/4]

template<typename T >
T vl::inversesqrt ( a)

Definition at line 618 of file glsl_math.hpp.

References sqrt().

◆ inversesqrt() [2/4]

template<typename T >
Vector2<T> vl::inversesqrt ( const Vector2< T > &  a)

Definition at line 621 of file glsl_math.hpp.

References sqrt(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ inversesqrt() [3/4]

template<typename T >
Vector3<T> vl::inversesqrt ( const Vector3< T > &  a)

◆ inversesqrt() [4/4]

template<typename T >
Vector4<T> vl::inversesqrt ( const Vector4< T > &  a)

◆ isBMP()

bool vl::isBMP ( VirtualFile file)

◆ isDAT()

bool vl::isDAT ( VirtualFile file)

◆ isDDS()

bool vl::isDDS ( VirtualFile file)

◆ isDICOM()

bool vl::isDICOM ( VirtualFile file)

Checks if the given file is a DICOM file.

Definition at line 372 of file ioDICOM.cpp.

References vl::VirtualFile::close(), OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::read(), and vl::VirtualFile::seekSet().

◆ isinf() [1/4]

template<typename T >
bool vl::isinf ( value)

Definition at line 131 of file glsl_math.hpp.

References max(), and min().

Referenced by isinf().

◆ isinf() [2/4]

template<typename T >
ivec2 vl::isinf ( const Vector2< T > &  a)

◆ isinf() [3/4]

template<typename T >
ivec3 vl::isinf ( const Vector3< T > &  a)

◆ isinf() [4/4]

template<typename T >
ivec4 vl::isinf ( const Vector4< T > &  a)

◆ isinf_neg()

template<typename T >
bool vl::isinf_neg ( value)

Definition at line 133 of file glsl_math.hpp.

References min(), and modf().

◆ isinf_pos()

template<typename T >
bool vl::isinf_pos ( value)

Definition at line 132 of file glsl_math.hpp.

References max().

◆ isJPG()

bool vl::isJPG ( VirtualFile file)

◆ isMHD()

bool vl::isMHD ( VirtualFile file)

◆ isnan() [1/4]

template<typename T >
bool vl::isnan ( value)

Definition at line 130 of file glsl_math.hpp.

Referenced by isnan().

◆ isnan() [2/4]

template<typename T >
ivec2 vl::isnan ( const Vector2< T > &  a)

◆ isnan() [3/4]

template<typename T >
ivec3 vl::isnan ( const Vector3< T > &  a)

◆ isnan() [4/4]

template<typename T >
ivec4 vl::isnan ( const Vector4< T > &  a)

◆ isPNG()

bool vl::isPNG ( VirtualFile file)

◆ isTGA()

bool vl::isTGA ( VirtualFile file)

◆ isTIFF()

bool vl::isTIFF ( VirtualFile file)

◆ isValidColor()

bool vl::isValidColor ( const fvec4 color)
inline

Definition at line 51 of file Colors.hpp.

References vl::Vector4< T_Scalar >::a(), and makeColor().

◆ length() [1/4]

template<typename T >
T vl::length ( v)

◆ length() [2/4]

template<typename T >
T vl::length ( const Vector2< T > &  v)

Definition at line 1087 of file glsl_math.hpp.

References vl::Vector2< T_Scalar >::length().

◆ length() [3/4]

template<typename T >
T vl::length ( const Vector3< T > &  v)

Definition at line 1090 of file glsl_math.hpp.

References vl::Vector3< T_Scalar >::length().

◆ length() [4/4]

template<typename T >
T vl::length ( const Vector4< T > &  v)

Definition at line 1093 of file glsl_math.hpp.

References vl::Vector4< T_Scalar >::length().

◆ lessThan() [1/3]

template<typename T >
ivec4 vl::lessThan ( const Vector4< T > &  a,
const Vector4< T > &  b 
)

◆ lessThan() [2/3]

template<typename T >
ivec3 vl::lessThan ( const Vector3< T > &  a,
const Vector3< T > &  b 
)

◆ lessThan() [3/3]

template<typename T >
ivec2 vl::lessThan ( const Vector2< T > &  a,
const Vector2< T > &  b 
)

Definition at line 1327 of file glsl_math.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ lessThanEqual() [1/3]

template<typename T >
ivec4 vl::lessThanEqual ( const Vector4< T > &  a,
const Vector4< T > &  b 
)

◆ lessThanEqual() [2/3]

template<typename T >
ivec3 vl::lessThanEqual ( const Vector3< T > &  a,
const Vector3< T > &  b 
)

◆ lessThanEqual() [3/3]

template<typename T >
ivec2 vl::lessThanEqual ( const Vector2< T > &  a,
const Vector2< T > &  b 
)

Definition at line 1350 of file glsl_math.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ load3DS() [1/2]

ref< ResourceDatabase > vl::load3DS ( VirtualFile file)

◆ load3DS() [2/2]

ref< ResourceDatabase > vl::load3DS ( const String path)

◆ loadAC3D() [1/2]

ref< ResourceDatabase > vl::loadAC3D ( VirtualFile file)

Loads and AC3D file (.ac)

Note
The importer supports only very simple objects, this are the limitations:
  • No hierarchical transforms
  • Imports only the polygons, no lines
  • Only one material per object
  • Face flags supported: only "two-sided" flag
  • The objects are all flat shaded

Definition at line 454 of file ioAC3D.cpp.

References vl::Array< T_VectorType, T_Scalar, T_GL_Size, T_GL_Type >::at(), BF_ONE_MINUS_SRC_ALPHA, BF_SRC_ALPHA, defFileSystem(), vl::Geometry::drawCalls(), vl::Actor::effect(), EN_BLEND, EN_CULL_FACE, EN_DEPTH_TEST, vl::Shader::enable(), vl::String::extractPath(), vl::ref< T >::get(), vl::Shader::gocBlendFunc(), vl::Shader::gocLightModel(), vl::Shader::gocMaterial(), vl::Shader::gocTextureSampler(), vl::DrawElements< arr_type >::indexBuffer(), vl::FileSystem::locateFile(), NULL, vl::VirtualFile::path(), vl::Texture::prepareTexture2D(), vl::Array< T_VectorType, T_Scalar, T_GL_Size, T_GL_Type >::resize(), vl::ResourceDatabase::resources(), vl::BlendFunc::set(), vl::Material::setAmbient(), vl::Material::setDiffuse(), vl::Actor::setEffect(), vl::Material::setEmission(), vl::Actor::setLod(), vl::Object::setObjectName(), vl::Material::setShininess(), vl::Material::setSpecular(), vl::Geometry::setTexCoordArray(), vl::TextureSampler::setTexture(), vl::Material::setTransparency(), vl::LightModel::setTwoSide(), vl::Geometry::setVertexArray(), vl::Effect::shader(), TF_RGBA, vl::Geometry::transform(), and VL_CHECK.

Referenced by loadAC3D(), and vl::LoadWriterAC3D::loadResource().

◆ loadAC3D() [2/2]

ref< ResourceDatabase > vl::loadAC3D ( const String path)

Loads and AC3D file (.ac)

Note
The importer supports only very simple objects, this are the limitations:
  • No hierarchical transforms
  • Imports only the polygons, no lines
  • Only one material per object
  • Face flags supported: only "two-sided" flag
  • The objects are all flat shaded

Definition at line 440 of file ioAC3D.cpp.

References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadAC3D(), vl::FileSystem::locateFile(), and NULL.

◆ loadBMP() [1/2]

ref< Image > vl::loadBMP ( VirtualFile file)

◆ loadBMP() [2/2]

ref< Image > vl::loadBMP ( const String path)

Loads a BMP file.

Supports the following formats:

  • 8 bit palettized, uncompressed
  • 24 bit RGB, uncompressed
  • 32 bit RGBX, uncompressed
  • image flipping

Definition at line 104 of file ioBMP.cpp.

References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadBMP(), vl::FileSystem::locateFile(), and NULL.

◆ loadCubemap()

ref< Image > vl::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.

Definition at line 1260 of file Image.cpp.

References createCubemap(), vl::Log::error(), vl::ref< T >::get(), loadImage(), and NULL.

◆ loadDAT() [1/2]

ref< Image > vl::loadDAT ( VirtualFile file)

◆ loadDAT() [2/2]

ref< Image > vl::loadDAT ( const String path)

◆ loadDDS() [1/2]

ref< Image > vl::loadDDS ( VirtualFile file)

◆ loadDDS() [2/2]

ref< Image > vl::loadDDS ( const String path)

Loads a DDS file.

Can load 2D textures, cubemaps, mipmaps for both cubemaps and 2d textures (also non square and non power of 2).
Supports the following formats:

  • RGB 24 bit, uncompressed
  • RGBA 32 bit, uncompressed
  • BGR 24 bit, uncompressed
  • BGRA 32 bit, uncompressed
  • Grayscale 8 bit
  • Grayscale + Alpha, 8 + 8 bit
  • 8 bit palettized (8 bit palette compression)
  • DXT1, DXT3, DXT5
Remarks
DDS images and cubemaps will look flipped if created according to the DirectX conventions.
In order to prevent this, your tools might have an "export DDS for OpenGL"-like option. If not, you will either have to flip your images before exporting them to DDS or you will have to flip the texture coordinates of your models.

Definition at line 228 of file ioDDS.cpp.

References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadDDS(), vl::FileSystem::locateFile(), NULL, and VL_COMPILE_TIME_CHECK().

◆ loadDICOM() [1/2]

ref< Image > vl::loadDICOM ( VirtualFile file)

◆ loadDICOM() [2/2]

ref< Image > vl::loadDICOM ( const String path)

Loads a DICOM file.

Definition at line 95 of file ioDICOM.cpp.

References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadDICOM(), vl::FileSystem::locateFile(), and NULL.

◆ loadImage() [1/2]

ref< Image > vl::loadImage ( VirtualFile file)

◆ loadImage() [2/2]

ref< Image > vl::loadImage ( const String path)

Loads an image from the specified path.

Definition at line 1202 of file Image.cpp.

References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadImage(), vl::FileSystem::locateFile(), and NULL.

◆ loadImagesFromDir()

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.

Definition at line 1179 of file Image.cpp.

References defFileSystem(), vl::String::empty(), vl::VirtualDirectory::listFiles(), loadImage(), vl::FileSystem::locateDirectory(), NULL, and vl::String::toLowerCase().

◆ loadJPG() [1/2]

ref< Image > vl::loadJPG ( VirtualFile file)

◆ loadJPG() [2/2]

ref< Image > vl::loadJPG ( const String path)

◆ loadMD2() [1/2]

ref< ResourceDatabase > vl::loadMD2 ( const String path)

◆ loadMD2() [2/2]

ref< ResourceDatabase > vl::loadMD2 ( VirtualFile file)

◆ loadMHD() [1/2]

ref< Image > vl::loadMHD ( VirtualFile file)

◆ loadMHD() [2/2]

ref< Image > vl::loadMHD ( const String path)

◆ loadMOL2() [1/2]

bool vl::loadMOL2 ( const String path,
std::vector< ref< Molecule > > &  structures 
)

Loads a Tripos MOL2 file.

The Molecule tags will contain the following key/value pairs:

  • "MultiMol2Index": the index (0-based) of the structure in a multi MOL2 file.
  • "FilePath": the full path of the file that contained the structure.

Definition at line 168 of file vlMOL2.cpp.

References vl::MemoryFile::copy(), vl::Log::error(), vl::ref< T >::get(), locateFile(), OM_ReadOnly, and vl::MemoryFile::open().

◆ loadMOL2() [2/2]

bool vl::loadMOL2 ( VirtualFile vfile,
std::vector< ref< Molecule > > &  structures 
)

Loads a Tripos MOL2 file.

The Molecule tags will contain the following key/value pairs:

  • "MultiMol2Index": the index (0-based) of the structure in a multi MOL2 file.
  • "FilePath": the full path of the file that contained the structure.

Definition at line 181 of file vlMOL2.cpp.

References vl::Molecule::atoms(), vl::VirtualFile::close(), vl::Log::error(), vl::VirtualFile::path(), vl::TextStream::readLine(), vl::BufferedStream< Element_Type, Chunk_Size >::seek(), vl::KeyValues::set(), vl::BufferedStream< Element_Type, Chunk_Size >::setInputFile(), and vl::Molecule::tags().

◆ loadOBJ() [1/2]

ref< ResourceDatabase > vl::loadOBJ ( const String path)

Loads a Wavefront OBJ file. See also ObjLoader.

Definition at line 926 of file ioOBJ.cpp.

References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), vl::FileSystem::locateFile(), and NULL.

Referenced by vl::LoadWriterOBJ::loadResource(), and vl::ObjLoader::meshes().

◆ loadOBJ() [2/2]

ref< ResourceDatabase > vl::loadOBJ ( VirtualFile file)

Loads a Wavefront OBJ file. See also ObjLoader.

Definition at line 938 of file ioOBJ.cpp.

References vl::ObjLoader::loadOBJ().

◆ loadPLY() [1/2]

ref< ResourceDatabase > vl::loadPLY ( VirtualFile file)

Definition at line 58 of file ioPLY.cpp.

References vl::PlyLoader::loadPly().

Referenced by loadPLY(), and vl::LoadWriterPLY::loadResource().

◆ loadPLY() [2/2]

ref< ResourceDatabase > vl::loadPLY ( const String path)

◆ loadPNG() [1/2]

ref< Image > vl::loadPNG ( VirtualFile file)

png_set_strip_alpha(png_ptr);

  • Turn on interlace handling. REQUIRED if you are not using
  • Optional call to gamma correct and add the background to the palette
  • Allocate the memory to hold the image using the fields of info_ptr. */
    • The easiest way to read the image: */ / png_bytep row_pointers[height];

Definition at line 81 of file ioPNG.cpp.

References vl::Image::allocate2D(), vl::VirtualFile::close(), vl::Log::error(), IF_LUMINANCE, IF_LUMINANCE_ALPHA, IF_RGB, IF_RGBA, IT_UNSIGNED_BYTE, IT_UNSIGNED_SHORT, NULL, OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::Image::pitch(), vl::Image::pixels(), vl::VirtualFile::read(), vl::Object::setObjectName(), vl::String::toStdString(), VL_CHECK, and VL_TRAP.

Referenced by loadPNG(), and vl::LoadWriterPNG::loadResource().

◆ loadPNG() [2/2]

ref< Image > vl::loadPNG ( const String path)

◆ loadRAW()

ref< Image > vl::loadRAW ( VirtualFile file,
long long  file_offset,
int  width,
int  height,
int  depth,
int  bytealign,
EImageFormat  format,
EImageType  type 
)

Loads a raw image file.

Parameters
fileThe file from which the data is read. This function also opens the file if it is not open already. Note that this function never closes the file so that you can read sequentially several raw image data from the same file.
file_offsetThe offset in the file from where the data is read. If set to -1 the data is read from the current file position.

Definition at line 1280 of file Image.cpp.

References vl::Log::error(), vl::Image::Image(), vl::VirtualFile::isOpen(), NULL, OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::Image::pixels(), vl::VirtualFile::read(), vl::Image::requiredMemory(), and vl::VirtualFile::seekSet().

Referenced by loadDAT(), and loadMHD().

◆ loadResource() [1/2]

ref< ResourceDatabase > vl::loadResource ( const String path,
bool  quick = true 
)

Short version of defLoadWriterManager()->loadResource(path, quick).

Definition at line 197 of file LoadWriterManager.cpp.

References defLoadWriterManager(), and vl::LoadWriterManager::loadResource().

Referenced by vl::LoadWriterManager::canWrite(), and main().

◆ loadResource() [2/2]

ref< ResourceDatabase > vl::loadResource ( VirtualFile file,
bool  quick = true 
)

Short version of defLoadWriterManager()->loadResource(file, quick).

Definition at line 199 of file LoadWriterManager.cpp.

References defLoadWriterManager(), and vl::LoadWriterManager::loadResource().

◆ loadSTL() [1/2]

ref< ResourceDatabase > vl::loadSTL ( VirtualFile file)

Definition at line 59 of file ioSTL.cpp.

References vl::STLLoader::loadSTL().

Referenced by vl::LoadWriterSTL::loadResource(), and loadSTL().

◆ loadSTL() [2/2]

ref< ResourceDatabase > vl::loadSTL ( const String path)

◆ loadTGA() [1/2]

ref< Image > vl::loadTGA ( VirtualFile file)

◆ loadTGA() [2/2]

ref< Image > vl::loadTGA ( const String path)

Loads a TGA file.

Supports the following formats:

  • IF_RGBA 32 bit uncompressed
  • RGB 24 bit uncompressed
  • RGB 16 bit uncompressed
  • IF_RGBA 32 bit RLE compressed
  • RGB 24 bit RLE compressed
  • RGB 16 bit RLE compressed
  • Grayscale uncompressed
  • Grayscale RLE compressed
  • 8 bit palettizzed / 32 bit (IF_RGBA) per color uncompressed
  • 8 bit palettizzed / 24 bit (rgb) per color uncompressed
  • 8 bit palettizzed / 32 bit (IF_RGBA) per color RLE uncompressed
  • 8 bit palettizzed / 24 bit (rgb) per color RLE uncompressed

Definition at line 88 of file ioTGA.cpp.

References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadTGA(), vl::FileSystem::locateFile(), and NULL.

◆ loadTIFF() [1/2]

ref< Image > vl::loadTIFF ( VirtualFile file)

◆ loadTIFF() [2/2]

ref< Image > vl::loadTIFF ( const String path)

◆ locateFile()

ref< VirtualFile > vl::locateFile ( const String path)

◆ log() [1/4]

template<typename T >
T vl::log ( a)

◆ log() [2/4]

template<typename T >
Vector2<T> vl::log ( const Vector2< T > &  a)

Definition at line 489 of file glsl_math.hpp.

References log(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ log() [3/4]

template<typename T >
Vector3<T> vl::log ( const Vector3< T > &  a)

◆ log() [4/4]

template<typename T >
Vector4<T> vl::log ( const Vector4< T > &  a)

◆ log10() [1/4]

template<typename T >
T vl::log10 ( a)

Definition at line 566 of file glsl_math.hpp.

Referenced by log10(), and log2().

◆ log10() [2/4]

template<typename T >
Vector2<T> vl::log10 ( const Vector2< T > &  a)

◆ log10() [3/4]

template<typename T >
Vector3<T> vl::log10 ( const Vector3< T > &  a)

◆ log10() [4/4]

template<typename T >
Vector4<T> vl::log10 ( const Vector4< T > &  a)

◆ log2() [1/4]

template<typename T >
T vl::log2 ( a)

Definition at line 538 of file glsl_math.hpp.

References log10().

Referenced by log2().

◆ log2() [2/4]

template<typename T >
Vector2<T> vl::log2 ( const Vector2< T > &  a)

Definition at line 541 of file glsl_math.hpp.

References log2(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ log2() [3/4]

template<typename T >
Vector3<T> vl::log2 ( const Vector3< T > &  a)

◆ log2() [4/4]

template<typename T >
Vector4<T> vl::log2 ( const Vector4< T > &  a)

◆ log_failed_check()

void vl::log_failed_check ( const char *  expr,
const char *  file,
int  line 
)

Definition at line 185 of file Log.cpp.

References NULL, vl::String::ptr(), and VL_LOG_ERROR.

◆ logSystemInfo()

void vl::logSystemInfo ( )

Logs VL and system information.

Definition at line 159 of file pimpl.cpp.

References globalSettings(), vl::Log::print(), VEL_VERBOSITY_DEBUG, VEL_VERBOSITY_ERROR, VEL_VERBOSITY_NORMAL, and versionString().

◆ makeBox() [1/3]

ref< Geometry > vl::makeBox ( const vec3 origin,
real  xside = 1,
real  yside = 1,
real  zside = 1,
bool  tex_coords = true 
)

◆ makeBox() [2/3]

ref< Geometry > vl::makeBox ( const vec3 min,
const vec3 max,
bool  tex_coords = true 
)

◆ makeBox() [3/3]

ref< Geometry > vl::makeBox ( const AABB aabb,
bool  tex_coords = true 
)

Creates a box.

Definition at line 522 of file GeometryPrimitives.cpp.

References makeBox(), vl::AABB::maxCorner(), and vl::AABB::minCorner().

◆ makeCapsule()

ref< Geometry > vl::makeCapsule ( float  radius,
float  height,
int  segments,
ECapsuleCap  top_cap,
ECapsuleCap  bottom_cap,
const fvec4 top_col,
const fvec4 bottom_col 
)

◆ makeCircle()

ref< Geometry > vl::makeCircle ( vec3  origin,
real  radius,
int  slices = 60 
)

◆ makeColor()

fvec4 vl::makeColor ( unsigned int  color)
inline

◆ makeColorSpectrum() [1/6]

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.

Definition at line 1134 of file Image.cpp.

References IF_RGBA, vl::Image::Image(), IT_UNSIGNED_BYTE, vl::Image::pixels(), and vl::Image::width().

Referenced by makeColorSpectrum().

◆ makeColorSpectrum() [2/6]

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.

Definition at line 1054 of file Image.cpp.

References makeColorSpectrum().

◆ makeColorSpectrum() [3/6]

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.

Definition at line 1061 of file Image.cpp.

References makeColorSpectrum().

◆ makeColorSpectrum() [4/6]

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.

Definition at line 1068 of file Image.cpp.

References makeColorSpectrum().

◆ makeColorSpectrum() [5/6]

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.

Definition at line 1075 of file Image.cpp.

References makeColorSpectrum().

◆ makeColorSpectrum() [6/6]

ref< Image > vl::makeColorSpectrum ( size_t  width,
const fvec4 c0,
const fvec4 c1,
const fvec4 c2,
const fvec4 c3,
const fvec4 c4,
const fvec4 c5 
)

Creates a 1D Image whose color is interpolated from left to right from the specified spectrum.

Definition at line 1082 of file Image.cpp.

References makeColorSpectrum().

◆ makeCone()

ref< Geometry > vl::makeCone ( const vec3 origin,
real  diameter = 1,
real  height = 1,
int  phi = 20,
bool  bottom = true 
)

◆ makeCylinder()

ref< Geometry > vl::makeCylinder ( const vec3 origin,
real  diameter = 1,
real  height = 1,
int  phi = 20,
int  theta = 2,
bool  top = true,
bool  bottom = true 
)

◆ makeGrid()

ref< Geometry > vl::makeGrid ( const vec3 origin,
real  xside,
real  zside,
int  x,
int  z,
bool  gen_texcoords = false,
fvec2  uv0 = fvec2(0,0),
fvec2  uv1 = fvec2(1,1),
bool  center = true 
)

◆ makeIcosahedron()

ref< Geometry > vl::makeIcosahedron ( const vec3 origin,
real  diameter 
)

◆ makeIcosphere()

ref< Geometry > vl::makeIcosphere ( const vec3 pos,
real  diameter = 1,
int  detail = 2,
bool  remove_doubles = true 
)

◆ makeNonUniformColorSpectrum() [1/2]

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.

Definition at line 1089 of file Image.cpp.

References IF_RGBA, vl::Image::Image(), IT_UNSIGNED_BYTE, vl::Image::pixels(), VL_CHECK, and vl::Image::width().

Referenced by makeNonUniformColorSpectrum().

◆ makeNonUniformColorSpectrum() [2/2]

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.

Definition at line 1126 of file Image.cpp.

References makeNonUniformColorSpectrum(), and NULL.

◆ makePoints()

ref< Geometry > vl::makePoints ( const std::vector< vec3 > &  pos,
const fvec4 color = white 
)

◆ makePyramid()

ref< Geometry > vl::makePyramid ( const vec3 origin,
real  side = 1,
real  height = 1 
)

◆ makeScales()

vl::ref<vl::Geometry> vl::makeScales ( bool  X = true,
bool  Y = true,
bool  Z = true,
int  numArmTicks = 50,
float  mmStep = 10,
float  mmTickSize = 4,
vl::fvec4  color = vl::fvec4(1, 1, 1, 1) 
)

Makes an orthogonal cross-hair scales (reticle).

It creates a geometry for a 2D or 3D orthogonal scales, with evenly-spaced big ticks at every 10 steps, mid-ticks at every 5 steps and ticks at every step. By passing true to any X, Y or Z params, one can configure which axes will be generated.

The number of ticks per arm (half-axis), the step between ticks and the tick size are customizable.

◆ makeTeapot()

ref< Geometry > vl::makeTeapot ( const vec3 origin,
real  diameter = 1,
int  detail = 8 
)

◆ makeTorus()

ref< Geometry > vl::makeTorus ( const vec3 origin,
real  diameter = 1,
real  thickness = 0.2,
int  phi = 10,
int  theta = 10,
float  tex_coords = 0.0f 
)

◆ makeUVSphere()

ref< Geometry > vl::makeUVSphere ( const vec3 origin,
real  diameter = 1,
int  phi = 20,
int  theta = 20 
)

◆ matrixCompMult() [1/3]

template<typename T >
Matrix2<T> vl::matrixCompMult ( const Matrix2< T > &  a,
const Matrix2< T > &  b 
)

Definition at line 1214 of file glsl_math.hpp.

References vl::Matrix2< T_Scalar >::e().

◆ matrixCompMult() [2/3]

template<typename T >
Matrix3<T> vl::matrixCompMult ( const Matrix3< T > &  a,
const Matrix3< T > &  b 
)

Definition at line 1224 of file glsl_math.hpp.

References vl::Matrix3< T_Scalar >::e().

◆ matrixCompMult() [3/3]

template<typename T >
Matrix4<T> vl::matrixCompMult ( const Matrix4< T > &  a,
const Matrix4< T > &  b 
)

Definition at line 1234 of file glsl_math.hpp.

References vl::Matrix4< T_Scalar >::e().

◆ max() [1/28]

float vl::max ( float  a,
float  b 
)
inline

◆ max() [2/28]

double vl::max ( double  a,
double  b 
)
inline

Definition at line 312 of file Vector2.hpp.

◆ max() [3/28]

int vl::max ( int  a,
int  b 
)
inline

Definition at line 313 of file Vector2.hpp.

◆ max() [4/28]

unsigned int vl::max ( unsigned int  a,
unsigned int  b 
)
inline

Definition at line 314 of file Vector2.hpp.

◆ max() [5/28]

fvec3 vl::max ( const fvec3 a,
const fvec3 b 
)
inline

◆ max() [6/28]

fvec3 vl::max ( const fvec3 a,
float  b 
)
inline

◆ max() [7/28]

dvec3 vl::max ( const dvec3 a,
const dvec3 b 
)
inline

◆ max() [8/28]

fvec2 vl::max ( const fvec2 a,
const fvec2 b 
)
inline

Definition at line 360 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ max() [9/28]

fvec4 vl::max ( const fvec4 a,
const fvec4 b 
)
inline

◆ max() [10/28]

dvec3 vl::max ( const dvec3 a,
double  b 
)
inline

◆ max() [11/28]

fvec2 vl::max ( const fvec2 a,
float  b 
)
inline

Definition at line 365 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ max() [12/28]

ivec3 vl::max ( const ivec3 a,
const ivec3 b 
)
inline

◆ max() [13/28]

fvec4 vl::max ( const fvec4 a,
float  b 
)
inline

◆ max() [14/28]

dvec2 vl::max ( const dvec2 a,
const dvec2 b 
)
inline

Definition at line 370 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ max() [15/28]

ivec3 vl::max ( const ivec3 a,
int  b 
)
inline

◆ max() [16/28]

dvec4 vl::max ( const dvec4 a,
const dvec4 b 
)
inline

◆ max() [17/28]

dvec2 vl::max ( const dvec2 a,
double  b 
)
inline

Definition at line 375 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ max() [18/28]

uvec3 vl::max ( const uvec3 a,
const uvec3 b 
)
inline

◆ max() [19/28]

ivec2 vl::max ( const ivec2 a,
const ivec2 b 
)
inline

Definition at line 380 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ max() [20/28]

dvec4 vl::max ( const dvec4 a,
double  b 
)
inline

◆ max() [21/28]

ivec2 vl::max ( const ivec2 a,
int  b 
)
inline

Definition at line 385 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ max() [22/28]

uvec3 vl::max ( const uvec3 a,
unsigned int  b 
)
inline

◆ max() [23/28]

ivec4 vl::max ( const ivec4 a,
const ivec4 b 
)
inline

◆ max() [24/28]

uvec2 vl::max ( const uvec2 a,
const uvec2 b 
)
inline

Definition at line 390 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ max() [25/28]

uvec2 vl::max ( const uvec2 a,
unsigned int  b 
)
inline

Definition at line 395 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ max() [26/28]

ivec4 vl::max ( const ivec4 a,
int  b 
)
inline

◆ max() [27/28]

uvec4 vl::max ( const uvec4 a,
const uvec4 b 
)
inline

◆ max() [28/28]

uvec4 vl::max ( const uvec4 a,
unsigned int  b 
)
inline

◆ min() [1/28]

fvec3 vl::min ( const fvec3 a,
const fvec3 b 
)
inline

◆ min() [2/28]

fvec3 vl::min ( const fvec3 a,
float  b 
)
inline

◆ min() [3/28]

fvec4 vl::min ( const fvec4 a,
const fvec4 b 
)
inline

◆ min() [4/28]

dvec3 vl::min ( const dvec3 a,
const dvec3 b 
)
inline

◆ min() [5/28]

float vl::min ( float  a,
float  b 
)
inline

◆ min() [6/28]

double vl::min ( double  a,
double  b 
)
inline

Definition at line 308 of file Vector2.hpp.

◆ min() [7/28]

int vl::min ( int  a,
int  b 
)
inline

Definition at line 309 of file Vector2.hpp.

◆ min() [8/28]

unsigned int vl::min ( unsigned int  a,
unsigned int  b 
)
inline

Definition at line 310 of file Vector2.hpp.

◆ min() [9/28]

fvec4 vl::min ( const fvec4 a,
float  b 
)
inline

◆ min() [10/28]

dvec3 vl::min ( const dvec3 a,
double  b 
)
inline

◆ min() [11/28]

dvec4 vl::min ( const dvec4 a,
const dvec4 b 
)
inline

◆ min() [12/28]

ivec3 vl::min ( const ivec3 a,
const ivec3 b 
)
inline

◆ min() [13/28]

fvec2 vl::min ( const fvec2 a,
const fvec2 b 
)
inline

Definition at line 320 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ min() [14/28]

fvec2 vl::min ( const fvec2 a,
float  b 
)
inline

Definition at line 325 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ min() [15/28]

ivec3 vl::min ( const ivec3 a,
int  b 
)
inline

◆ min() [16/28]

dvec4 vl::min ( const dvec4 a,
double  b 
)
inline

◆ min() [17/28]

dvec2 vl::min ( const dvec2 a,
const dvec2 b 
)
inline

Definition at line 330 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ min() [18/28]

uvec3 vl::min ( const uvec3 a,
const uvec3 b 
)
inline

◆ min() [19/28]

ivec4 vl::min ( const ivec4 a,
const ivec4 b 
)
inline

◆ min() [20/28]

dvec2 vl::min ( const dvec2 a,
double  b 
)
inline

Definition at line 335 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ min() [21/28]

uvec3 vl::min ( const uvec3 a,
unsigned int  b 
)
inline

◆ min() [22/28]

ivec4 vl::min ( const ivec4 a,
int  b 
)
inline

◆ min() [23/28]

ivec2 vl::min ( const ivec2 a,
const ivec2 b 
)
inline

Definition at line 340 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ min() [24/28]

ivec2 vl::min ( const ivec2 a,
int  b 
)
inline

Definition at line 345 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ min() [25/28]

uvec4 vl::min ( const uvec4 a,
const uvec4 b 
)
inline

◆ min() [26/28]

uvec2 vl::min ( const uvec2 a,
const uvec2 b 
)
inline

Definition at line 350 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ min() [27/28]

uvec4 vl::min ( const uvec4 a,
unsigned int  b 
)
inline

◆ min() [28/28]

uvec2 vl::min ( const uvec2 a,
unsigned int  b 
)
inline

Definition at line 355 of file Vector2.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ mix() [1/7]

template<typename T >
T vl::mix ( a,
b,
t 
)

Definition at line 952 of file glsl_math.hpp.

◆ mix() [2/7]

template<typename T >
Vector2<T> vl::mix ( const Vector2< T > &  a,
const Vector2< T > &  b,
t 
)

Definition at line 955 of file glsl_math.hpp.

◆ mix() [3/7]

template<typename T >
Vector3<T> vl::mix ( const Vector3< T > &  a,
const Vector3< T > &  b,
t 
)

Definition at line 958 of file glsl_math.hpp.

◆ mix() [4/7]

template<typename T >
Vector4<T> vl::mix ( const Vector4< T > &  a,
const Vector4< T > &  b,
t 
)

Definition at line 961 of file glsl_math.hpp.

◆ mix() [5/7]

template<typename T >
Vector2<T> vl::mix ( const Vector2< T > &  a,
const Vector2< T > &  b,
const Vector2< T > &  t 
)

Definition at line 964 of file glsl_math.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ mix() [6/7]

template<typename T >
Vector3<T> vl::mix ( const Vector3< T > &  a,
const Vector3< T > &  b,
const Vector3< T > &  t 
)

◆ mix() [7/7]

template<typename T >
Vector4<T> vl::mix ( const Vector4< T > &  a,
const Vector4< T > &  b,
const Vector4< T > &  t 
)

◆ mod() [1/7]

template<typename T >
T vl::mod ( a,
b 
)

Definition at line 929 of file glsl_math.hpp.

References floor().

◆ mod() [2/7]

template<typename T >
Vector2<T> vl::mod ( const Vector2< T > &  a,
b 
)

Definition at line 932 of file glsl_math.hpp.

References floor().

◆ mod() [3/7]

template<typename T >
Vector3<T> vl::mod ( const Vector3< T > &  a,
b 
)

Definition at line 935 of file glsl_math.hpp.

References floor().

◆ mod() [4/7]

template<typename T >
Vector4<T> vl::mod ( const Vector4< T > &  a,
b 
)

Definition at line 938 of file glsl_math.hpp.

References floor().

◆ mod() [5/7]

template<typename T >
Vector2<T> vl::mod ( const Vector2< T > &  a,
const Vector2< T > &  b 
)

Definition at line 941 of file glsl_math.hpp.

References floor().

◆ mod() [6/7]

template<typename T >
Vector3<T> vl::mod ( const Vector3< T > &  a,
const Vector3< T > &  b 
)

Definition at line 944 of file glsl_math.hpp.

References floor().

◆ mod() [7/7]

template<typename T >
Vector4<T> vl::mod ( const Vector4< T > &  a,
const Vector4< T > &  b 
)

Definition at line 947 of file glsl_math.hpp.

References floor().

◆ modf() [1/6]

template<typename T >
T vl::modf ( a,
T &  intpart 
)

Referenced by isinf_neg(), modf(), and roundEven().

◆ modf() [2/6]

float vl::modf ( float  a,
float &  intpart 
)
inline

Definition at line 790 of file glsl_math.hpp.

References modf().

◆ modf() [3/6]

double vl::modf ( double  a,
double &  intpart 
)
inline

Definition at line 802 of file glsl_math.hpp.

References modf().

◆ modf() [4/6]

template<typename T >
Vector2<T> vl::modf ( const Vector2< T > &  a,
Vector2< T > &  intpart 
)

Definition at line 805 of file glsl_math.hpp.

References modf(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ modf() [5/6]

template<typename T >
Vector3<T> vl::modf ( const Vector3< T > &  a,
Vector3< T > &  intpart 
)

◆ modf() [6/6]

template<typename T >
Vector4<T> vl::modf ( const Vector4< T > &  a,
Vector4< T > &  intpart 
)

◆ MurmurHash3_x64_128()

void vl::MurmurHash3_x64_128 ( const void *  key,
int  len,
u32  seed,
void *  out 
)

Definition at line 256 of file MurmurHash3.cpp.

References BIG_CONSTANT, fmix(), getblock(), and ROTL64.

◆ MurmurHash3_x86_128()

void vl::MurmurHash3_x86_128 ( const void *  key,
int  len,
u32  seed,
void *  out 
)

Definition at line 152 of file MurmurHash3.cpp.

References fmix(), getblock(), and ROTL32.

◆ MurmurHash3_x86_32()

void vl::MurmurHash3_x86_32 ( const void *  key,
int  len,
u32  seed,
void *  out 
)

Definition at line 97 of file MurmurHash3.cpp.

References fmix(), getblock(), and ROTL32.

Referenced by vl::TypeInfo::TypeInfo().

◆ normalize() [1/4]

template<typename T >
T vl::normalize ( )

◆ normalize() [2/4]

template<typename T >
Vector2<T> vl::normalize ( const Vector2< T > &  v)

Definition at line 1131 of file glsl_math.hpp.

References vl::Vector2< T_Scalar >::normalize().

◆ normalize() [3/4]

template<typename T >
Vector3<T> vl::normalize ( const Vector3< T > &  v)

Definition at line 1134 of file glsl_math.hpp.

References vl::Vector3< T_Scalar >::normalize().

◆ normalize() [4/4]

template<typename T >
Vector4<T> vl::normalize ( const Vector4< T > &  v)

Definition at line 1137 of file glsl_math.hpp.

References vl::Vector4< T_Scalar >::normalize().

◆ notEqual() [1/3]

template<typename T >
ivec4 vl::notEqual ( const Vector4< T > &  a,
const Vector4< T > &  b 
)

◆ notEqual() [2/3]

template<typename T >
ivec3 vl::notEqual ( const Vector3< T > &  a,
const Vector3< T > &  b 
)

◆ notEqual() [3/3]

template<typename T >
ivec2 vl::notEqual ( const Vector2< T > &  a,
const Vector2< T > &  b 
)

Definition at line 1442 of file glsl_math.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ operator &()

template<typename T >
Flags<T> vl::operator& ( flag1,
flag2 
)

Definition at line 152 of file Flags.hpp.

References vl::Flags< T_FlagEnum >::flags().

◆ operator!=() [1/3]

template<class T1 , class T2 >
bool vl::operator!= ( const ref< T1 > &  o1,
const ref< T2 > &  o2 
)
inline

Definition at line 145 of file Object.hpp.

References vl::ref< T >::get().

◆ operator!=() [2/3]

template<class T1 , class T2 >
bool vl::operator!= ( const ref< T1 > &  o1,
T2 *  o2 
)
inline

Definition at line 147 of file Object.hpp.

References vl::ref< T >::get().

◆ operator!=() [3/3]

template<class T1 , class T2 >
bool vl::operator!= ( T1 *  o1,
const ref< T2 > &  o2 
)
inline

Definition at line 149 of file Object.hpp.

References vl::ref< T >::get().

◆ operator*() [1/31]

template<typename T >
const Vector3<T> vl::operator* ( val,
const Vector3< T > &  v 
)
inline

Definition at line 242 of file Vector3.hpp.

◆ operator*() [2/31]

template<typename T >
const Vector4<T> vl::operator* ( val,
const Vector4< T > &  v 
)
inline

Definition at line 269 of file Vector4.hpp.

◆ operator*() [3/31]

template<typename T >
const Vector2<T> vl::operator* ( val,
const Vector2< T > &  v 
)
inline

Definition at line 272 of file Vector2.hpp.

◆ operator*() [4/31]

template<typename T_Scalar >
Matrix2<T_Scalar> vl::operator* ( const Matrix2< T_Scalar > &  p,
const Matrix2< T_Scalar > &  q 
)
inline

Definition at line 413 of file Matrix2.hpp.

References vl::Matrix2< T_Scalar >::multiply().

◆ operator*() [5/31]

template<typename T_Scalar >
Matrix2<T_Scalar> vl::operator* ( T_Scalar  d,
const Matrix2< T_Scalar > &  m 
)
inline

Definition at line 427 of file Matrix2.hpp.

◆ operator*() [6/31]

template<typename T_Scalar >
Vector2<T_Scalar> vl::operator* ( const Matrix2< T_Scalar > &  m,
const Vector2< T_Scalar > &  v 
)
inline

◆ operator*() [7/31]

template<typename T_Scalar >
Vector2<T_Scalar> vl::operator* ( const Vector2< T_Scalar > &  v,
const Matrix2< T_Scalar > &  m 
)
inline

◆ operator*() [8/31]

template<typename T_Scalar >
Quaternion<T_Scalar> vl::operator* ( T_Scalar  r,
const Quaternion< T_Scalar > &  q 
)
inline

Definition at line 481 of file Quaternion.hpp.

◆ operator*() [9/31]

template<typename T_Scalar >
Quaternion<T_Scalar> vl::operator* ( const Quaternion< T_Scalar > &  q1,
const Quaternion< T_Scalar > &  q2 
)
inline

◆ operator*() [10/31]

float vl::operator* ( float  a,
const half b 
)
inline

Definition at line 495 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator*() [11/31]

template<typename T_Scalar >
Vector3<T_Scalar> vl::operator* ( const Quaternion< T_Scalar > &  q,
const Vector3< T_Scalar > &  v 
)
inline

◆ operator*() [12/31]

float vl::operator* ( double  a,
const half b 
)
inline

Definition at line 500 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator*() [13/31]

float vl::operator* ( int  a,
const half b 
)
inline

Definition at line 505 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator*() [14/31]

template<typename T_Scalar >
Vector4<T_Scalar> vl::operator* ( const Quaternion< T_Scalar > &  q,
const Vector4< T_Scalar > &  v 
)
inline

Definition at line 521 of file Quaternion.hpp.

References vl::Vector4< T_Scalar >::w(), and vl::Vector4< T_Scalar >::xyz().

◆ operator*() [15/31]

template<typename T_Scalar >
Matrix3<T_Scalar> vl::operator* ( const Matrix3< T_Scalar > &  p,
const Matrix3< T_Scalar > &  q 
)
inline

Definition at line 534 of file Matrix3.hpp.

References vl::Matrix3< T_Scalar >::multiply().

◆ operator*() [16/31]

template<typename T_Scalar >
Matrix3<T_Scalar> vl::operator* ( T_Scalar  d,
const Matrix3< T_Scalar > &  m 
)
inline

Definition at line 548 of file Matrix3.hpp.

◆ operator*() [17/31]

template<typename T_Scalar >
Vector3<T_Scalar> vl::operator* ( const Matrix3< T_Scalar > &  m,
const Vector3< T_Scalar > &  v 
)
inline

Post multiplication: matrix * column vector.

Definition at line 555 of file Matrix3.hpp.

References vl::Matrix3< T_Scalar >::e(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().

◆ operator*() [18/31]

float vl::operator* ( const half a,
float  b 
)
inline

Definition at line 557 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator*() [19/31]

float vl::operator* ( const half a,
double  b 
)
inline

Definition at line 562 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator*() [20/31]

template<typename T_Scalar >
Vector2<T_Scalar> vl::operator* ( const Matrix3< T_Scalar > &  m,
const Vector2< T_Scalar > &  v 
)
inline

Post multiplication: matrix * column vector The incoming vector is considered a Vector3<T_Scalar> with the component z = 0.

Definition at line 567 of file Matrix3.hpp.

References vl::Matrix3< T_Scalar >::e(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ operator*() [21/31]

float vl::operator* ( const half a,
int  b 
)
inline

Definition at line 567 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator*() [22/31]

template<typename T_Scalar >
Vector3<T_Scalar> vl::operator* ( const Vector3< T_Scalar > &  v,
const Matrix3< T_Scalar > &  m 
)
inline

pre-multiplication: row vector * matrix

Definition at line 577 of file Matrix3.hpp.

References vl::Matrix3< T_Scalar >::e(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().

◆ operator*() [23/31]

template<typename T_Scalar >
Vector2<T_Scalar> vl::operator* ( const Vector2< T_Scalar > &  v,
const Matrix3< T_Scalar > &  m 
)
inline

pre-multiplication: row vector * matrix The incoming vector is considered a Vector3<T_Scalar> with the component z = 0

Definition at line 589 of file Matrix3.hpp.

References vl::Matrix3< T_Scalar >::e(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ operator*() [24/31]

template<typename T_Scalar >
Matrix4<T_Scalar> vl::operator* ( const Matrix4< T_Scalar > &  p,
const Matrix4< T_Scalar > &  q 
)
inline

Definition at line 674 of file Matrix4.hpp.

References vl::Matrix4< T_Scalar >::multiply().

◆ operator*() [25/31]

template<typename T_Scalar >
Matrix4<T_Scalar> vl::operator* ( T_Scalar  d,
const Matrix4< T_Scalar > &  m 
)
inline

Definition at line 688 of file Matrix4.hpp.

◆ operator*() [26/31]

template<typename T_Scalar >
Vector4<T_Scalar> vl::operator* ( const Matrix4< T_Scalar > &  m,
const Vector4< T_Scalar > &  v 
)
inline

◆ operator*() [27/31]

template<typename T_Scalar >
Vector3<T_Scalar> vl::operator* ( const Matrix4< T_Scalar > &  m,
const Vector3< T_Scalar > &  v 
)
inline

Post multiplication: matrix * column vector The incoming vector is considered a Vector4<T_Scalar> with the component w = 1.

Definition at line 708 of file Matrix4.hpp.

References vl::Matrix4< T_Scalar >::e(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().

◆ operator*() [28/31]

template<typename T_Scalar >
Vector2<T_Scalar> vl::operator* ( const Matrix4< T_Scalar > &  m,
const Vector2< T_Scalar > &  v 
)
inline

Post multiplication: matrix * column vector The incoming vector is considered a Vector4<T_Scalar> with components: z = 0 and w = 1.

Definition at line 720 of file Matrix4.hpp.

References vl::Matrix4< T_Scalar >::e(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ operator*() [29/31]

template<typename T_Scalar >
Vector4<T_Scalar> vl::operator* ( const Vector4< T_Scalar > &  v,
const Matrix4< T_Scalar > &  m 
)
inline

◆ operator*() [30/31]

template<typename T_Scalar >
Vector3<T_Scalar> vl::operator* ( const Vector3< T_Scalar > &  v,
const Matrix4< T_Scalar > &  m 
)
inline

pre-multiplication: row vector * matrix The incoming vector is considered a Vector4<T_Scalar> with the component w = 1

Definition at line 743 of file Matrix4.hpp.

References vl::Matrix4< T_Scalar >::e(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().

◆ operator*() [31/31]

template<typename T_Scalar >
Vector2<T_Scalar> vl::operator* ( const Vector2< T_Scalar > &  v,
const Matrix4< T_Scalar > &  m 
)
inline

pre-multiplication: row vector * matrix The incoming vector is considered a Vector4<T_Scalar> with components: z = 0 and w = 1

Definition at line 755 of file Matrix4.hpp.

References vl::Matrix4< T_Scalar >::e(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ operator+() [1/13]

template<typename T_Scalar >
Matrix2<T_Scalar> vl::operator+ ( T_Scalar  d,
const Matrix2< T_Scalar > &  m 
)
inline

Definition at line 421 of file Matrix2.hpp.

◆ operator+() [2/13]

float vl::operator+ ( float  a,
const half b 
)
inline

Definition at line 510 of file half.hpp.

References vl::half::convertHalfToFloat().

Referenced by vl::AABB::operator!=().

◆ operator+() [3/13]

float vl::operator+ ( double  a,
const half b 
)
inline

Definition at line 515 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator+() [4/13]

float vl::operator+ ( int  a,
const half b 
)
inline

Definition at line 520 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator+() [5/13]

template<typename T_Scalar >
Matrix3<T_Scalar> vl::operator+ ( T_Scalar  d,
const Matrix3< T_Scalar > &  m 
)
inline

Definition at line 542 of file Matrix3.hpp.

◆ operator+() [6/13]

float vl::operator+ ( const half a,
float  b 
)
inline

Definition at line 572 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator+() [7/13]

float vl::operator+ ( const half a,
double  b 
)
inline

Definition at line 577 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator+() [8/13]

float vl::operator+ ( const half a,
int  b 
)
inline

Definition at line 582 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator+() [9/13]

String vl::operator+ ( const wchar_t *  pstr,
const String str 
)
inline

Definition at line 589 of file String.hpp.

◆ operator+() [10/13]

String vl::operator+ ( const char *  pstr,
const String str 
)
inline

Definition at line 594 of file String.hpp.

◆ operator+() [11/13]

String vl::operator+ ( wchar_t  ch,
const String str 
)
inline

Definition at line 599 of file String.hpp.

◆ operator+() [12/13]

String vl::operator+ ( char  ch,
const String str 
)
inline

Definition at line 604 of file String.hpp.

◆ operator+() [13/13]

template<typename T_Scalar >
Matrix4<T_Scalar> vl::operator+ ( T_Scalar  d,
const Matrix4< T_Scalar > &  m 
)
inline

Definition at line 682 of file Matrix4.hpp.

◆ operator-() [1/6]

float vl::operator- ( float  a,
const half b 
)
inline

Definition at line 525 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator-() [2/6]

float vl::operator- ( double  a,
const half b 
)
inline

Definition at line 530 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator-() [3/6]

float vl::operator- ( int  a,
const half b 
)
inline

Definition at line 535 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator-() [4/6]

float vl::operator- ( const half a,
float  b 
)
inline

Definition at line 587 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator-() [5/6]

float vl::operator- ( const half a,
double  b 
)
inline

Definition at line 592 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator-() [6/6]

float vl::operator- ( const half a,
int  b 
)
inline

Definition at line 597 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator/() [1/6]

float vl::operator/ ( float  a,
const half b 
)
inline

Definition at line 480 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator/() [2/6]

float vl::operator/ ( double  a,
const half b 
)
inline

Definition at line 485 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator/() [3/6]

float vl::operator/ ( int  a,
const half b 
)
inline

Definition at line 490 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator/() [4/6]

float vl::operator/ ( const half a,
float  b 
)
inline

Definition at line 542 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator/() [5/6]

float vl::operator/ ( const half a,
double  b 
)
inline

Definition at line 547 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator/() [6/6]

float vl::operator/ ( const half a,
int  b 
)
inline

Definition at line 552 of file half.hpp.

References vl::half::convertHalfToFloat().

◆ operator<<()

std::ostream& vl::operator<< ( std::ostream &  os,
const MersenneTwister mtrand 
)
inline

◆ operator==() [1/3]

template<class T1 , class T2 >
bool vl::operator== ( const ref< T1 > &  o1,
const ref< T2 > &  o2 
)
inline

◆ operator==() [2/3]

template<class T1 , class T2 >
bool vl::operator== ( const ref< T1 > &  o1,
T2 *  o2 
)
inline

Definition at line 146 of file Object.hpp.

References vl::ref< T >::get().

◆ operator==() [3/3]

template<class T1 , class T2 >
bool vl::operator== ( T1 *  o1,
const ref< T2 > &  o2 
)
inline

Definition at line 148 of file Object.hpp.

References vl::ref< T >::get().

◆ operator>>()

std::istream& vl::operator>> ( std::istream &  is,
MersenneTwister mtrand 
)
inline

◆ operator|()

template<typename T >
Flags<T> vl::operator| ( flag1,
flag2 
)

Definition at line 144 of file Flags.hpp.

References vl::Flags< T_FlagEnum >::flags().

◆ outerProduct() [1/3]

template<typename T >
Matrix2<T> vl::outerProduct ( const Vector2< T > &  a,
const Vector2< T > &  b 
)

Definition at line 1246 of file glsl_math.hpp.

References vl::Matrix2< T_Scalar >::e().

◆ outerProduct() [2/3]

template<typename T >
Matrix3<T> vl::outerProduct ( const Vector3< T > &  a,
const Vector3< T > &  b 
)

Definition at line 1256 of file glsl_math.hpp.

References vl::Matrix3< T_Scalar >::e().

◆ outerProduct() [3/3]

template<typename T >
Matrix4<T> vl::outerProduct ( const Vector4< T > &  a,
const Vector4< T > &  b 
)

Definition at line 1266 of file glsl_math.hpp.

References vl::Matrix4< T_Scalar >::e().

◆ pow() [1/4]

template<typename T >
T vl::pow ( a,
b 
)

Definition at line 434 of file glsl_math.hpp.

Referenced by exp2(), and pow().

◆ pow() [2/4]

template<typename T >
Vector2<T> vl::pow ( const Vector2< T > &  a,
const Vector2< T > &  b 
)

Definition at line 437 of file glsl_math.hpp.

References pow(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ pow() [3/4]

template<typename T >
Vector3<T> vl::pow ( const Vector3< T > &  a,
const Vector3< T > &  b 
)

◆ pow() [4/4]

template<typename T >
Vector4<T> vl::pow ( const Vector4< T > &  a,
const Vector4< T > &  b 
)

◆ radians() [1/4]

template<typename T >
T vl::radians ( degrees)

Definition at line 147 of file glsl_math.hpp.

References dDEG_TO_RAD.

Referenced by vl::StereoCamera::updateLeftRightCameras().

◆ radians() [2/4]

template<typename T >
Vector2<T> vl::radians ( const Vector2< T > &  degrees)

◆ radians() [3/4]

template<typename T >
Vector3<T> vl::radians ( const Vector3< T > &  degrees)

◆ radians() [4/4]

template<typename T >
Vector4<T> vl::radians ( const Vector4< T > &  degrees)

◆ random()

real vl::random ( real  min,
real  max 
)

Returns a random number N between 'min' and 'max' (included) with 53 bits of randomness generated using MersenneTwister->rand53().

Definition at line 44 of file math_utils.cpp.

References defMersenneTwister(), min(), and vl::MersenneTwister::rand53().

◆ randomI32()

i32 vl::randomI32 ( i32  min,
i32  max 
)

Returns a random number N between 'min' and 'max' (included) generated using MersenneTwister->randInt().

Definition at line 55 of file math_utils.cpp.

References defMersenneTwister(), min(), and vl::MersenneTwister::randInt().

◆ randomU32()

u32 vl::randomU32 ( u32  min,
u32  max 
)

Returns a random number N between 'min' and 'max' (included) generated using MersenneTwister->randInt().

Definition at line 50 of file math_utils.cpp.

References defMersenneTwister(), min(), and vl::MersenneTwister::randInt().

◆ readPixels()

void vl::readPixels ( Image image,
int  x,
int  y,
int  w,
int  h,
EReadDrawBuffer  read_buffer,
bool  store_in_pixel_buffer_object 
)
inline

Reads a rectangular pixel area from the specified read buffer and stores it in an Image.

If 'store_in_pixel_buffer_object' is true the data will be copied in the GPU memory using the GL_EXT_pixel_buffer_object extension, while the local buffer will be deallocated.

Note
The image returned by this function might seem flipped upside down.

Definition at line 54 of file ReadPixels.hpp.

References vl::Image::allocate2D(), vl::Image::dimension(), vl::Image::format(), vl::BufferObject::handle(), Has_GL_Version_1_2, Has_GL_Version_2_1, Has_GL_Version_3_0, Has_GL_Version_4_0, vl::Image::height(), ID_2D, vl::Image::imageBuffer(), NULL, vl::Image::pixels(), vl::Log::print(), vl::Image::requiredMemory2D(), vl::Image::reset(), vl::BufferObject::setBufferData(), vl::Image::type(), vl::BufferObject::usage(), VL_CHECK, VL_CHECK_OGL, VL_TRAP, and vl::Image::width().

Referenced by vl::ReadPixels::readPixels().

◆ reflect() [1/4]

template<typename T >
T vl::reflect ( I,
N 
)

Definition at line 1156 of file glsl_math.hpp.

References dot().

◆ reflect() [2/4]

template<typename T >
Vector2<T> vl::reflect ( const Vector2< T > &  I,
const Vector2< T > &  N 
)

Definition at line 1159 of file glsl_math.hpp.

References dot().

◆ reflect() [3/4]

template<typename T >
Vector3<T> vl::reflect ( const Vector3< T > &  I,
const Vector3< T > &  N 
)

Definition at line 1162 of file glsl_math.hpp.

References dot().

◆ reflect() [4/4]

template<typename T >
Vector4<T> vl::reflect ( const Vector4< T > &  I,
const Vector4< T > &  N 
)

Definition at line 1165 of file glsl_math.hpp.

References dot().

◆ refract() [1/4]

template<typename T >
T vl::refract ( I,
N,
eta 
)

Definition at line 1170 of file glsl_math.hpp.

References dot(), and sqrt().

◆ refract() [2/4]

template<typename T >
Vector2<T> vl::refract ( const Vector2< T > &  I,
const Vector2< T > &  N,
eta 
)

Definition at line 1180 of file glsl_math.hpp.

References dot(), and sqrt().

◆ refract() [3/4]

template<typename T >
Vector3<T> vl::refract ( const Vector3< T > &  I,
const Vector3< T > &  N,
eta 
)

Definition at line 1190 of file glsl_math.hpp.

References dot(), and sqrt().

◆ refract() [4/4]

template<typename T >
Vector4<T> vl::refract ( const Vector4< T > &  I,
const Vector4< T > &  N,
eta 
)

Definition at line 1200 of file glsl_math.hpp.

References dot(), and sqrt().

◆ registerLoadWriter()

void vl::registerLoadWriter ( ResourceLoadWriter rlw)
inline

Utility function, equivalent to defLoadWriterManager()->registerLoadWriter(rlw).

Definition at line 148 of file LoadWriterManager.hpp.

References defLoadWriterManager(), and vl::LoadWriterManager::registerLoadWriter().

Referenced by vl::LoadWriterManager::LoadWriterManager().

◆ round() [1/4]

template<typename T >
T vl::round ( x)

Definition at line 764 of file glsl_math.hpp.

References ceil(), and floor().

Referenced by round(), and roundEven().

◆ round() [2/4]

template<typename T >
Vector2<T> vl::round ( const Vector2< T > &  a)

◆ round() [3/4]

template<typename T >
Vector3<T> vl::round ( const Vector3< T > &  a)

◆ round() [4/4]

template<typename T >
Vector4<T> vl::round ( const Vector4< T > &  a)

◆ roundEven() [1/5]

float vl::roundEven ( float  a,
float  epsilon 
)
inline

Definition at line 828 of file glsl_math.hpp.

References ceil(), modf(), and round().

Referenced by roundEven().

◆ roundEven() [2/5]

double vl::roundEven ( double  a,
double  epsilon 
)
inline

Definition at line 854 of file glsl_math.hpp.

References ceil(), modf(), round(), and roundEven().

◆ roundEven() [3/5]

template<typename T >
Vector2<T> vl::roundEven ( const Vector2< T > &  a,
epsilon = 0.00001 
)

◆ roundEven() [4/5]

template<typename T >
Vector3<T> vl::roundEven ( const Vector3< T > &  a,
epsilon = 0.00001 
)

◆ roundEven() [5/5]

template<typename T >
Vector4<T> vl::roundEven ( const Vector4< T > &  a,
epsilon = 0.00001 
)

◆ saveDICOM() [1/2]

bool vl::saveDICOM ( const Image src,
const String path 
)

Writes a DICOM file.

Definition at line 384 of file ioDICOM.cpp.

◆ saveDICOM() [2/2]

bool vl::saveDICOM ( const Image src,
VirtualFile file 
)

◆ saveImage() [1/2]

bool vl::saveImage ( Image img,
VirtualFile file 
)

◆ saveImage() [2/2]

bool vl::saveImage ( Image img,
const String path 
)

Writes an image on the specified path.

Definition at line 1240 of file Image.cpp.

References defLoadWriterManager(), vl::Log::error(), vl::ref< T >::get(), vl::ResourceDatabase::resources(), and vl::LoadWriterManager::writeResource().

◆ saveJPG() [1/2]

bool vl::saveJPG ( const Image src,
const String path,
int  quality = 95 
)

Definition at line 527 of file ioJPG.cpp.

References vl::ref< T >::get().

Referenced by vl::LoadWriterJPG::writeResource().

◆ saveJPG() [2/2]

bool vl::saveJPG ( const Image src,
VirtualFile file,
int  quality = 95 
)

◆ savePNG() [1/2]

bool vl::savePNG ( const Image src,
const String path,
int  compression = 6 
)

Definition at line 396 of file ioPNG.cpp.

References vl::ref< T >::get().

Referenced by vl::LoadWriterPNG::writeResource().

◆ savePNG() [2/2]

bool vl::savePNG ( const Image src,
VirtualFile file,
int  compression = 6 
)

◆ saveTGA() [1/2]

bool vl::saveTGA ( const Image src,
const String path 
)

Definition at line 407 of file ioTGA.cpp.

References vl::ref< T >::get().

Referenced by vl::LoadWriterTGA::writeResource().

◆ saveTGA() [2/2]

bool vl::saveTGA ( const Image src,
VirtualFile file 
)

◆ saveTIFF() [1/2]

bool vl::saveTIFF ( const Image src,
const String path 
)

Definition at line 194 of file ioTIFF.cpp.

References vl::ref< T >::get().

Referenced by vl::LoadWriterTIFF::writeResource().

◆ saveTIFF() [2/2]

bool vl::saveTIFF ( const Image src,
VirtualFile file 
)

◆ setDefFileSystem()

void vl::setDefFileSystem ( FileSystem fs)

Sets the default FileSystem used by VisualizationLibrary.

Definition at line 101 of file pimpl.cpp.

References NULL.

Referenced by vl::VisualizationLibrary::isCoreInitialized().

◆ setDefFontManager()

void vl::setDefFontManager ( FontManager fm)

Sets the default FontManager used by Visualization Library.

Definition at line 47 of file pimpl.cpp.

◆ setDefLoadWriterManager()

void vl::setDefLoadWriterManager ( LoadWriterManager lwm)

Sets the default LoadWriterManager used by Visualization Library.

Definition at line 86 of file pimpl.cpp.

References NULL.

Referenced by vl::VisualizationLibrary::isCoreInitialized().

◆ setDefLogger()

void vl::setDefLogger ( Log logger)

Installs the default logger used by Visualization Library. Setting this to NULL will disable logging.

Definition at line 67 of file pimpl.cpp.

Referenced by vl::VisualizationLibrary::isCoreInitialized(), and vl::Log::logMutex().

◆ setDefMersenneTwister()

void vl::setDefMersenneTwister ( MersenneTwister reg)

Definition at line 116 of file pimpl.cpp.

Referenced by vl::VisualizationLibrary::isCoreInitialized().

◆ setGlobalSettings()

void vl::setGlobalSettings ( GlobalSettings gs)

Sets VisulizationLibrary's global settings.

Definition at line 56 of file pimpl.cpp.

Referenced by vl::VisualizationLibrary::isCoreInitialized().

◆ showWin32Console()

void vl::showWin32Console ( )

Shows a console window that displays the standard output. This function is meant to be used only under Windows only.

Definition at line 139 of file pimpl.cpp.

◆ sign() [1/4]

template<typename T >
T vl::sign ( a)

◆ sign() [2/4]

template<typename T >
Vector2<T> vl::sign ( const Vector2< T > &  a)

Definition at line 672 of file glsl_math.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ sign() [3/4]

template<typename T >
Vector3<T> vl::sign ( const Vector3< T > &  a)

◆ sign() [4/4]

template<typename T >
Vector4<T> vl::sign ( const Vector4< T > &  a)

◆ sin() [1/4]

template<typename T >
T vl::sin ( a)

◆ sin() [2/4]

template<typename T >
Vector2<T> vl::sin ( const Vector2< T > &  angle)

Definition at line 202 of file glsl_math.hpp.

References sin(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ sin() [3/4]

template<typename T >
Vector3<T> vl::sin ( const Vector3< T > &  angle)

◆ sin() [4/4]

template<typename T >
Vector4<T> vl::sin ( const Vector4< T > &  angle)

◆ sinh() [1/4]

template<typename T >
T vl::sinh ( a)

Definition at line 357 of file glsl_math.hpp.

References exp().

Referenced by sinh(), and tanh().

◆ sinh() [2/4]

template<typename T >
Vector2<T> vl::sinh ( const Vector2< T > &  a)

Definition at line 360 of file glsl_math.hpp.

References sinh(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ sinh() [3/4]

template<typename T >
Vector3<T> vl::sinh ( const Vector3< T > &  a)

◆ sinh() [4/4]

template<typename T >
Vector4<T> vl::sinh ( const Vector4< T > &  a)

◆ smallerEqualPow2()

int vl::smallerEqualPow2 ( int  n)

Returns a number N that is a power of 2 and that is equal to or smaller than 'n'.

Definition at line 71 of file math_utils.cpp.

◆ smoothstep() [1/4]

template<typename T >
T vl::smoothstep ( edge0,
edge1,
a 
)

Definition at line 1018 of file glsl_math.hpp.

References clamp().

◆ smoothstep() [2/4]

template<typename T >
Vector2<T> vl::smoothstep ( const Vector2< T > &  edge0,
const Vector2< T > &  edge1,
const Vector2< T > &  a 
)

◆ smoothstep() [3/4]

template<typename T >
Vector3<T> vl::smoothstep ( const Vector3< T > &  edge0,
const Vector3< T > &  edge1,
const Vector3< T > &  a 
)

◆ smoothstep() [4/4]

template<typename T >
Vector4<T> vl::smoothstep ( const Vector4< T > &  edge0,
const Vector4< T > &  edge1,
const Vector4< T > &  a 
)

◆ sqrt() [1/4]

template<typename T >
T vl::sqrt ( a)

◆ sqrt() [2/4]

template<typename T >
Vector2<T> vl::sqrt ( const Vector2< T > &  a)

Definition at line 595 of file glsl_math.hpp.

References sqrt(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ sqrt() [3/4]

template<typename T >
Vector3<T> vl::sqrt ( const Vector3< T > &  a)

◆ sqrt() [4/4]

template<typename T >
Vector4<T> vl::sqrt ( const Vector4< T > &  a)

◆ step() [1/4]

template<typename T >
T vl::step ( edge,
a 
)

Definition at line 990 of file glsl_math.hpp.

◆ step() [2/4]

template<typename T >
Vector2<T> vl::step ( const Vector2< T > &  edge,
const Vector2< T > &  a 
)

Definition at line 993 of file glsl_math.hpp.

References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ step() [3/4]

template<typename T >
Vector3<T> vl::step ( const Vector3< T > &  edge,
const Vector3< T > &  a 
)

◆ step() [4/4]

template<typename T >
Vector4<T> vl::step ( const Vector4< T > &  edge,
const Vector4< T > &  a 
)

◆ swapBytes()

template<typename T >
void vl::swapBytes ( T &  value)

Swaps the byte order of the given object.

Definition at line 108 of file std_types.hpp.

References VL_COMPILE_TIME_CHECK().

◆ swapBytes24_BGR_RGB()

void vl::swapBytes24_BGR_RGB ( void *  buf,
int  bytecount 
)
inline

Definition at line 223 of file ImageTools.hpp.

Referenced by loadDDS().

◆ swapBytes32()

void vl::swapBytes32 ( void *  buf,
int  size 
)
inline

Definition at line 197 of file ImageTools.hpp.

◆ swapBytes32_BGRA_RGBA()

void vl::swapBytes32_BGRA_RGBA ( void *  buf,
int  bytecount 
)
inline

Definition at line 211 of file ImageTools.hpp.

Referenced by loadDDS(), and loadTGA().

◆ tan() [1/4]

template<typename T >
T vl::tan ( a)

Definition at line 251 of file glsl_math.hpp.

References tan().

Referenced by tan(), and vl::StereoCamera::updateLeftRightCameras().

◆ tan() [2/4]

template<typename T >
Vector2<T> vl::tan ( const Vector2< T > &  angle)

Definition at line 254 of file glsl_math.hpp.

References tan(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ tan() [3/4]

template<typename T >
Vector3<T> vl::tan ( const Vector3< T > &  angle)

◆ tan() [4/4]

template<typename T >
Vector4<T> vl::tan ( const Vector4< T > &  angle)

◆ tanh() [1/4]

template<typename T >
T vl::tanh ( a)

Definition at line 385 of file glsl_math.hpp.

References cosh(), and sinh().

Referenced by tanh().

◆ tanh() [2/4]

template<typename T >
Vector2<T> vl::tanh ( const Vector2< T > &  a)

Definition at line 388 of file glsl_math.hpp.

References tanh(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().

◆ tanh() [3/4]

template<typename T >
Vector3<T> vl::tanh ( const Vector3< T > &  a)

◆ tanh() [4/4]

template<typename T >
Vector4<T> vl::tanh ( const Vector4< T > &  a)

◆ transpose() [1/3]

template<typename T >
Matrix2<T> vl::transpose ( const Matrix2< T > &  a)

Definition at line 1278 of file glsl_math.hpp.

References vl::Matrix2< T_Scalar >::e().

◆ transpose() [2/3]

template<typename T >
Matrix3<T> vl::transpose ( const Matrix3< T > &  a)

Definition at line 1288 of file glsl_math.hpp.

References vl::Matrix3< T_Scalar >::e().

◆ transpose() [3/3]

template<typename T >
Matrix4<T> vl::transpose ( const Matrix4< T > &  a)

Definition at line 1298 of file glsl_math.hpp.

References vl::Matrix4< T_Scalar >::e().

◆ trunc() [1/4]

template<typename T >
T vl::trunc ( a)

Definition at line 738 of file glsl_math.hpp.

References fract().

◆ trunc() [2/4]

template<typename T >
Vector2<T> vl::trunc ( const Vector2< T > &  a)

◆ trunc() [3/4]

template<typename T >
Vector3<T> vl::trunc ( const Vector3< T > &  a)

◆ trunc() [4/4]

template<typename T >
Vector4<T> vl::trunc ( const Vector4< T > &  a)

◆ versionString()

const char * vl::versionString ( )

Returns the Visualization Library's version string.

Definition at line 132 of file pimpl.cpp.

Referenced by logSystemInfo().

◆ VL_COMPILE_TIME_CHECK() [1/11]

vl::VL_COMPILE_TIME_CHECK ( sizeof(i8) *  8 = =8)

◆ VL_COMPILE_TIME_CHECK() [2/11]

vl::VL_COMPILE_TIME_CHECK ( sizeof(u8) *  8 = =8)

◆ VL_COMPILE_TIME_CHECK() [3/11]

vl::VL_COMPILE_TIME_CHECK ( sizeof(i16) *  8 = =16)

◆ VL_COMPILE_TIME_CHECK() [4/11]

vl::VL_COMPILE_TIME_CHECK ( sizeof(u16) *  8 = =16)

◆ VL_COMPILE_TIME_CHECK() [5/11]

vl::VL_COMPILE_TIME_CHECK ( sizeof(i32) *  8 = =32)

◆ VL_COMPILE_TIME_CHECK() [6/11]

vl::VL_COMPILE_TIME_CHECK ( sizeof(u32) *  8 = =32)

◆ VL_COMPILE_TIME_CHECK() [7/11]

vl::VL_COMPILE_TIME_CHECK ( sizeof(i64) *  8 = =64)

◆ VL_COMPILE_TIME_CHECK() [8/11]

vl::VL_COMPILE_TIME_CHECK ( sizeof(u64) *  8 = =64)

◆ VL_COMPILE_TIME_CHECK() [9/11]

vl::VL_COMPILE_TIME_CHECK ( sizeof(f32) *  8 = =32)

◆ VL_COMPILE_TIME_CHECK() [10/11]

vl::VL_COMPILE_TIME_CHECK ( sizeof(f64) *  8 = =64)

◆ VL_COMPILE_TIME_CHECK() [11/11]

vl::VL_COMPILE_TIME_CHECK ( EN_EnableCount  = =sizeof(Is_Enable_Supported)/sizeof(Is_Enable_Supported[0]))

◆ writeResource() [1/2]

bool vl::writeResource ( const String path,
ResourceDatabase resource 
)

Short version of defLoadWriterManager()->writeResource(path, resource).

Definition at line 201 of file LoadWriterManager.cpp.

References defLoadWriterManager(), and vl::LoadWriterManager::writeResource().

Referenced by vl::LoadWriterManager::canWrite().

◆ writeResource() [2/2]

bool vl::writeResource ( VirtualFile file,
ResourceDatabase resource 
)

Short version of defLoadWriterManager()->writeResource(file, resource).

Definition at line 203 of file LoadWriterManager.cpp.

References defLoadWriterManager(), and vl::LoadWriterManager::writeResource().

Variable Documentation

◆ dDEG_TO_RAD

const double vl::dDEG_TO_RAD = dPi / 180.0

Constant to convert degree into radian using double precision.

Definition at line 66 of file std_types.hpp.

Referenced by vl::Matrix4< float >::getPerspective(), vl::Matrix3< T_Scalar >::getRotation(), vl::Matrix4< float >::getRotation(), radians(), and vl::Quaternion< T_Scalar >::setFromAxisAngle().

◆ dPi

const double vl::dPi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093845

Greek Pi constant using double precision.

Definition at line 64 of file std_types.hpp.

Referenced by vl::VectorGraphics::drawEllipse(), and vl::VectorGraphics::fillEllipse().

◆ dRAD_TO_DEG

const double vl::dRAD_TO_DEG = 180.0 / dPi

◆ fDEG_TO_RAD

const float vl::fDEG_TO_RAD = float(dPi / 180.0)

Constant to convert degree into radian using float precision.

Definition at line 73 of file std_types.hpp.

Referenced by vl::StereoCamera::updateLeftRightCameras().

◆ fPi

const float vl::fPi = (float)3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093845

Greek Pi constant using float precision.

Definition at line 71 of file std_types.hpp.

Referenced by vl::EdgeExtractor::extractEdges(), and makeCapsule().

◆ fRAD_TO_DEG

const float vl::fRAD_TO_DEG = float(180.0 / dPi)

Constant to convert radian into degree using float precision.

Definition at line 75 of file std_types.hpp.

◆ ft_errors

vl::Glyph vl::ft_errors[]

◆ gStartTime

unsigned long long vl::gStartTime = 0

Definition at line 85 of file Time.cpp.

Referenced by vl::Time::currentTime().

◆ Has_Base_Vertex

VLGRAPHICS_EXPORT bool vl::Has_Base_Vertex = false

◆ Has_BufferObject

VLGRAPHICS_EXPORT bool vl::Has_BufferObject = false

◆ Has_Cubemap_Textures

VLGRAPHICS_EXPORT bool vl::Has_Cubemap_Textures = false

◆ Has_FBO

VLGRAPHICS_EXPORT bool vl::Has_FBO = false

◆ Has_FBO_Multisample

VLGRAPHICS_EXPORT bool vl::Has_FBO_Multisample = false

Definition at line 85 of file OpenGL.cpp.

Referenced by initializeOpenGL(), and vl::FBORenderbufferAttachment::initStorage().

◆ Has_Fixed_Function_Pipeline

VLGRAPHICS_EXPORT bool vl::Has_Fixed_Function_Pipeline = false

◆ Has_Geometry_Shader

VLGRAPHICS_EXPORT bool vl::Has_Geometry_Shader = false

Definition at line 81 of file OpenGL.cpp.

Referenced by initializeOpenGL().

◆ Has_GL_GENERATE_MIPMAP

VLGRAPHICS_EXPORT bool vl::Has_GL_GENERATE_MIPMAP = false

◆ Has_GL_Version_1_1

VLGRAPHICS_EXPORT bool vl::Has_GL_Version_1_1 = false

◆ Has_GL_Version_1_2

VLGRAPHICS_EXPORT bool vl::Has_GL_Version_1_2 = false

◆ Has_GL_Version_1_3

VLGRAPHICS_EXPORT bool vl::Has_GL_Version_1_3 = false

◆ Has_GL_Version_1_4

VLGRAPHICS_EXPORT bool vl::Has_GL_Version_1_4 = false

◆ Has_GL_Version_1_5

VLGRAPHICS_EXPORT bool vl::Has_GL_Version_1_5 = false

Definition at line 53 of file OpenGL.cpp.

Referenced by initializeOpenGL().

◆ Has_GL_Version_2_0

VLGRAPHICS_EXPORT bool vl::Has_GL_Version_2_0 = false

◆ Has_GL_Version_2_1

VLGRAPHICS_EXPORT bool vl::Has_GL_Version_2_1 = false

Definition at line 55 of file OpenGL.cpp.

Referenced by initializeOpenGL(), vl::OpenGLContext::isCleanState(), and readPixels().

◆ Has_GL_Version_3_0

VLGRAPHICS_EXPORT bool vl::Has_GL_Version_3_0 = false

◆ Has_GL_Version_3_1

VLGRAPHICS_EXPORT bool vl::Has_GL_Version_3_1 = false

Definition at line 57 of file OpenGL.cpp.

Referenced by initializeOpenGL(), and vl::MultiDrawElements< ArrayUShort1 >::render().

◆ Has_GL_Version_3_2

VLGRAPHICS_EXPORT bool vl::Has_GL_Version_3_2 = false

◆ Has_GL_Version_3_3

VLGRAPHICS_EXPORT bool vl::Has_GL_Version_3_3 = false

Definition at line 59 of file OpenGL.cpp.

Referenced by initializeOpenGL().

◆ Has_GL_Version_4_0

VLGRAPHICS_EXPORT bool vl::Has_GL_Version_4_0 = false

◆ Has_GL_Version_4_1

VLGRAPHICS_EXPORT bool vl::Has_GL_Version_4_1 = false

Definition at line 61 of file OpenGL.cpp.

Referenced by initializeOpenGL(), and vl::OpenGLContext::logOpenGLInfo().

◆ Has_GLES

VLGRAPHICS_EXPORT bool vl::Has_GLES = false

◆ Has_GLES_Version_1_1

VLGRAPHICS_EXPORT bool vl::Has_GLES_Version_1_1 = false

◆ Has_GLES_Version_2_0

VLGRAPHICS_EXPORT bool vl::Has_GLES_Version_2_0 = false

◆ Has_glGenerateMipmaps

VLGRAPHICS_EXPORT bool vl::Has_glGenerateMipmaps = false

Definition at line 96 of file OpenGL.cpp.

Referenced by initializeOpenGL(), and vl::Texture::setMipLevel().

◆ Has_GLSL

VLGRAPHICS_EXPORT bool vl::Has_GLSL = false

◆ Has_GLSL_120_Or_More

VLGRAPHICS_EXPORT bool vl::Has_GLSL_120_Or_More = false

Definition at line 74 of file OpenGL.cpp.

Referenced by initializeOpenGL().

◆ Has_GLSL_130_Or_More

VLGRAPHICS_EXPORT bool vl::Has_GLSL_130_Or_More = false

Definition at line 75 of file OpenGL.cpp.

Referenced by initializeOpenGL().

◆ Has_GLSL_140_Or_More

VLGRAPHICS_EXPORT bool vl::Has_GLSL_140_Or_More = false

Definition at line 76 of file OpenGL.cpp.

Referenced by initializeOpenGL().

◆ Has_GLSL_150_Or_More

VLGRAPHICS_EXPORT bool vl::Has_GLSL_150_Or_More = false

Definition at line 77 of file OpenGL.cpp.

Referenced by initializeOpenGL().

◆ Has_GLSL_330_Or_More

VLGRAPHICS_EXPORT bool vl::Has_GLSL_330_Or_More = false

Definition at line 78 of file OpenGL.cpp.

Referenced by initializeOpenGL().

◆ Has_GLSL_400_Or_More

VLGRAPHICS_EXPORT bool vl::Has_GLSL_400_Or_More = false

Definition at line 79 of file OpenGL.cpp.

Referenced by initializeOpenGL().

◆ Has_GLSL_410_Or_More

VLGRAPHICS_EXPORT bool vl::Has_GLSL_410_Or_More = false

Definition at line 80 of file OpenGL.cpp.

Referenced by initializeOpenGL().

◆ Has_Multitexture

VLGRAPHICS_EXPORT bool vl::Has_Multitexture = false

Definition at line 92 of file OpenGL.cpp.

Referenced by initializeOpenGL(), and vl::OpenGLContext::isCleanState().

◆ Has_Occlusion_Query

VLGRAPHICS_EXPORT bool vl::Has_Occlusion_Query = false

◆ Has_PBO

VLGRAPHICS_EXPORT bool vl::Has_PBO = false

Definition at line 84 of file OpenGL.cpp.

Referenced by initializeOpenGL(), and vl::OpenGLContext::logOpenGLInfo().

◆ Has_Point_Sprite

VLGRAPHICS_EXPORT bool vl::Has_Point_Sprite = false

Definition at line 98 of file OpenGL.cpp.

Referenced by vl::TexEnv::apply(), initializeOpenGL(), and vl::VectorGraphics::popScissor().

◆ Has_Primitive_Instancing

VLGRAPHICS_EXPORT bool vl::Has_Primitive_Instancing = false

Definition at line 100 of file OpenGL.cpp.

Referenced by initializeOpenGL(), and vl::DrawElements< ArrayUShort1 >::render().

◆ Has_Primitive_Restart

VLGRAPHICS_EXPORT bool vl::Has_Primitive_Restart = false

◆ Has_Texture_3D

VLGRAPHICS_EXPORT bool vl::Has_Texture_3D = false

◆ Has_Texture_Array

VLGRAPHICS_EXPORT bool vl::Has_Texture_Array = false

◆ Has_Texture_Buffer

VLGRAPHICS_EXPORT bool vl::Has_Texture_Buffer = false

◆ Has_Texture_Multisample

VLGRAPHICS_EXPORT bool vl::Has_Texture_Multisample = false

◆ Has_Texture_Rectangle

VLGRAPHICS_EXPORT bool vl::Has_Texture_Rectangle = false

◆ Has_Transform_Feedback

VLGRAPHICS_EXPORT bool vl::Has_Transform_Feedback = false

Definition at line 95 of file OpenGL.cpp.

Referenced by initializeOpenGL(), and vl::OpenGLContext::isCleanState().

◆ Is_Enable_Supported

VLGRAPHICS_EXPORT bool vl::Is_Enable_Supported

Definition at line 242 of file OpenGL.cpp.

Referenced by initializeOpenGL(), and vl::OpenGLContext::isCleanState().

◆ Is_OpenGL_Core_Profile

VLGRAPHICS_EXPORT bool vl::Is_OpenGL_Core_Profile = false

OpenGL: true if the current context has been created with the WGL_CONTEXT_CORE_PROFILE_BIT_ARB or equivalent.

If true all removed functionalities are not present. OpenGL ES 1: always false OpenGL ES 2: always false

Definition at line 46 of file OpenGL.cpp.

Referenced by vl::OpenGLContext::initGLContext(), initializeOpenGL(), vl::OpenGLContext::isCleanState(), and vl::OpenGLContext::resetContextStates().

◆ Is_OpenGL_Forward_Compatible

VLGRAPHICS_EXPORT bool vl::Is_OpenGL_Forward_Compatible = false

OpenGL: true if the current context has been created with the WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB or equivalent.

If true all removed AND deprecated (even if not yet removed) functionalities are not present. OpenGL ES 1: always false OpenGL ES 2: always false

Definition at line 47 of file OpenGL.cpp.

Referenced by initializeOpenGL().

◆ Is_OpenGL_Initialized

VLGRAPHICS_EXPORT bool vl::Is_OpenGL_Initialized = false

Set to true if the last call to vl::initializeOpenGL() was succesful.

Definition at line 45 of file OpenGL.cpp.

Referenced by initializeOpenGL().

◆ Translate_Enable

VLGRAPHICS_EXPORT const GLenum vl::Translate_Enable

◆ Translate_Enable_String

VLGRAPHICS_EXPORT const char * vl::Translate_Enable_String