# Visualization Library

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

[Home] [Tutorials] [All Classes] [Grouped Classes]

Classes | Typedefs | Enumerations | Functions | Variables

# vl Namespace Reference

Visualization Library namespace. More...

## Classes

class | AABB
| The AABB class implements an axis-aligned bounding box using vl::Real precision. More...
class | ArrayAbstract
| The ArrayAbstract class defines an abstract interface to conveniently manipulate data stored in a GLBufferObject. More...
class | Array
| The Array class is a template array used to conveniently manipulate data stored in a GLBufferObject. 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 | CatmullRomInterpolator
| The LinearInterpolator class is a template class that implements Catmull-Rom spline interpolation. More...
class | CatmullRomInterpolatorFVec4
| Interpolates vl::fvec4 values using a CatmullRomInterpolator. More...
class | CatmullRomInterpolatorFVec3
| Interpolates vl::fvec3 values using a CatmullRomInterpolator. More...
class | CatmullRomInterpolatorFVec2
| Interpolates vl::fvec2 values using a CatmullRomInterpolator. More...
class | CatmullRomInterpolatorFloat
| Interpolates `float` values using a CatmullRomInterpolator. More...
class | CatmullRomInterpolatorDVec4
| Interpolates vl::dvec4 values using a CatmullRomInterpolator. More...
class | CatmullRomInterpolatorDVec3
| Interpolates vl::dvec3 values using a CatmullRomInterpolator. More...
class | CatmullRomInterpolatorDVec2
| Interpolates vl::dvec2 values using a CatmullRomInterpolator. More...
class | CatmullRomInterpolatorDouble
| Interpolates `double` values using a CatmullRomInterpolator. More...
class | Collection
| Reference counted container that encapsulates the base functionalites of an std::vector<>. More...
class | CRC32CheckSum
| Computes the a CRC32 checksum of a given buffer or VirtualFile. More...
class | DiskDirectory
| A VirtualDirectory that operates on reguar disk directories. More...
class | DiskFile
| A VirtualFile that operates on regular disk files. More...
class | FileSystem
| Manages multiple VirtualDirectory objects. 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 | Image
| Implements a generic 1d, 2d, 3d and cubemap image that can have mipmaps. More...
class | IMutex
| An interface to implement simple platform-independent mutexes used to protect critical sections. More...
class | Interpolator
| Abstract class for all the interpolators. More...
class | InterpolatorFVec4
| Abstract class that interpolates vl::fvec4 values. More...
class | InterpolatorFVec3
| Abstract class that interpolates vl::fvec3 values. More...
class | InterpolatorFVec2
| Abstract class that interpolates vl::fvec2 values. More...
class | InterpolatorFloat
| Abstract class that interpolates `float` values. More...
class | InterpolatorDVec4
| Abstract class that interpolates vl::dvec4 values. More...
class | InterpolatorDVec3
| Abstract class that interpolates vl::dvec3 values. More...
class | InterpolatorDVec2
| Abstract class that interpolates vl::dvec2 values. More...
class | InterpolatorDouble
| Abstract class that interpolates `double` values. More...
class | KeyValues
| A set of key/value pairs usually used to associate generic information, tags, attributes etc. to another class. More...
class | LinearInterpolator
| The LinearInterpolator class is a template class that implements linear interpolation. More...
class | LinearInterpolatorFVec4
| Interpolates vl::fvec4 values using a LinearInterpolator. More...
class | LinearInterpolatorFVec3
| Interpolates vl::fvec3 values using a LinearInterpolator. More...
class | LinearInterpolatorFVec2
| Interpolates vl::fvec2 values using a LinearInterpolator. More...
class | LinearInterpolatorFloat
| Interpolates `float` values using a LinearInterpolator. More...
class | LinearInterpolatorDVec4
| Interpolates vl::dvec4 values using a LinearInterpolator. More...
class | LinearInterpolatorDVec3
| Interpolates vl::dvec3 values using a LinearInterpolator. More...
class | LinearInterpolatorDVec2
| Interpolates vl::dvec2 values using a LinearInterpolator. More...
class | LinearInterpolatorDouble
| Interpolates `double` values using a LinearInterpolator. More...
class | LoadCallback
| Defines an operation to be exectued to a ResourceDatabase as soon as its loaded, see also LoadWriterManager, WriteCallback. More...
class | WriteCallback
| Defines an operation to be exectued to a ResourceDatabase just before it is written, see also LoadWriterManager, LoadCallback. More...
class | LoadWriterManager
| The LoadWriterManager class loads and writes resources using the registered ResourceLoadWriter objects. More...
class | Log
| Utility class to generate logs. More...
class | StandardLog
| The StandardLog class outputs the log messages on the stdout device and optionally also on a specified file. 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 | Object
| The base class for all the reference counted objects. More...
class | ref
| The ref<> class is used to reference-count an Object. More...
class | Plane
| The Plane class defines a plane using a normal and an origin. More...
class | LoadWriterBMP
| The LoadWriterBMP class is a ResourceLoadWriter capable of reading BMP 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 | LoadWriterPNG
| The LoadWriterPNG class is a ResourceLoadWriter capable of reading PNG 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 | Quaternion
| Implements a Quaternion usually used to represent rotations and orientations. More...
class | Random
| Random number generator. More...
class | Ray
| The Ray class defines a ray as an origin and direction using Real precision. More...
class | Rect
| Implements the common functions of RectI and RectF. More...
class | RectI
| The RectI class represents a 2D rectangular area using `int` precision. More...
class | RectF
| The RectF class represents a 2D rectangular area using `float` precision. 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 | SayArg
| Used internally by the Say class. More...
class | Say
| A simple String formatting class. More...
class | ScopedMutex
| A class that locks the specified mutex when constructed and unlocks it when destructed. More...
class | Sphere
| The Sphere class defines a sphere using a center and a radius using vl::Real precision. More...
class | String
| The String class implements an advanced UTF16 (Unicode BMP) string manipulation engine. More...
class | TextStream
| The TextStream class can be used to conveniently read or parse utf8-encoded text files. More...
class | Time
| Simple class to be used as a timer and to retrieve the current time and date. More...
class | ITransform
| Abstract interface for a generic transform. More...
class | TransformHierarchy
| Adds parent/child management functions to the specified transform type. More...
class | Transform
| Implements a 4x4 matrix transform used to define the position and orientation of an Actor. 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 | 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 | VLSettings
| Global application settings controlling how Visualization Library behaves. More...
class | ZippedDirectory
| A VirtualDirectory capable of reading files from a .zip file. More...
class | ZippedFileInfo
| Collects the information about a ZippedFile. More...
class | ZippedFile
| A VirtualFile used to read a file contained in a .zip archive. More...
class | ActorEventCallback
| The ActorEventCallback class defines a callback object to react to Actor-related events. 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 | 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 Actor[s]. More...
class | ActorTreeAbstract
| The ActorTreeAbstract class implements the interface of a generic tree containing Actor[s] in its nodes. 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 | 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 | BlitFramebuffer
| A RenderEventCallback that can be used to copy pixels from a framebuffer to another as described in GL_EXT_framebuffer_blit. More...
class | Camera
| Represents a virtual camera defining, among other things, the point of view from which scenes can be rendered. 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 | 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 | DepthSortCallback
| The DepthSortCallback class sorts the primitives of the Geometry object bound to the Actor in which the callback is installed. More...
class | DistanceLODEvaluator
| A LODEvaluator that computes the appropriate LOD based on the distance of an Actor from the Camera. More...
class | VertexMapper
| Generates a set of new vertices from the old one. 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 DrawElements, MultiDrawElements, DrawRangeElements, DrawArrays which are used by Geometry to define a set of primitives to be rendered, see Geometry::drawCalls(). More...
class | DrawElementsBase
| Base interface for all DrawElements* sub classes. More...
class | DrawElements
| Wrapper for the OpenGL function glDrawElements(). More...
class | DrawElementsUInt
| See DrawElements. More...
class | DrawElementsUShort
| See DrawElements. More...
class | DrawElementsUByte
| See DrawElements. More...
class | DrawPixels
| Wraps the OpenGL function glDrawPixels(). More...
class | DrawRangeElementsBase
| Base interface for all DrawRangeElements* sub classes. More...
class | DrawRangeElements
| Wrapper for the OpenGL function glDrawRangeElements(). More...
class | DrawRangeElementsUInt
| See DrawRangeElements. More...
class | DrawRangeElementsUShort
| See DrawRangeElements. More...
class | DrawRangeElementsUByte
| 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 | ShaderSequence
| A sequence of Shader objects each of which represent a rendering pass. 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 | Glyph
| The Glyph associated to a character of a given Font. 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 | FBOAbstractAttachment
| Abstract class that represents a framebuffer object attachment to be used with FBORenderTarget. More...
class | FBORenderbufferAttachment
| Abstract class that represents a framebuffer renderbuffer attachment, that is, a non-texture fbo attachment (wraps `glFramebufferRenderbuffer()`). More...
class | FBOColorBufferAttachment
| A color renderbuffer to be attached to a FBORenderTarget. More...
class | FBODepthBufferAttachment
| A depth renderbuffer to be attached to a FBORenderTarget. More...
class | FBOStencilBufferAttachment
| A stencil renderbuffer to be attached to a FBORenderTarget. More...
class | FBODepthStencilBufferAttachment
| A depth+stencil renderbuffer to be attached to a FBORenderTarget. More...
class | FBOAbstractTextureAttachment
| Base class for all the framebuffer texture attachments (see also FBORenderTarget). More...
class | FBOTexture1DAttachment
| A 1D texture renderbuffer to be attached to a FBORenderTarget (wraps `glFramebufferTexture1D()`). More...
class | FBOTexture2DAttachment
| A 2D texture renderbuffer to be attached to a FBORenderTarget (wraps `glFramebufferTexture2D()`). More...
class | FBOTextureAttachment
| A texture renderbuffer to be attached to a FBORenderTarget (wraps `glFramebufferTexture()`). More...
class | FBOTexture3DAttachment
| A 3D texture renderbuffer to be attached to a FBORenderTarget (wraps `glFramebufferTexture3D()`). More...
class | FBOTextureLayerAttachment
| A texture layer renderbuffer to be attached to a FBORenderTarget (wraps `glFramebufferTextureLayer()`). More...
class | FBORenderTarget
| Implements a framebuffer object to be used as a rendering target as specified by the `ARB_framebuffer_object` extension. 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 | GLBufferObject
| The GLBufferObject class is a Buffer that can upload its data on the GPU memory. More...
class | GLSLShader
| For internal use only. 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 | 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 | 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 | GLSLProgram
| Wraps a GLSL program to which you can bind vertex, fragment and geometry shaders. More...
class | ImagePBO
| Represents a vl::Image with an associated Pixel Buffer Object. More...
class | IndexIteratorAbstract
| Abstract class used as base for all the index iterators specializations. More...
class | IndexIterator
| Wraps a IndexIteratorAbstract to iterate over the indices of a DrawCall. More...
class | IndexIteratorDrawArrays
| Index iterator operating used by DrawArrays. More...
class | IndexIteratorElements
| Index iterator operating over DrawElements, DrawRangeElements and MultiDrawElements. More...
class | IVertexAttribSet
| Abstract interface to manipulate OpenGL's vertex attribute arrays. More...
class | Light
| Wraps the OpenGL function glLight(). More...
class | LODEvaluator
| Abstract class to compute the appropriate LOD of an Actor or Effect. More...
class | MorphingCallback
| The MorphingCallback class implements a simple morphing animation mechanism using the GPU acceleration where available. More...
class | MultiDrawElementsBase
| Base interface for all MultiDrawElements* sub classes. More...
class | MultiDrawElements
| Wrapper for the OpenGL function glMultiDrawElements(). More...
class | MultiDrawElementsUInt
| See MultiDrawElements. More...
class | MultiDrawElementsUShort
| See MultiDrawElements. More...
class | MultiDrawElementsUByte
| See MultiDrawElements. More...
class | OcclusionCullRenderer
| Wraps a Renderer performing occlusion culling acceleration. More...
class | OpenGLContextFormat
| The OpenGLContextFormat class encapsulates the settings of an OpenGL rendering context. 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 | PatchParameter
| Wrapper of glPatchParameter() - specifies the parameters for patch primitives, see also http://www.opengl.org/sdk/docs/man4/xhtml/glPatchParameter.xml. 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 | LoadWriter3DS
| The LoadWriter3DS class is a ResourceLoadWriter capable of reading 3DS files. More...
class | A3DSTexture
| The A3DSTexture class represents a texture in a 3DS file. More...
class | A3DSMaterial
| The A3DSMaterial class represents a material in a 3DS file. More...
class | A3DSTriFace
| The A3DSTriFace class represents a triangle in a 3DS file. More...
class | A3DSMaterialFaceMapping
| The A3DSMaterialFaceMapping class represents the material/face mapping in a 3DS file. More...
class | A3DSVertex
| The A3DSVertex class represents a vertex in a 3DS file. More...
class | A3DSObject
| The A3DSObject class represents an object in a 3DS file. More...
class | A3DSLoader
| The A3DSLoader class loads an Autodesk 3DS file and generates a vector of A3DSObject and A3DSMaterial objects. More...
class | LoadWriterAC3D
| The LoadWriterAC3D class is a ResourceLoadWriter capable of reading AC3D files. More...
class | LoadWriterMD2
| The LoadWriterMD2 class is a ResourceLoadWriter capable of reading MD2 files. More...
class | LoadWriterOBJ
| The LoadWriterOBJ class is a ResourceLoadWriter capable of reading OBJ files. More...
class | ObjTexture
| Represents a Wavefront OBJ texture. See also ObjMaterial and ObjLoader. 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 | ObjLoader
| Loads a Wavefront OBJ file. More...
class | LoadWriterPLY
| The LoadWriterPLY class is a ResourceLoadWriter capable of reading PLY files. More...
class | PlyLoader
| Loads a PLY file. More...
class | LoadWriterSTL
| The LoadWriterSTL class is a ResourceLoadWriter capable of reading STL files. More...
class | STLLoader
| Loads an STL file. More...
class | PolygonSimplifier
| The PolygonSimplifier class reduces the amount of polygons present in a Geometry using a quadric error metric. 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 | 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 | 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 | RenderQueueSorterByShader
| Sorts the RenderTokens by their Shader pointer. More...
class | RenderQueueSorterByRenderable
| Sorts the RenderTokens by their Renderable pointer. More...
class | RenderQueueSorterBasic
| Sorts the RenderTokens by their Effect rank -> Actor rank -> Shader pointer -> Renderable pointer. More...
class | RenderQueueSorterStandard
| Implements the default RenderQueueSorter. More...
class | RenderQueueSorterOcclusion
| Implements a RenderQueueSorter that maximizes the z-buffer test efficiency as much as possible. 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 | RenderState
| Base class for most of the OpenGL render state wrapper classes. More...
class | TextureState
| Base class for the OpenGL texture state wrapper classes. More...
class | RenderStateSet
| A set of RenderState objects managed by a Shader. More...
class | RenderTarget
| The RenderTarget class defines an abstract 'surface' where OpenGL can render into. More...
class | RenderToken
| Internally used by the rendering engine. 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 | Portal
| A planar convex polygon used to define the visibility from one Sector to another. More...
class | Sector
| Defines an area containg a set if Actor[s] that is connected to other Sector[s] through its Portal[s]. More...
class | SceneManagerPortals
| The SceneManagerPortals calss implements a portal-based hidden surface removal algorithm to efficently render highly occluded scenes. 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 | PixelTransfer
| RenderState wrapping the OpenGL function glPixelTransfer(), see also http://www.opengl.org/sdk/docs/man/xhtml/glPixelTransfer.xml for more information. 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 | CullFace
| RenderState wrapping the OpenGL function glCullFace(), see also http://www.opengl.org/sdk/docs/man/xhtml/glCullFace.xml for more information. 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 | 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 | PolygonMode
| RenderState wrapping the OpenGL function glPolygonMode(), see also http://www.opengl.org/sdk/docs/man/xhtml/glPolygonMode.xml for more information. 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 | BlendFunc
| RenderState wrapping the OpenGL function glBlendFunc(), see also http://www.opengl.org/sdk/docs/man/xhtml/glBlendFunc.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 | SampleCoverage
| RenderState wrapping the OpenGL function glSampleCoverage(), see also http://www.opengl.org/sdk/docs/man/xhtml/glSampleCoverage.xml for more information. More...
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 | 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 | LightModel
| RenderState wrapping the OpenGL function glLightModel(), see also http://www.opengl.org/sdk/docs/man/xhtml/glLightModel.xml for more information. 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 | PolygonOffset
| RenderState wrapping the OpenGL function glPolygonOffset(), see also http://www.opengl.org/sdk/docs/man/xhtml/glPolygonOffset.xml for more information. 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 | DepthRange
| RenderState wrapping the OpenGL function glDepthRange(), see also http://www.opengl.org/sdk/docs/man/xhtml/glDepthRange.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 | PointSize
| RenderState wrapping the OpenGL function glPointSize(), see also http://www.opengl.org/sdk/docs/man/xhtml/glPointSize.xml for more information. 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 | LineStipple
| RenderState wrapping the OpenGL function glLineStipple(), see also http://www.opengl.org/sdk/docs/man/xhtml/glLineStipple.xml for more information. 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 | 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 | 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 | 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 | BlendColor
| RenderState wrapping the OpenGL function glBlendColor(), see also http://www.opengl.org/sdk/docs/man/xhtml/glBlendColor.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 | TextureMatrix
| The TextureMatrix class uses a 4x4 matrix to transform the texture coordinates of a texture unit. 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 | TextureUnit
| The TextureUnit class associates a Texture object to an OpenGL texture unit. More...
class | ShaderAnimator
| Callback object used to update/animate a Shader during the rendering. More...
class | Shader
| Manages most of the OpenGL rendering states responsible of the final aspect of the rendered objects. More...
class | ShaderNode
| The ShaderNode class is used to conveniently manage complex hierarchies of Shader[s]. 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 | Text
| A Renderable that renders text with a given Font. 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 | Texture
| Wraps an OpenGL texture object representing and managing all the supported texture types. More...
class | TrackballManipulator
| This class lets you rotate a Camera or a Transform node using a virtual trackball. More...
class | TriangleIteratorAbstract
| For internal use only. More...
class | TriangleIteratorIndexed
| For internal use only. More...
class | TriangleIteratorDirect
| For internal use only. More...
class | TriangleIteratorMulti
| For internal use only. More...
class | TriangleIterator
| Iterator used to extract the indices of every single triangle of a DrawCall regardless of the primitive type. More...
class | TriangleStripGenerator
| The TriangleStripGenerator class is used to substitute lists of triangles or quads with triangle strips. 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 | VertexAttribInfo
| Implements a generic OpenGL Shading Language vertex attribute to be used with a Geometry, see also http://www.opengl.org/sdk/docs/man/xhtml/glVertexAttribPointer.xml. More...
class | Viewport
| Implements the viewport and clearing settings associated to a Camera. More...
class | Atom
| The Atom class represents an atom to be used with the Molecule class. More...
class | Bond
| The Bond class represents a bond to be used with the Molecule class. More...
class | AtomInfo
| Encapsulates information regarding an atom type. More...
class | Molecule
| The Molecule class is used to manage and render 3D molecular structures. 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 | SceneManagerVectorGraphics
| The SceneManagerVectorGraphics class is a SceneManager that contains VectorGraphics objects. More...
class | VectorGraphics
| The VectorGraphics class is used in conjuction with SceneManagerVectorGraphics to generate and render 2D vector graphics. 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 | MarchingCubes
| An efficient implementation of the Marching Cubes algorithm. More...
class | RaycastVolume
| A ActorEventCallback used to render a volume using GPU raycasting. More...
class | SlicedVolume
| A ActorEventCallback used to render a volume using viewport aligned slices. More...
class | VolumePlot
| Generates a 3D plot with labels and isosurface. The isosurface is generated using the MarchingCubes algorithm. More...

## Typedefs

typedef Array< GLfloat, GLfloat, 1, GL_FLOAT > | ArrayFloat1
| An array of `GLfloat`.
typedef Array< fvec2, GLfloat, 2, GL_FLOAT > | ArrayFloat2
| An array of vl::fvec2.
typedef Array< fvec3, GLfloat, 3, GL_FLOAT > | ArrayFloat3
| An array of vl::fvec3.
typedef Array< fvec4, GLfloat, 4, GL_FLOAT > | ArrayFloat4
| An array of vl::fvec4.
typedef Array< GLdouble, GLdouble, 1, GL_DOUBLE > | ArrayDouble1
| An array of `GLdouble`.
typedef Array< dvec2, GLdouble, 2, GL_DOUBLE > | ArrayDouble2
| An array of vl::dvec2.
typedef Array< dvec3, GLdouble, 3, GL_DOUBLE > | ArrayDouble3
| An array of vl::dvec3.
typedef Array< dvec4, GLdouble, 4, GL_DOUBLE > | ArrayDouble4
| An array of vl::dvec4.
typedef Array< GLint, GLint, 1, GL_INT > | ArrayInt1
| An array of `GLint`.
typedef Array< ivec2, GLint, 2, GL_INT > | ArrayInt2
| An array of vl::ivec2.
typedef Array< ivec3, GLint, 3, GL_INT > | ArrayInt3
| An array of vl::ivec3.
typedef Array< ivec4, GLint, 4, GL_INT > | ArrayInt4
| An array of vl::ivec4.
typedef Array< GLuint, GLuint, 1, GL_UNSIGNED_INT > | ArrayUInt1
| An array of `GLuint`.
typedef Array< uvec2, GLuint, 2, GL_UNSIGNED_INT > | ArrayUInt2
| An array of vl::uvec2.
typedef Array< uvec3, GLuint, 3, GL_UNSIGNED_INT > | ArrayUInt3
| An array of vl::uvec3.
typedef Array< uvec4, GLuint, 4, GL_UNSIGNED_INT > | ArrayUInt4
| An array of vl::uvec4.
typedef Array< GLbyte, GLbyte, 1, GL_BYTE > | ArrayByte1
| An array of `GLbyte`.
typedef Array< bvec2, GLbyte, 2, GL_BYTE > | ArrayByte2
| An array of vl::bvec2.
typedef Array< bvec3, GLbyte, 3, GL_BYTE > | ArrayByte3
| An array of vl::bvec3.
typedef Array< bvec4, GLbyte, 4, GL_BYTE > | ArrayByte4
| An array of vl::bvec4.
typedef Array< GLubyte, GLubyte, 1, GL_UNSIGNED_BYTE > | ArrayUByte1
| An array of `GLubyte`.
typedef Array< ubvec2, GLubyte, 2, GL_UNSIGNED_BYTE > | ArrayUByte2
| An array of vl::ubvec2.
typedef Array< ubvec3, GLubyte, 3, GL_UNSIGNED_BYTE > | ArrayUByte3
| An array of vl::ubvec3.
typedef Array< ubvec4, GLubyte, 4, GL_UNSIGNED_BYTE > | ArrayUByte4
| An array of vl::ubvec4.
typedef Array< GLshort, GLshort, 1, GL_SHORT > | ArrayShort1
| An array of `GLshort`.
typedef Array< svec2, GLshort, 2, GL_SHORT > | ArrayShort2
| An array of vl::svec2.
typedef Array< svec3, GLshort, 3, GL_SHORT > | ArrayShort3
| An array of vl::svec3.
typedef Array< svec4, GLshort, 4, GL_SHORT > | ArrayShort4
| An array of vl::svec4.
typedef Array< GLushort, GLushort, 1, GL_UNSIGNED_SHORT > | ArrayUShort1
| An array of `GLushort`.
typedef Array< usvec2, GLushort, 2, GL_UNSIGNED_SHORT > | ArrayUShort2
| An array of vl::usvec2.
typedef Array< usvec3, GLushort, 3, GL_UNSIGNED_SHORT > | ArrayUShort3
| An array of vl::usvec3.
typedef Array< usvec4, GLushort, 4, GL_UNSIGNED_SHORT > | ArrayUShort4
| An array of vl::usvec4.
typedef Array< half, half, 1, GL_HALF_FLOAT > | ArrayHFloat1
| An array of `GL_HALF_FLOAT`.
typedef Array< hvec2, half, 2, GL_HALF_FLOAT > | ArrayHFloat2
| A 2d array of GL_HALF_FLOAT vectors.
typedef Array< hvec3, half, 3, GL_HALF_FLOAT > | ArrayHFloat3
| A 3d array of GL_HALF_FLOAT vectors.
typedef Array< hvec4, half, 4, GL_HALF_FLOAT > | ArrayHFloat4
| A 4d array of GL_HALF_FLOAT vectors.
typedef Array< GLuint, GLuint, 1, GL_FIXED > | ArrayFixed1
| An array of `GL_FIXED`.
typedef Array< uvec2, GLuint, 2, GL_FIXED > | ArrayFixed2
| An array 2d GL_FIXED vectors.
typedef Array< uvec3, GLuint, 3, GL_FIXED > | ArrayFixed3
| An array 3d GL_FIXED vectors.
typedef Array< uvec4, GLuint, 4, GL_FIXED > | ArrayFixed4
| An array 4d GL_FIXED vectors.
typedef Array< GLint, GLint, 1, GL_INT_2_10_10_10_REV > | ArrayInt_2_10_10_10_REV1
| An array of `GL_INT_2_10_10_10_REV`.
typedef Array< ivec2, GLint, 2, GL_INT_2_10_10_10_REV > | ArrayInt_2_10_10_10_REV2
| A 2d array of GL_INT_2_10_10_10_REV vectors.
typedef Array< ivec3, GLint, 3, GL_INT_2_10_10_10_REV > | ArrayInt_2_10_10_10_REV3
| A 3d array of GL_INT_2_10_10_10_REV vectors.
typedef Array< ivec4, GLint, 4, GL_INT_2_10_10_10_REV > | ArrayInt_2_10_10_10_REV4
| A 4d array of GL_INT_2_10_10_10_REV vectors.
typedef Array< GLuint, GLuint, 1, GL_UNSIGNED_INT_2_10_10_10_REV > | ArrayUInt_2_10_10_10_REV1
| An array of `GL_UNSIGNED_INT_2_10_10_10_REV`.
typedef Array< uvec2, GLuint, 2, GL_UNSIGNED_INT_2_10_10_10_REV > | ArrayUInt_2_10_10_10_REV2
| A 2d array of GL_UNSIGNED_INT_2_10_10_10_REV vectors.
typedef Array< uvec3, GLuint, 3, GL_UNSIGNED_INT_2_10_10_10_REV > | ArrayUInt_2_10_10_10_REV3
| A 3d array of GL_UNSIGNED_INT_2_10_10_10_REV vectors.
typedef Array< uvec4, GLuint, 4, GL_UNSIGNED_INT_2_10_10_10_REV > | ArrayUInt_2_10_10_10_REV4
| A 4d array of GL_UNSIGNED_INT_2_10_10_10_REV vectors.
typedef CatmullRomInterpolator < float > | CatmullRomInterpolatorFloat_T
typedef CatmullRomInterpolator < vl::fvec2 > | CatmullRomInterpolatorFVec2_T
typedef CatmullRomInterpolator < vl::fvec3 > | CatmullRomInterpolatorFVec3_T
typedef CatmullRomInterpolator < vl::fvec4 > | CatmullRomInterpolatorFVec4_T
typedef CatmullRomInterpolator < double > | CatmullRomInterpolatorDouble_T
typedef CatmullRomInterpolator < vl::dvec2 > | CatmullRomInterpolatorDVec2_T
typedef CatmullRomInterpolator < vl::dvec3 > | CatmullRomInterpolatorDVec3_T
typedef CatmullRomInterpolator < vl::dvec4 > | CatmullRomInterpolatorDVec4_T
typedef float | Real
| Defined as `'typedef` `float` `Real'`.
typedef Vector4< half > | hvec4
typedef Vector3< half > | hvec3
typedef Vector2< half > | hvec2
typedef Matrix4< half > | hmat4
typedef Matrix3< half > | hmat3
typedef Matrix2< half > | hmat2
typedef unsigned char | TPalette3x256 [256 *3]
typedef unsigned char | TPalette4x256 [256 *4]
typedef LinearInterpolator< float > | LinearInterpolatorFloat_T
typedef LinearInterpolator < vl::fvec2 > | LinearInterpolatorFVec2_T
typedef LinearInterpolator < vl::fvec3 > | LinearInterpolatorFVec3_T
typedef LinearInterpolator < vl::fvec4 > | LinearInterpolatorFVec4_T
typedef LinearInterpolator < double > | LinearInterpolatorDouble_T
typedef LinearInterpolator < vl::dvec2 > | LinearInterpolatorDVec2_T
typedef LinearInterpolator < vl::dvec3 > | LinearInterpolatorDVec3_T
typedef LinearInterpolator < vl::dvec4 > | LinearInterpolatorDVec4_T
typedef Matrix2< GLdouble > | dmat2
| A 2x2 matrix using `GLdouble` precision.
typedef Matrix2< GLfloat > | fmat2
| A 2x2 matrix using `GLfloat` precision.
typedef Matrix2< GLint > | imat2
| A 2x2 matrix using `GLint` precision.
typedef Matrix2< GLuint > | umat2
| A 2x2 matrix using `GLuint` precision.
typedef fmat2 | mat2
| Defined as: `'typedef` `fmat2` `mat2'`. See also VL_PIPELINE_PRECISION.
typedef Matrix3< GLdouble > | dmat3
| A 3x3 matrix using `GLdouble` precision.
typedef Matrix3< GLfloat > | fmat3
| A 3x3 matrix using `GLfloat` precision.
typedef Matrix3< GLint > | imat3
| A 3x3 matrix using `GLint` precision.
typedef Matrix3< GLuint > | umat3
| A 3x3 matrix using `GLuint` precision.
typedef fmat3 | mat3
| Defined as: `'typedef` `fmat3` `mat3'`. See also VL_PIPELINE_PRECISION.
typedef Matrix4< GLdouble > | dmat4
| A 4x4 matrix using `GLdouble` precision.
typedef Matrix4< GLfloat > | fmat4
| A 4x4 matrix using `GLfloat` precision.
typedef Matrix4< GLint > | imat4
| A 4x4 matrix using `GLint` precision.
typedef Matrix4< GLuint > | umat4
| A 4x4 matrix using `GLuint` precision.
typedef fmat4 | mat4
| Defined as: `'typedef` `fmat4` `mat4'`. See also VL_PIPELINE_PRECISION.
typedef Quaternion< float > | fquat
typedef Quaternion< double > | dquat
typedef Quaternion< Real > | quat
typedef Vector2< GLint > | ivec2
| A 2 components vector with `GLint` precision.
typedef Vector2< GLuint > | uvec2
| A 2 components vector with `GLuint` precision.
typedef Vector2< GLfloat > | fvec2
| A 2 components vector with `GLfloat` precision.
typedef Vector2< GLdouble > | dvec2
| A 2 components vector with `GLdouble` precision.
typedef Vector2< GLbyte > | bvec2
| A 2 components vector with `GLbyte` precision.
typedef Vector2< GLubyte > | ubvec2
| A 2 components vector with `GLubyte` precision.
typedef Vector2< GLshort > | svec2
| A 2 components vector with `GLshort` precision.
typedef Vector2< GLushort > | usvec2
| A 2 components vector with `GLushort` precision.
typedef fvec2 | vec2
| Defined as: `'typedef` `fvec2` `vec2'`. See also VL_PIPELINE_PRECISION.
typedef Vector3< GLint > | ivec3
| A 3 components vector with `GLint` precision.
typedef Vector3< GLuint > | uvec3
| A 3 components vector with `GLuint` precision.
typedef Vector3< GLfloat > | fvec3
| A 3 components vector with `GLfloat` precision.
typedef Vector3< GLdouble > | dvec3
| A 3 components vector with `GLdouble` precision.
typedef Vector3< GLbyte > | bvec3
| A 3 components vector with `GLbyte` precision.
typedef Vector3< GLubyte > | ubvec3
| A 3 components vector with `GLubyte` precision.
typedef Vector3< GLshort > | svec3
| A 3 components vector with `GLshort` precision.
typedef Vector3< GLushort > | usvec3
| A 3 components vector with `GLushort` precision.
typedef fvec3 | vec3
| Defined as: `'typedef` `fvec3` `vec3'`. See also VL_PIPELINE_PRECISION.
typedef Vector4< GLint > | ivec4
| A 4 components vector with `GLint` precision.
typedef Vector4< GLuint > | uvec4
| A 4 components vector with `GLuint` precision.
typedef Vector4< GLfloat > | fvec4
| A 4 components vector with `GLfloat` precision.
typedef Vector4< GLdouble > | dvec4
| A 4 components vector with `GLdouble` precision.
typedef Vector4< GLbyte > | bvec4
| A 4 components vector with `GLbyte` precision.
typedef Vector4< GLubyte > | ubvec4
| A 4 components vector with `GLubyte` precision.
typedef Vector4< GLshort > | svec4
| A 4 components vector with `GLshort` precision.
typedef Vector4< GLushort > | usvec4
| A 4 components vector with `GLushort` precision.
typedef fvec4 | vec4
| Defined as: `'typedef` `fvec4` `vec4'`. See also VL_PIPELINE_PRECISION.
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
}

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_ALPHA_TEST, EN_BLEND, EN_COLOR_LOGIC_OP, EN_LIGHTING,
EN_COLOR_SUM, EN_CULL_FACE, EN_DEPTH_TEST, EN_FOG,
EN_LINE_SMOOTH, EN_LINE_STIPPLE, EN_POLYGON_STIPPLE, EN_NORMALIZE,
EN_POINT_SMOOTH, EN_POINT_SPRITE, EN_POLYGON_SMOOTH, EN_POLYGON_OFFSET_FILL,
EN_POLYGON_OFFSET_LINE, EN_POLYGON_OFFSET_POINT, EN_RESCALE_NORMAL, EN_STENCIL_TEST,
EN_VERTEX_PROGRAM_POINT_SIZE, EN_VERTEX_PROGRAM_TWO_SIDE, EN_TEXTURE_CUBE_MAP_SEAMLESS, EN_GL_CLIP_DISTANCE0,
EN_GL_CLIP_DISTANCE1, EN_GL_CLIP_DISTANCE2, EN_GL_CLIP_DISTANCE3, EN_GL_CLIP_DISTANCE4,
EN_GL_CLIP_DISTANCE5, 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 | EGLBufferUsage { 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 | EGLBufferAccess { GBA_READ_ONLY = GL_READ_ONLY, GBA_WRITE_ONLY = GL_WRITE_ONLY, GBA_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_TextureUnits = 4, ST_Lights = 8, ST_ClipPlanes = 16 }

enum

ERenderState {
RS_AlphaFunc, RS_BlendColor, RS_BlendEquation, RS_BlendFunc,
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_PixelTransfer, RS_PointParameter,
RS_PointSize, RS_PolygonOffset, RS_PolygonStipple, RS_SampleCoverage,
RS_ShadeModel, RS_StencilFunc, RS_StencilMask, RS_StencilOp,
RS_GLSLProgram, RS_Light0, RS_Light1, RS_Light2,
RS_Light3, RS_Light4, RS_Light5, RS_Light6,
RS_Light7, RS_ClipPlane0, RS_ClipPlane1, RS_ClipPlane2,
RS_ClipPlane3, RS_ClipPlane4, RS_ClipPlane5, RS_TextureUnit0,
RS_TextureUnit1 = RS_TextureUnit0 + 1, RS_TextureUnit2 = RS_TextureUnit0 + 2, RS_TextureUnit3 = RS_TextureUnit0 + 3, RS_TextureUnit4 = RS_TextureUnit0 + 4,
RS_TextureUnit5 = RS_TextureUnit0 + 5, RS_TextureUnit6 = RS_TextureUnit0 + 6, RS_TextureUnit7 = RS_TextureUnit0 + 7, RS_TextureUnit8 = RS_TextureUnit0 + 8,
RS_TextureUnit9 = RS_TextureUnit0 + 9, RS_TextureUnit10 = RS_TextureUnit0 + 10, RS_TextureUnit11 = RS_TextureUnit0 + 11, RS_TextureUnit12 = RS_TextureUnit0 + 12,
RS_TextureUnit13 = RS_TextureUnit0 + 13, RS_TextureUnit14 = RS_TextureUnit0 + 14, RS_TextureUnit15 = RS_TextureUnit0 + 15, RS_TexGen0 = RS_TextureUnit0 + VL_MAX_TEXTURE_UNITS * 1,
RS_TexGen1 = RS_TexGen0 + 1, RS_TexGen2 = RS_TexGen0 + 2, RS_TexGen3 = RS_TexGen0 + 3, RS_TexGen4 = RS_TexGen0 + 4,
RS_TexGen5 = RS_TexGen0 + 5, RS_TexGen6 = RS_TexGen0 + 6, RS_TexGen7 = RS_TexGen0 + 7, RS_TexGen8 = RS_TexGen0 + 8,
RS_TexGen9 = RS_TexGen0 + 9, RS_TexGen10 = RS_TexGen0 + 10, RS_TexGen11 = RS_TexGen0 + 11, RS_TexGen12 = RS_TexGen0 + 12,
RS_TexGen13 = RS_TexGen0 + 13, RS_TexGen14 = RS_TexGen0 + 14, RS_TexGen15 = RS_TexGen0 + 15, RS_TexEnv0 = RS_TextureUnit0 + VL_MAX_TEXTURE_UNITS * 2,
RS_TexEnv1 = RS_TexEnv0 + 1, RS_TexEnv2 = RS_TexEnv0 + 2, RS_TexEnv3 = RS_TexEnv0 + 3, RS_TexEnv4 = RS_TexEnv0 + 4,
RS_TexEnv5 = RS_TexEnv0 + 5, RS_TexEnv6 = RS_TexEnv0 + 6, RS_TexEnv7 = RS_TexEnv0 + 7, RS_TexEnv8 = RS_TexEnv0 + 8,
RS_TexEnv9 = RS_TexEnv0 + 9, RS_TexEnv10 = RS_TexEnv0 + 10, RS_TexEnv11 = RS_TexEnv0 + 11, RS_TexEnv12 = RS_TexEnv0 + 12,
RS_TexEnv13 = RS_TexEnv0 + 13, RS_TexEnv14 = RS_TexEnv0 + 14, RS_TexEnv15 = RS_TexEnv0 + 15, RS_TextureMatrix0 = RS_TextureUnit0 + VL_MAX_TEXTURE_UNITS * 3,
RS_TextureMatrix1 = RS_TextureMatrix0 + 1, RS_TextureMatrix2 = RS_TextureMatrix0 + 2, RS_TextureMatrix3 = RS_TextureMatrix0 + 3, RS_TextureMatrix4 = RS_TextureMatrix0 + 4,
RS_TextureMatrix5 = RS_TextureMatrix0 + 5, RS_TextureMatrix6 = RS_TextureMatrix0 + 6, RS_TextureMatrix7 = RS_TextureMatrix0 + 7, RS_TextureMatrix8 = RS_TextureMatrix0 + 8,
RS_TextureMatrix9 = RS_TextureMatrix0 + 9, RS_TextureMatrix10 = RS_TextureMatrix0 + 10, RS_TextureMatrix11 = RS_TextureMatrix0 + 11, RS_TextureMatrix12 = RS_TextureMatrix0 + 12,
RS_TextureMatrix13 = RS_TextureMatrix0 + 13, RS_TextureMatrix14 = RS_TextureMatrix0 + 14, RS_TextureMatrix15 = RS_TextureMatrix0 + 15, RS_COUNT = RS_TextureUnit0 + VL_MAX_TEXTURE_UNITS * 4,
RS_NONE
}

enum | EGeometryInputType { GIT_POINTS = GL_POINTS, GIT_LINES = GL_LINES, GIT_LINES_ADJACENCY = GL_LINES_ADJACENCY_EXT, GIT_TRIANGLES = GL_TRIANGLES, GIT_TRIANGLES_ADJACENCY = GL_TRIANGLES_ADJACENCY_EXT }
enum | EGeometryOutputType { GOT_POINTS = GL_POINTS, GOT_LINE_STRIP = GL_LINE_STRIP, GOT_TRIANGLE_STRIP = GL_TRIANGLE_STRIP }
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

EUniformType {
UT_NONE = 0x0, UT_Float, UT_Float2, UT_Float3,
UT_Float4, UT_Double, UT_Double2, UT_Double3,
UT_Double4, UT_Int, UT_Int2, UT_Int3,
UT_Int4, UT_UInt, UT_UInt2, UT_UInt3,
UT_UInt4, UT_Mat2F, UT_Mat3F, UT_Mat4F,
UT_Mat2x3F, UT_Mat3x2F, UT_Mat2x4F, UT_Mat4x2F,
UT_Mat3x4F, UT_Mat4x3F, UT_Mat2D, UT_Mat3D,
UT_Mat4D, UT_Mat2x3D, UT_Mat3x2D, UT_Mat2x4D,
UT_Mat4x2D, UT_Mat3x4D, UT_Mat4x3D
}

enum | EPointSpriteCoordOrigin { PPCO_LOWER_LEFT = GL_LOWER_LEFT, PPCO_UPPER_LEFT = GL_UPPER_LEFT }
enum | EVertexAttribBehavior { VAB_NORMAL, VAB_PURE_INTEGER, VAB_PURE_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 | ESilhouetteMode { 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)
fvec4 | makeColor (unsigned int color)
bool | isValidColor (const fvec4 &color)
VLCORE_EXPORT FileSystem * | defFileSystem ()
| Returns the default FileSystem used by VisualizationLibrary.
VLCORE_EXPORT void | setDefFileSystem (FileSystem *fs)
| Sets the default FileSystem used by VisualizationLibrary.
template<typename T >
T | asinh (T x)
template<typename T >
T | acosh (T x)
template<typename T >
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 >
T | modf (T a, T &intpart)
template<typename T >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
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 >
T | length (T v)
template<typename T >
T | length (const Vector2< T > &v)
template<typename T >
T | length (const Vector3< T > &v)
template<typename T >
T | length (const Vector4< T > &v)
template<typename T >
T | distance (T p0, T p1)
template<typename T >
T | distance (const Vector2< T > &p0, const Vector2< T > &p1)
template<typename T >
T | distance (const Vector3< T > &p0, const Vector3< T > &p1)
template<typename T >
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 >
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 >
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 >
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 >
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< Image > | createCubemap (const Image *xp, const Image *xn, const Image *yp, const Image *yn, const Image *zp, const Image *zn)
| Assembles a cubemap image.
VLCORE_EXPORT ref< Image > | loadCubemap (const String &xp_file, const String &xn_file, const String &yp_file, const String &yn_file, const String &zp_file, const String &zn_file)
| Loads six images and assembles them into a cubemap image.
VLCORE_EXPORT ref< Image > | loadRAW (VirtualFile *file, long long file_offset, int width, int height, int depth, int bytealign, EImageFormat format, EImageType type)
| Loads a raw image file.
VLCORE_EXPORT ref< Image > | loadImage (VirtualFile *file)
| Loads an image from the specified file.
VLCORE_EXPORT ref< Image > | loadImage (const String &path)
| Loads an image from the specified path.
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.
VLCORE_EXPORT ref< Image > | assemble3DImage (const std::vector< ref< Image > > &images)
| Assembles the given 2D images in a single 2D image, all the images must be 2D images and have the same size, format() and type().
VLCORE_EXPORT bool | saveImage (Image *img, VirtualFile *file)
| Writes an image on the specified file.
VLCORE_EXPORT bool | saveImage (Image *img, const String &path)
| Writes an image on the specified path.
VLCORE_EXPORT ref< Image > | makeNonUniformColorSpectrum (size_t width, size_t col_count, const fvec4 *colors, const float *col_pos)
| Creates a 1D Image whose color is interpolated from left to right from the specified spectrum.
VLCORE_EXPORT ref< Image > | makeNonUniformColorSpectrum (int width, const std::vector< fvec4 > &colors, const std::vector< float > &col_pos)
| Creates a 1D Image whose color is interpolated from left to right from the specified spectrum.
VLCORE_EXPORT ref< Image > | makeColorSpectrum (size_t width, const std::vector< fvec4 > &colors)
| Creates a 1D Image whose color is interpolated from left to right from the specified spectrum.
VLCORE_EXPORT ref< Image > | makeColorSpectrum (size_t width, const fvec4 &c0, const fvec4 &c1)
| Creates a 1D Image whose color is interpolated from left to right from the specified spectrum.
VLCORE_EXPORT ref< Image > | makeColorSpectrum (size_t width, const fvec4 &c0, const fvec4 &c1, const fvec4 &c2)
| Creates a 1D Image whose color is interpolated from left to right from the specified spectrum.
VLCORE_EXPORT ref< Image > | makeColorSpectrum (size_t width, const fvec4 &c0, const fvec4 &c1, const fvec4 &c2, const fvec4 &c3)
| Creates a 1D Image whose color is interpolated from left to right from the specified spectrum.
VLCORE_EXPORT ref< Image > | 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.
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 LoadWriterManager * | defLoadWriterManager ()
| Returs the default LoadWriterManager used by Visualization Library.
VLCORE_EXPORT void | setDefLoadWriterManager (LoadWriterManager *lwm)
| Sets the default LoadWriterManager used by Visualization Library.
void | registerLoadWriter (ResourceLoadWriter *rlw)
| Utility function, equivalent to defLoadWriterManager()->registerLoadWriter(rlw).
VLCORE_EXPORT void | setDefLogger (Log *logger)
| Installs the default logger used by Visualization Library. Setting this to NULL will disable logging.
VLCORE_EXPORT Log * | defLogger ()
| Returns the currently installed default logger.
VLCORE_EXPORT Real | randomMinMax (Real min, Real max)
| Returns a random number N that between 'min' and 'max' included.
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'.
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'.
VLCORE_EXPORT void | extractPlanes (Plane *planes, const mat4 &modelviewproj)
| Extracts the 6 frustum planes for the given model-view-projection matrix.
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.
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.
template<typename T_Scalar >
Vector3< T_Scalar > | operator* (const Vector3< T_Scalar > &v, const Matrix3< T_Scalar > &m)
| pre-multiplication: row vector * matrix
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
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.
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.
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.
template<typename T_Scalar >
Vector4< T_Scalar > | operator* (const Vector4< T_Scalar > &v, const Matrix4< T_Scalar > &m)
| pre-multiplication: row vector * matrix
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
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
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< Image > | loadBMP (VirtualFile *file)
VLCORE_EXPORT ref< Image > | loadBMP (const String &path)
| Loads a BMP file.
VLCORE_EXPORT bool | isBMP (VirtualFile *file)
VLCORE_EXPORT ref< Image > | loadDAT (VirtualFile *file)
VLCORE_EXPORT ref< Image > | loadDAT (const String &path)
VLCORE_EXPORT bool | isDAT (VirtualFile *file)
VLCORE_EXPORT ref< Image > | loadDDS (VirtualFile *file)
VLCORE_EXPORT ref< Image > | loadDDS (const String &path)
| Loads a DDS file.
VLCORE_EXPORT bool | isDDS (VirtualFile *file)
VLCORE_EXPORT ref< Image > | loadDICOM (VirtualFile *file)
| Loads a DICOM file.
VLCORE_EXPORT ref< Image > | loadDICOM (const String &path)
| Loads a DICOM file.
VLCORE_EXPORT bool | saveDICOM (const Image *src, const String &path)
| Writes a DICOM file.
VLCORE_EXPORT bool | saveDICOM (const Image *src, VirtualFile *file)
| Writes a DICOM file.
VLCORE_EXPORT bool | isDICOM (VirtualFile *file)
| Checks if the given file is a DICOM file.
VLCORE_EXPORT ref< Image > | loadJPG (VirtualFile *file)
VLCORE_EXPORT ref< Image > | loadJPG (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< Image > | loadPNG (VirtualFile *file)
VLCORE_EXPORT ref< Image > | loadPNG (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< Image > | loadTGA (VirtualFile *file)
VLCORE_EXPORT ref< Image > | loadTGA (const String &path)
| Loads a TGA file.
VLCORE_EXPORT bool | isTGA (VirtualFile *file)
| A TGA file is accepted only if it has a 'TGA' extension.
VLCORE_EXPORT bool | saveTGA (const Image *src, const String &path)
VLCORE_EXPORT bool | saveTGA (const Image *src, VirtualFile *file)
VLCORE_EXPORT ref< Image > | loadTIFF (VirtualFile *file)
VLCORE_EXPORT ref< Image > | loadTIFF (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).
VLCORE_EXPORT bool | canWrite (const String &path)
| Short version of defLoadWriterManager()->canWrite(path).
VLCORE_EXPORT bool | canLoad (VirtualFile *file)
| Short version of defLoadWriterManager()->canLoad(file).
VLCORE_EXPORT bool | canWrite (VirtualFile *file)
| Short version of defLoadWriterManager()->canWrite(file).
VLCORE_EXPORT ref < ResourceDatabase > | loadResource (const String &path, bool quick=true)
| Short version of defLoadWriterManager()->loadResource(path,quick).
VLCORE_EXPORT ref < ResourceDatabase > | loadResource (VirtualFile *file, bool quick=true)
| Short version of defLoadWriterManager()->loadResource(file,quick).
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)
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)
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, double b)
ivec2 | min (const ivec2 &a, int 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, double b)
ivec2 | max (const ivec2 &a, int 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)
ivec2 | clamp (const ivec2 &x, int minval, int maxval)
uvec2 | clamp (const uvec2 &x, unsigned int minval, unsigned int maxval)
template<typename T >
const Vector3< T > | operator* (T val, const Vector3< T > &v)
float | dot (const fvec3 &v1, const fvec3 &v2)
fvec3 | cross (const fvec3 &v1, const fvec3 &v2)
fvec3 | min (const fvec3 &a, const fvec3 &b)
fvec3 | min (const fvec3 &a, float b)
dvec3 | min (const dvec3 &a, double b)
ivec3 | min (const ivec3 &a, int 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, double b)
ivec3 | max (const ivec3 &a, int 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)
dvec3 | clamp (const dvec3 &x, double minval, double maxval)
ivec3 | clamp (const ivec3 &x, int minval, int maxval)
uvec3 | clamp (const uvec3 &x, unsigned int minval, unsigned int maxval)
template<typename T >
const Vector4< T > | operator* (T val, const Vector4< T > &v)
float | dot (const fvec4 &v1, const fvec4 &v2)
fvec4 | min (const fvec4 &a, const fvec4 &b)
fvec4 | min (const fvec4 &a, float b)
dvec4 | min (const dvec4 &a, double b)
ivec4 | min (const ivec4 &a, int 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, double b)
ivec4 | max (const ivec4 &a, int 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)
ivec4 | clamp (const ivec4 &x, int minval, int maxval)
uvec4 | clamp (const uvec4 &x, unsigned int minval, unsigned int maxval)
VLCORE_EXPORT ref< VirtualFile > | locateFile (const String &path)
| Utility function, equivalent to `vl::defFileSystem()->locateFile(path)`
VLCORE_EXPORT void | showWin32Console ()
| Shows a console window that displays the standard output. This function is meant to be used only under Windows only.
VLCORE_EXPORT VLSettings * | globalSettings ()
| Returns VisulizationLibrary's global settings.
VLGRAPHICS_EXPORT FontManager * | defFontManager ()
| Returns the default FontManager used by Visualization Library.
VLGRAPHICS_EXPORT void | setDefFontManager (FontManager *)
| Sets the default FontManager used by Visualization Library.
VLGRAPHICS_EXPORT ref< Geometry > | makeBox (const vec3 &origin, Real xside=1, Real yside=1, Real zside=1, bool tex_coords=true)
| Creates a box.
VLGRAPHICS_EXPORT ref< Geometry > | makeBox (const vec3 &min, const vec3 &max, bool tex_coords=true)
| Creates a box.
VLGRAPHICS_EXPORT ref< Geometry > | makeBox (const AABB &aabb, bool tex_coords=true)
| Creates a box.
VLGRAPHICS_EXPORT ref< Geometry > | makeCone (const vec3 &origin, Real diameter=1, Real height=1, int phi=20, bool bottom=true)
| Creates a cone.
VLGRAPHICS_EXPORT ref< Geometry > | makePyramid (const vec3 &origin, Real side=1, Real height=1)
| Creates a pyramid.
VLGRAPHICS_EXPORT ref< Geometry > | makeIcosahedron (const vec3 &origin, Real diameter)
| Creates an icosahedron.
VLGRAPHICS_EXPORT ref< Geometry > | makeIcosphere (const vec3 &pos, Real diameter=1, int detail=2, bool remove_doubles=true)
| Creates a sphere by iteratively subdividing an icosahedron.
VLGRAPHICS_EXPORT ref< Geometry > | makeUVSphere (const vec3 &origin, Real diameter=1, int phi=20, int theta=20)
| Creates a uv sphere.
VLGRAPHICS_EXPORT ref< Geometry > | makeCylinder (const vec3 &origin, Real diameter=1, Real height=1, int phi=20, int theta=2, bool top=true, bool bottom=true)
| Creates a cylinder.
VLGRAPHICS_EXPORT ref< Geometry > | makeTorus (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.
VLGRAPHICS_EXPORT ref< Geometry > | makeCapsule (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.
VLGRAPHICS_EXPORT ref< Geometry > | makeTeapot (const vec3 &origin, Real diameter=1, int detail=8)
| Creates a classic Newell's teapot.
VLGRAPHICS_EXPORT ref< Geometry > | 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))
| Creates a 2D grid.
VLGRAPHICS_EXPORT ref< Geometry > | makePoints (const std::vector< vec3 > &pos, const fvec4 &color=white)
| Creates a set of points.
VLGRAPHICS_EXPORT ref< Geometry > | makeCircle (vec3 origin, Real radius, int slices=60)
| Creates a 2D circle.
VLGRAPHICS_EXPORT int | glcheck (const char *file, int line)
void | VL_glBindBuffer (GLenum target, GLuint buffer)
void | VL_glGenBuffers (GLsizei n, GLuint *buffers)
void | VL_glDeleteBuffers (GLsizei n, const GLuint *buffers)
void | VL_glBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage)
void | VL_glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data)
void * | VL_glMapBuffer (GLenum target, GLenum access)
GLboolean | VL_glUnmapBuffer (GLenum target)
void | VL_glSecondaryColor3f (float r, float g, float b)
void | VL_glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
void | VL_glFogCoordPointer (GLenum type, GLsizei stride, GLvoid *pointer)
void | VL_glEnableVertexAttribArray (GLuint index)
void | VL_glDisableVertexAttribArray (GLuint index)
void | VL_glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer)
void | VL_glVertexAttribIPointer (GLuint name, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
void | VL_glVertexAttribLPointer (GLuint name, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
void | VL_glClientActiveTexture (GLenum texture)
void | VL_glActiveTexture (GLenum texture)
void | VL_glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha)
void | VL_glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha)
void | VL_glBlendEquation (GLenum mode)
void | VL_glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
void | VL_glPointParameterfv (GLenum pname, const GLfloat *params)
void | VL_glPointParameterf (GLenum pname, GLfloat param)
void | VL_glPointParameteri (GLenum pname, GLenum param)
void | VL_glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask)
void | VL_glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass)
void | VL_glSampleCoverage (GLclampf value, GLboolean invert)
void | VL_glBindRenderbuffer (GLenum target, GLuint renderbuffer)
void | VL_glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers)
void | VL_glGenRenderbuffers (GLsizei n, GLuint *renderbuffers)
void | VL_glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
void | VL_glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params)
GLboolean | VL_glIsFramebuffer (GLuint framebuffer)
void | VL_glBindFramebuffer (GLenum target, GLuint framebuffer)
void | VL_glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers)
void | VL_glGenFramebuffers (GLsizei n, GLuint *framebuffers)
GLenum | VL_glCheckFramebufferStatus (GLenum target)
void | VL_glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
void | VL_glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
void | VL_glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset)
void | VL_glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
void | VL_glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params)
void | VL_glGenerateMipmap (GLenum target)
void | VL_glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level)
void | VL_glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer)
void | VL_glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height)
void | VL_glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter)
void | VL_glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount)
void | VL_glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, int basevertex)
void | VL_glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, int basevertex)
void | VL_glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, int basevertex)
void | VL_glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei primcount)
void | VL_glProgramParameteri (GLuint program, GLenum pname, GLint value)
void | VL_glBindFragDataLocation (GLuint program, GLuint colorNumber, const GLchar *name)
void | VL_glUniform1uiv (GLint location, GLsizei count, const GLuint *value)
void | VL_glUniform2uiv (GLint location, GLsizei count, const GLuint *value)
void | VL_glUniform3uiv (GLint location, GLsizei count, const GLuint *value)
void | VL_glUniform4uiv (GLint location, GLsizei count, const GLuint *value)
VLGRAPHICS_EXPORT ref < ResourceDatabase > | load3DS (VirtualFile *file)
VLGRAPHICS_EXPORT ref < ResourceDatabase > | load3DS (const String &path)
VLGRAPHICS_EXPORT ref < ResourceDatabase > | loadAC3D (VirtualFile *file)
| Loads and AC3D file (.ac)
VLGRAPHICS_EXPORT ref < ResourceDatabase > | loadAC3D (const String &path)
| Loads and AC3D file (.ac)
VLGRAPHICS_EXPORT ref < ResourceDatabase > | loadMD2 (const String &path)
VLGRAPHICS_EXPORT ref < ResourceDatabase > | loadMD2 (VirtualFile *file)
VLGRAPHICS_EXPORT ref < ResourceDatabase > | loadOBJ (const String &path)
| Loads a Wavefront OBJ file. See also ObjLoader.
VLGRAPHICS_EXPORT ref < ResourceDatabase > | loadOBJ (VirtualFile *file)
| Loads a Wavefront OBJ file. See also ObjLoader.
ref< ResourceDatabase > | loadPLY (VirtualFile *file)
ref< ResourceDatabase > | loadPLY (const String &path)
VLGRAPHICS_EXPORT ref < ResourceDatabase > | loadSTL (VirtualFile *file)
VLGRAPHICS_EXPORT ref < ResourceDatabase > | loadSTL (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.
const AtomInfo & | atomInfo (EAtomType type)
| Returns an AtomInfo representing the properties of the given atom type.
EAtomType | atomType (const char *type)
| Translates a string containing atom type name, atom symbol or a Sybyl type into an EAtomType.
VLMOLECULE_EXPORT bool | loadMOL2 (const String &path, std::vector< ref< Molecule > > &structures)
| Loads a Tripos MOL2 file.
VLMOLECULE_EXPORT bool | loadMOL2 (VirtualFile *vfile, std::vector< ref< Molecule > > &structures)
| Loads a Tripos MOL2 file.
VLVOLUME_EXPORT ref< Image > | 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.
VLVOLUME_EXPORT ref< Image > | 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.
VLVOLUME_EXPORT ref< Image > | genGradientNormals (const Image *data)
| Generates an image whose RGB components represent the normals computed from the input image gradient packed into 0..1 range.
template<typename data_type , EImageType img_type>
VLVOLUME_EXPORT ref< Image > | genRGBAVolumeT (const Image *data, const Image *trfunc, const fvec3 &light_dir, bool alpha_from_data)
| Internally used.
template<typename data_type , EImageType img_type>
VLVOLUME_EXPORT ref< Image > | genRGBAVolumeT (const Image *data, const Image *trfunc, bool alpha_from_data)
| Internally used.

## Variables

const double | dPi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093845
| Greek Pi constant using `double` precision.
const double | dDEG_TO_RAD = dPi / 180.0
| Constant to convert degrees into radians using `double` precision.
const double | dRAD_TO_DEG = 180.0 / dPi
| Constant to convert radians into degrees using `double` precision.
const float | fPi = (float)3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093845
| Greek Pi constant using `float` precision.
const float | fDEG_TO_RAD = float(dPi / 180.0)
| Constant to convert degrees into radians using `float` precision.
const float | fRAD_TO_DEG = float(180.0 / dPi)
| Constant to convert radians into degrees using `float` precision.
vl::Glyph | ft_errors []

## Detailed Description

Visualization Library namespace.

## Typedef Documentation

typedef Array<GLfloat, GLfloat, 1, GL_FLOAT> vl::ArrayFloat1

An array of `GLfloat`.

Definition at line 340 of file Array.hpp.

typedef Array<fvec2, GLfloat, 2, GL_FLOAT> vl::ArrayFloat2

An array of vl::fvec2.

Definition at line 342 of file Array.hpp.

typedef Array<fvec3, GLfloat, 3, GL_FLOAT> vl::ArrayFloat3

An array of vl::fvec3.

Definition at line 344 of file Array.hpp.

typedef Array<fvec4, GLfloat, 4, GL_FLOAT> vl::ArrayFloat4

An array of vl::fvec4.

Definition at line 346 of file Array.hpp.

typedef Array<GLdouble, GLdouble, 1, GL_DOUBLE> vl::ArrayDouble1

An array of `GLdouble`.

Definition at line 349 of file Array.hpp.

typedef Array<dvec2, GLdouble, 2, GL_DOUBLE> vl::ArrayDouble2

An array of vl::dvec2.

Definition at line 351 of file Array.hpp.

typedef Array<dvec3, GLdouble, 3, GL_DOUBLE> vl::ArrayDouble3

An array of vl::dvec3.

Definition at line 353 of file Array.hpp.

typedef Array<dvec4, GLdouble, 4, GL_DOUBLE> vl::ArrayDouble4

An array of vl::dvec4.

Definition at line 355 of file Array.hpp.

typedef Array<GLint, GLint, 1, GL_INT> vl::ArrayInt1

An array of `GLint`.

Definition at line 358 of file Array.hpp.

typedef Array<ivec2, GLint, 2, GL_INT> vl::ArrayInt2

An array of vl::ivec2.

Definition at line 360 of file Array.hpp.

typedef Array<ivec3, GLint, 3, GL_INT> vl::ArrayInt3

An array of vl::ivec3.

Definition at line 362 of file Array.hpp.

typedef Array<ivec4, GLint, 4, GL_INT> vl::ArrayInt4

An array of vl::ivec4.

Definition at line 364 of file Array.hpp.

typedef Array<GLuint,GLuint, 1, GL_UNSIGNED_INT> vl::ArrayUInt1

An array of `GLuint`.

Definition at line 367 of file Array.hpp.

typedef Array<uvec2, GLuint, 2, GL_UNSIGNED_INT> vl::ArrayUInt2

An array of vl::uvec2.

Definition at line 369 of file Array.hpp.

typedef Array<uvec3, GLuint, 3, GL_UNSIGNED_INT> vl::ArrayUInt3

An array of vl::uvec3.

Definition at line 371 of file Array.hpp.

typedef Array<uvec4, GLuint, 4, GL_UNSIGNED_INT> vl::ArrayUInt4

An array of vl::uvec4.

Definition at line 373 of file Array.hpp.

typedef Array<GLbyte, GLbyte, 1, GL_BYTE> vl::ArrayByte1

An array of `GLbyte`.

Definition at line 376 of file Array.hpp.

typedef Array<bvec2, GLbyte, 2, GL_BYTE> vl::ArrayByte2

An array of vl::bvec2.

Definition at line 378 of file Array.hpp.

typedef Array<bvec3, GLbyte, 3, GL_BYTE> vl::ArrayByte3

An array of vl::bvec3.

Definition at line 380 of file Array.hpp.

typedef Array<bvec4, GLbyte, 4, GL_BYTE> vl::ArrayByte4

An array of vl::bvec4.

Definition at line 382 of file Array.hpp.

typedef Array<GLubyte, GLubyte, 1, GL_UNSIGNED_BYTE> vl::ArrayUByte1

An array of `GLubyte`.

Definition at line 385 of file Array.hpp.

typedef Array<ubvec2, GLubyte, 2, GL_UNSIGNED_BYTE> vl::ArrayUByte2

An array of vl::ubvec2.

Definition at line 387 of file Array.hpp.

typedef Array<ubvec3, GLubyte, 3, GL_UNSIGNED_BYTE> vl::ArrayUByte3

An array of vl::ubvec3.

Definition at line 389 of file Array.hpp.

typedef Array<ubvec4, GLubyte, 4, GL_UNSIGNED_BYTE> vl::ArrayUByte4

An array of vl::ubvec4.

Definition at line 391 of file Array.hpp.

typedef Array<GLshort, GLshort, 1, GL_SHORT> vl::ArrayShort1

An array of `GLshort`.

Definition at line 394 of file Array.hpp.

typedef Array<svec2, GLshort, 2, GL_SHORT> vl::ArrayShort2

An array of vl::svec2.

Definition at line 396 of file Array.hpp.

typedef Array<svec3, GLshort, 3, GL_SHORT> vl::ArrayShort3

An array of vl::svec3.

Definition at line 398 of file Array.hpp.

typedef Array<svec4, GLshort, 4, GL_SHORT> vl::ArrayShort4

An array of vl::svec4.

Definition at line 400 of file Array.hpp.

typedef Array<GLushort, GLushort, 1, GL_UNSIGNED_SHORT> vl::ArrayUShort1

An array of `GLushort`.

Definition at line 403 of file Array.hpp.

typedef Array<usvec2, GLushort, 2, GL_UNSIGNED_SHORT> vl::ArrayUShort2

An array of vl::usvec2.

Definition at line 405 of file Array.hpp.

typedef Array<usvec3, GLushort, 3, GL_UNSIGNED_SHORT> vl::ArrayUShort3

An array of vl::usvec3.

Definition at line 407 of file Array.hpp.

typedef Array<usvec4, GLushort, 4, GL_UNSIGNED_SHORT> vl::ArrayUShort4

An array of vl::usvec4.

Definition at line 409 of file Array.hpp.

typedef Array<half, half, 1, GL_HALF_FLOAT> vl::ArrayHFloat1

An array of `GL_HALF_FLOAT`.

Definition at line 412 of file Array.hpp.

typedef Array<hvec2, half, 2, GL_HALF_FLOAT> vl::ArrayHFloat2

A 2d array of GL_HALF_FLOAT vectors.

Definition at line 414 of file Array.hpp.

typedef Array<hvec3, half, 3, GL_HALF_FLOAT> vl::ArrayHFloat3

A 3d array of GL_HALF_FLOAT vectors.

Definition at line 416 of file Array.hpp.

typedef Array<hvec4, half, 4, GL_HALF_FLOAT> vl::ArrayHFloat4

A 4d array of GL_HALF_FLOAT vectors.

Definition at line 418 of file Array.hpp.

typedef Array<GLuint,GLuint, 1, GL_FIXED> vl::ArrayFixed1

An array of `GL_FIXED`.

Definition at line 421 of file Array.hpp.

typedef Array<uvec2, GLuint, 2, GL_FIXED> vl::ArrayFixed2

An array 2d GL_FIXED vectors.

Definition at line 423 of file Array.hpp.

typedef Array<uvec3, GLuint, 3, GL_FIXED> vl::ArrayFixed3

An array 3d GL_FIXED vectors.

Definition at line 425 of file Array.hpp.

typedef Array<uvec4, GLuint, 4, GL_FIXED> vl::ArrayFixed4

An array 4d GL_FIXED vectors.

Definition at line 427 of file Array.hpp.

typedef Array<GLint, GLint, 1, GL_INT_2_10_10_10_REV> vl::ArrayInt_2_10_10_10_REV1

An array of `GL_INT_2_10_10_10_REV`.

Definition at line 430 of file Array.hpp.

typedef Array<ivec2, GLint, 2, GL_INT_2_10_10_10_REV> vl::ArrayInt_2_10_10_10_REV2

A 2d array of GL_INT_2_10_10_10_REV vectors.

Definition at line 432 of file Array.hpp.

typedef Array<ivec3, GLint, 3, GL_INT_2_10_10_10_REV> vl::ArrayInt_2_10_10_10_REV3

A 3d array of GL_INT_2_10_10_10_REV vectors.

Definition at line 434 of file Array.hpp.

typedef Array<ivec4, GLint, 4, GL_INT_2_10_10_10_REV> vl::ArrayInt_2_10_10_10_REV4

A 4d array of GL_INT_2_10_10_10_REV vectors.

Definition at line 436 of file Array.hpp.

typedef Array<GLuint,GLuint, 1, GL_UNSIGNED_INT_2_10_10_10_REV> vl::ArrayUInt_2_10_10_10_REV1

An array of `GL_UNSIGNED_INT_2_10_10_10_REV`.

Definition at line 439 of file Array.hpp.

typedef Array<uvec2, GLuint, 2, GL_UNSIGNED_INT_2_10_10_10_REV> vl::ArrayUInt_2_10_10_10_REV2

A 2d array of GL_UNSIGNED_INT_2_10_10_10_REV vectors.

Definition at line 441 of file Array.hpp.

typedef Array<uvec3, GLuint, 3, GL_UNSIGNED_INT_2_10_10_10_REV> vl::ArrayUInt_2_10_10_10_REV3

A 3d array of GL_UNSIGNED_INT_2_10_10_10_REV vectors.

Definition at line 443 of file Array.hpp.

typedef Array<uvec4, GLuint, 4, GL_UNSIGNED_INT_2_10_10_10_REV> vl::ArrayUInt_2_10_10_10_REV4

A 4d array of GL_UNSIGNED_INT_2_10_10_10_REV vectors.

Definition at line 445 of file Array.hpp.

typedef CatmullRomInterpolator<float> vl::CatmullRomInterpolatorFloat_T

Definition at line 144 of file CatmullRomInterpolator.hpp.

typedef CatmullRomInterpolator<vl::fvec2> vl::CatmullRomInterpolatorFVec2_T

Definition at line 145 of file CatmullRomInterpolator.hpp.

typedef CatmullRomInterpolator<vl::fvec3> vl::CatmullRomInterpolatorFVec3_T

Definition at line 146 of file CatmullRomInterpolator.hpp.

typedef CatmullRomInterpolator<vl::fvec4> vl::CatmullRomInterpolatorFVec4_T

Definition at line 147 of file CatmullRomInterpolator.hpp.

typedef CatmullRomInterpolator<double> vl::CatmullRomInterpolatorDouble_T

Definition at line 148 of file CatmullRomInterpolator.hpp.

typedef CatmullRomInterpolator<vl::dvec2> vl::CatmullRomInterpolatorDVec2_T

Definition at line 149 of file CatmullRomInterpolator.hpp.

typedef CatmullRomInterpolator<vl::dvec3> vl::CatmullRomInterpolatorDVec3_T

Definition at line 150 of file CatmullRomInterpolator.hpp.

typedef CatmullRomInterpolator<vl::dvec4> vl::CatmullRomInterpolatorDVec4_T

Definition at line 151 of file CatmullRomInterpolator.hpp.

typedef float vl::Real

Defined as `'typedef` `float` `Real'`.

Definition at line 227 of file config.hpp.

typedef Vector4<half> vl::hvec4

Definition at line 606 of file half.hpp.

typedef Vector3<half> vl::hvec3

Definition at line 607 of file half.hpp.

typedef Vector2<half> vl::hvec2

Definition at line 608 of file half.hpp.

typedef Matrix4<half> vl::hmat4

Definition at line 610 of file half.hpp.

typedef Matrix3<half> vl::hmat3

Definition at line 611 of file half.hpp.

typedef Matrix2<half> vl::hmat2

Definition at line 612 of file half.hpp.

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

Definition at line 40 of file ImageTools.hpp.

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

Definition at line 41 of file ImageTools.hpp.

typedef LinearInterpolator<float> vl::LinearInterpolatorFloat_T

Definition at line 86 of file LinearInterpolator.hpp.

typedef LinearInterpolator<vl::fvec2> vl::LinearInterpolatorFVec2_T

Definition at line 87 of file LinearInterpolator.hpp.

typedef LinearInterpolator<vl::fvec3> vl::LinearInterpolatorFVec3_T

Definition at line 88 of file LinearInterpolator.hpp.

typedef LinearInterpolator<vl::fvec4> vl::LinearInterpolatorFVec4_T

Definition at line 89 of file LinearInterpolator.hpp.

typedef LinearInterpolator<double> vl::LinearInterpolatorDouble_T

Definition at line 90 of file LinearInterpolator.hpp.

typedef LinearInterpolator<vl::dvec2> vl::LinearInterpolatorDVec2_T

Definition at line 91 of file LinearInterpolator.hpp.

typedef LinearInterpolator<vl::dvec3> vl::LinearInterpolatorDVec3_T

Definition at line 92 of file LinearInterpolator.hpp.

typedef LinearInterpolator<vl::dvec4> vl::LinearInterpolatorDVec4_T

Definition at line 93 of file LinearInterpolator.hpp.

typedef Matrix2<GLdouble> vl::dmat2

A 2x2 matrix using `GLdouble` precision.

Definition at line 452 of file Matrix2.hpp.

typedef Matrix2<GLfloat> vl::fmat2

A 2x2 matrix using `GLfloat` precision.

Definition at line 454 of file Matrix2.hpp.

typedef Matrix2<GLint> vl::imat2

A 2x2 matrix using `GLint` precision.

Definition at line 456 of file Matrix2.hpp.

typedef Matrix2<GLuint> vl::umat2

A 2x2 matrix using `GLuint` precision.

Definition at line 458 of file Matrix2.hpp.

typedef fmat2 vl::mat2

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

Definition at line 465 of file Matrix2.hpp.

typedef Matrix3<GLdouble> vl::dmat3

A 3x3 matrix using `GLdouble` precision.

Definition at line 654 of file Matrix3.hpp.

typedef Matrix3<GLfloat> vl::fmat3

A 3x3 matrix using `GLfloat` precision.

Definition at line 656 of file Matrix3.hpp.

typedef Matrix3<GLint> vl::imat3

A 3x3 matrix using `GLint` precision.

Definition at line 658 of file Matrix3.hpp.

typedef Matrix3<GLuint> vl::umat3

A 3x3 matrix using `GLuint` precision.

Definition at line 660 of file Matrix3.hpp.

typedef fmat3 vl::mat3

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

Definition at line 667 of file Matrix3.hpp.

typedef Matrix4<GLdouble> vl::dmat4

A 4x4 matrix using `GLdouble` precision.

Definition at line 1132 of file Matrix4.hpp.

typedef Matrix4<GLfloat> vl::fmat4

A 4x4 matrix using `GLfloat` precision.

Definition at line 1134 of file Matrix4.hpp.

typedef Matrix4<GLint> vl::imat4

A 4x4 matrix using `GLint` precision.

Definition at line 1136 of file Matrix4.hpp.

typedef Matrix4<GLuint> vl::umat4

A 4x4 matrix using `GLuint` precision.

Definition at line 1138 of file Matrix4.hpp.

typedef fmat4 vl::mat4

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

Definition at line 1145 of file Matrix4.hpp.

typedef Quaternion<float> vl::fquat

Definition at line 751 of file Quaternion.hpp.

typedef Quaternion<double> vl::dquat

Definition at line 752 of file Quaternion.hpp.

typedef Quaternion<Real> vl::quat

Definition at line 753 of file Quaternion.hpp.

typedef Vector2<GLint> vl::ivec2

A 2 components vector with `GLint` precision.

Definition at line 282 of file Vector2.hpp.

typedef Vector2<GLuint> vl::uvec2

A 2 components vector with `GLuint` precision.

Definition at line 284 of file Vector2.hpp.

typedef Vector2<GLfloat> vl::fvec2

A 2 components vector with `GLfloat` precision.

Definition at line 286 of file Vector2.hpp.

typedef Vector2<GLdouble> vl::dvec2

A 2 components vector with `GLdouble` precision.

Definition at line 288 of file Vector2.hpp.

typedef Vector2<GLbyte> vl::bvec2

A 2 components vector with `GLbyte` precision.

Definition at line 290 of file Vector2.hpp.

typedef Vector2<GLubyte> vl::ubvec2

A 2 components vector with `GLubyte` precision.

Definition at line 292 of file Vector2.hpp.

typedef Vector2<GLshort> vl::svec2

A 2 components vector with `GLshort` precision.

Definition at line 294 of file Vector2.hpp.

typedef Vector2<GLushort> vl::usvec2

A 2 components vector with `GLushort` precision.

Definition at line 296 of file Vector2.hpp.

typedef fvec2 vl::vec2

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

Definition at line 303 of file Vector2.hpp.

typedef Vector3<GLint> vl::ivec3

A 3 components vector with `GLint` precision.

Definition at line 236 of file Vector3.hpp.

typedef Vector3<GLuint> vl::uvec3

A 3 components vector with `GLuint` precision.

Definition at line 238 of file Vector3.hpp.

typedef Vector3<GLfloat> vl::fvec3

A 3 components vector with `GLfloat` precision.

Definition at line 240 of file Vector3.hpp.

typedef Vector3<GLdouble> vl::dvec3

A 3 components vector with `GLdouble` precision.

Definition at line 242 of file Vector3.hpp.

typedef Vector3<GLbyte> vl::bvec3

A 3 components vector with `GLbyte` precision.

Definition at line 244 of file Vector3.hpp.

typedef Vector3<GLubyte> vl::ubvec3

A 3 components vector with `GLubyte` precision.

Definition at line 246 of file Vector3.hpp.

typedef Vector3<GLshort> vl::svec3

A 3 components vector with `GLshort` precision.

Definition at line 248 of file Vector3.hpp.

typedef Vector3<GLushort> vl::usvec3

A 3 components vector with `GLushort` precision.

Definition at line 250 of file Vector3.hpp.

typedef fvec3 vl::vec3

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

Definition at line 257 of file Vector3.hpp.

typedef Vector4<GLint> vl::ivec4

A 4 components vector with `GLint` precision.

Definition at line 262 of file Vector4.hpp.

typedef Vector4<GLuint> vl::uvec4

A 4 components vector with `GLuint` precision.

Definition at line 264 of file Vector4.hpp.

typedef Vector4<GLfloat> vl::fvec4

A 4 components vector with `GLfloat` precision.

Definition at line 266 of file Vector4.hpp.

typedef Vector4<GLdouble> vl::dvec4

A 4 components vector with `GLdouble` precision.

Definition at line 268 of file Vector4.hpp.

typedef Vector4<GLbyte> vl::bvec4

A 4 components vector with `GLbyte` precision.

Definition at line 270 of file Vector4.hpp.

typedef Vector4<GLubyte> vl::ubvec4

A 4 components vector with `GLubyte` precision.

Definition at line 272 of file Vector4.hpp.

typedef Vector4<GLshort> vl::svec4

A 4 components vector with `GLshort` precision.

Definition at line 274 of file Vector4.hpp.

typedef Vector4<GLushort> vl::usvec4

A 4 components vector with `GLushort` precision.

Definition at line 276 of file Vector4.hpp.

typedef fvec4 vl::vec4

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

Definition at line 283 of file Vector4.hpp.

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

Definition at line 140 of file RenderQueue.hpp.

## Enumeration Type Documentation

enum vl::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.

enum vl::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.

enum vl::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.

enum vl::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.

enum vl::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.

enum vl::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.

enum vl::EStencilBufferFormat

Enumerator:

  SBF_STENCIL_INDEX1 |
  SBF_STENCIL_INDEX4 |
  SBF_STENCIL_INDEX8 |
  SBF_STENCIL_INDEX16 |

Definition at line 454 of file vlnamespace.hpp.

enum vl::EDepthStencilBufferFormat

Enumerator:

  DSBT_DEPTH_STENCIL |
  DSBT_DEPTH24_STENCIL8 |
  DSBT_DEPTH32F_STENCIL8 |

Definition at line 462 of file vlnamespace.hpp.

enum vl::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.

enum vl::EClearColorMode

Enumerator:

  CCM_Float |
  CCM_Int |
  CCM_UInt |

Definition at line 481 of file vlnamespace.hpp.

enum vl::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.

enum vl::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.

enum vl::ETexCompareMode

Enumerator:

  TCM_NONE |
  TCM_COMPARE_R_TO_TEXTURE |
  TCM_COMPARE_REF_DEPTH_TO_TEXTURE |

Definition at line 522 of file vlnamespace.hpp.

enum vl::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.

enum vl::EDepthTextureMode

Enumerator:

  DTM_LUMINANCE |
  DTM_INTENSITY |
  DTM_ALPHA |
  DTM_RED |

Definition at line 541 of file vlnamespace.hpp.

enum vl::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.

enum vl::EFrameBufferBind

Enumerator:

  FBB_FRAMEBUFFER |
  FBB_DRAW_FRAMEBUFFER |
  FBB_READ_FRAMEBUFFER |

Definition at line 578 of file vlnamespace.hpp.

enum vl::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.

enum vl::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 |

Definition at line 616 of file vlnamespace.hpp.

enum vl::EPolygonFace

Enumerator:

  PF_FRONT |
  PF_BACK |
  PF_FRONT_AND_BACK |

Definition at line 640 of file vlnamespace.hpp.

enum vl::EHintMode

Enumerator:

  HM_FASTEST |
  HM_NICEST |
  HM_DONT_CARE |

Definition at line 647 of file vlnamespace.hpp.

enum vl::EFrontFace

Enumerator:

  FF_CW |
  FF_CCW |

Definition at line 654 of file vlnamespace.hpp.

enum vl::EFunction

Enumerator:

  FU_NEVER |
  FU_LESS |
  FU_EQUAL |
  FU_LEQUAL |
  FU_GREATER |
  FU_NOTEQUAL |
  FU_GEQUAL |
  FU_ALWAYS |

Definition at line 660 of file vlnamespace.hpp.

enum vl::EPolygonMode

Enumerator:

  PM_FILL |
  PM_LINE |
  PM_POINT |

Definition at line 672 of file vlnamespace.hpp.

enum vl::EShadeModel

Enumerator:

  SM_FLAT |
  SM_SMOOTH |

Definition at line 679 of file vlnamespace.hpp.

enum vl::EBlendEquation

Enumerator:

  BE_FUNC_ADD |
  BE_FUNC_SUBTRACT |
  BE_FUNC_REVERSE_SUBTRACT |
  BE_MIN |
  BE_MAX |

Definition at line 685 of file vlnamespace.hpp.

enum vl::EColorMaterial

Enumerator:

  CM_EMISSION |
  CM_AMBIENT |
  CM_DIFFUSE |
  CM_SPECULAR |
  CM_AMBIENT_AND_DIFFUSE |

Definition at line 694 of file vlnamespace.hpp.

enum vl::EColorControl

Enumerator:

  CC_SEPARATE_SPECULAR_COLOR |
  CC_SINGLE_COLOR |

Definition at line 703 of file vlnamespace.hpp.

enum vl::EFogMode

Enumerator:

  FM_LINEAR |
  FM_EXP |
  FM_EXP2 |

Definition at line 709 of file vlnamespace.hpp.

enum vl::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 716 of file vlnamespace.hpp.

enum vl::EStencilOp

Enumerator:

  SO_KEEP |
  SO_ZERO |
  SO_REPLACE |
  SO_INCR |
  SO_INCR_WRAP |
  SO_DECR |
  SO_DECR_WRAP |
  SO_INVERT |

Definition at line 736 of file vlnamespace.hpp.

enum vl::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 748 of file vlnamespace.hpp.

enum vl::ETexParamWrap

Enumerator:

  TPW_CLAMP |
  TPW_CLAMP_TO_BORDER |
  TPW_CLAMP_TO_EDGE |
  TPW_MIRRORED_REPEAT |
  TPW_REPEAT |

Definition at line 758 of file vlnamespace.hpp.

enum vl::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 767 of file vlnamespace.hpp.

enum vl::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 782 of file vlnamespace.hpp.

enum vl::ETexEnvOperand

Enumerator:

  TEO_SRC_COLOR |
  TEO_ONE_MINUS_SRC_COLOR |
  TEO_SRC_ALPHA |
  TEO_ONE_MINUS_SRC_ALPHA |

Definition at line 798 of file vlnamespace.hpp.

enum vl::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 |
  TGM_OBJECT_LINEAR |
  TGM_SPHERE_MAP |
  TGM_REFLECTION_MAP |
  TGM_NORMAL_MAP |

Definition at line 807 of file vlnamespace.hpp.

enum vl::EEnable

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

Enumerator:

  EN_ALPHA_TEST | If enabled, performs alpha testing, see also AlphaFunc for more information.
  EN_BLEND | If enabled, blend the incoming RGBA color values with the values in the color buffers, see also BlendFunc for more information.
  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_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_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_FOG | If enabled, blend a fog color into the post-texturing color, see also Fog.
  EN_LINE_SMOOTH | IIf enabled, draw lines with correct filtering; Otherwise, draw aliased lines, see also LineWidth.
  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_NORMALIZE | If enabled, normal vectors are scaled to unit length after transformation, see also vl::EN_RESCALE_NORMAL.
  EN_POINT_SMOOTH | If enabled, draw points with proper filtering; Otherwise, draw aliased points, see also PointSize.
  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_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_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_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_STENCIL_TEST | If enabled, do stencil testing and update the stencil buffer, see also StencilFunc and StencilOp.
  EN_VERTEX_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_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 |
  EN_GL_CLIP_DISTANCE0 |
  EN_GL_CLIP_DISTANCE1 |
  EN_GL_CLIP_DISTANCE2 |
  EN_GL_CLIP_DISTANCE3 |
  EN_GL_CLIP_DISTANCE4 |
  EN_GL_CLIP_DISTANCE5 |
  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 818 of file vlnamespace.hpp.

enum vl::EGLBufferUsage

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 863 of file vlnamespace.hpp.

enum vl::EGLBufferAccess

Enumerator:

  GBA_READ_ONLY |
  GBA_WRITE_ONLY |
  GBA_READ_WRITE |

Definition at line 876 of file vlnamespace.hpp.

enum vl::EAlign

Enumerator:

  AlignLeft |
  AlignHCenter |
  AlignRight |
  AlignTop |
  AlignVCenter |
  AlignBottom |

Definition at line 883 of file vlnamespace.hpp.

enum vl::ETextAlign

Enumerator:

  TextAlignLeft |
  TextAlignRight |
  TextAlignCenter |
  TextAlignJustify |

Definition at line 893 of file vlnamespace.hpp.

enum vl::ETextMode

Enumerator:

  Text2D |
  Text3D |

Definition at line 901 of file vlnamespace.hpp.

enum vl::ETextLayout

Enumerator:

  LeftToRightText |
  RightToLeftText |
  TopToBottomText |

Definition at line 907 of file vlnamespace.hpp.

enum vl::EDepthSortMode

Enumerator:

  NeverDepthSort |
  AlwaysDepthSort |
  AlphaDepthSort |

Definition at line 914 of file vlnamespace.hpp.

enum vl::EImageDimension

Enumerator:

  ID_None |
  ID_1D |
  ID_2D |
  ID_3D |
  ID_Cubemap |
  ID_Error |

Definition at line 921 of file vlnamespace.hpp.

enum vl::EStateType

Enumerator:

  ST_RenderStates |
  ST_Enables |
  ST_TextureUnits |
  ST_Lights |
  ST_ClipPlanes |

Definition at line 931 of file vlnamespace.hpp.

enum vl::ERenderState

Enumerator:

  RS_AlphaFunc |
  RS_BlendColor |
  RS_BlendEquation |
  RS_BlendFunc |
  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_PixelTransfer |
  RS_PointParameter |
  RS_PointSize |
  RS_PolygonOffset |
  RS_PolygonStipple |
  RS_SampleCoverage |
  RS_ShadeModel |
  RS_StencilFunc |
  RS_StencilMask |
  RS_StencilOp |
  RS_GLSLProgram |
  RS_Light0 |
  RS_Light1 |
  RS_Light2 |
  RS_Light3 |
  RS_Light4 |
  RS_Light5 |
  RS_Light6 |
  RS_Light7 |
  RS_ClipPlane0 |
  RS_ClipPlane1 |
  RS_ClipPlane2 |
  RS_ClipPlane3 |
  RS_ClipPlane4 |
  RS_ClipPlane5 |
  RS_TextureUnit0 |
  RS_TextureUnit1 |
  RS_TextureUnit2 |
  RS_TextureUnit3 |
  RS_TextureUnit4 |
  RS_TextureUnit5 |
  RS_TextureUnit6 |
  RS_TextureUnit7 |
  RS_TextureUnit8 |
  RS_TextureUnit9 |
  RS_TextureUnit10 |
  RS_TextureUnit11 |
  RS_TextureUnit12 |
  RS_TextureUnit13 |
  RS_TextureUnit14 |
  RS_TextureUnit15 |
  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_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_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_COUNT |
  RS_NONE |

Definition at line 940 of file vlnamespace.hpp.

enum vl::EGeometryInputType

Enumerator:

  GIT_POINTS |
  GIT_LINES |
  GIT_LINES_ADJACENCY |
  GIT_TRIANGLES |
  GIT_TRIANGLES_ADJACENCY |

Definition at line 1065 of file vlnamespace.hpp.

enum vl::EGeometryOutputType

Enumerator:

  GOT_POINTS |
  GOT_LINE_STRIP |
  GOT_TRIANGLE_STRIP |

Definition at line 1074 of file vlnamespace.hpp.

enum vl::EBufferBits

Enumerator:

  BB_COLOR_BUFFER_BIT |
  BB_DEPTH_BUFFER_BIT |
  BB_STENCIL_BUFFER_BIT |

Definition at line 1081 of file vlnamespace.hpp.

enum vl::EBillboardType

Enumerator:

  BT_AxisAlignedBillboard |
  BT_SphericalBillboard |

Definition at line 1088 of file vlnamespace.hpp.

enum vl::ESortMode

Enumerator:

  SM_SortBackToFront |
  SM_SortFrontToBack |

Definition at line 1094 of file vlnamespace.hpp.

enum vl::EGetMode

Enumerator:

  GM_GetOrCreate |
  GM_DontCreate |

Definition at line 1100 of file vlnamespace.hpp.

enum vl::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 1106 of file vlnamespace.hpp.

enum vl::EOpenMode

Enumerator:

  OM_ReadOnly |
  OM_WriteOnly |

Definition at line 1118 of file vlnamespace.hpp.

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 1124 of file vlnamespace.hpp.

enum vl::EMouseButton

Enumerator:

  NoButton |
  LeftButton |
  RightButton |
  MiddleButton |
  UnknownButton |

Definition at line 1245 of file vlnamespace.hpp.

enum vl::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 1256 of file vlnamespace.hpp.

enum vl::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 1266 of file vlnamespace.hpp.

enum vl::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 1275 of file vlnamespace.hpp.

enum vl::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 1284 of file vlnamespace.hpp.

enum vl::EUniformType

Enumerator:

  UT_NONE |
  UT_Float | < float scalar
  UT_Float2 | < 2 components float vector
  UT_Float3 | < 3 components float vector
  UT_Float4 | < 4 components float vector
  UT_Double | < double scalar
  UT_Double2 | < 2 components double vector
  UT_Double3 | < 3 components double vector
  UT_Double4 | < 4 components double vector
  UT_Int | < int scalar
  UT_Int2 | < 2 components int vector
  UT_Int3 | < 3 components int vector
  UT_Int4 | < 4 components int vector
  UT_UInt | < unsigned int scalar
  UT_UInt2 | < 2 components unsigned int vector
  UT_UInt3 | < 3 components unsigned int vector
  UT_UInt4 | < 4 components unsigned int vector
  UT_Mat2F | < 2x2 float matrix
  UT_Mat3F | < 3x3 float matrix
  UT_Mat4F | < 4x4 float matrix
  UT_Mat2x3F | < 2x3 float matrix
  UT_Mat3x2F | < 3x2 float matrix
  UT_Mat2x4F | < 2x4 float matrix
  UT_Mat4x2F | < 4x2 float matrix
  UT_Mat3x4F | < 3x4 float matrix
  UT_Mat4x3F | < 4x3 float matrix
  UT_Mat2D | < 2x2 double matrix
  UT_Mat3D | < 3x3 double matrix
  UT_Mat4D | < 4x4 double matrix
  UT_Mat2x3D | < 2x3 double matrix
  UT_Mat3x2D | < 3x2 double matrix
  UT_Mat2x4D | < 2x4 double matrix
  UT_Mat4x2D | < 4x2 double matrix
  UT_Mat3x4D | < 3x4 double matrix
  UT_Mat4x3D | < 4x3 double matrix

Definition at line 1292 of file vlnamespace.hpp.

enum vl::EPointSpriteCoordOrigin

Enumerator:

  PPCO_LOWER_LEFT |
  PPCO_UPPER_LEFT |

Definition at line 1339 of file vlnamespace.hpp.

enum vl::EVertexAttribBehavior

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:

  VAB_NORMAL | Data will be sent using glVertexAttribPointer(), that is, data will be converted to floating point precision and eventually normalized.
  VAB_PURE_INTEGER | Data will be sent using glVertexAttribIPointer(), that is, values are always left as integer values, data format must be an integer type.
  VAB_PURE_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 1347 of file vlnamespace.hpp.

enum vl::ESilhouetteMode

Enumerator:

  SilhouetteClosed |
  SilhouetteOpen |

Definition at line 43 of file Extrusion.hpp.

enum vl::ECapsuleCap

Enumerator:

  CC_FlatCap |
  CC_RoundedCap |
  CC_NoCap |

Definition at line 41 of file GeometryPrimitives.hpp.

enum vl::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.

enum vl::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.

enum vl::EMoleculeStyle

Defines the main molecule styles.

Enumerator:

  MS_AtomsOnly |
  MS_BallAndStick |
  MS_Sticks |
  MS_Wireframe |

Definition at line 48 of file Molecule.hpp.

enum vl::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.

enum vl::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.

enum vl::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.

## Function Documentation

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

Definition at line 244 of file Log.cpp.

References vl::Log::error(), and vl::String::ptr().

fvec4 vl::makeColor | ( | unsigned int | color ) | `[inline]`

Definition at line 41 of file Colors.hpp.

References vl::Vector4< T_Scalar >::a(), vl::Vector4< T_Scalar >::b(), vl::Vector4< T_Scalar >::g(), and vl::Vector4< T_Scalar >::r().

bool vl::isValidColor | ( | const fvec4 & | color ) | `[inline]`

Definition at line 51 of file Colors.hpp.

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

FileSystem * vl::defFileSystem | ( | ) |

Returns the default FileSystem used by VisualizationLibrary.

Definition at line 148 of file init_core.cpp.

Referenced by isDAT(), load3DS(), loadAC3D(), loadBMP(), loadDAT(), loadDDS(), loadDICOM(), loadImage(), loadImagesFromDir(), loadJPG(), loadMD2(), loadOBJ(), vl::ObjLoader::loadOBJ(), loadPLY(), loadPNG(), loadSTL(), vl::String::loadText(), loadTGA(), loadTIFF(), locateFile(), vl::A3DSLoader::readMapChunk(), and vl::ZippedDirectory::ZippedDirectory().

void vl::setDefFileSystem | ( | FileSystem * | fs ) |

Sets the default FileSystem used by VisualizationLibrary.

Definition at line 152 of file init_core.cpp.

template<typename T >

T vl::asinh | ( | T | x ) |

Definition at line 107 of file GLSLmath.hpp.

References log(), and sqrt().

Referenced by asinh().

template<typename T >

T vl::acosh | ( | T | x ) |

Definition at line 110 of file GLSLmath.hpp.

References log(), and sqrt().

Referenced by acosh().

template<typename T >

T vl::atanh | ( | T | x ) |

Definition at line 120 of file GLSLmath.hpp.

References log(), and sqrt().

Referenced by atanh().

template<typename T >

bool vl::isnan | ( | T | value ) |

Definition at line 130 of file GLSLmath.hpp.

Referenced by isnan().

template<typename T >

bool vl::isinf | ( | T | value ) |

Definition at line 131 of file GLSLmath.hpp.

References max(), and min().

Referenced by isinf().

template<typename T >

bool vl::isinf_pos | ( | T | value ) |

Definition at line 132 of file GLSLmath.hpp.

References max().

template<typename T >

bool vl::isinf_neg | ( | T | value ) |

Definition at line 133 of file GLSLmath.hpp.

References min().

template<typename T >

T vl::modf | ( | T | a,
|  | T & | intpart
| ) |  |

Referenced by modf(), and roundEven().

template<typename T >

T vl::radians | ( | T | degrees ) |

Definition at line 147 of file GLSLmath.hpp.

References dDEG_TO_RAD.

template<typename T >

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

Definition at line 150 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 156 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 163 of file GLSLmath.hpp.

References dDEG_TO_RAD, vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::degrees | ( | T | radians ) |

Definition at line 173 of file GLSLmath.hpp.

References dRAD_TO_DEG.

Referenced by vl::EdgeRenderer::setCreaseAngle().

template<typename T >

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

Definition at line 176 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 182 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 189 of file GLSLmath.hpp.

References dRAD_TO_DEG, vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::sin | ( | T | a ) |

Definition at line 199 of file GLSLmath.hpp.

Referenced by vl::VectorGraphics::drawEllipse(), vl::VectorGraphics::fillEllipse(), vl::Matrix4< T_Scalar >::getPerspective(), vl::Matrix4< T_Scalar >::getRotation(), vl::Matrix3< T_Scalar >::getRotation(), vl::Quaternion< T_Scalar >::getSlerp(), vl::Quaternion< T_Scalar >::setFromAxisAngle(), and sin().

template<typename T >

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

Definition at line 202 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 208 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 215 of file GLSLmath.hpp.

References sin(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::cos | ( | T | a ) |

Definition at line 225 of file GLSLmath.hpp.

Referenced by cos(), vl::VectorGraphics::drawEllipse(), vl::VectorGraphics::fillEllipse(), vl::Matrix4< T_Scalar >::getPerspective(), vl::Matrix4< T_Scalar >::getRotation(), vl::Matrix3< T_Scalar >::getRotation(), and vl::Quaternion< T_Scalar >::setFromAxisAngle().

template<typename T >

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

Definition at line 228 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 234 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 241 of file GLSLmath.hpp.

References cos(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::tan | ( | T | a ) |

Definition at line 251 of file GLSLmath.hpp.

Referenced by tan().

template<typename T >

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

Definition at line 254 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 260 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 267 of file GLSLmath.hpp.

References tan(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::atan | ( | T | a ) |

Definition at line 277 of file GLSLmath.hpp.

template<typename T >

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

Definition at line 280 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 286 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 293 of file GLSLmath.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::asin | ( | T | a ) |

Definition at line 303 of file GLSLmath.hpp.

Referenced by asin().

template<typename T >

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

Definition at line 306 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 312 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 319 of file GLSLmath.hpp.

References asin(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::acos | ( | T | a ) |

Definition at line 329 of file GLSLmath.hpp.

Referenced by acos(), vl::EdgeExtractor::extractEdges(), vl::Matrix4< T_Scalar >::getRotation(), vl::Quaternion< T_Scalar >::getSlerp(), vl::Matrix4< T_Scalar >::getYXRotationAngles(), vl::Quaternion< T_Scalar >::setFromVectors(), vl::Quaternion< T_Scalar >::toAxisAngle(), and vl::TrackballManipulator::trackballRotation().

template<typename T >

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

Definition at line 332 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 338 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 345 of file GLSLmath.hpp.

References acos(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::sinh | ( | T | a ) |

Definition at line 357 of file GLSLmath.hpp.

References exp().

Referenced by sinh(), and tanh().

template<typename T >

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

Definition at line 360 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 363 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 366 of file GLSLmath.hpp.

References sinh(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::cosh | ( | T | a ) |

Definition at line 371 of file GLSLmath.hpp.

References exp().

Referenced by cosh(), and tanh().

template<typename T >

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

Definition at line 374 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 377 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 380 of file GLSLmath.hpp.

References cosh(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::tanh | ( | T | a ) |

Definition at line 385 of file GLSLmath.hpp.

References cosh(), and sinh().

Referenced by tanh().

template<typename T >

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

Definition at line 388 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 391 of file GLSLmath.hpp.

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

template<typename T >

Vector4<T> vl::tanh | ( | const Vector4< T > & | a ) |

Definition at line 394 of file GLSLmath.hpp.

References tanh(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

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

Definition at line 399 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 402 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 405 of file GLSLmath.hpp.

References asinh(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

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

Definition at line 410 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 413 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 416 of file GLSLmath.hpp.

References acosh(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

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

Definition at line 421 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 424 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 427 of file GLSLmath.hpp.

References atanh(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::pow | ( | T | a,
|  | T | b
| ) |  |

Definition at line 434 of file GLSLmath.hpp.

Referenced by exp2(), and pow().

template<typename T >

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

Definition at line 437 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 443 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 450 of file GLSLmath.hpp.

References pow(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::exp | ( | T | a ) |

Definition at line 460 of file GLSLmath.hpp.

Referenced by vl::half::convertFloatToHalf(), vl::half::convertHalfToFloat(), cosh(), exp(), vl::Say::format(), vl::half::isdenorm(), vl::half::isinf(), vl::half::isinf_neg(), vl::half::isinf_pos(), vl::half::isNaN(), and sinh().

template<typename T >

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

Definition at line 463 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 469 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 476 of file GLSLmath.hpp.

References exp(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::log | ( | T | a ) |

Definition at line 486 of file GLSLmath.hpp.

Referenced by acosh(), asinh(), atanh(), vl::GLSLShader::compile(), vl::GLSLProgram::linkProgram(), log(), and vl::GLSLProgram::programBinary().

template<typename T >

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

Definition at line 489 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 495 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 502 of file GLSLmath.hpp.

References log(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::exp2 | ( | T | a ) |

Definition at line 512 of file GLSLmath.hpp.

References pow().

template<typename T >

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

Definition at line 515 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 521 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 528 of file GLSLmath.hpp.

References pow(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::log2 | ( | T | a ) |

Definition at line 538 of file GLSLmath.hpp.

References log10().

Referenced by log2().

template<typename T >

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

Definition at line 541 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 547 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 554 of file GLSLmath.hpp.

References log2(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::log10 | ( | T | a ) |

Definition at line 566 of file GLSLmath.hpp.

Referenced by log10(), and log2().

template<typename T >

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

Definition at line 569 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 575 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 582 of file GLSLmath.hpp.

References log10(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::sqrt | ( | T | a ) |

Definition at line 592 of file GLSLmath.hpp.

Referenced by acosh(), asinh(), atanh(), vl::Array< T_VectorType, T_Scalar, T_GL_Size, T_GL_Type >::computeBoundingSphere(), vl::TrackballManipulator::computeVector(), vl::Matrix4< T_Scalar >::getRotation(), inversesqrt(), vl::Vector4< GLfloat >::length(), vl::Vector3< GLfloat >::length(), vl::Vector2< GLfloat >::length(), vl::Vector2< T_Scalar >::length(), vl::Vector3< T_Scalar >::length(), vl::Vector4< T_Scalar >::length(), refract(), vl::Quaternion< T_Scalar >::setFromMatrix(), sqrt(), vl::Quaternion< T_Scalar >::toAxisAngle(), and vl::Sphere::transformed().

template<typename T >

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

Definition at line 595 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 601 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 608 of file GLSLmath.hpp.

References sqrt(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::inversesqrt | ( | T | a ) |

Definition at line 618 of file GLSLmath.hpp.

References sqrt().

template<typename T >

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

Definition at line 621 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 627 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 634 of file GLSLmath.hpp.

References sqrt(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::abs | ( | T | a ) |

Definition at line 646 of file GLSLmath.hpp.

template<typename T >

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

Definition at line 649 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 655 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 661 of file GLSLmath.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::sign | ( | T | a ) |

Definition at line 669 of file GLSLmath.hpp.

Referenced by vl::half::convertFloatToHalf(), vl::half::convertHalfToFloat(), vl::Say::format(), vl::half::isinf_neg(), and vl::half::isinf_pos().

template<typename T >

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

Definition at line 672 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 679 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 687 of file GLSLmath.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::floor | ( | T | a ) |

Definition at line 698 of file GLSLmath.hpp.

Referenced by floor(), vl::Say::format(), fract(), mod(), and round().

template<typename T >

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

Definition at line 701 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 707 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 714 of file GLSLmath.hpp.

References floor(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::trunc | ( | T | a ) |

Definition at line 725 of file GLSLmath.hpp.

References fract().

template<typename T >

Vector2<T> vl::trunc | ( | const Vector2< T > & | a ) |

Definition at line 728 of file GLSLmath.hpp.

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

template<typename T >

Vector3<T> vl::trunc | ( | const Vector3< T > & | a ) |

Definition at line 734 of file GLSLmath.hpp.

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

template<typename T >

Vector4<T> vl::trunc | ( | const Vector4< T > & | a ) |

Definition at line 741 of file GLSLmath.hpp.

References fract(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::round | ( | T | x ) |

Definition at line 751 of file GLSLmath.hpp.

References ceil(), and floor().

Referenced by round(), and roundEven().

template<typename T >

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

Definition at line 754 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 760 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 767 of file GLSLmath.hpp.

References round(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

float vl::modf | ( | float | a,
|  | float & | intpart
| ) |  | `[inline]`

Definition at line 777 of file GLSLmath.hpp.

References modf().

double vl::modf | ( | double | a,
|  | double & | intpart
| ) |  | `[inline]`

Definition at line 789 of file GLSLmath.hpp.

References modf().

template<typename T >

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

Definition at line 792 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 798 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 805 of file GLSLmath.hpp.

References modf(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

float vl::roundEven | ( | float | a,
|  | float | epsilon
| ) |  | `[inline]`

Definition at line 815 of file GLSLmath.hpp.

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

Referenced by roundEven().

double vl::roundEven | ( | double | a,
|  | double | epsilon
| ) |  | `[inline]`

Definition at line 841 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 867 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 873 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 880 of file GLSLmath.hpp.

References roundEven(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::ceil | ( | T | a ) |

Definition at line 890 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 893 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 899 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 906 of file GLSLmath.hpp.

References ceil(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::fract | ( | T | a ) |

Definition at line 916 of file GLSLmath.hpp.

References floor().

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

template<typename T >

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

Definition at line 919 of file GLSLmath.hpp.

References floor().

template<typename T >

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

Definition at line 922 of file GLSLmath.hpp.

References floor().

template<typename T >

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

Definition at line 925 of file GLSLmath.hpp.

References floor().

template<typename T >

T vl::mod | ( | T | a,
|  | T | b
| ) |  |

Definition at line 930 of file GLSLmath.hpp.

References floor().

template<typename T >

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

Definition at line 933 of file GLSLmath.hpp.

References floor().

template<typename T >

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

Definition at line 936 of file GLSLmath.hpp.

References floor().

template<typename T >

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

Definition at line 939 of file GLSLmath.hpp.

References floor().

template<typename T >

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

Definition at line 942 of file GLSLmath.hpp.

References floor().

template<typename T >

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

Definition at line 945 of file GLSLmath.hpp.

References floor().

template<typename T >

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

Definition at line 948 of file GLSLmath.hpp.

References floor().

template<typename T >

T vl::mix | ( | T | a,
|  | T | b,
|  | T | t
| ) |  |

Definition at line 953 of file GLSLmath.hpp.

template<typename T >

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

Definition at line 956 of file GLSLmath.hpp.

template<typename T >

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

Definition at line 959 of file GLSLmath.hpp.

template<typename T >

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

Definition at line 962 of file GLSLmath.hpp.

template<typename T >

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

Definition at line 965 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 972 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 980 of file GLSLmath.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::step | ( | T | edge,
|  | T | a
| ) |  |

Definition at line 991 of file GLSLmath.hpp.

template<typename T >

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

Definition at line 994 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1001 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1009 of file GLSLmath.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::smoothstep | ( | T | edge0,
|  | T | edge1,
|  | T | a
| ) |  |

Definition at line 1019 of file GLSLmath.hpp.

References clamp().

template<typename T >

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

Definition at line 1026 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1036 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1047 of file GLSLmath.hpp.

References clamp(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

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

Definition at line 1061 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1064 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1067 of file GLSLmath.hpp.

References isnan(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

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

Definition at line 1072 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1075 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1078 of file GLSLmath.hpp.

References isinf(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

T vl::length | ( | T | v ) |

Definition at line 1085 of file GLSLmath.hpp.

Referenced by vl::Molecule::ballAndStickStyle(), vl::CRC32CheckSum::compute(), vl::PolygonSimplifier::Triangle::computeArea(), vl::SceneManager::computeBounds(), vl::PolygonSimplifier::computeCollapseInfo(), vl::PolygonSimplifier::Triangle::computePotentialArea(), vl::DiskDirectory::diskSubDir(), distance(), vl::String::empty(), vl::DistanceLODEvaluator::evaluate(), vl::GLSLProgram::getProgramBinary(), vl::Sphere::includes(), vl::ZippedDirectory::listSubDirs(), vl::MemoryDirectory::listSubDirs(), vl::TrackballManipulator::mouseMoveEvent(), vl::Sphere::operator+=(), vl::Sphere::operator=(), vl::String::operator==(), vl::Text::renderText(), vl::ZippedDirectory::setPath(), vl::MemoryDirectory::setPath(), and vl::Molecule::sticksStyle().

template<typename T >

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

Definition at line 1088 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1091 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1094 of file GLSLmath.hpp.

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

template<typename T >

T vl::distance | ( | T | p0,
|  | T | p1
| ) |  |

Definition at line 1099 of file GLSLmath.hpp.

References length().

Referenced by vl::Sphere::includes(), vl::TrackballManipulator::mouseMoveEvent(), vl::DistanceLODEvaluator::setDistanceRange(), and vl::PixelLODEvaluator::setPixelRange().

template<typename T >

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

Definition at line 1102 of file GLSLmath.hpp.

References length().

template<typename T >

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

Definition at line 1105 of file GLSLmath.hpp.

References length().

template<typename T >

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

Definition at line 1108 of file GLSLmath.hpp.

References length().

float vl::dot | ( | float | a,
|  | float | b
| ) |  | `[inline]`

Definition at line 1112 of file GLSLmath.hpp.

Referenced by vl::Camera::adjustView(), vl::ClipPlane::apply(), vl::ClipPlane::ClipPlane(), vl::PolygonSimplifier::Triangle::computeArea(), vl::PolygonSimplifier::computeCollapseInfo(), vl::PolygonSimplifier::Vertex::computeEdgePenalty(), vl::PolygonSimplifier::Triangle::computePotentialArea(), vl::PolygonSimplifier::Triangle::computeQErr(), vl::Geometry::computeTangentSpace(), vl::Billboard::computeWorldMatrix(), vl::Plane::distance(), vl::EdgeExtractor::extractEdges(), vl::Extrusion::extrude(), faceforward(), vl::Matrix4< T_Scalar >::getRotation(), vl::Matrix4< T_Scalar >::getYXRotationAngles(), vl::RayIntersector::intersectTriangle(), vl::RingExtractor::keepPlanarCycles(), vl::SlicedVolume::onActorRenderStarted(), vl::EdgeUpdateCallback::onActorRenderStarted(), vl::Say::pipeline(), vl::Plane::Plane(), reflect(), refract(), vl::Quaternion< T_Scalar >::setFromVectors(), vl::TrackballManipulator::trackballRotation(), and vl::SceneManagerPortals::visitSector().

double vl::dot | ( | double | a,
|  | double | b
| ) |  | `[inline]`

Definition at line 1116 of file GLSLmath.hpp.

Real vl::dot | ( | int | a,
|  | int | b
| ) |  | `[inline]`

Definition at line 1120 of file GLSLmath.hpp.

Real vl::dot | ( | unsigned int | a,
|  | unsigned int | b
| ) |  | `[inline]`

Definition at line 1124 of file GLSLmath.hpp.

template<typename T >

T vl::normalize | ( | T | ) |

Definition at line 1129 of file GLSLmath.hpp.

Referenced by vl::Molecule::ballAndStickStyle(), vl::Camera::computeRay(), vl::Geometry::computeTangentSpace(), vl::Billboard::computeWorldMatrix(), vl::Geometry::deepCopy(), vl::Extrusion::extrude(), vl::Molecule::generateRings(), genGradientNormals(), vl::Matrix4< T_Scalar >::getLookAt(), vl::RingExtractor::keepPlanarCycles(), vl::Geometry::setVertexAttribArray(), and vl::Molecule::sticksStyle().

template<typename T >

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

Definition at line 1132 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1135 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1138 of file GLSLmath.hpp.

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

template<typename T >

T vl::faceforward | ( | T | N,
|  | T | I,
|  | T | Nref
| ) |  |

Definition at line 1143 of file GLSLmath.hpp.

References dot().

template<typename T >

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

Definition at line 1146 of file GLSLmath.hpp.

References dot().

template<typename T >

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

Definition at line 1149 of file GLSLmath.hpp.

References dot().

template<typename T >

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

Definition at line 1152 of file GLSLmath.hpp.

References dot().

template<typename T >

T vl::reflect | ( | T | I,
|  | T | N
| ) |  |

Definition at line 1157 of file GLSLmath.hpp.

References dot().

template<typename T >

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

Definition at line 1160 of file GLSLmath.hpp.

References dot().

template<typename T >

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

Definition at line 1163 of file GLSLmath.hpp.

References dot().

template<typename T >

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

Definition at line 1166 of file GLSLmath.hpp.

References dot().

template<typename T >

T vl::refract | ( | T | I,
|  | T | N,
|  | T | eta
| ) |  |

Definition at line 1171 of file GLSLmath.hpp.

References dot(), and sqrt().

template<typename T >

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

Definition at line 1181 of file GLSLmath.hpp.

References dot(), and sqrt().

template<typename T >

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

Definition at line 1191 of file GLSLmath.hpp.

References dot(), and sqrt().

template<typename T >

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

Definition at line 1201 of file GLSLmath.hpp.

References dot(), and sqrt().

template<typename T >

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

Definition at line 1215 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1225 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1235 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1247 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1257 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1267 of file GLSLmath.hpp.

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

template<typename T >

Matrix2<T> vl::transpose | ( | const Matrix2< T > & | a ) |

Definition at line 1279 of file GLSLmath.hpp.

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

template<typename T >

Matrix3<T> vl::transpose | ( | const Matrix3< T > & | a ) |

Definition at line 1289 of file GLSLmath.hpp.

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

template<typename T >

Matrix4<T> vl::transpose | ( | const Matrix4< T > & | a ) |

Definition at line 1299 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1313 of file GLSLmath.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

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

Definition at line 1321 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1328 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1336 of file GLSLmath.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

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

Definition at line 1344 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1351 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1359 of file GLSLmath.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

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

Definition at line 1367 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1374 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1382 of file GLSLmath.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

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

Definition at line 1390 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1397 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1405 of file GLSLmath.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

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

Definition at line 1413 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1420 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1428 of file GLSLmath.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

template<typename T >

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

Definition at line 1436 of file GLSLmath.hpp.

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

template<typename T >

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

Definition at line 1443 of file GLSLmath.hpp.

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

bool vl::any | ( | const ivec2 & | a ) | `[inline]`

Definition at line 1450 of file GLSLmath.hpp.

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

bool vl::any | ( | const ivec3 & | a ) | `[inline]`

Definition at line 1451 of file GLSLmath.hpp.

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

bool vl::any | ( | const ivec4 & | a ) | `[inline]`

Definition at line 1452 of file GLSLmath.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

bool vl::all | ( | const ivec2 & | a ) | `[inline]`

Definition at line 1456 of file GLSLmath.hpp.

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

bool vl::all | ( | const ivec3 & | a ) | `[inline]`

Definition at line 1457 of file GLSLmath.hpp.

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

bool vl::all | ( | const ivec4 & | a ) | `[inline]`

Definition at line 1458 of file GLSLmath.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

float vl::operator/ | ( | float | a,
|  | const half & | b
| ) |  | `[inline]`

Definition at line 475 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator/ | ( | double | a,
|  | const half & | b
| ) |  | `[inline]`

Definition at line 480 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator/ | ( | int | a,
|  | const half & | b
| ) |  | `[inline]`

Definition at line 485 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator* | ( | float | a,
|  | const half & | b
| ) |  | `[inline]`

Definition at line 490 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator* | ( | double | a,
|  | const half & | b
| ) |  | `[inline]`

Definition at line 495 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator* | ( | int | a,
|  | const half & | b
| ) |  | `[inline]`

Definition at line 500 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator+ | ( | float | a,
|  | const half & | b
| ) |  | `[inline]`

Definition at line 505 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator+ | ( | double | a,
|  | const half & | b
| ) |  | `[inline]`

Definition at line 510 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator+ | ( | int | a,
|  | const half & | b
| ) |  | `[inline]`

Definition at line 515 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator- | ( | float | a,
|  | const half & | b
| ) |  | `[inline]`

Definition at line 520 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator- | ( | double | a,
|  | const half & | b
| ) |  | `[inline]`

Definition at line 525 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator- | ( | int | a,
|  | const half & | b
| ) |  | `[inline]`

Definition at line 530 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator/ | ( | const half & | a,
|  | float | b
| ) |  | `[inline]`

Definition at line 537 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator/ | ( | const half & | a,
|  | double | b
| ) |  | `[inline]`

Definition at line 542 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator/ | ( | const half & | a,
|  | int | b
| ) |  | `[inline]`

Definition at line 547 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator* | ( | const half & | a,
|  | float | b
| ) |  | `[inline]`

Definition at line 552 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator* | ( | const half & | a,
|  | double | b
| ) |  | `[inline]`

Definition at line 557 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator* | ( | const half & | a,
|  | int | b
| ) |  | `[inline]`

Definition at line 562 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator+ | ( | const half & | a,
|  | float | b
| ) |  | `[inline]`

Definition at line 567 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator+ | ( | const half & | a,
|  | double | b
| ) |  | `[inline]`

Definition at line 572 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator+ | ( | const half & | a,
|  | int | b
| ) |  | `[inline]`

Definition at line 577 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator- | ( | const half & | a,
|  | float | b
| ) |  | `[inline]`

Definition at line 582 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator- | ( | const half & | a,
|  | double | b
| ) |  | `[inline]`

Definition at line 587 of file half.hpp.

References vl::half::convertHalfToFloat().

float vl::operator- | ( | const half & | a,
|  | int | b
| ) |  | `[inline]`

Definition at line 592 of file half.hpp.

References vl::half::convertHalfToFloat().

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

Assembles a cubemap image.

Definition at line 783 of file Image.cpp.

References vl::Log::error(), vl::ref< T >::get(), vl::Image::pixels(), and vl::Image::requiredMemory().

Referenced by 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 1176 of file Image.cpp.

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

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:

  file | The 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_offset | The 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 1196 of file Image.cpp.

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

Referenced by loadDAT().

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

Loads an image from the specified file.

Definition at line 1132 of file Image.cpp.

References vl::VirtualFile::close(), defLoadWriterManager(), vl::Log::error(), vl::ref< T >::get(), vl::VirtualFile::isOpen(), vl::LoadWriterManager::loadResource(), vl::VirtualFile::path(), vl::String::toStdString(), and VL_CHECK.

Referenced by vl::Texture::createTexture(), vl::Image::Image(), vl::Terrain::init(), loadCubemap(), loadImage(), loadImagesFromDir(), and vl::Texture::Texture().

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

Loads an image from the specified path.

Definition at line 1120 of file Image.cpp.

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

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 1097 of file Image.cpp.

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

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 1069 of file Image.cpp.

References VL_CHECK.

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

Writes an image on the specified file.

Definition at line 1166 of file Image.cpp.

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

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

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

Writes an image on the specified path.

Definition at line 1156 of file Image.cpp.

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

VLCORE_EXPORT ref<Image> vl::makeNonUniformColorSpectrum | ( | size_t | width,
|  | size_t | col_count,
|  | const fvec4 * | colors,
|  | const float * | col_pos
| ) |  |

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

VLCORE_EXPORT ref<Image> vl::makeNonUniformColorSpectrum | ( | int | width,
|  | const std::vector< fvec4 > & | colors,
|  | const std::vector< float > & | col_pos
| ) |  |

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

VLCORE_EXPORT ref<Image> vl::makeColorSpectrum | ( | size_t | width,
|  | const std::vector< fvec4 > & | colors
| ) |  |

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

VLCORE_EXPORT ref<Image> vl::makeColorSpectrum | ( | size_t | width,
|  | const fvec4 & | c0,
|  | const fvec4 & | c1
| ) |  |

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

VLCORE_EXPORT ref<Image> vl::makeColorSpectrum | ( | size_t | width,
|  | const fvec4 & | c0,
|  | const fvec4 & | c1,
|  | const fvec4 & | c2
| ) |  |

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

VLCORE_EXPORT ref<Image> vl::makeColorSpectrum | ( | size_t | width,
|  | const fvec4 & | c0,
|  | const fvec4 & | c1,
|  | const fvec4 & | c2,
|  | const fvec4 & | c3
| ) |  |

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

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

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

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().

void vl::convertGrayscaleToRGBA | ( | void * | buf,
|  | int | size,
|  | unsigned char | alpha
| ) |  | `[inline]`

Definition at line 82 of file ImageTools.hpp.

void vl::convertA1R5G5B5ToRGBA | ( | void * | buf,
|  | int | size,
|  | unsigned char | alpha
| ) |  | `[inline]`

Definition at line 97 of file ImageTools.hpp.

Referenced by loadTGA().

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().

void vl::convert8ToRGBA | ( | const TPalette4x256 & | palette,
|  | void * | buf,
|  | int | w,
|  | int | h,
|  | int | bytealign = `1`
| ) |  | `[inline]`

Definition at line 157 of file ImageTools.hpp.

void vl::swapBytes32 | ( | void * | buf,
|  | int | size
| ) |  | `[inline]`

Definition at line 197 of file ImageTools.hpp.

void vl::swapBytes32_BGRA_RGBA | ( | void * | buf,
|  | int | bytecount
| ) |  | `[inline]`

Definition at line 211 of file ImageTools.hpp.

Referenced by loadDDS(), and loadTGA().

void vl::swapBytes24_BGR_RGB | ( | void * | buf,
|  | int | bytecount
| ) |  | `[inline]`

Definition at line 223 of file ImageTools.hpp.

Referenced by loadDDS().

void vl::fillRGBA32_Alpha | ( | void * | buf,
|  | int | bytecount,
|  | unsigned char | alpha
| ) |  | `[inline]`

Definition at line 236 of file ImageTools.hpp.

Referenced by loadDDS().

void vl::fillGray8Alpha8_Alpha | ( | void * | buf,
|  | int | bytecount,
|  | unsigned char | alpha
| ) |  | `[inline]`

Definition at line 245 of file ImageTools.hpp.

Referenced by loadDDS().

LoadWriterManager * vl::defLoadWriterManager | ( | ) |

Returs the default LoadWriterManager used by Visualization Library.

Definition at line 133 of file init_core.cpp.

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

void vl::setDefLoadWriterManager | ( | LoadWriterManager * | lwm ) |

Sets the default LoadWriterManager used by Visualization Library.

Definition at line 137 of file init_core.cpp.

void vl::registerLoadWriter | ( | ResourceLoadWriter * | rlw ) | `[inline]`

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

Definition at line 158 of file LoadWriterManager.hpp.

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

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

void vl::setDefLogger | ( | Log * | logger ) |

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

Definition at line 118 of file init_core.cpp.

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

Log * vl::defLogger | ( | ) |

Returns the currently installed default logger.

Definition at line 122 of file init_core.cpp.

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

Real vl::randomMinMax | ( | Real | min,
|  | Real | max
| ) |  |

Returns a random number N that between 'min' and 'max' included.

Definition at line 43 of file math3D.cpp.

References min().

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 49 of file math3D.cpp.

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 60 of file math3D.cpp.

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

Extracts the 6 frustum planes for the given model-view-projection matrix.

Definition at line 71 of file math3D.cpp.

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

Referenced by vl::Camera::adjustView(), and vl::Camera::computeFrustumPlanes().

template<typename T_Scalar >

Matrix2<T_Scalar> vl::operator* | ( | const Matrix2< T_Scalar > & | p,
|  | const Matrix2< T_Scalar > & | q
| ) |  | `[inline]`

Definition at line 411 of file Matrix2.hpp.

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

template<typename T_Scalar >

Matrix2<T_Scalar> vl::operator+ | ( | T_Scalar | d,
|  | const Matrix2< T_Scalar > & | m
| ) |  | `[inline]`

Definition at line 419 of file Matrix2.hpp.

template<typename T_Scalar >

Matrix2<T_Scalar> vl::operator* | ( | T_Scalar | d,
|  | const Matrix2< T_Scalar > & | m
| ) |  | `[inline]`

Definition at line 425 of file Matrix2.hpp.

template<typename T_Scalar >

Vector2<T_Scalar> vl::operator* | ( | const Matrix2< T_Scalar > & | m,
|  | const Vector2< T_Scalar > & | v
| ) |  | `[inline]`

Definition at line 432 of file Matrix2.hpp.

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

template<typename T_Scalar >

Vector2<T_Scalar> vl::operator* | ( | const Vector2< T_Scalar > & | v,
|  | const Matrix2< T_Scalar > & | m
| ) |  | `[inline]`

Definition at line 442 of file Matrix2.hpp.

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

template<typename T_Scalar >

Matrix3<T_Scalar> vl::operator* | ( | const Matrix3< T_Scalar > & | p,
|  | const Matrix3< T_Scalar > & | q
| ) |  | `[inline]`

Definition at line 532 of file Matrix3.hpp.

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

template<typename T_Scalar >

Matrix3<T_Scalar> vl::operator+ | ( | T_Scalar | d,
|  | const Matrix3< T_Scalar > & | m
| ) |  | `[inline]`

Definition at line 540 of file Matrix3.hpp.

template<typename T_Scalar >

Matrix3<T_Scalar> vl::operator* | ( | T_Scalar | d,
|  | const Matrix3< T_Scalar > & | m
| ) |  | `[inline]`

Definition at line 546 of file Matrix3.hpp.

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 553 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().

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 565 of file Matrix3.hpp.

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

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 575 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().

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 587 of file Matrix3.hpp.

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

template<typename T_Scalar >

Matrix4<T_Scalar> vl::operator* | ( | const Matrix4< T_Scalar > & | p,
|  | const Matrix4< T_Scalar > & | q
| ) |  | `[inline]`

Definition at line 659 of file Matrix4.hpp.

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

template<typename T_Scalar >

Matrix4<T_Scalar> vl::operator+ | ( | T_Scalar | d,
|  | const Matrix4< T_Scalar > & | m
| ) |  | `[inline]`

Definition at line 667 of file Matrix4.hpp.

template<typename T_Scalar >

Matrix4<T_Scalar> vl::operator* | ( | T_Scalar | d,
|  | const Matrix4< T_Scalar > & | m
| ) |  | `[inline]`

Definition at line 673 of file Matrix4.hpp.

template<typename T_Scalar >

Vector4<T_Scalar> vl::operator* | ( | const Matrix4< T_Scalar > & | m,
|  | const Vector4< T_Scalar > & | v
| ) |  | `[inline]`

Post multiplication: matrix * column vector.

Definition at line 680 of file Matrix4.hpp.

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

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 693 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().

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 705 of file Matrix4.hpp.

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

template<typename T_Scalar >

Vector4<T_Scalar> vl::operator* | ( | const Vector4< T_Scalar > & | v,
|  | const Matrix4< T_Scalar > & | m
| ) |  | `[inline]`

pre-multiplication: row vector * matrix

Definition at line 715 of file Matrix4.hpp.

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

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 728 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().

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 740 of file Matrix4.hpp.

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

template<class T1 , class T2 >

bool vl::operator== | ( | const ref< T1 > & | o1,
|  | const ref< T2 > & | o2
| ) |  | `[inline]`

Definition at line 299 of file Object.hpp.

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

Referenced by vl::String::operator!=(), vl::Sphere::operator!=(), and vl::AABB::operator!=().

template<class T1 , class T2 >

bool vl::operator!= | ( | const ref< T1 > & | o1,
|  | const ref< T2 > & | o2
| ) |  | `[inline]`

Definition at line 300 of file Object.hpp.

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

template<class T1 , class T2 >

bool vl::operator== | ( | const ref< T1 > & | o1,
|  | T2 * | o2
| ) |  | `[inline]`

Definition at line 301 of file Object.hpp.

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

template<class T1 , class T2 >

bool vl::operator!= | ( | const ref< T1 > & | o1,
|  | T2 * | o2
| ) |  | `[inline]`

Definition at line 302 of file Object.hpp.

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

template<class T1 , class T2 >

bool vl::operator== | ( | T1 * | o1,
|  | const ref< T2 > & | o2
| ) |  | `[inline]`

Definition at line 303 of file Object.hpp.

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

template<class T1 , class T2 >

bool vl::operator!= | ( | T1 * | o1,
|  | const ref< T2 > & | o2
| ) |  | `[inline]`

Definition at line 304 of file Object.hpp.

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

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

Definition at line 116 of file vlBMP.cpp.

References vl::VirtualFile::close(), convert8ToRGBA(), convertRGBToRGBA(), vl::Log::error(), IF_BGRA, IF_RGBA, IT_UNSIGNED_BYTE, OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::VirtualFile::position(), vl::VirtualFile::read(), vl::VirtualFile::seekSet(), vl::String::toStdString(), and VL_CHECK.

Referenced by loadBMP(), and vl::LoadWriterBMP::loadResource().

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 vlBMP.cpp.

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

bool vl::isBMP | ( | VirtualFile * | file ) |

Definition at line 262 of file vlBMP.cpp.

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

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

Definition at line 59 of file vlDAT.cpp.

References BUFFER_SIZE, vl::VirtualFile::close(), defFileSystem(), vl::Log::error(), vl::String::extractPath(), vl::ref< T >::get(), IF_LUMINANCE, IF_LUMINANCE_ALPHA, IF_RGB, IF_RGBA, IT_UNSIGNED_BYTE, loadRAW(), vl::FileSystem::locateFile(), OM_ReadOnly, vl::VirtualFile::open(), and vl::VirtualFile::path().

Referenced by loadDAT(), and vl::LoadWriterDAT::loadResource().

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

Definition at line 47 of file vlDAT.cpp.

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

bool vl::isDAT | ( | VirtualFile * | file ) |

Definition at line 155 of file vlDAT.cpp.

References BUFFER_SIZE, vl::VirtualFile::close(), defFileSystem(), vl::String::extractPath(), IF_LUMINANCE, IF_LUMINANCE_ALPHA, IF_RGB, IF_RGBA, IT_UNSIGNED_BYTE, locateFile(), OM_ReadOnly, vl::VirtualFile::open(), and vl::VirtualFile::path().

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

Definition at line 241 of file vlDDS.cpp.

References vl::VirtualFile::close(), convert8ToRGBA(), vl::Log::error(), fillGray8Alpha8_Alpha(), fillRGBA32_Alpha(), IF_COMPRESSED_RGB_S3TC_DXT1, IF_COMPRESSED_RGBA_S3TC_DXT1, IF_COMPRESSED_RGBA_S3TC_DXT3, IF_COMPRESSED_RGBA_S3TC_DXT5, IF_LUMINANCE, IF_LUMINANCE_ALPHA, IF_RGB, IF_RGBA, IS_BGR8, IS_BGRA8, IS_BGRX8, IS_DXT1, IS_DXT3, IS_DXT5, IS_GRAY8, IS_GRAY8_ALPHA8, IS_PALETTE8, IT_IMPLICIT_TYPE, IT_UNSIGNED_BYTE, OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::VirtualFile::read(), vl::VirtualFile::readUInt32(), vl::Image::requiredMemory(), swapBytes24_BGR_RGB(), swapBytes32_BGRA_RGBA(), vl::String::toStdString(), VL_CHECK, and vl::Log::warning().

Referenced by loadDDS(), and vl::LoadWriterDDS::loadResource().

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 225 of file vlDDS.cpp.

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

bool vl::isDDS | ( | VirtualFile * | file ) |

Definition at line 720 of file vlDDS.cpp.

References vl::VirtualFile::close(), OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::VirtualFile::read(), vl::VirtualFile::readUInt32(), and vl::Log::warning().

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

Loads a DICOM file.

The retuned image has attached also some tags (vl::Image::tags()) extracted from the DICOM file describing the image geometry.

Definition at line 111 of file vlDICOM.cpp.

References vl::VirtualFile::close(), vl::Log::error(), vl::ref< T >::get(), IF_LUMINANCE, IF_RGB, IF_RGBA, IT_UNSIGNED_BYTE, IT_UNSIGNED_INT, IT_UNSIGNED_SHORT, OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::VirtualFile::read(), and vl::String::toStdString().

Referenced by loadDICOM(), and vl::LoadWriterDICOM::loadResource().

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

Loads a DICOM file.

Definition at line 98 of file vlDICOM.cpp.

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

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

Writes a DICOM file.

Definition at line 387 of file vlDICOM.cpp.

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

Writes a DICOM file.

Definition at line 392 of file vlDICOM.cpp.

References vl::VirtualFile::close(), vl::Image::dimension(), vl::Log::error(), IF_ALPHA, IF_BGR, IF_BGRA, IF_LUMINANCE, IF_LUMINANCE_ALPHA, IF_RGB, IF_RGBA, IT_UNSIGNED_BYTE, IT_UNSIGNED_SHORT, OM_WriteOnly, vl::VirtualFile::open(), VL_TRAP, and vl::VirtualFile::write().

bool vl::isDICOM | ( | VirtualFile * | file ) |

Checks if the given file is a DICOM file.

Definition at line 375 of file vlDICOM.cpp.

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

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

Definition at line 396 of file vlJPG.cpp.

References vl::VirtualFile::close(), vl::Log::error(), IF_LUMINANCE, IF_RGB, IT_UNSIGNED_BYTE, OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::String::toStdString(), and VL_CHECK.

Referenced by loadJPG(), and vl::LoadWriterJPG::loadResource().

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

Definition at line 503 of file vlJPG.cpp.

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

bool vl::isJPG | ( | VirtualFile * | file ) |

Definition at line 515 of file vlJPG.cpp.

References vl::VirtualFile::close(), vl::String::endsWith(), OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::VirtualFile::read(), and vl::String::toLowerCase().

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

Definition at line 527 of file vlJPG.cpp.

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

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

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

* Here we use the library-supplied code to send compressed data to a

Definition at line 533 of file vlJPG.cpp.

References vl::VirtualFile::close(), vl::Image::convertFormat(), vl::Image::convertType(), vl::Image::depth(), vl::Log::error(), vl::Image::format(), vl::ref< T >::get(), vl::Image::height(), IF_RGB, vl::Image::isCubemap(), IT_UNSIGNED_BYTE, OM_WriteOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::Image::pixels(), vl::Image::type(), and vl::Image::width().

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 vlPNG.cpp.

References vl::VirtualFile::close(), vl::Log::error(), IF_LUMINANCE, IF_LUMINANCE_ALPHA, IF_RGB, IF_RGBA, IT_UNSIGNED_BYTE, IT_UNSIGNED_SHORT, OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::VirtualFile::read(), vl::String::toStdString(), VL_CHECK, and VL_TRAP.

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

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

Definition at line 69 of file vlPNG.cpp.

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

bool vl::isPNG | ( | VirtualFile * | file ) |

Definition at line 379 of file vlPNG.cpp.

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

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

Definition at line 396 of file vlPNG.cpp.

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

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

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

Definition at line 402 of file vlPNG.cpp.

References vl::VirtualFile::close(), vl::Image::convertFormat(), vl::Image::convertType(), vl::Image::depth(), vl::Log::error(), vl::Image::format(), vl::ref< T >::get(), vl::Image::height(), IF_ALPHA, IF_LUMINANCE, IF_LUMINANCE_ALPHA, IF_RGB, IF_RGBA, vl::Image::isCubemap(), IT_FLOAT, IT_SHORT, IT_UNSIGNED_BYTE, IT_UNSIGNED_SHORT, OM_WriteOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::Image::pitch(), vl::Image::pixels(), vl::Image::type(), VL_CHECK, and vl::Image::width().

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

Definition at line 100 of file vlTGA.cpp.

References vl::VirtualFile::close(), convert8ToRGBA(), convertA1R5G5B5ToRGBA(), convertRGBToRGBA(), vl::Log::error(), IF_LUMINANCE, IF_RGBA, vl::Log::info(), IT_UNSIGNED_BYTE, OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::VirtualFile::read(), vl::VirtualFile::seekSet(), swapBytes32_BGRA_RGBA(), vl::String::toStdString(), and VL_CHECK.

Referenced by vl::LoadWriterTGA::loadResource(), and loadTGA().

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 vlTGA.cpp.

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

bool vl::isTGA | ( | VirtualFile * | file ) |

A TGA file is accepted only if it has a 'TGA' extension.

Definition at line 480 of file vlTGA.cpp.

References vl::VirtualFile::close(), vl::String::endsWith(), OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::VirtualFile::read(), vl::VirtualFile::seekEnd(), vl::String::toLowerCase(), and vl::Log::warning().

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

Definition at line 401 of file vlTGA.cpp.

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

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

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

Definition at line 407 of file vlTGA.cpp.

References vl::VirtualFile::close(), vl::Image::convertFormat(), vl::Image::convertType(), vl::Image::depth(), vl::Log::error(), vl::Image::format(), vl::ref< T >::get(), vl::Image::height(), IF_BGRA, vl::Image::isCubemap(), IT_UNSIGNED_BYTE, OM_WriteOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::Image::pixels(), vl::Image::requiredMemory(), vl::Image::type(), vl::Image::width(), vl::VirtualFile::write(), and vl::VirtualFile::writeUInt32().

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

Definition at line 119 of file vlTIFF.cpp.

References vl::VirtualFile::close(), IF_RGBA, IT_UNSIGNED_BYTE, OM_ReadOnly, and vl::VirtualFile::open().

Referenced by vl::LoadWriterTIFF::loadResource(), and loadTIFF().

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

Definition at line 107 of file vlTIFF.cpp.

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

bool vl::isTIFF | ( | VirtualFile * | file ) |

Definition at line 166 of file vlTIFF.cpp.

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

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

Definition at line 192 of file vlTIFF.cpp.

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

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

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

Definition at line 198 of file vlTIFF.cpp.

References vl::Image::bitsPerPixel(), vl::VirtualFile::close(), vl::Image::convertFormat(), vl::Image::convertType(), vl::Image::depth(), vl::Log::error(), vl::Image::format(), vl::ref< T >::get(), vl::Image::height(), IF_RGBA, vl::Image::isCubemap(), IT_UNSIGNED_BYTE, OM_WriteOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::Image::pitch(), vl::Image::pixels(), vl::Image::requiredMemory(), vl::Image::type(), vl::Image::width(), vl::VirtualFile::write(), vl::VirtualFile::writeUInt16(), and vl::VirtualFile::writeUInt32().

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.

template<typename T_Scalar >

Quaternion<T_Scalar> vl::operator* | ( | const Quaternion< T_Scalar > & | q1,
|  | const Quaternion< T_Scalar > & | q2
| ) |  | `[inline]`

Definition at line 487 of file Quaternion.hpp.

References vl::Quaternion< T_Scalar >::w(), vl::Quaternion< T_Scalar >::x(), vl::Quaternion< T_Scalar >::y(), and vl::Quaternion< T_Scalar >::z().

template<typename T_Scalar >

Vector3<T_Scalar> vl::operator* | ( | const Quaternion< T_Scalar > & | q,
|  | const Vector3< T_Scalar > & | v
| ) |  | `[inline]`

Definition at line 499 of file Quaternion.hpp.

References vl::Quaternion< T_Scalar >::w(), vl::Vector3< T_Scalar >::x(), vl::Quaternion< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), vl::Quaternion< T_Scalar >::y(), vl::Vector3< T_Scalar >::z(), and vl::Quaternion< T_Scalar >::z().

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().

bool vl::canLoad | ( | const String & | path ) |

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

Definition at line 156 of file LoadWriterManager.cpp.

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

bool vl::canWrite | ( | const String & | path ) |

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

Definition at line 158 of file LoadWriterManager.cpp.

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

bool vl::canLoad | ( | VirtualFile * | file ) |

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

Definition at line 160 of file LoadWriterManager.cpp.

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

bool vl::canWrite | ( | VirtualFile * | file ) |

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

Definition at line 162 of file LoadWriterManager.cpp.

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

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

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

Definition at line 164 of file LoadWriterManager.cpp.

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

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

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

Definition at line 166 of file LoadWriterManager.cpp.

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

String vl::operator+ | ( | const wchar_t * | pstr,
|  | const String & | str
| ) |  | `[inline]`

Definition at line 577 of file String.hpp.

String vl::operator+ | ( | const char * | pstr,
|  | const String & | str
| ) |  | `[inline]`

Definition at line 582 of file String.hpp.

String vl::operator+ | ( | wchar_t | ch,
|  | const String & | str
| ) |  | `[inline]`

Definition at line 587 of file String.hpp.

String vl::operator+ | ( | char | ch,
|  | const String & | str
| ) |  | `[inline]`

Definition at line 592 of file String.hpp.

float vl::fast1_inversesqrt | ( | float | x ) | `[inline]`

Definition at line 84 of file Vector2.hpp.

float vl::fast2_inversesqrt | ( | float | x ) | `[inline]`

Definition at line 94 of file Vector2.hpp.

Referenced by fast_sqrt().

float vl::fast_sqrt | ( | float | x ) | `[inline]`

Definition at line 105 of file Vector2.hpp.

References fast2_inversesqrt().

template<typename T >

const Vector2<T> vl::operator* | ( | T | val,
|  | const Vector2< T > & | v
| ) |  | `[inline]`

Definition at line 276 of file Vector2.hpp.

float vl::dot | ( | const fvec2 & | v1,
|  | const fvec2 & | v2
| ) |  | `[inline]`

Definition at line 306 of file Vector2.hpp.

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

float vl::min | ( | float | a,
|  | float | b
| ) |  | `[inline]`

Definition at line 311 of file Vector2.hpp.

Referenced by vl::Text::boundingRect(), clamp(), vl::String::compare(), isinf(), isinf_neg(), randomMinMax(), and vl::Buffer::resize().

double vl::min | ( | double | a,
|  | double | b
| ) |  | `[inline]`

Definition at line 312 of file Vector2.hpp.

int vl::min | ( | int | a,
|  | int | b
| ) |  | `[inline]`

Definition at line 313 of file Vector2.hpp.

unsigned int vl::min | ( | unsigned int | a,
|  | unsigned int | b
| ) |  | `[inline]`

Definition at line 314 of file Vector2.hpp.

float vl::max | ( | float | a,
|  | float | b
| ) |  | `[inline]`

Definition at line 315 of file Vector2.hpp.

Referenced by vl::Text::boundingRect(), clamp(), vl::Camera::computeNearFarOptimizedProjMatrix(), vl::String::find(), vl::Terrain::init(), vlQt4::Qt4Widget::initQt4Widget(), isinf(), isinf_pos(), vl::GLSLProgram::maxVertexAttribs(), and vl::GLSLShader::setSource().

double vl::max | ( | double | a,
|  | double | b
| ) |  | `[inline]`

Definition at line 316 of file Vector2.hpp.

int vl::max | ( | int | a,
|  | int | b
| ) |  | `[inline]`

Definition at line 317 of file Vector2.hpp.

unsigned int vl::max | ( | unsigned int | a,
|  | unsigned int | b
| ) |  | `[inline]`

Definition at line 318 of file Vector2.hpp.

float vl::clamp | ( | float | x,
|  | float | minval,
|  | float | maxval
| ) |  | `[inline]`

Definition at line 319 of file Vector2.hpp.

References max(), and min().

Referenced by vl::LinearInterpolator< T >::computePoint(), vl::CatmullRomInterpolator< T >::computePoint(), vl::EdgeExtractor::extractEdges(), genRGBAVolumeT(), vl::Matrix4< T_Scalar >::getRotation(), vl::Matrix4< T_Scalar >::getYXRotationAngles(), vl::Quaternion< T_Scalar >::setFromVectors(), smoothstep(), vl::Quaternion< T_Scalar >::toAxisAngle(), and vl::TrackballManipulator::trackballRotation().

double vl::clamp | ( | double | x,
|  | double | minval,
|  | double | maxval
| ) |  | `[inline]`

Definition at line 320 of file Vector2.hpp.

References max(), and min().

int vl::clamp | ( | int | x,
|  | int | minval,
|  | int | maxval
| ) |  | `[inline]`

Definition at line 321 of file Vector2.hpp.

References max(), and min().

unsigned int vl::clamp | ( | unsigned int | x,
|  | unsigned int | minval,
|  | unsigned int | maxval
| ) |  | `[inline]`

Definition at line 322 of file Vector2.hpp.

References max(), and min().

fvec2 vl::min | ( | const fvec2 & | a,
|  | const fvec2 & | b
| ) |  | `[inline]`

Definition at line 324 of file Vector2.hpp.

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

fvec2 vl::min | ( | const fvec2 & | a,
|  | float | b
| ) |  | `[inline]`

Definition at line 329 of file Vector2.hpp.

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

dvec2 vl::min | ( | const dvec2 & | a,
|  | double | b
| ) |  | `[inline]`

Definition at line 339 of file Vector2.hpp.

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

ivec2 vl::min | ( | const ivec2 & | a,
|  | int | b
| ) |  | `[inline]`

Definition at line 349 of file Vector2.hpp.

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

uvec2 vl::min | ( | const uvec2 & | a,
|  | unsigned int | b
| ) |  | `[inline]`

Definition at line 359 of file Vector2.hpp.

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

fvec2 vl::max | ( | const fvec2 & | a,
|  | const fvec2 & | b
| ) |  | `[inline]`

Definition at line 364 of file Vector2.hpp.

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

fvec2 vl::max | ( | const fvec2 & | a,
|  | float | b
| ) |  | `[inline]`

Definition at line 369 of file Vector2.hpp.

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

dvec2 vl::max | ( | const dvec2 & | a,
|  | double | b
| ) |  | `[inline]`

Definition at line 379 of file Vector2.hpp.

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

ivec2 vl::max | ( | const ivec2 & | a,
|  | int | b
| ) |  | `[inline]`

Definition at line 389 of file Vector2.hpp.

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

uvec2 vl::max | ( | const uvec2 & | a,
|  | unsigned int | b
| ) |  | `[inline]`

Definition at line 399 of file Vector2.hpp.

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

fvec2 vl::clamp | ( | const fvec2 & | x,
|  | float | minval,
|  | float | maxval
| ) |  | `[inline]`

Definition at line 404 of file Vector2.hpp.

References max(), and min().

fvec2 vl::clamp | ( | const fvec2 & | x,
|  | const fvec2 & | minval,
|  | const fvec2 & | maxval
| ) |  | `[inline]`

Definition at line 405 of file Vector2.hpp.

References max(), and min().

dvec2 vl::clamp | ( | const dvec2 & | x,
|  | double | minval,
|  | double | maxval
| ) |  | `[inline]`

Definition at line 406 of file Vector2.hpp.

References max(), and min().

ivec2 vl::clamp | ( | const ivec2 & | x,
|  | int | minval,
|  | int | maxval
| ) |  | `[inline]`

Definition at line 408 of file Vector2.hpp.

References max(), and min().

uvec2 vl::clamp | ( | const uvec2 & | x,
|  | unsigned int | minval,
|  | unsigned int | maxval
| ) |  | `[inline]`

Definition at line 410 of file Vector2.hpp.

References max(), and min().

template<typename T >

const Vector3<T> vl::operator* | ( | T | val,
|  | const Vector3< T > & | v
| ) |  | `[inline]`

Definition at line 230 of file Vector3.hpp.

float vl::dot | ( | const fvec3 & | v1,
|  | const fvec3 & | v2
| ) |  | `[inline]`

Definition at line 260 of file Vector3.hpp.

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

dvec3 vl::cross | ( | const fvec3 & | v1,
|  | const fvec3 & | v2
| ) |  | `[inline]`

Definition at line 265 of file Vector3.hpp.

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

Referenced by vl::PolygonSimplifier::computeCollapseInfo(), vl::PolygonSimplifier::Vertex::computeEdgePenalty(), vl::Portal::computeNormal(), vl::PolygonSimplifier::Triangle::computeNormal(), vl::Geometry::computeNormals(), vl::PolygonSimplifier::Triangle::computePotentialNormal(), vl::Camera::computeRayFrustum(), vl::Geometry::computeTangentSpace(), vl::Billboard::computeWorldMatrix(), vl::EdgeExtractor::extractEdges(), vl::Matrix4< T_Scalar >::getLookAt(), vl::Matrix4< T_Scalar >::getRotation(), vl::RayIntersector::intersectTriangle(), vl::RingExtractor::keepPlanarCycles(), vl::MarchingCubes::processCube(), vl::Quaternion< T_Scalar >::setFromVectors(), vl::TrackballManipulator::trackballRotation(), and vl::SceneManagerPortals::visitSector().

uvec3 vl::min | ( | const fvec3 & | a,
|  | const fvec3 & | b
| ) |  | `[inline]`

Definition at line 283 of file Vector3.hpp.

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

fvec3 vl::min | ( | const fvec3 & | a,
|  | float | b
| ) |  | `[inline]`

Definition at line 289 of file Vector3.hpp.

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

dvec3 vl::min | ( | const dvec3 & | a,
|  | double | b
| ) |  | `[inline]`

Definition at line 301 of file Vector3.hpp.

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

ivec3 vl::min | ( | const ivec3 & | a,
|  | int | b
| ) |  | `[inline]`

Definition at line 313 of file Vector3.hpp.

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

uvec3 vl::min | ( | const uvec3 & | a,
|  | unsigned int | b
| ) |  | `[inline]`

Definition at line 325 of file Vector3.hpp.

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

uvec3 vl::max | ( | const fvec3 & | a,
|  | const fvec3 & | b
| ) |  | `[inline]`

Definition at line 331 of file Vector3.hpp.

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

fvec3 vl::max | ( | const fvec3 & | a,
|  | float | b
| ) |  | `[inline]`

Definition at line 337 of file Vector3.hpp.

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

dvec3 vl::max | ( | const dvec3 & | a,
|  | double | b
| ) |  | `[inline]`

Definition at line 349 of file Vector3.hpp.

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

ivec3 vl::max | ( | const ivec3 & | a,
|  | int | b
| ) |  | `[inline]`

Definition at line 361 of file Vector3.hpp.

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

uvec3 vl::max | ( | const uvec3 & | a,
|  | unsigned int | b
| ) |  | `[inline]`

Definition at line 373 of file Vector3.hpp.

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

fvec3 vl::clamp | ( | const fvec3 & | x,
|  | float | minval,
|  | float | maxval
| ) |  | `[inline]`

Definition at line 379 of file Vector3.hpp.

References max(), and min().

uvec3 vl::clamp | ( | const fvec3 & | x,
|  | const fvec3 & | minval,
|  | const fvec3 & | maxval
| ) |  | `[inline]`

Definition at line 380 of file Vector3.hpp.

References max(), and min().

dvec3 vl::clamp | ( | const dvec3 & | x,
|  | double | minval,
|  | double | maxval
| ) |  | `[inline]`

Definition at line 382 of file Vector3.hpp.

References max(), and min().

ivec3 vl::clamp | ( | const ivec3 & | x,
|  | int | minval,
|  | int | maxval
| ) |  | `[inline]`

Definition at line 384 of file Vector3.hpp.

References max(), and min().

uvec3 vl::clamp | ( | const uvec3 & | x,
|  | unsigned int | minval,
|  | unsigned int | maxval
| ) |  | `[inline]`

Definition at line 385 of file Vector3.hpp.

References max(), and min().

template<typename T >

const Vector4<T> vl::operator* | ( | T | val,
|  | const Vector4< T > & | v
| ) |  | `[inline]`

Definition at line 256 of file Vector4.hpp.

float vl::dot | ( | const fvec4 & | v1,
|  | const fvec4 & | v2
| ) |  | `[inline]`

Definition at line 286 of file Vector4.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

ivec4 vl::min | ( | const fvec4 & | a,
|  | const fvec4 & | b
| ) |  | `[inline]`

Definition at line 291 of file Vector4.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

fvec4 vl::min | ( | const fvec4 & | a,
|  | float | b
| ) |  | `[inline]`

Definition at line 298 of file Vector4.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

dvec4 vl::min | ( | const dvec4 & | a,
|  | double | b
| ) |  | `[inline]`

Definition at line 312 of file Vector4.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

ivec4 vl::min | ( | const ivec4 & | a,
|  | int | b
| ) |  | `[inline]`

Definition at line 326 of file Vector4.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

uvec4 vl::min | ( | const uvec4 & | a,
|  | unsigned int | b
| ) |  | `[inline]`

Definition at line 340 of file Vector4.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

ivec4 vl::max | ( | const fvec4 & | a,
|  | const fvec4 & | b
| ) |  | `[inline]`

Definition at line 347 of file Vector4.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

fvec4 vl::max | ( | const fvec4 & | a,
|  | float | b
| ) |  | `[inline]`

Definition at line 354 of file Vector4.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

dvec4 vl::max | ( | const dvec4 & | a,
|  | double | b
| ) |  | `[inline]`

Definition at line 368 of file Vector4.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

ivec4 vl::max | ( | const ivec4 & | a,
|  | int | b
| ) |  | `[inline]`

Definition at line 382 of file Vector4.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

uvec4 vl::max | ( | const uvec4 & | a,
|  | unsigned int | b
| ) |  | `[inline]`

Definition at line 396 of file Vector4.hpp.

References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().

fvec4 vl::clamp | ( | const fvec4 & | x,
|  | float | minval,
|  | float | maxval
| ) |  | `[inline]`

Definition at line 403 of file Vector4.hpp.

References max(), and min().

ivec4 vl::clamp | ( | const fvec4 & | x,
|  | const fvec4 & | minval,
|  | const fvec4 & | maxval
| ) |  | `[inline]`

Definition at line 404 of file Vector4.hpp.

References max(), and min().

dvec4 vl::clamp | ( | const dvec4 & | x,
|  | double | minval,
|  | double | maxval
| ) |  | `[inline]`

Definition at line 405 of file Vector4.hpp.

References max(), and min().

ivec4 vl::clamp | ( | const ivec4 & | x,
|  | int | minval,
|  | int | maxval
| ) |  | `[inline]`

Definition at line 407 of file Vector4.hpp.

References max(), and min().

uvec4 vl::clamp | ( | const uvec4 & | x,
|  | unsigned int | minval,
|  | unsigned int | maxval
| ) |  | `[inline]`

Definition at line 409 of file Vector4.hpp.

References max(), and min().

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

Utility function, equivalent to `vl::defFileSystem()->locateFile(path)`

Definition at line 41 of file VirtualFile.cpp.

References defFileSystem(), and vl::FileSystem::locateFile().

Referenced by isDAT(), loadMOL2(), vl::LoadWriterManager::loadResource(), vl::GZipCodec::open(), and vl::GLSLShader::setSource().

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 254 of file init_core.cpp.

VLSettings * vl::globalSettings | ( | ) |

Returns VisulizationLibrary's global settings.

Definition at line 107 of file init_core.cpp.

Referenced by vl::Log::bug(), vl::FBORenderTarget::checkFramebufferStatus(), vl::Log::debug(), vl::Log::error(), vl::Log::info(), vl::VisualizationLibrary::initCore(), vl::OpenGLContext::logOpenGLInfo(), vl::Log::logSystemInfo(), vl::Log::print(), vl::OpenGLContext::resetContextStates(), vl::VisualizationLibrary::shutdownCore(), and vl::Log::warning().

FontManager * vl::defFontManager | ( | ) |

Returns the default FontManager used by Visualization Library.

Definition at line 72 of file init_graphics.cpp.

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

void vl::setDefFontManager | ( | FontManager * | fm ) |

Sets the default FontManager used by Visualization Library.

Definition at line 76 of file init_graphics.cpp.

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

Creates a box.

Definition at line 510 of file GeometryPrimitives.cpp.

References vl::ref< T >::get(), and PT_QUADS.

Referenced by vl::VolumePlot::compute(), and makeBox().

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

Creates a box.

Definition at line 505 of file GeometryPrimitives.cpp.

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

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

Creates a box.

Definition at line 500 of file GeometryPrimitives.cpp.

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

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

Creates a cone.

Definition at line 602 of file GeometryPrimitives.cpp.

References vl::ref< T >::get(), vl::Matrix4< GLfloat >::getRotation(), and PT_TRIANGLE_FAN.

ref< Geometry > vl::makePyramid | ( | const vec3 & | origin,
|  | Real | side = `1`,
|  | Real | height = `1`
| ) |  |

Creates a pyramid.

Definition at line 569 of file GeometryPrimitives.cpp.

References vl::ref< T >::get(), and PT_TRIANGLES.

ref< Geometry > vl::makeIcosahedron | ( | const vec3 & | origin,
|  | Real | diameter
| ) |  |

Creates an icosahedron.

Definition at line 737 of file GeometryPrimitives.cpp.

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

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

Creates a sphere by iteratively subdividing an icosahedron.

`detail` can be between 0 ( = icosahedron) and 8 (extremely detailed sphere) a value of 2 yelds already very good results.

Definition at line 42 of file GeometryPrimitives.cpp.

References vl::ref< T >::get(), vl::Vector3< T_Scalar >::normalize(), PT_TRIANGLES, vl::DoubleVertexRemover::removeDoubles(), and VL_CHECK.

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

Creates a uv sphere.

Definition at line 275 of file GeometryPrimitives.cpp.

References vl::ref< T >::get(), vl::Matrix4< GLfloat >::getRotation(), PT_QUADS, and PT_TRIANGLES.

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`
| ) |  |

Creates a cylinder.

Definition at line 342 of file GeometryPrimitives.cpp.

References vl::ref< T >::get(), vl::Matrix4< GLfloat >::getRotation(), PT_QUADS, and PT_TRIANGLE_FAN.

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`
| ) |  |

Creates torus. This function generates also appropriate normals.

Definition at line 431 of file GeometryPrimitives.cpp.

References vl::ref< T >::get(), vl::Matrix4< GLfloat >::getRotation(), vl::Vector3< T_Scalar >::normalize(), and PT_QUADS.

VLGRAPHICS_EXPORT ref<Geometry> vl::makeCapsule | ( | 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.

ref< Geometry > vl::makeTeapot | ( | const vec3 & | origin,
|  | Real | diameter = `1`,
|  | int | detail = `8`
| ) |  |

Creates a classic Newell's teapot.

Definition at line 143 of file GeometryPrimitives.cpp.

References vl::ref< T >::get(), vl::Matrix4< GLfloat >::getRotation(), vl::Matrix4< GLfloat >::getScaling(), vl::Matrix4< GLfloat >::getTranslation(), vl::DoubleVertexRemover::removeDoubles(), and VL_CHECK.

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)`
| ) |  |

Creates a 2D grid.

Note:
  if tex_coord_scale_u and tex_coord_scale_v are both == 0 no texture coordinate is generated

Definition at line 657 of file GeometryPrimitives.cpp.

References vl::ref< T >::get(), PT_QUADS, vl::Vector2< T_Scalar >::s(), vl::Vector2< T_Scalar >::t(), and VL_CHECK.

Referenced by vl::Terrain::init().

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

Creates a set of points.

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

Creates a 2D circle.

Definition at line 784 of file GeometryPrimitives.cpp.

References vl::ref< T >::get(), vl::Matrix4< GLfloat >::getRotation(), and PT_LINE_LOOP.

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

Definition at line 38 of file OpenGL.cpp.

void vl::VL_glBindBuffer | ( | GLenum | target,
|  | GLuint | buffer
| ) |  | `[inline]`

Definition at line 63 of file OpenGL.hpp.

References VL_CHECK.

Referenced by vl::OpenGLContext::bindVAS(), vl::GLBufferObject::mapGPUBuffer(), readPixels(), vl::MultiDrawElements< GL_UNSIGNED_BYTE, ArrayUByte1 >::render(), vl::DrawRangeElements< GLuint, GL_UNSIGNED_INT, ArrayUInt1 >::render(), vl::DrawElements< GL_UNSIGNED_BYTE, ArrayUByte1 >::render(), vl::DrawPixels::render_Implementation(), vl::GLBufferObject::setBufferData(), vl::GLBufferObject::setBufferSubData(), and vl::GLBufferObject::unmapGPUBuffer().

void vl::VL_glGenBuffers | ( | GLsizei | n,
|  | GLuint * | buffers
| ) |  | `[inline]`

Definition at line 76 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::GLBufferObject::createGLBufferObject().

void vl::VL_glDeleteBuffers | ( | GLsizei | n,
|  | const GLuint * | buffers
| ) |  | `[inline]`

Definition at line 87 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::GLBufferObject::deleteGLBufferObject().

void vl::VL_glBufferData | ( | GLenum | target,
|  | GLsizeiptr | size,
|  | const GLvoid * | data,
|  | GLenum | usage
| ) |  | `[inline]`

Definition at line 98 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::GLBufferObject::setBufferData().

void vl::VL_glBufferSubData | ( | GLenum | target,
|  | GLintptr | offset,
|  | GLsizeiptr | size,
|  | const GLvoid * | data
| ) |  | `[inline]`

Definition at line 109 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::GLBufferObject::setBufferSubData().

void* vl::VL_glMapBuffer | ( | GLenum | target,
|  | GLenum | access
| ) |  | `[inline]`

Definition at line 120 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::GLBufferObject::mapGPUBuffer().

GLboolean vl::VL_glUnmapBuffer | ( | GLenum | target ) | `[inline]`

Definition at line 132 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::GLBufferObject::unmapGPUBuffer().

void vl::VL_glSecondaryColor3f | ( | float | r,
|  | float | g,
|  | float | b
| ) |  | `[inline]`

Definition at line 146 of file OpenGL.hpp.

References VL_TRAP.

void vl::VL_glSecondaryColorPointer | ( | GLint | size,
|  | GLenum | type,
|  | GLsizei | stride,
|  | const GLvoid * | pointer
| ) |  | `[inline]`

Definition at line 157 of file OpenGL.hpp.

References VL_TRAP.

void vl::VL_glFogCoordPointer | ( | GLenum | type,
|  | GLsizei | stride,
|  | GLvoid * | pointer
| ) |  | `[inline]`

Definition at line 170 of file OpenGL.hpp.

References VL_TRAP.

void vl::VL_glEnableVertexAttribArray | ( | GLuint | index ) | `[inline]`

Definition at line 183 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::OpenGLContext::bindVAS().

void vl::VL_glDisableVertexAttribArray | ( | GLuint | index ) | `[inline]`

Definition at line 194 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::OpenGLContext::bindVAS().

void vl::VL_glVertexAttribPointer | ( | GLuint | index,
|  | GLint | size,
|  | GLenum | type,
|  | GLboolean | normalized,
|  | GLsizei | stride,
|  | const GLvoid * | pointer
| ) |  | `[inline]`

Definition at line 207 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::OpenGLContext::bindVAS().

void vl::VL_glVertexAttribIPointer | ( | GLuint | name,
|  | GLint | size,
|  | GLenum | type,
|  | GLsizei | stride,
|  | const GLvoid * | pointer
| ) |  | `[inline]`

Definition at line 218 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::OpenGLContext::bindVAS().

void vl::VL_glVertexAttribLPointer | ( | GLuint | name,
|  | GLint | size,
|  | GLenum | type,
|  | GLsizei | stride,
|  | const GLvoid * | pointer
| ) |  | `[inline]`

Definition at line 229 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::OpenGLContext::bindVAS().

void vl::VL_glClientActiveTexture | ( | GLenum | texture ) | `[inline]`

Definition at line 242 of file OpenGL.hpp.

References VL_CHECK.

Referenced by vl::OpenGLContext::bindVAS(), vl::OpenGLContext::isCleanState(), vl::Renderer::render(), and vl::Text::renderText().

void vl::VL_glActiveTexture | ( | GLenum | texture ) | `[inline]`

Definition at line 255 of file OpenGL.hpp.

References VL_CHECK.

Referenced by vl::TextureUnit::apply(), vl::TextureMatrix::apply(), vl::TexGen::apply(), vl::TexEnv::apply(), vl::OpenGLContext::isCleanState(), vl::Renderer::render(), and vl::Text::renderText().

void vl::VL_glBlendFuncSeparate | ( | GLenum | srcRGB,
|  | GLenum | dstRGB,
|  | GLenum | srcAlpha,
|  | GLenum | dstAlpha
| ) |  | `[inline]`

Definition at line 270 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::BlendFunc::apply().

void vl::VL_glBlendEquationSeparate | ( | GLenum | modeRGB,
|  | GLenum | modeAlpha
| ) |  | `[inline]`

Definition at line 281 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::BlendEquation::apply().

void vl::VL_glBlendEquation | ( | GLenum | mode ) | `[inline]`

Definition at line 292 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::BlendEquation::apply().

void vl::VL_glBlendColor | ( | GLclampf | red,
|  | GLclampf | green,
|  | GLclampf | blue,
|  | GLclampf | alpha
| ) |  | `[inline]`

Definition at line 303 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::BlendColor::apply().

void vl::VL_glPointParameterfv | ( | GLenum | pname,
|  | const GLfloat * | params
| ) |  | `[inline]`

Definition at line 316 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::PointParameter::apply().

void vl::VL_glPointParameterf | ( | GLenum | pname,
|  | GLfloat | param
| ) |  | `[inline]`

Definition at line 330 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::PointParameter::apply().

void vl::VL_glPointParameteri | ( | GLenum | pname,
|  | GLenum | param
| ) |  | `[inline]`

Definition at line 344 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::PointParameter::apply().

void vl::VL_glStencilFuncSeparate | ( | GLenum | face,
|  | GLenum | func,
|  | GLint | ref,
|  | GLuint | mask
| ) |  | `[inline]`

Definition at line 357 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::StencilFunc::apply().

void vl::VL_glStencilOpSeparate | ( | GLenum | face,
|  | GLenum | sfail,
|  | GLenum | dpfail,
|  | GLenum | dppass
| ) |  | `[inline]`

Definition at line 370 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::StencilOp::apply().

void vl::VL_glSampleCoverage | ( | GLclampf | value,
|  | GLboolean | invert
| ) |  | `[inline]`

Definition at line 385 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::SampleCoverage::apply().

void vl::VL_glBindRenderbuffer | ( | GLenum | target,
|  | GLuint | renderbuffer
| ) |  | `[inline]`

Definition at line 398 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::FBORenderbufferAttachment::initStorage().

void vl::VL_glDeleteRenderbuffers | ( | GLsizei | n,
|  | const GLuint * | renderbuffers
| ) |  | `[inline]`

Definition at line 409 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::FBORenderbufferAttachment::destroy().

void vl::VL_glGenRenderbuffers | ( | GLsizei | n,
|  | GLuint * | renderbuffers
| ) |  | `[inline]`

Definition at line 420 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::FBORenderbufferAttachment::create().

void vl::VL_glRenderbufferStorage | ( | GLenum | target,
|  | GLenum | internalformat,
|  | GLsizei | width,
|  | GLsizei | height
| ) |  | `[inline]`

Definition at line 431 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::FBORenderbufferAttachment::initStorage().

void vl::VL_glGetRenderbufferParameteriv | ( | GLenum | target,
|  | GLenum | pname,
|  | GLint * | params
| ) |  | `[inline]`

Definition at line 442 of file OpenGL.hpp.

References VL_TRAP.

GLboolean vl::VL_glIsFramebuffer | ( | GLuint | framebuffer ) | `[inline]`

Definition at line 453 of file OpenGL.hpp.

References VL_TRAP.

void vl::VL_glBindFramebuffer | ( | GLenum | target,
|  | GLuint | framebuffer
| ) |  | `[inline]`

Definition at line 465 of file OpenGL.hpp.

References VL_CHECK.

Referenced by vl::RenderTarget::bindFramebuffer(), vl::FBORenderTarget::bindFramebuffer(), vl::BlitFramebuffer::copyPixels(), vl::FBORenderTarget::destroy(), vl::FBORenderTarget::removeAttachment(), and vl::OpenGLContext::resetContextStates().

void vl::VL_glDeleteFramebuffers | ( | GLsizei | n,
|  | const GLuint * | framebuffers
| ) |  | `[inline]`

Definition at line 478 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::FBORenderTarget::destroy().

void vl::VL_glGenFramebuffers | ( | GLsizei | n,
|  | GLuint * | framebuffers
| ) |  | `[inline]`

Definition at line 489 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::FBORenderTarget::create().

GLenum vl::VL_glCheckFramebufferStatus | ( | GLenum | target ) | `[inline]`

Definition at line 500 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::FBORenderTarget::bindFramebuffer(), and vl::FBORenderTarget::checkFramebufferStatus().

void vl::VL_glFramebufferTexture1D | ( | GLenum | target,
|  | GLenum | attachment,
|  | GLenum | textarget,
|  | GLuint | texture,
|  | GLint | level
| ) |  | `[inline]`

Definition at line 513 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::FBOTexture1DAttachment::bindAttachment().

void vl::VL_glFramebufferTexture2D | ( | GLenum | target,
|  | GLenum | attachment,
|  | GLenum | textarget,
|  | GLuint | texture,
|  | GLint | level
| ) |  | `[inline]`

Definition at line 524 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::FBOTexture2DAttachment::bindAttachment().

void vl::VL_glFramebufferTexture3D | ( | GLenum | target,
|  | GLenum | attachment,
|  | GLenum | textarget,
|  | GLuint | texture,
|  | GLint | level,
|  | GLint | zoffset
| ) |  | `[inline]`

Definition at line 535 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::FBOTexture3DAttachment::bindAttachment().

void vl::VL_glFramebufferRenderbuffer | ( | GLenum | target,
|  | GLenum | attachment,
|  | GLenum | renderbuffertarget,
|  | GLuint | renderbuffer
| ) |  | `[inline]`

Definition at line 546 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::FBORenderbufferAttachment::bindAttachment(), and vl::FBORenderTarget::removeAttachment().

void vl::VL_glGetFramebufferAttachmentParameteriv | ( | GLenum | target,
|  | GLenum | attachment,
|  | GLenum | pname,
|  | GLint * | params
| ) |  | `[inline]`

Definition at line 557 of file OpenGL.hpp.

References VL_TRAP.

void vl::VL_glGenerateMipmap | ( | GLenum | target ) | `[inline]`

Definition at line 568 of file OpenGL.hpp.

References VL_TRAP.

void vl::VL_glFramebufferTexture | ( | GLenum | target,
|  | GLenum | attachment,
|  | GLuint | texture,
|  | GLint | level
| ) |  | `[inline]`

Definition at line 579 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::FBOTextureAttachment::bindAttachment().

void vl::VL_glFramebufferTextureLayer | ( | GLenum | target,
|  | GLenum | attachment,
|  | GLuint | texture,
|  | GLint | level,
|  | GLint | layer
| ) |  | `[inline]`

Definition at line 591 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::FBOTextureLayerAttachment::bindAttachment().

void vl::VL_glRenderbufferStorageMultisample | ( | GLenum | target,
|  | GLsizei | samples,
|  | GLenum | internalformat,
|  | GLsizei | width,
|  | GLsizei | height
| ) |  | `[inline]`

Definition at line 606 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::FBORenderbufferAttachment::initStorage().

void vl::VL_glBlitFramebuffer | ( | GLint | srcX0,
|  | GLint | srcY0,
|  | GLint | srcX1,
|  | GLint | srcY1,
|  | GLint | dstX0,
|  | GLint | dstY0,
|  | GLint | dstX1,
|  | GLint | dstY1,
|  | GLbitfield | mask,
|  | GLenum | filter
| ) |  | `[inline]`

Definition at line 617 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::BlitFramebuffer::copyPixels().

void vl::VL_glDrawElementsInstanced | ( | GLenum | mode,
|  | GLsizei | count,
|  | GLenum | type,
|  | const GLvoid * | indices,
|  | GLsizei | primcount
| ) |  | `[inline]`

Definition at line 630 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::DrawElements< GL_UNSIGNED_BYTE, ArrayUByte1 >::render().

void vl::VL_glDrawElementsInstancedBaseVertex | ( | GLenum | mode,
|  | GLsizei | count,
|  | GLenum | type,
|  | const GLvoid * | indices,
|  | GLsizei | primcount,
|  | int | basevertex
| ) |  | `[inline]`

Definition at line 644 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::DrawElements< GL_UNSIGNED_BYTE, ArrayUByte1 >::render().

void vl::VL_glDrawElementsBaseVertex | ( | GLenum | mode,
|  | GLsizei | count,
|  | GLenum | type,
|  | const GLvoid * | indices,
|  | int | basevertex
| ) |  | `[inline]`

Definition at line 652 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::DrawElements< GL_UNSIGNED_BYTE, ArrayUByte1 >::render().

void vl::VL_glDrawRangeElementsBaseVertex | ( | GLenum | mode,
|  | GLuint | start,
|  | GLuint | end,
|  | GLsizei | count,
|  | GLenum | type,
|  | const GLvoid * | indices,
|  | int | basevertex
| ) |  | `[inline]`

Definition at line 660 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::DrawRangeElements< GLuint, GL_UNSIGNED_INT, ArrayUInt1 >::render().

void vl::VL_glDrawArraysInstanced | ( | GLenum | mode,
|  | GLint | first,
|  | GLsizei | count,
|  | GLsizei | primcount
| ) |  | `[inline]`

Definition at line 668 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::DrawArrays::render().

void vl::VL_glProgramParameteri | ( | GLuint | program,
|  | GLenum | pname,
|  | GLint | value
| ) |  | `[inline]`

Definition at line 684 of file OpenGL.hpp.

References VL_TRAP.

void vl::VL_glBindFragDataLocation | ( | GLuint | program,
|  | GLuint | colorNumber,
|  | const GLchar * | name
| ) |  | `[inline]`

Definition at line 695 of file OpenGL.hpp.

References VL_TRAP.

void vl::VL_glUniform1uiv | ( | GLint | location,
|  | GLsizei | count,
|  | const GLuint * | value
| ) |  | `[inline]`

Definition at line 706 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::GLSLProgram::applyUniformSet().

void vl::VL_glUniform2uiv | ( | GLint | location,
|  | GLsizei | count,
|  | const GLuint * | value
| ) |  | `[inline]`

Definition at line 717 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::GLSLProgram::applyUniformSet().

void vl::VL_glUniform3uiv | ( | GLint | location,
|  | GLsizei | count,
|  | const GLuint * | value
| ) |  | `[inline]`

Definition at line 728 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::GLSLProgram::applyUniformSet().

void vl::VL_glUniform4uiv | ( | GLint | location,
|  | GLsizei | count,
|  | const GLuint * | value
| ) |  | `[inline]`

Definition at line 739 of file OpenGL.hpp.

References VL_TRAP.

Referenced by vl::GLSLProgram::applyUniformSet().

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

Definition at line 694 of file vl3DS.cpp.

References BF_ONE_MINUS_SRC_ALPHA, BF_SRC_ALPHA, EN_BLEND, EN_DEPTH_TEST, vl::Log::error(), vl::ref< T >::get(), vl::A3DSVertex::mIndex, vl::A3DSLoader::mMaterials, vl::A3DSLoader::mObjects, vl::A3DSVertex::mSmoothingGroup, vl::A3DSLoader::parse3DS(), TF_RGBA, vl::String::toStdString(), TPW_CLAMP, TPW_REPEAT, and VL_CHECK.

Referenced by load3DS(), and vl::LoadWriter3DS::loadResource().

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

Definition at line 682 of file vl3DS.cpp.

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

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 vlAC3D.cpp.

References BF_ONE_MINUS_SRC_ALPHA, BF_SRC_ALPHA, defFileSystem(), EN_BLEND, EN_CULL_FACE, EN_DEPTH_TEST, vl::String::extractPath(), vl::ref< T >::get(), vl::FileSystem::locateFile(), vl::VirtualFile::path(), TF_RGBA, and VL_CHECK.

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

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 vlAC3D.cpp.

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

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

Definition at line 126 of file vlMD2.cpp.

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

Referenced by vl::LoadWriterMD2::loadResource().

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

Definition at line 139 of file vlMD2.cpp.

References vl::Array< T_VectorType, T_Scalar, T_GL_Size, T_GL_Type >::at(), vl::VirtualFile::close(), vl::Log::error(), vl::ref< T >::get(), vl::DoubleVertexRemover::mapOldToNew(), OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::Log::print(), vl::VirtualFile::read(), vl::DoubleVertexRemover::removeDoubles(), vl::Array< T_VectorType, T_Scalar, T_GL_Size, T_GL_Type >::resize(), vl::VirtualFile::seekSet(), vl::Array< T_VectorType, T_Scalar, T_GL_Size, T_GL_Type >::size(), VL_CHECK, vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().

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

Loads a Wavefront OBJ file. See also ObjLoader.

Definition at line 886 of file vlOBJ.cpp.

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

Referenced by vl::LoadWriterOBJ::loadResource().

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

Loads a Wavefront OBJ file. See also ObjLoader.

Definition at line 898 of file vlOBJ.cpp.

References vl::ObjLoader::loadOBJ().

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

Definition at line 58 of file vlPLY.cpp.

References vl::PlyLoader::loadPly().

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

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

Definition at line 45 of file vlPLY.cpp.

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

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

Definition at line 59 of file vlSTL.cpp.

References vl::STLLoader::loadSTL().

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

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

Definition at line 46 of file vlSTL.cpp.

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

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::GLBufferObject::handle(), vl::Image::height(), ID_2D, vl::Image::imageBuffer(), vl::Image::pixels(), vl::Log::print(), vl::Image::requiredMemory2D(), vl::Image::reset(), vl::GLBufferObject::setBufferData(), vl::Image::type(), vl::GLBufferObject::usage(), VL_CHECK_OGL, VL_glBindBuffer(), VL_TRAP, and vl::Image::width().

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

Returns an AtomInfo representing the properties of the given atom type.

Definition at line 160 of file chem_database.cpp.

Referenced by vl::Molecule::setCalculatedAtomRadii(), vl::Molecule::setCovalentAtomRadii(), vl::Molecule::setCPKAtomColors(), vl::Molecule::setEmpiricalAtomRadii(), and vl::Molecule::setVanDerWaalsAtomRadii().

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

Translates a string containing atom type name, atom symbol or a Sybyl type into an EAtomType.

Definition at line 162 of file chem_database.cpp.

References AT_Carbon, AT_Chromium, AT_Cobalt, AT_Count, AT_Hydrogen, AT_Nitrogen, AT_Oxygen, AT_Sulfur, AT_Unknown, vl::AtomInfo::name(), vl::AtomInfo::symbol(), vl::String::toStdString(), vl::String::trim(), and vl::AtomInfo::type().

Referenced by vl::Molecule::setCalculatedAtomRadii(), vl::Molecule::setCovalentAtomRadii(), vl::Molecule::setCPKAtomColors(), vl::Molecule::setEmpiricalAtomRadii(), and vl::Molecule::setVanDerWaalsAtomRadii().

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::Log::error(), vl::ref< T >::get(), locateFile(), and OM_ReadOnly.

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::VirtualFile::close(), vl::Log::error(), vl::VirtualFile::path(), vl::TextStream::readLine(), vl::BufferedStream< Element_Type, Chunk_Size >::seek(), and vl::BufferedStream< Element_Type, Chunk_Size >::setInputFile().

VLVOLUME_EXPORT 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:

  data | The 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.
  trfunc | An 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_dir | The direction of the light in object space.
  alpha_from_data | If set to true the `alpha` channel of the generated image will be taken from `data` otherwise from the transfer function.

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:

  data | The 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.
  trfunc | An 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_data | If 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::Log::error(), IT_FLOAT, IT_UNSIGNED_BYTE, IT_UNSIGNED_SHORT, and vl::Image::type().

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 300 of file VolumeUtils.cpp.

References vl::Image::depth(), vl::Image::height(), IF_RGB, IT_FLOAT, normalize(), 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().

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.

template<typename data_type , EImageType img_type>

ref< Image > vl::genRGBAVolumeT | ( | const Image * | data,
|  | const Image * | trfunc,
|  | bool | alpha_from_data
| ) |  |

Internally used.

Definition at line 201 of file VolumeUtils.cpp.

References vl::Vector4< T_Scalar >::a(), vl::Vector4< T_Scalar >::b(), clamp(), vl::Log::error(), fract(), vl::Vector4< T_Scalar >::g(), ID_1D, ID_3D, IF_LUMINANCE, IF_RGBA, IT_FLOAT, IT_UNSIGNED_BYTE, IT_UNSIGNED_SHORT, vl::Vector4< T_Scalar >::r(), and VL_CHECK.

## Variable Documentation

const double vl::dPi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093845

Greek Pi constant using `double` precision.

Definition at line 59 of file Vector2.hpp.

Referenced by vl::VectorGraphics::drawEllipse(), and vl::VectorGraphics::fillEllipse().

const double vl::dDEG_TO_RAD = dPi / 180.0

Constant to convert degrees into radians using `double` precision.

Definition at line 61 of file Vector2.hpp.

Referenced by vl::Matrix4< T_Scalar >::getPerspective(), vl::Matrix4< T_Scalar >::getRotation(), vl::Matrix3< T_Scalar >::getRotation(), radians(), and vl::Quaternion< T_Scalar >::setFromAxisAngle().

const double vl::dRAD_TO_DEG = 180.0 / dPi

Constant to convert radians into degrees using `double` precision.

Definition at line 63 of file Vector2.hpp.

Referenced by degrees(), vl::Matrix4< T_Scalar >::getRotation(), vl::Matrix4< T_Scalar >::getYXRotationAngles(), vl::Quaternion< T_Scalar >::setFromVectors(), vl::Quaternion< T_Scalar >::toAxisAngle(), and vl::TrackballManipulator::trackballRotation().

const float vl::fPi = (float)3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093845

Greek Pi constant using `float` precision.

Definition at line 66 of file Vector2.hpp.

Referenced by vl::EdgeExtractor::extractEdges().

const float vl::fDEG_TO_RAD = float(dPi / 180.0)

Constant to convert degrees into radians using `float` precision.

Definition at line 68 of file Vector2.hpp.

const float vl::fRAD_TO_DEG = float(180.0 / dPi)

Constant to convert radians into degrees using `float` precision.

Definition at line 70 of file Vector2.hpp.

vl::Glyph vl::ft_errors[]

Visualization Library v2011.05.1142 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Thu May 26 2011 22:51:31.
Permission is granted to use this page to write and publish articles regarding Visualization Library.