Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Visualization Library namespace. More...
Namespaces | |
namespace | Dae |
Classes | |
class | AABB |
The AABB class implements an axis-aligned bounding box using vl::real precision. 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 fvec4 values using a CatmullRomInterpolator. More... | |
class | CatmullRomInterpolatorFVec3 |
Interpolates fvec3 values using a CatmullRomInterpolator. More... | |
class | CatmullRomInterpolatorFVec2 |
Interpolates fvec2 values using a CatmullRomInterpolator. More... | |
class | CatmullRomInterpolatorFloat |
Interpolates float values using a CatmullRomInterpolator. More... | |
class | CatmullRomInterpolatorDVec4 |
Interpolates dvec4 values using a CatmullRomInterpolator. More... | |
class | CatmullRomInterpolatorDVec3 |
Interpolates dvec3 values using a CatmullRomInterpolator. More... | |
class | CatmullRomInterpolatorDVec2 |
Interpolates 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 | Flags |
Simple class to manage flags in a type safe manner. More... | |
class | GlobalSettings |
Global application settings controlling how Visualization Library behaves. 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 fvec4 values using a LinearInterpolator. More... | |
class | LinearInterpolatorFVec3 |
Interpolates fvec3 values using a LinearInterpolator. More... | |
class | LinearInterpolatorFVec2 |
Interpolates fvec2 values using a LinearInterpolator. More... | |
class | LinearInterpolatorFloat |
Interpolates float values using a LinearInterpolator. More... | |
class | LinearInterpolatorDVec4 |
Interpolates dvec4 values using a LinearInterpolator. More... | |
class | LinearInterpolatorDVec3 |
Interpolates dvec3 values using a LinearInterpolator. More... | |
class | LinearInterpolatorDVec2 |
Interpolates 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 | MersenneTwister |
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 |
Cryptographic 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 | radian |
Simple class representing quantities in radians, converts automatically to vl::degree and real. More... | |
class | degree |
Simple class representing quantities in degrees, converts automatically to vl::radian and real. 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 | Transform |
Implements a 4x4 matrix transform used to define the position and orientation of an Actor. More... | |
struct | TypeInfo |
Represents a class type. 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 | VLTToken |
A token of information as defined by VLT specification. More... | |
class | VLTTokenizer |
Tokenizer used to parse VLT files. More... | |
class | VLXClassWrapper |
Base cass for all class wrappers implementing the translation to/from its VLX representation. More... | |
class | VLXLinker |
Links several VLX hierachies also resolving IDs across them. More... | |
class | VLXParser |
Base class for VLX parsers. More... | |
class | VLXParserVLB |
Parses a VLT file translating it into a VLX hierarchy. More... | |
class | VLXParserVLT |
Parses a VLT file translating it into a VLX hierarchy. More... | |
class | VLXRegistry |
Registry of vl::VLXClassWrapper objects, used by vl::VLXSerializer, see also vl::defVLXRegistry(). More... | |
class | VLXSerializer |
Translates an arbitrary set of vl::Object (and subclasses) into VLB and VLT format. More... | |
class | VLXTaggedValue |
Base class for VLX values with a tag. More... | |
class | VLXRawtextBlock |
A block of raw text. More... | |
class | VLXArray |
Base class for all arrays of VLX values. More... | |
class | VLXArrayTemplate |
A templated VLXArray. More... | |
class | VLXArrayInteger |
An array of 64 bits integers, can also have a tag. More... | |
class | VLXArrayReal |
An array of 64 bits floating point numbers, can also have a tag. More... | |
class | VLXValue |
Wrapper for all VLX value types. More... | |
class | VLXStructure |
A list of key/VLXValue pairs, can also have a tag. More... | |
class | VLXList |
A simple sequence of VLXValue objects, can also have a tag. More... | |
class | VLXVisitor |
Base class for all visitors visiting a VLX hierarchy. More... | |
class | VLXVisitorCountIDs |
Counts the number of occurrencies of each ID. More... | |
class | VLXVisitorExportToVLB |
Translates a VLX hierarchy into VLB format writing to the provided VirtualFile. More... | |
class | VLXVisitorExportToVLT |
Translates a VLX hierarchy into VLT notation. More... | |
class | VLXVisitorLinker |
Substitutes IDs into VLXStructures using the provided link map. More... | |
class | VLXVisitorLinkMapper |
Compiles the link-map which associates a VLXStructure to it's ID, to be used later by other visitors. 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 | ArrayAbstract |
The ArrayAbstract class defines an abstract interface to conveniently manipulate data stored in a BufferObject. More... | |
class | Array |
The Array class is a template array used to conveniently manipulate data stored in a BufferObject. More... | |
class | ArrayFloat1 |
An array of GLfloat . More... | |
class | ArrayFloat2 |
An array of vl::fvec2. More... | |
class | ArrayFloat3 |
An array of vl::fvec3. More... | |
class | ArrayFloat4 |
An array of vl::fvec4. More... | |
class | ArrayDouble1 |
An array of GLdouble . More... | |
class | ArrayDouble2 |
An array of vl::dvec2. More... | |
class | ArrayDouble3 |
An array of vl::dvec3. More... | |
class | ArrayDouble4 |
An array of vl::dvec4. More... | |
class | ArrayInt1 |
An array of GLint . More... | |
class | ArrayInt2 |
An array of vl::ivec2. More... | |
class | ArrayInt3 |
An array of vl::ivec3. More... | |
class | ArrayInt4 |
An array of vl::ivec4. More... | |
class | ArrayUInt1 |
An array of GLuint . More... | |
class | ArrayUInt2 |
An array of vl::uvec2. More... | |
class | ArrayUInt3 |
An array of vl::uvec3. More... | |
class | ArrayUInt4 |
An array of vl::uvec4. More... | |
class | ArrayByte1 |
An array of GLbyte . More... | |
class | ArrayByte2 |
An array of vl::bvec2. More... | |
class | ArrayByte3 |
An array of vl::bvec3. More... | |
class | ArrayByte4 |
An array of vl::bvec4. More... | |
class | ArrayUByte1 |
An array of GLubyte . More... | |
class | ArrayUByte2 |
An array of vl::ubvec2. More... | |
class | ArrayUByte3 |
An array of vl::ubvec3. More... | |
class | ArrayUByte4 |
An array of vl::ubvec4. More... | |
class | ArrayShort1 |
An array of GLshort . More... | |
class | ArrayShort2 |
An array of vl::svec2. More... | |
class | ArrayShort3 |
An array of vl::svec3. More... | |
class | ArrayShort4 |
An array of vl::svec4. More... | |
class | ArrayUShort1 |
An array of GLushort . More... | |
class | ArrayUShort2 |
An array of vl::usvec2. More... | |
class | ArrayUShort3 |
An array of vl::usvec3. More... | |
class | ArrayUShort4 |
An array of vl::usvec4. More... | |
class | ArrayHFloat1 |
An array of GL_HALF_FLOAT . More... | |
class | ArrayHFloat2 |
A 2d array of GL_HALF_FLOAT vectors. More... | |
class | ArrayHFloat3 |
A 3d array of GL_HALF_FLOAT vectors. More... | |
class | ArrayHFloat4 |
A 4d array of GL_HALF_FLOAT vectors. More... | |
class | ArrayFixed1 |
An array of GL_FIXED . More... | |
class | ArrayFixed2 |
An array 2d GL_FIXED vectors. More... | |
class | ArrayFixed3 |
An array 3d GL_FIXED vectors. More... | |
class | ArrayFixed4 |
An array 4d GL_FIXED vectors. More... | |
class | ArrayInt_2_10_10_10_REV1 |
An array of GL_INT_2_10_10_10_REV . More... | |
class | ArrayInt_2_10_10_10_REV2 |
A 2d array of GL_INT_2_10_10_10_REV vectors. More... | |
class | ArrayInt_2_10_10_10_REV3 |
A 3d array of GL_INT_2_10_10_10_REV vectors. More... | |
class | ArrayInt_2_10_10_10_REV4 |
A 4d array of GL_INT_2_10_10_10_REV vectors. More... | |
class | ArrayUInt_2_10_10_10_REV1 |
An array of GL_UNSIGNED_INT_2_10_10_10_REV . More... | |
class | ArrayUInt_2_10_10_10_REV2 |
A 2d array of GL_UNSIGNED_INT_2_10_10_10_REV vectors. More... | |
class | ArrayUInt_2_10_10_10_REV3 |
A 3d array of GL_UNSIGNED_INT_2_10_10_10_REV vectors. More... | |
class | ArrayUInt_2_10_10_10_REV4 |
A 4d array of GL_UNSIGNED_INT_2_10_10_10_REV vectors. More... | |
class | 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 | BufferObject |
The BufferObject class is a Buffer that can upload its data on the GPU memory. 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 | CoreText |
Experimental. More... | |
class | DepthSortCallback |
DepthSortCallback sorts the primitives of the Geometry 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 DrawArrays, DrawElements, MultiDrawElements and DrawRangeElements. 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 | ShaderPasses |
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 | FlatManipulator |
This class lets you pan (translate) and zoom a 2D scene using the mouse. 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 | Framebuffer |
The Framebuffer class defines an abstract 'surface' where OpenGL can render into. More... | |
class | FBOAbstractAttachment |
Abstract class that represents a framebuffer object attachment to be used with FramebufferObject. 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 FramebufferObject. More... | |
class | FBODepthBufferAttachment |
A depth renderbuffer to be attached to a FramebufferObject. More... | |
class | FBOStencilBufferAttachment |
A stencil renderbuffer to be attached to a FramebufferObject. More... | |
class | FBODepthStencilBufferAttachment |
A depth+stencil renderbuffer to be attached to a FramebufferObject. More... | |
class | FBOAbstractTextureAttachment |
Base class for all the framebuffer texture attachments (see also FramebufferObject). More... | |
class | FBOTexture1DAttachment |
A 1D texture renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTexture1D() ). More... | |
class | FBOTexture2DAttachment |
A 2D texture renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTexture2D() ). More... | |
class | FBOTextureAttachment |
A texture renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTexture() ). More... | |
class | FBOTexture3DAttachment |
A 3D texture renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTexture3D() ). More... | |
class | FBOTextureLayerAttachment |
A texture layer renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTextureLayer() ). More... | |
class | FramebufferObject |
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... | |
struct | UniformInfo |
Structure containing all the info regarding an active Uniform, see also GLSLProgram::activeUniforms() More... | |
struct | AttribInfo |
Structure containing all the info regarding an active vertex attribute, see also GLSLProgram::activeAttribs() 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 | NaryQuickMap |
Simple map used to add, remove, iterate, clear elements efficiently (all O(1)). 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, used by vl::DrawCall::setPatchParameter(). More... | |
class | PixelLODEvaluator |
A LODEvaluator that computes the appropriate LOD based on the approximate 2d area that an Actor covers on the screen. More... | |
class | DaeLoader |
COLLADA loader. More... | |
class | LoadWriterDae |
The LoadWriterDae class is a ResourceLoadWriter capable of reading COLLADA files. 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 | LoadWriterVLX |
A ResourceLoadWriter capable of reading Visualization Library's VLT and VLB files. 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 | RenderStateIndexed |
Base class for those render states which have more than one binding points like lights, clipping planes and texture unit states. More... | |
class | RenderStateNonIndexed |
Base class for those render states which have only one binding point (the vast majority). More... | |
struct | RenderStateSlot |
class | RenderStateSet |
A set of RenderState objects managed by a Shader. 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 | VertexAttrib |
RenderState wrapping the OpenGL function glVertexAttrib(), see also http://www.opengl.org/sdk/docs/man3/xhtml/glVertexAttrib.xml for more information. More... | |
class | Color |
RenderState wrapping the OpenGL function glColor(), see also http://www.opengl.org/sdk/docs/man/xhtml/glColor.xml for more information. More... | |
class | SecondaryColor |
RenderState wrapping the OpenGL function glSecondaryColor(), see also http://www.opengl.org/sdk/docs/man/xhtml/glSecondaryColor.xml for more information. More... | |
class | Normal |
RenderState wrapping the OpenGL function glNormal(), see also http://www.opengl.org/sdk/docs/man/xhtml/glNormal.xml for more information. More... | |
class | 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 | TextureSampler |
The TextureSampler 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 | StereoCamera |
Utility class to setup a pair of left/right cameras for stereo rendering. 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... | |
struct | VLXClassWrapper_Array |
VLX wrapper of vl::Array. More... | |
struct | VLXClassWrapper_Renderable |
VLX wrapper of vl::Renderable. More... | |
struct | VLXClassWrapper_Geometry |
VLX wrapper of vl::Geometry. More... | |
struct | VLXClassWrapper_VertexAttribInfo |
VLX wrapper of vl::VertexAttribInfo. More... | |
struct | VLXClassWrapper_DrawCall |
VLX wrapper of vl::DrawCall and subclasses. More... | |
struct | VLXClassWrapper_PatchParameter |
VLX wrapper of vl::PatchParameter. More... | |
struct | VLXClassWrapper_ResourceDatabase |
VLX wrapper of vl::ResourceDatabase. More... | |
struct | VLXClassWrapper_Uniform |
VLX wrapper of vl::Uniform. More... | |
struct | VLXClassWrapper_Shader |
VLX wrapper of vl::Shader. More... | |
struct | VLXClassWrapper_LODEvaluator |
VLX wrapper of vl::DistanceLODEvaluator and vl::PixelLODEvaluator. More... | |
struct | VLXClassWrapper_Effect |
VLX wrapper of vl::Effect. More... | |
struct | VLXClassWrapper_Actor |
VLX wrapper of vl::Actor. More... | |
struct | VLXClassWrapper_Camera |
VLX wrapper of vl::Camera. More... | |
struct | VLXClassWrapper_Viewport |
VLX wrapper of vl::Viewport. More... | |
struct | VLXClassWrapper_Transform |
VLX wrapper of vl::Transform. More... | |
struct | VLXClassWrapper_Light |
VLX wrapper of vl::Light. More... | |
struct | VLXClassWrapper_ClipPlane |
VLX wrapper of vl::ClipPlane. More... | |
struct | VLXClassWrapper_GLSLProgram |
VLX wrapper of vl::GLSLProgram. More... | |
struct | VLXClassWrapper_GLSLShader |
VLX wrapper of vl::GLSLVertexShader, vl::GLSLFragmentShader, vl::GLSLGeometryShader, vl::GLSLTessControlShader, vl::GLSLTessEvaluationShader. More... | |
struct | VLXClassWrapper_VertexAttrib |
VLX wrapper of vl::VertexAttrib. More... | |
struct | VLXClassWrapper_Color |
VLX wrapper of vl::Color. More... | |
struct | VLXClassWrapper_SecondaryColor |
VLX wrapper of vl::SecondaryColor. More... | |
struct | VLXClassWrapper_Normal |
VLX wrapper of vl::Normal. More... | |
struct | VLXClassWrapper_Material |
VLX wrapper of vl::Material. More... | |
struct | VLXClassWrapper_ActorEventCallback |
VLX wrapper of vl::DepthSortCallback. More... | |
struct | VLXClassWrapper_Texture |
VLX wrapper of vl::Texture. More... | |
struct | VLXClassWrapper_TexParameter |
VLX wrapper of vl::TexParameter. More... | |
struct | VLXClassWrapper_TextureSampler |
VLX wrapper of vl::TextureSampler. 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 CatmullRomInterpolator < float > | CatmullRomInterpolatorFloat_T |
typedef CatmullRomInterpolator < fvec2 > | CatmullRomInterpolatorFVec2_T |
typedef CatmullRomInterpolator < fvec3 > | CatmullRomInterpolatorFVec3_T |
typedef CatmullRomInterpolator < fvec4 > | CatmullRomInterpolatorFVec4_T |
typedef CatmullRomInterpolator < double > | CatmullRomInterpolatorDouble_T |
typedef CatmullRomInterpolator < dvec2 > | CatmullRomInterpolatorDVec2_T |
typedef CatmullRomInterpolator < dvec3 > | CatmullRomInterpolatorDVec3_T |
typedef CatmullRomInterpolator < 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< fvec2 > | LinearInterpolatorFVec2_T |
typedef LinearInterpolator< fvec3 > | LinearInterpolatorFVec3_T |
typedef LinearInterpolator< fvec4 > | LinearInterpolatorFVec4_T |
typedef LinearInterpolator < double > | LinearInterpolatorDouble_T |
typedef LinearInterpolator< dvec2 > | LinearInterpolatorDVec2_T |
typedef LinearInterpolator< dvec3 > | LinearInterpolatorDVec3_T |
typedef LinearInterpolator< dvec4 > | LinearInterpolatorDVec4_T |
typedef Matrix2< double > | dmat2 |
A 2x2 matrix using double precision. | |
typedef Matrix2< float > | fmat2 |
A 2x2 matrix using float precision. | |
typedef Matrix2< int > | imat2 |
A 2x2 matrix using int precision. | |
typedef Matrix2< unsigned int > | umat2 |
A 2x2 matrix using unsigned int precision. | |
typedef fmat2 | mat2 |
Defined as: 'typedef fmat2 mat2' . See also VL_PIPELINE_PRECISION. | |
typedef Matrix3< double > | dmat3 |
A 3x3 matrix using double precision. | |
typedef Matrix3< float > | fmat3 |
A 3x3 matrix using float precision. | |
typedef Matrix3< int > | imat3 |
A 3x3 matrix using int precision. | |
typedef Matrix3< unsigned int > | umat3 |
A 3x3 matrix using unsigned int precision. | |
typedef fmat3 | mat3 |
Defined as: 'typedef fmat3 mat3' . See also VL_PIPELINE_PRECISION. | |
typedef Matrix4< double > | dmat4 |
A 4x4 matrix using double precision. | |
typedef Matrix4< float > | fmat4 |
A 4x4 matrix using float precision. | |
typedef Matrix4< int > | imat4 |
A 4x4 matrix using int precision. | |
typedef Matrix4< unsigned int > | umat4 |
A 4x4 matrix using unsigned int 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 char | i8 |
8 bits signed integer | |
typedef unsigned char | u8 |
8 bits unsigned integer | |
typedef short | i16 |
16 bits signed integer | |
typedef unsigned short | u16 |
16 bits unsigned integer | |
typedef int | i32 |
32 bits signed integer | |
typedef unsigned int | u32 |
32 bits unsigned integer | |
typedef long long | i64 |
64 bits signed integer | |
typedef unsigned long long | u64 |
64 bits unsigned integer | |
typedef float | f32 |
32 bits floating point value | |
typedef double | f64 |
64 bits floating point value | |
typedef Vector2< int > | ivec2 |
A 2 components vector with int precision. | |
typedef Vector2< unsigned int > | uvec2 |
A 2 components vector with unsigned int precision. | |
typedef Vector2< float > | fvec2 |
A 2 components vector with float precision. | |
typedef Vector2< double > | dvec2 |
A 2 components vector with double precision. | |
typedef Vector2< char > | bvec2 |
A 2 components vector with char precision. | |
typedef Vector2< unsigned char > | ubvec2 |
A 2 components vector with unsigned char precision. | |
typedef Vector2< short > | svec2 |
A 2 components vector with short precision. | |
typedef Vector2< unsigned short > | usvec2 |
A 2 components vector with unsigned short precision. | |
typedef fvec2 | vec2 |
Defined as: 'typedef fvec2 vec2' . See also VL_PIPELINE_PRECISION. | |
typedef Vector3< int > | ivec3 |
A 3 components vector with int precision. | |
typedef Vector3< unsigned int > | uvec3 |
A 3 components vector with unsigned int precision. | |
typedef Vector3< float > | fvec3 |
A 3 components vector with float precision. | |
typedef Vector3< double > | dvec3 |
A 3 components vector with double precision. | |
typedef Vector3< char > | bvec3 |
A 3 components vector with char precision. | |
typedef Vector3< unsigned char > | ubvec3 |
A 3 components vector with unsigned char precision. | |
typedef Vector3< short > | svec3 |
A 3 components vector with short precision. | |
typedef Vector3< unsigned short > | usvec3 |
A 3 components vector with unsigned short precision. | |
typedef fvec3 | vec3 |
Defined as: 'typedef fvec3 vec3' . See also VL_PIPELINE_PRECISION. | |
typedef Vector4< int > | ivec4 |
A 4 components vector with int precision. | |
typedef Vector4< unsigned int > | uvec4 |
A 4 components vector with unsigned int precision. | |
typedef Vector4< float > | fvec4 |
A 4 components vector with float precision. | |
typedef Vector4< double > | dvec4 |
A 4 components vector with double precision. | |
typedef Vector4< char > | bvec4 |
A 4 components vector with char precision. | |
typedef Vector4< unsigned char > | ubvec4 |
A 4 components vector with unsigned char precision. | |
typedef Vector4< short > | svec4 |
A 4 components vector with short precision. | |
typedef Vector4< unsigned short > | usvec4 |
A 4 components vector with unsigned short 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, PT_UNKNOWN } |
enum | EPolygonFace { PF_FRONT = GL_FRONT, PF_BACK = GL_BACK, PF_FRONT_AND_BACK = GL_FRONT_AND_BACK } |
enum | EHintMode { HM_FASTEST = GL_FASTEST, HM_NICEST = GL_NICEST, HM_DONT_CARE = GL_DONT_CARE } |
enum | EFrontFace { FF_CW = GL_CW, FF_CCW = GL_CCW } |
enum | EFunction { FU_NEVER = GL_NEVER, FU_LESS = GL_LESS, FU_EQUAL = GL_EQUAL, FU_LEQUAL = GL_LEQUAL, FU_GREATER = GL_GREATER, FU_NOTEQUAL = GL_NOTEQUAL, FU_GEQUAL = GL_GEQUAL, FU_ALWAYS = GL_ALWAYS } |
enum | EPolygonMode { PM_FILL = GL_FILL, PM_LINE = GL_LINE, PM_POINT = GL_POINT } |
enum | EShadeModel { SM_FLAT = GL_FLAT, SM_SMOOTH = GL_SMOOTH } |
enum | EBlendEquation { BE_FUNC_ADD = GL_FUNC_ADD, BE_FUNC_SUBTRACT = GL_FUNC_SUBTRACT, BE_FUNC_REVERSE_SUBTRACT = GL_FUNC_REVERSE_SUBTRACT, BE_MIN = GL_MIN, BE_MAX = GL_MAX } |
enum | EColorMaterial { CM_EMISSION = GL_EMISSION, CM_AMBIENT = GL_AMBIENT, CM_DIFFUSE = GL_DIFFUSE, CM_SPECULAR = GL_SPECULAR, CM_AMBIENT_AND_DIFFUSE = GL_AMBIENT_AND_DIFFUSE } |
enum | EColorControl { CC_SEPARATE_SPECULAR_COLOR = GL_SEPARATE_SPECULAR_COLOR, CC_SINGLE_COLOR = GL_SINGLE_COLOR } |
enum | EFogMode { FM_LINEAR = GL_LINEAR, FM_EXP = GL_EXP, FM_EXP2 = GL_EXP2 } |
enum | ELogicOp { LO_CLEAR = GL_CLEAR, LO_SET = GL_SET, LO_COPY = GL_COPY, LO_COPY_INVERTED = GL_COPY_INVERTED, LO_NOOP = GL_NOOP, LO_INVERT = GL_INVERT, LO_AND = GL_AND, LO_NAND = GL_NAND, LO_OR = GL_OR, LO_NOR = GL_NOR, LO_XOR = GL_XOR, LO_EQUIV = GL_EQUIV, LO_AND_REVERSE = GL_AND_REVERSE, LO_AND_INVERTED = GL_AND_INVERTED, LO_OR_REVERSE = GL_OR_REVERSE, LO_OR_INVERTED = GL_OR_INVERTED } |
enum | EStencilOp { SO_KEEP = GL_KEEP, SO_ZERO = GL_ZERO, SO_REPLACE = GL_REPLACE, SO_INCR = GL_INCR, SO_INCR_WRAP = GL_INCR_WRAP, SO_DECR = GL_DECR, SO_DECR_WRAP = GL_DECR_WRAP, SO_INVERT = GL_INVERT } |
enum | ETexParamFilter { TPF_NEAREST = GL_NEAREST, TPF_LINEAR = GL_LINEAR, TPF_NEAREST_MIPMAP_NEAREST = GL_NEAREST_MIPMAP_NEAREST, TPF_LINEAR_MIPMAP_NEAREST = GL_LINEAR_MIPMAP_NEAREST, TPF_NEAREST_MIPMAP_LINEAR = GL_NEAREST_MIPMAP_LINEAR, TPF_LINEAR_MIPMAP_LINEAR = GL_LINEAR_MIPMAP_LINEAR } |
enum | ETexParamWrap { TPW_CLAMP = GL_CLAMP, TPW_CLAMP_TO_BORDER = GL_CLAMP_TO_BORDER, TPW_CLAMP_TO_EDGE = GL_CLAMP_TO_EDGE, TPW_MIRRORED_REPEAT = GL_MIRRORED_REPEAT, TPW_REPEAT = GL_REPEAT } |
enum | ETexEnvMode { TEM_DECAL = GL_DECAL, TEM_MODULATE = GL_MODULATE, TEM_ADD = GL_ADD, TEM_BLEND = GL_BLEND, TEM_REPLACE = GL_REPLACE, TEM_COMBINE = GL_COMBINE, TEM_ADD_SIGN = GL_ADD_SIGNED, TEM_INTERPOLATE = GL_INTERPOLATE, TEM_SUBTRACT = GL_SUBTRACT, TEM_DOT3_RGB = GL_DOT3_RGB, TEM_DOT3_RGBA = GL_DOT3_RGBA } |
enum | ETexEnvSource { TES_TEXTURE = GL_TEXTURE, TES_TEXTURE0 = GL_TEXTURE0, TES_TEXTURE1 = GL_TEXTURE1, TES_TEXTURE2 = GL_TEXTURE2, TES_TEXTURE3 = GL_TEXTURE3, TES_TEXTURE4 = GL_TEXTURE4, TES_TEXTURE5 = GL_TEXTURE5, TES_TEXTURE6 = GL_TEXTURE6, TES_TEXTURE7 = GL_TEXTURE7, TES_CONSTANT = GL_CONSTANT, TES_PRIMARY_COLOR = GL_PRIMARY_COLOR, TES_PREVIOUS = GL_PREVIOUS } |
enum | ETexEnvOperand { TEO_SRC_COLOR = GL_SRC_COLOR, TEO_ONE_MINUS_SRC_COLOR = GL_ONE_MINUS_SRC_COLOR, TEO_SRC_ALPHA = GL_SRC_ALPHA, TEO_ONE_MINUS_SRC_ALPHA = GL_ONE_MINUS_SRC_ALPHA } |
enum | ETexGenMode { TGM_DISABLED = 0, TGM_EYE_LINEAR = GL_EYE_LINEAR, TGM_OBJECT_LINEAR = GL_OBJECT_LINEAR, TGM_SPHERE_MAP = GL_SPHERE_MAP, TGM_REFLECTION_MAP = GL_REFLECTION_MAP, TGM_NORMAL_MAP = GL_NORMAL_MAP } |
Texture generation modes, see also http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml for more information. More... | |
enum | EEnable { EN_BLEND, EN_CULL_FACE, EN_DEPTH_TEST, EN_STENCIL_TEST, EN_DITHER, EN_POLYGON_OFFSET_FILL, EN_POLYGON_OFFSET_LINE, EN_POLYGON_OFFSET_POINT, EN_COLOR_LOGIC_OP, EN_MULTISAMPLE, EN_POINT_SMOOTH, EN_LINE_SMOOTH, EN_POLYGON_SMOOTH, EN_LINE_STIPPLE, EN_POLYGON_STIPPLE, EN_POINT_SPRITE, EN_PROGRAM_POINT_SIZE, EN_ALPHA_TEST, EN_LIGHTING, EN_COLOR_SUM, EN_FOG, EN_NORMALIZE, EN_RESCALE_NORMAL, EN_VERTEX_PROGRAM_TWO_SIDE, EN_TEXTURE_CUBE_MAP_SEAMLESS, EN_CLIP_DISTANCE0, EN_CLIP_DISTANCE1, EN_CLIP_DISTANCE2, EN_CLIP_DISTANCE3, EN_CLIP_DISTANCE4, EN_CLIP_DISTANCE5, EN_CLIP_DISTANCE6, EN_CLIP_DISTANCE7, EN_SAMPLE_ALPHA_TO_COVERAGE, EN_SAMPLE_ALPHA_TO_ONE, EN_SAMPLE_COVERAGE, EN_EnableCount, EN_UnknownEnable } |
Constant that enable/disable a specific OpenGL feature, see also Shader, Shader::enable(), Shader::disable(), Shader::isEnabled() More... | |
enum | EBufferObjectUsage { BU_STREAM_DRAW = GL_STREAM_DRAW, BU_STREAM_READ = GL_STREAM_READ, BU_STREAM_COPY = GL_STREAM_COPY, BU_STATIC_DRAW = GL_STATIC_DRAW, BU_STATIC_READ = GL_STATIC_READ, BU_STATIC_COPY = GL_STATIC_COPY, BU_DYNAMIC_DRAW = GL_DYNAMIC_DRAW, BU_DYNAMIC_READ = GL_DYNAMIC_READ, BU_DYNAMIC_COPY = GL_DYNAMIC_COPY } |
enum | EBufferObjectAccess { BA_READ_ONLY = GL_READ_ONLY, BA_WRITE_ONLY = GL_WRITE_ONLY, BA_READ_WRITE = GL_READ_WRITE } |
enum | EAlign { AlignLeft = 1, AlignHCenter = 2, AlignRight = 4, AlignTop = 8, AlignVCenter = 16, AlignBottom = 32 } |
enum | ETextAlign { TextAlignLeft, TextAlignRight, TextAlignCenter, TextAlignJustify } |
enum | ETextMode { Text2D = 1, Text3D = 2 } |
enum | ETextLayout { LeftToRightText, RightToLeftText, TopToBottomText } |
enum | EDepthSortMode { NeverDepthSort, AlwaysDepthSort, AlphaDepthSort } |
enum | EImageDimension { ID_None, ID_1D, ID_2D, ID_3D, ID_Cubemap, ID_Error } |
enum | EStateType { ST_RenderStates = 1, ST_Enables = 2, ST_TextureSamplers = 4, ST_Lights = 8, ST_ClipPlanes = 16 } |
enum | ERenderState { RS_VertexAttrib, RS_VertexAttrib0 = RS_VertexAttrib, RS_VertexAttrib1, RS_VertexAttrib2, RS_VertexAttrib3, RS_VertexAttrib4, RS_VertexAttrib5, RS_VertexAttrib6, RS_VertexAttrib7, RS_AlphaFunc, RS_BlendColor, RS_BlendEquation, RS_BlendFunc, RS_Color, RS_ColorMask, RS_CullFace, RS_DepthFunc, RS_DepthMask, RS_DepthRange, RS_Fog, RS_FrontFace, RS_PolygonMode, RS_Hint, RS_LightModel, RS_LineStipple, RS_LineWidth, RS_LogicOp, RS_Material, RS_Normal, RS_PixelTransfer, RS_PointParameter, RS_PointSize, RS_PolygonOffset, RS_PolygonStipple, RS_SampleCoverage, RS_SecondaryColor, RS_ShadeModel, RS_StencilFunc, RS_StencilMask, RS_StencilOp, RS_GLSLProgram, RS_Light, RS_Light0 = RS_Light, RS_Light1, RS_Light2, RS_Light3, RS_Light4, RS_Light5, RS_Light6, RS_Light7, RS_ClipPlane, RS_ClipPlane0 = RS_ClipPlane, RS_ClipPlane1, RS_ClipPlane2, RS_ClipPlane3, RS_ClipPlane4, RS_ClipPlane5, RS_TextureSampler, RS_TextureSampler0 = RS_TextureSampler + 0, RS_TextureSampler1 = RS_TextureSampler + 1, RS_TextureSampler2 = RS_TextureSampler + 2, RS_TextureSampler3 = RS_TextureSampler + 3, RS_TextureSampler4 = RS_TextureSampler + 4, RS_TextureSampler5 = RS_TextureSampler + 5, RS_TextureSampler6 = RS_TextureSampler + 6, RS_TextureSampler7 = RS_TextureSampler + 7, RS_TextureSampler8 = RS_TextureSampler + 8, RS_TextureSampler9 = RS_TextureSampler + 9, RS_TextureSampler10 = RS_TextureSampler + 10, RS_TextureSampler11 = RS_TextureSampler + 11, RS_TextureSampler12 = RS_TextureSampler + 12, RS_TextureSampler13 = RS_TextureSampler + 13, RS_TextureSampler14 = RS_TextureSampler + 14, RS_TextureSampler15 = RS_TextureSampler + 15, RS_TexGen = RS_TextureSampler + VL_MAX_TEXTURE_UNITS, RS_TexGen0 = RS_TexGen + 0, RS_TexGen1 = RS_TexGen + 1, RS_TexGen2 = RS_TexGen + 2, RS_TexGen3 = RS_TexGen + 3, RS_TexGen4 = RS_TexGen + 4, RS_TexGen5 = RS_TexGen + 5, RS_TexGen6 = RS_TexGen + 6, RS_TexGen7 = RS_TexGen + 7, RS_TexGen8 = RS_TexGen + 8, RS_TexGen9 = RS_TexGen + 9, RS_TexGen10 = RS_TexGen + 10, RS_TexGen11 = RS_TexGen + 11, RS_TexGen12 = RS_TexGen + 12, RS_TexGen13 = RS_TexGen + 13, RS_TexGen14 = RS_TexGen + 14, RS_TexGen15 = RS_TexGen + 15, RS_TexEnv = RS_TexGen + VL_MAX_TEXTURE_UNITS, RS_TexEnv0 = RS_TexEnv + 0, RS_TexEnv1 = RS_TexEnv + 1, RS_TexEnv2 = RS_TexEnv + 2, RS_TexEnv3 = RS_TexEnv + 3, RS_TexEnv4 = RS_TexEnv + 4, RS_TexEnv5 = RS_TexEnv + 5, RS_TexEnv6 = RS_TexEnv + 6, RS_TexEnv7 = RS_TexEnv + 7, RS_TexEnv8 = RS_TexEnv + 8, RS_TexEnv9 = RS_TexEnv + 9, RS_TexEnv10 = RS_TexEnv + 10, RS_TexEnv11 = RS_TexEnv + 11, RS_TexEnv12 = RS_TexEnv + 12, RS_TexEnv13 = RS_TexEnv + 13, RS_TexEnv14 = RS_TexEnv + 14, RS_TexEnv15 = RS_TexEnv + 15, RS_TextureMatrix = RS_TexEnv + VL_MAX_TEXTURE_UNITS, RS_TextureMatrix0 = RS_TextureMatrix + 0, RS_TextureMatrix1 = RS_TextureMatrix + 1, RS_TextureMatrix2 = RS_TextureMatrix + 2, RS_TextureMatrix3 = RS_TextureMatrix + 3, RS_TextureMatrix4 = RS_TextureMatrix + 4, RS_TextureMatrix5 = RS_TextureMatrix + 5, RS_TextureMatrix6 = RS_TextureMatrix + 6, RS_TextureMatrix7 = RS_TextureMatrix + 7, RS_TextureMatrix8 = RS_TextureMatrix + 8, RS_TextureMatrix9 = RS_TextureMatrix + 9, RS_TextureMatrix10 = RS_TextureMatrix + 10, RS_TextureMatrix11 = RS_TextureMatrix + 11, RS_TextureMatrix12 = RS_TextureMatrix + 12, RS_TextureMatrix13 = RS_TextureMatrix + 13, RS_TextureMatrix14 = RS_TextureMatrix + 14, RS_TextureMatrix15 = RS_TextureMatrix + 15, RS_RenderStateCount = RS_TextureMatrix15 + 1, 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 | ELogLevel { LL_LogNotify, LL_LogPrint, LL_LogBug, LL_LogError, LL_LogWarning, LL_LogDebug } |
enum | EPointSpriteCoordOrigin { PPCO_LOWER_LEFT = GL_LOWER_LEFT, PPCO_UPPER_LEFT = GL_UPPER_LEFT } |
enum | EVertexAttribInterpretation { VAI_NORMAL, VAI_INTEGER, VAI_DOUBLE } |
Specifies how the data of a VertexAttribInfo is sent to the OpenGL driver, see also http://www.opengl.org/sdk/docs/man4/xhtml/glVertexAttribPointer.xml. More... | |
enum | EVertexAttribBinding { VA_Position = 0, VA_Normal = 1, VA_Color = 2, VA_TexCoord0 = 3 } |
Default vertex attribute bindings. More... | |
enum | EUniformType { UT_NONE = 0x0, UT_FLOAT = GL_FLOAT, UT_FLOAT_VEC2 = GL_FLOAT_VEC2, UT_FLOAT_VEC3 = GL_FLOAT_VEC3, UT_FLOAT_VEC4 = GL_FLOAT_VEC4, UT_DOUBLE = GL_DOUBLE, UT_DOUBLE_VEC2 = GL_DOUBLE_VEC2, UT_DOUBLE_VEC3 = GL_DOUBLE_VEC3, UT_DOUBLE_VEC4 = GL_DOUBLE_VEC4, UT_INT = GL_INT, UT_INT_VEC2 = GL_INT_VEC2, UT_INT_VEC3 = GL_INT_VEC3, UT_INT_VEC4 = GL_INT_VEC4, UT_UNSIGNED_INT = GL_UNSIGNED_INT, UT_UNSIGNED_INT_VEC2 = GL_UNSIGNED_INT_VEC2, UT_UNSIGNED_INT_VEC3 = GL_UNSIGNED_INT_VEC3, UT_UNSIGNED_INT_VEC4 = GL_UNSIGNED_INT_VEC4, UT_BOOL = GL_BOOL, UT_BOOL_VEC2 = GL_BOOL_VEC2, UT_BOOL_VEC3 = GL_BOOL_VEC3, UT_BOOL_VEC4 = GL_BOOL_VEC4, UT_FLOAT_MAT2 = GL_FLOAT_MAT2, UT_FLOAT_MAT3 = GL_FLOAT_MAT3, UT_FLOAT_MAT4 = GL_FLOAT_MAT4, UT_FLOAT_MAT2x3 = GL_FLOAT_MAT2x3, UT_FLOAT_MAT2x4 = GL_FLOAT_MAT2x4, UT_FLOAT_MAT3x2 = GL_FLOAT_MAT3x2, UT_FLOAT_MAT3x4 = GL_FLOAT_MAT3x4, UT_FLOAT_MAT4x2 = GL_FLOAT_MAT4x2, UT_FLOAT_MAT4x3 = GL_FLOAT_MAT4x3, UT_DOUBLE_MAT2 = GL_DOUBLE_MAT2, UT_DOUBLE_MAT3 = GL_DOUBLE_MAT3, UT_DOUBLE_MAT4 = GL_DOUBLE_MAT4, UT_DOUBLE_MAT2x3 = GL_DOUBLE_MAT2x3, UT_DOUBLE_MAT2x4 = GL_DOUBLE_MAT2x4, UT_DOUBLE_MAT3x2 = GL_DOUBLE_MAT3x2, UT_DOUBLE_MAT3x4 = GL_DOUBLE_MAT3x4, UT_DOUBLE_MAT4x2 = GL_DOUBLE_MAT4x2, UT_DOUBLE_MAT4x3 = GL_DOUBLE_MAT4x3, UT_SAMPLER_1D = GL_SAMPLER_1D, UT_SAMPLER_2D = GL_SAMPLER_2D, UT_SAMPLER_3D = GL_SAMPLER_3D, UT_SAMPLER_CUBE = GL_SAMPLER_CUBE, UT_SAMPLER_1D_SHADOW = GL_SAMPLER_1D_SHADOW, UT_SAMPLER_2D_SHADOW = GL_SAMPLER_2D_SHADOW, UT_SAMPLER_1D_ARRAY = GL_SAMPLER_1D_ARRAY, UT_SAMPLER_2D_ARRAY = GL_SAMPLER_2D_ARRAY, UT_SAMPLER_1D_ARRAY_SHADOW = GL_SAMPLER_1D_ARRAY_SHADOW, UT_SAMPLER_2D_ARRAY_SHADOW = GL_SAMPLER_2D_ARRAY_SHADOW, UT_SAMPLER_2D_MULTISAMPLE = GL_SAMPLER_2D_MULTISAMPLE, UT_SAMPLER_2D_MULTISAMPLE_ARRAY = GL_SAMPLER_2D_MULTISAMPLE_ARRAY, UT_SAMPLER_CUBE_SHADOW = GL_SAMPLER_CUBE_SHADOW, UT_SAMPLER_BUFFER = GL_SAMPLER_BUFFER, UT_SAMPLER_2D_RECT = GL_SAMPLER_2D_RECT, UT_SAMPLER_2D_RECT_SHADOW = GL_SAMPLER_2D_RECT_SHADOW, UT_INT_SAMPLER_1D = GL_INT_SAMPLER_1D, UT_INT_SAMPLER_2D = GL_INT_SAMPLER_2D, UT_INT_SAMPLER_3D = GL_INT_SAMPLER_3D, UT_INT_SAMPLER_CUBE = GL_INT_SAMPLER_CUBE, UT_INT_SAMPLER_1D_ARRAY = GL_INT_SAMPLER_1D_ARRAY, UT_INT_SAMPLER_2D_ARRAY = GL_INT_SAMPLER_2D_ARRAY, UT_INT_SAMPLER_2D_MULTISAMPLE = GL_INT_SAMPLER_2D_MULTISAMPLE, UT_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY, UT_INT_SAMPLER_BUFFER = GL_INT_SAMPLER_BUFFER, UT_INT_SAMPLER_2D_RECT = GL_INT_SAMPLER_2D_RECT, UT_UNSIGNED_INT_SAMPLER_1D = GL_UNSIGNED_INT_SAMPLER_1D, UT_UNSIGNED_INT_SAMPLER_2D = GL_UNSIGNED_INT_SAMPLER_2D, UT_UNSIGNED_INT_SAMPLER_3D = GL_UNSIGNED_INT_SAMPLER_3D, UT_UNSIGNED_INT_SAMPLER_CUBE = GL_UNSIGNED_INT_SAMPLER_CUBE, UT_UNSIGNED_INT_SAMPLER_1D_ARRAY = GL_UNSIGNED_INT_SAMPLER_1D_ARRAY, UT_UNSIGNED_INT_SAMPLER_2D_ARRAY = GL_UNSIGNED_INT_SAMPLER_2D_ARRAY, UT_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE = GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE, UT_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY, UT_UNSIGNED_INT_SAMPLER_BUFFER = GL_UNSIGNED_INT_SAMPLER_BUFFER, UT_UNSIGNED_INT_SAMPLER_2D_RECT = GL_UNSIGNED_INT_SAMPLER_2D_RECT, UT_UniformTypeCount } |
Uniform types, see also vl::UniformInfo, vl::GLSLProgram, vl::Uniform, http://www.opengl.org/sdk/docs/man4/xhtml/glGetActiveUniform.xml. More... | |
enum | EAttributeType { AT_FLOAT = GL_FLOAT, AT_FLOAT_VEC2 = GL_FLOAT_VEC2, AT_FLOAT_VEC3 = GL_FLOAT_VEC3, AT_FLOAT_VEC4 = GL_FLOAT_VEC4, AT_FLOAT_MAT2 = GL_FLOAT_MAT2, AT_FLOAT_MAT3 = GL_FLOAT_MAT3, AT_FLOAT_MAT4 = GL_FLOAT_MAT4, AT_FLOAT_MAT2x3 = GL_FLOAT_MAT2x3, AT_FLOAT_MAT2x4 = GL_FLOAT_MAT2x4, AT_FLOAT_MAT3x2 = GL_FLOAT_MAT3x2, AT_FLOAT_MAT3x4 = GL_FLOAT_MAT3x4, AT_FLOAT_MAT4x2 = GL_FLOAT_MAT4x2, AT_FLOAT_MAT4x3 = GL_FLOAT_MAT4x3, AT_INT = GL_INT, AT_INT_VEC2 = GL_INT_VEC2, AT_INT_VEC3 = GL_INT_VEC3, AT_INT_VEC4 = GL_INT_VEC4, AT_UNSIGNED_INT = GL_UNSIGNED_INT, AT_UNSIGNED_INT_VEC2 = GL_UNSIGNED_INT_VEC2, AT_UNSIGNED_INT_VEC3 = GL_UNSIGNED_INT_VEC3, AT_UNSIGNED_INT_VEC4 = GL_UNSIGNED_INT_VEC4, AT_DOUBLE = GL_DOUBLE, AT_DOUBLE_VEC2 = GL_DOUBLE_VEC2, AT_DOUBLE_VEC3 = GL_DOUBLE_VEC3, AT_DOUBLE_VEC4 = GL_DOUBLE_VEC4, AT_DOUBLE_MAT2 = GL_DOUBLE_MAT2, AT_DOUBLE_MAT3 = GL_DOUBLE_MAT3, AT_DOUBLE_MAT4 = GL_DOUBLE_MAT4, AT_DOUBLE_MAT2x3 = GL_DOUBLE_MAT2x3, AT_DOUBLE_MAT2x4 = GL_DOUBLE_MAT2x4, AT_DOUBLE_MAT3x2 = GL_DOUBLE_MAT3x2, AT_DOUBLE_MAT3x4 = GL_DOUBLE_MAT3x4, AT_DOUBLE_MAT4x2 = GL_DOUBLE_MAT4x2, AT_DOUBLE_MAT4x3 = GL_DOUBLE_MAT4x3 } |
GLSLProgram attribute types, see also GLSLProgram::activeAttribs() and http://www.opengl.org/sdk/docs/man4/xhtml/glGetActiveAttrib.xml. More... | |
enum | EProjectionMatrixType { PMT_UserProjection, PMT_OrthographicProjection, PMT_PerspectiveProjection, PMT_PerspectiveProjectionFrustum } |
enum | EBufferObjectUpdateFlags { BUF_ForceUpdate = 0x1, BUF_DiscardRamBuffer = 0x2 } |
enum | EBufferObjectUpdateMode { BUM_KeepRamBuffer = 0x0, BUM_KeepRamBufferAndForceUpdate = BUF_ForceUpdate, BUM_DiscardRamBuffer = BUF_DiscardRamBuffer, BUM_DiscardRamBufferAndForceUpdate = BUF_DiscardRamBuffer | BUF_ForceUpdate } |
enum | EShaderCopyMode { SCM_OwnShaders, SCM_ShareShaders } |
enum | EResetContextStates { RCS_RenderingStarted, RCS_RenderingFinished } |
enum | EVLBChunkType { VLB_ChunkStructure = 1, VLB_ChunkList, VLB_ChunkArrayRealDouble, VLB_ChunkArrayRealFloat, VLB_ChunkArrayInteger, VLB_ChunkRawtext, VLB_ChunkString, VLB_ChunkIdentifier, VLB_ChunkID, VLB_ChunkRealDouble, VLB_ChunkInteger, VLB_ChunkBool } |
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) |
VLCORE_EXPORT void | abort_vl () |
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 > | |
Flags< T > | operator| (T flag1, T flag2) |
template<typename T > | |
Flags< T > | operator& (T flag1, T flag2) |
VLCORE_EXPORT GlobalSettings * | globalSettings () |
Returns VisulizationLibrary's global settings. | |
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 > °rees) |
template<typename T > | |
Vector3< T > | radians (const Vector3< T > °rees) |
template<typename T > | |
Vector4< T > | radians (const Vector4< T > °rees) |
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 | 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 | 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 | 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 | random (real min, real max) |
Returns a random number N between 'min' and 'max' (included) with 53 bits of randomness generated using MersenneTwister->rand53(). | |
VLCORE_EXPORT u32 | randomU32 (u32 min, u32 max) |
Returns a random number N between 'min' and 'max' (included) generated using MersenneTwister->randInt(). | |
VLCORE_EXPORT i32 | randomI32 (i32 min, i32 max) |
Returns a random number N between 'min' and 'max' (included) generated using MersenneTwister->randInt(). | |
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 | |
VLCORE_EXPORT MersenneTwister * | defMersenneTwister () |
VLCORE_EXPORT void | setDefMersenneTwister (MersenneTwister *) |
std::ostream & | operator<< (std::ostream &os, const MersenneTwister &mtrand) |
std::istream & | operator>> (std::istream &is, MersenneTwister &mtrand) |
VLCORE_EXPORT void | MurmurHash3_x86_32 (const void *key, int len, u32 seed, void *out) |
VLCORE_EXPORT void | MurmurHash3_x86_128 (const void *key, int len, u32 seed, void *out) |
VLCORE_EXPORT void | MurmurHash3_x64_128 (const void *key, int len, u32 seed, void *out) |
template<class T1 , class T2 > | |
bool | operator== (const ref< T1 > &o1, const ref< T2 > &o2) |
template<class T1 , class T2 > | |
bool | operator!= (const ref< T1 > &o1, const ref< T2 > &o2) |
template<class T1 , class T2 > | |
bool | operator== (const ref< T1 > &o1, T2 *o2) |
template<class T1 , class T2 > | |
bool | operator!= (const ref< T1 > &o1, T2 *o2) |
template<class T1 , class T2 > | |
bool | operator== (T1 *o1, const ref< T2 > &o2) |
template<class T1 , class T2 > | |
bool | operator!= (T1 *o1, const ref< T2 > &o2) |
VLCORE_EXPORT ref< 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). | |
VLCORE_EXPORT bool | writeResource (const String &path, ResourceDatabase *resource) |
Short version of defLoadWriterManager()->writeResource(path, resource). | |
VLCORE_EXPORT bool | writeResource (VirtualFile *file, ResourceDatabase *resource) |
Short version of defLoadWriterManager()->writeResource(file, resource). | |
template<typename T > | |
void | swapBytes (T &value) |
Swaps the byte order of the given object. | |
VL_COMPILE_TIME_CHECK (sizeof(i8)*8==8) | |
VL_COMPILE_TIME_CHECK (sizeof(u8)*8==8) | |
VL_COMPILE_TIME_CHECK (sizeof(i16)*8==16) | |
VL_COMPILE_TIME_CHECK (sizeof(u16)*8==16) | |
VL_COMPILE_TIME_CHECK (sizeof(i32)*8==32) | |
VL_COMPILE_TIME_CHECK (sizeof(u32)*8==32) | |
VL_COMPILE_TIME_CHECK (sizeof(i64)*8==64) | |
VL_COMPILE_TIME_CHECK (sizeof(u64)*8==64) | |
VL_COMPILE_TIME_CHECK (sizeof(f32)*8==32) | |
VL_COMPILE_TIME_CHECK (sizeof(f64)*8==64) | |
String | operator+ (const wchar_t *pstr, const String &str) |
String | operator+ (const char *pstr, const String &str) |
String | operator+ (wchar_t ch, const String &str) |
String | operator+ (char ch, const String &str) |
void | initStartTime () |
template<class B , class A > | |
B * | cast (A *obj) |
template<class B , class A > | |
const B * | cast_const (const A *obj) |
float | fast1_inversesqrt (float x) |
float | fast2_inversesqrt (float x) |
float | fast_sqrt (float x) |
template<typename T > | |
const Vector2< T > | operator* (T val, const Vector2< T > &v) |
float | dot (const fvec2 &v1, const fvec2 &v2) |
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. | |
bool | compress (const void *data, size_t size, std::vector< unsigned char > &out, int level) |
bool | decompress (const void *cdata, size_t csize, void *data_out) |
VLCORE_EXPORT VLXRegistry * | defVLXRegistry () |
VLCORE_EXPORT void | setDefVLXRegistry (VLXRegistry *reg) |
std::string | vlx_makeTag (const Object *obj) |
VLXValue | vlx_Identifier (const std::string &str) |
VLXValue | vlx_ID (const std::string &str) |
VLXValue | vlx_String (const std::string &str) |
VLXValue | vlx_Rawtext (const std::string &str) |
vec2 | vlx_vec2 (const VLXArrayReal *arr) |
vec3 | vlx_vec3 (const VLXArrayReal *arr) |
vec4 | vlx_vec4 (const VLXArrayReal *arr) |
ivec4 | vlx_ivec4 (const VLXArrayInteger *arr) |
uvec4 | vlx_uivec4 (const VLXArrayInteger *arr) |
VLXValue | vlx_toValue (const std::vector< int > &vec) |
VLXValue | vlx_toValue (const vec4 &vec) |
VLXValue | vlx_toValue (const vec3 &vec) |
VLXValue | vlx_toValue (const vec2 &vec) |
bool | vlx_isTranslation (const mat4 &mat) |
bool | vlx_isScaling (const mat4 &mat) |
VLXValue | vlx_toValue (const mat4 &mat) |
mat4 | vlx_mat4 (const VLXArrayReal *arr) |
mat4 | vlx_mat4 (const VLXList *list) |
const char * | vlx_EProjectionMatrixType (EProjectionMatrixType pt) |
EProjectionMatrixType | vlx_EProjectionMatrixType (const VLXValue &value, VLXSerializer &s) |
const char * | vlx_EClearColorMode (EClearColorMode ccm) |
EClearColorMode | vlx_EClearColorMode (const VLXValue &value, VLXSerializer &s) |
const char * | vlx_EClearFlags (EClearFlags cf) |
EClearFlags | vlx_EClearFlags (const VLXValue &value, VLXSerializer &s) |
const char * | vlx_EPolygonFace (EPolygonFace pf) |
EPolygonFace | vlx_EPolygonFace (const VLXValue &value, VLXSerializer &s) |
const char * | vlx_EColorMaterial (EColorMaterial cm) |
EColorMaterial | vlx_EColorMaterial (const VLXValue &value, VLXSerializer &s) |
const char * | vlx_ETextureFormat (ETextureFormat tf) |
ETextureFormat | vlx_ETextureFormat (const VLXValue &value, VLXSerializer &s) |
const char * | vlx_EUniformType (EUniformType type) |
EUniformType | vlx_EUniformType (const VLXValue &value, VLXSerializer &s) |
const char * | vlx_EDepthTextureMode (EDepthTextureMode dtm) |
EDepthTextureMode | vlx_EDepthTextureMode (const VLXValue &value, VLXSerializer &s) |
const char * | vlx_ETexCompareMode (ETexCompareMode tcm) |
ETexCompareMode | vlx_ETexCompareMode (const VLXValue &value, VLXSerializer &s) |
const char * | vlx_ETexCompareFunc (ETexCompareFunc tcf) |
ETexCompareFunc | vlx_ETexCompareFunc (const VLXValue &value, VLXSerializer &s) |
const char * | vlx_ETexParamFilter (ETexParamFilter tpf) |
ETexParamFilter | vlx_ETexParamFilter (const VLXValue &value, VLXSerializer &s) |
const char * | vlx_ETexParamWrap (ETexParamWrap tpw) |
ETexParamWrap | vlx_ETexParamWrap (const VLXValue &value, VLXSerializer &s) |
const char * | vlx_EEnable (EEnable en) |
EEnable | vlx_EEnable (const VLXValue &value, VLXSerializer &s) |
EPrimitiveType | vlx_EPrimitiveType (const VLXValue &value, VLXSerializer &s) |
const char * | vlx_EPrimitiveType (EPrimitiveType type) |
EVertexAttribInterpretation | vlx_EVertexAttribInterpretation (const VLXValue &value, VLXSerializer &s) |
const char * | vlx_EVertexAttribInterpretation (EVertexAttribInterpretation type) |
ETextureDimension | vlx_ETextureDimension (const VLXValue &value, VLXSerializer &s) |
const char * | vlx_ETextureDimension (ETextureDimension td) |
VLXValue | export_AABB (const AABB &aabb) |
AABB | import_AABB (const VLXStructure *vlx) |
VLXValue | export_Sphere (const Sphere &sphere) |
Sphere | import_Sphere (const VLXStructure *vlx) |
VLGRAPHICS_EXPORT void | expandResourceDatabase (ResourceDatabase *db) |
Extracts and sorts Shaders, Effects, Renderables, RenderStates, Transforms etc. from their parent objects. | |
vl::ref< vl::Geometry > | makeScales (bool X=true, bool Y=true, bool Z=true, int numArmTicks=50, float mmStep=10, float mmTickSize=4, vl::fvec4 color=vl::fvec4(1, 1, 1, 1)) |
Makes an orthogonal cross-hair scales (reticle). | |
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), bool center=true) |
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. | |
VL_COMPILE_TIME_CHECK (EN_EnableCount==sizeof(Is_Enable_Supported)/sizeof(Is_Enable_Supported[0])) | |
VLGRAPHICS_EXPORT bool | initializeOpenGL () |
To test whether OpenGL has been initialized at least once check vl::Is_OpenGL_Initialized. | |
VLGRAPHICS_EXPORT void * | getGLProcAddress (const char *name) |
Returns the address of the specified OpenGL function if supported by the active OpenGL driver and profile. | |
VLGRAPHICS_EXPORT const char * | getGLErrorString (int err) |
Returns a readable string corresponding to the given OpenGL error code as returned by glGetError() | |
VLGRAPHICS_EXPORT int | glcheck (const char *file, int line) |
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) |
VLGRAPHICS_EXPORT ref < ResourceDatabase > | loadVLT (VirtualFile *file) |
VLGRAPHICS_EXPORT ref < ResourceDatabase > | loadVLT (const String &path) |
VLGRAPHICS_EXPORT ref < ResourceDatabase > | loadVLB (VirtualFile *file) |
VLGRAPHICS_EXPORT ref < ResourceDatabase > | loadVLB (const String &path) |
VLGRAPHICS_EXPORT bool | saveVLT (VirtualFile *file, const ResourceDatabase *) |
VLGRAPHICS_EXPORT bool | saveVLT (const String &file, const ResourceDatabase *) |
VLGRAPHICS_EXPORT bool | saveVLB (VirtualFile *file, const ResourceDatabase *) |
VLGRAPHICS_EXPORT bool | saveVLB (const String &file, const ResourceDatabase *) |
VLGRAPHICS_EXPORT bool | isVLT (VirtualFile *file) |
VLGRAPHICS_EXPORT bool | isVLT (const String &file) |
VLGRAPHICS_EXPORT bool | isVLB (VirtualFile *file) |
VLGRAPHICS_EXPORT bool | isVLB (const String &file) |
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 degree into radian using double precision. | |
const double | dRAD_TO_DEG = 180.0 / dPi |
Constant to convert radian into degree 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 degree into radian using float precision. | |
const float | fRAD_TO_DEG = float(180.0 / dPi) |
Constant to convert radian into degree using float precision. | |
unsigned long long | gStartTime = 0 |
vl::Glyph | ft_errors [] |
bool | Is_OpenGL_Initialized = false |
Set to true if the last call to vl::initializeOpenGL() was succesful. | |
bool | Is_OpenGL_Core_Profile = false |
OpenGL: true if the current context has been created with the WGL_CONTEXT_CORE_PROFILE_BIT_ARB or equivalent. | |
bool | Is_OpenGL_Forward_Compatible = false |
OpenGL: true if the current context has been created with the WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB or equivalent. | |
bool | Has_GL_Version_1_1 = false |
bool | Has_GL_Version_1_2 = false |
bool | Has_GL_Version_1_3 = false |
bool | Has_GL_Version_1_4 = false |
bool | Has_GL_Version_1_5 = false |
bool | Has_GL_Version_2_0 = false |
bool | Has_GL_Version_2_1 = false |
bool | Has_GL_Version_3_0 = false |
bool | Has_GL_Version_3_1 = false |
bool | Has_GL_Version_3_2 = false |
bool | Has_GL_Version_3_3 = false |
bool | Has_GL_Version_4_0 = false |
bool | Has_GL_Version_4_1 = false |
bool | Has_Fixed_Function_Pipeline = false |
OpenGL: true if !Is_OpenGL_Forward_Compatible && !Is_OpenGL_Core_Profile OpenGL ES 1: always true OpenGL ES 2: always false. | |
bool | Has_GLES_Version_1_1 = false |
bool | Has_GLES_Version_2_0 = false |
bool | Has_GLES = false |
bool | Has_GLSL = false |
bool | Has_GLSL_120_Or_More = false |
bool | Has_GLSL_130_Or_More = false |
bool | Has_GLSL_140_Or_More = false |
bool | Has_GLSL_150_Or_More = false |
bool | Has_GLSL_330_Or_More = false |
bool | Has_GLSL_400_Or_More = false |
bool | Has_GLSL_410_Or_More = false |
bool | Has_Geometry_Shader = false |
bool | Has_BufferObject = false |
bool | Has_FBO = false |
bool | Has_PBO = false |
bool | Has_FBO_Multisample = false |
bool | Has_Cubemap_Textures = false |
bool | Has_Texture_Rectangle = false |
bool | Has_Texture_Array = false |
bool | Has_Texture_Buffer = false |
bool | Has_Texture_Multisample = false |
bool | Has_Texture_3D = false |
bool | Has_Multitexture = false |
bool | Has_Primitive_Restart = false |
bool | Has_Occlusion_Query = false |
bool | Has_Transform_Feedback = false |
bool | Has_glGenerateMipmaps = false |
bool | Has_GL_GENERATE_MIPMAP = false |
bool | Has_Point_Sprite = false |
bool | Has_Base_Vertex = false |
bool | Has_Primitive_Instancing = false |
const GLenum | Translate_Enable [] |
const char * | Translate_Enable_String [] |
bool | Is_Enable_Supported [EN_EnableCount] |
Visualization Library namespace.
typedef CatmullRomInterpolator<float> vl::CatmullRomInterpolatorFloat_T |
Definition at line 143 of file CatmullRomInterpolator.hpp.
Definition at line 144 of file CatmullRomInterpolator.hpp.
Definition at line 145 of file CatmullRomInterpolator.hpp.
Definition at line 146 of file CatmullRomInterpolator.hpp.
typedef CatmullRomInterpolator<double> vl::CatmullRomInterpolatorDouble_T |
Definition at line 147 of file CatmullRomInterpolator.hpp.
Definition at line 148 of file CatmullRomInterpolator.hpp.
Definition at line 149 of file CatmullRomInterpolator.hpp.
Definition at line 150 of file CatmullRomInterpolator.hpp.
typedef float vl::real |
Defined as 'typedef
float
real'
.
Definition at line 228 of file config.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.
Definition at line 87 of file LinearInterpolator.hpp.
Definition at line 88 of file LinearInterpolator.hpp.
Definition at line 89 of file LinearInterpolator.hpp.
typedef LinearInterpolator<double> vl::LinearInterpolatorDouble_T |
Definition at line 90 of file LinearInterpolator.hpp.
Definition at line 91 of file LinearInterpolator.hpp.
Definition at line 92 of file LinearInterpolator.hpp.
Definition at line 93 of file LinearInterpolator.hpp.
A 2x2 matrix using double
precision.
Definition at line 452 of file Matrix2.hpp.
A 2x2 matrix using float
precision.
Definition at line 454 of file Matrix2.hpp.
A 2x2 matrix using int
precision.
Definition at line 456 of file Matrix2.hpp.
A 2x2 matrix using unsigned
int precision.
Definition at line 458 of file Matrix2.hpp.
Defined as: 'typedef
fmat2
mat2'
. See also VL_PIPELINE_PRECISION.
Definition at line 465 of file Matrix2.hpp.
A 3x3 matrix using double
precision.
Definition at line 649 of file Matrix3.hpp.
A 3x3 matrix using float
precision.
Definition at line 651 of file Matrix3.hpp.
A 3x3 matrix using int
precision.
Definition at line 653 of file Matrix3.hpp.
A 3x3 matrix using unsigned
int precision.
Definition at line 655 of file Matrix3.hpp.
Defined as: 'typedef
fmat3
mat3'
. See also VL_PIPELINE_PRECISION.
Definition at line 662 of file Matrix3.hpp.
A 4x4 matrix using double
precision.
Definition at line 1227 of file Matrix4.hpp.
A 4x4 matrix using float
precision.
Definition at line 1229 of file Matrix4.hpp.
A 4x4 matrix using int
precision.
Definition at line 1231 of file Matrix4.hpp.
A 4x4 matrix using unsigned
int precision.
Definition at line 1233 of file Matrix4.hpp.
Defined as: 'typedef
fmat4
mat4'
. See also VL_PIPELINE_PRECISION.
Definition at line 1240 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 char vl::i8 |
8 bits signed integer
Definition at line 41 of file std_types.hpp.
typedef unsigned char vl::u8 |
8 bits unsigned integer
Definition at line 43 of file std_types.hpp.
typedef short vl::i16 |
16 bits signed integer
Definition at line 45 of file std_types.hpp.
typedef unsigned short vl::u16 |
16 bits unsigned integer
Definition at line 47 of file std_types.hpp.
typedef int vl::i32 |
32 bits signed integer
Definition at line 49 of file std_types.hpp.
typedef unsigned int vl::u32 |
32 bits unsigned integer
Definition at line 51 of file std_types.hpp.
typedef long long vl::i64 |
64 bits signed integer
Definition at line 53 of file std_types.hpp.
typedef unsigned long long vl::u64 |
64 bits unsigned integer
Definition at line 55 of file std_types.hpp.
typedef float vl::f32 |
32 bits floating point value
Definition at line 57 of file std_types.hpp.
typedef double vl::f64 |
64 bits floating point value
Definition at line 59 of file std_types.hpp.
A 2 components vector with int
precision.
Definition at line 267 of file Vector2.hpp.
A 2 components vector with unsigned
int precision.
Definition at line 269 of file Vector2.hpp.
A 2 components vector with float
precision.
Definition at line 271 of file Vector2.hpp.
A 2 components vector with double
precision.
Definition at line 273 of file Vector2.hpp.
A 2 components vector with char
precision.
Definition at line 275 of file Vector2.hpp.
typedef Vector2<unsigned char> vl::ubvec2 |
A 2 components vector with unsigned
char precision.
Definition at line 277 of file Vector2.hpp.
A 2 components vector with short
precision.
Definition at line 279 of file Vector2.hpp.
typedef Vector2<unsigned short> vl::usvec2 |
A 2 components vector with unsigned
short precision.
Definition at line 281 of file Vector2.hpp.
Defined as: 'typedef
fvec2
vec2'
. See also VL_PIPELINE_PRECISION.
Definition at line 288 of file Vector2.hpp.
A 3 components vector with int
precision.
Definition at line 236 of file Vector3.hpp.
A 3 components vector with unsigned
int precision.
Definition at line 238 of file Vector3.hpp.
A 3 components vector with float
precision.
Definition at line 240 of file Vector3.hpp.
A 3 components vector with double
precision.
Definition at line 242 of file Vector3.hpp.
A 3 components vector with char
precision.
Definition at line 244 of file Vector3.hpp.
typedef Vector3<unsigned char> vl::ubvec3 |
A 3 components vector with unsigned
char precision.
Definition at line 246 of file Vector3.hpp.
A 3 components vector with short
precision.
Definition at line 248 of file Vector3.hpp.
typedef Vector3<unsigned short> vl::usvec3 |
A 3 components vector with unsigned
short precision.
Definition at line 250 of file Vector3.hpp.
Defined as: 'typedef
fvec3
vec3'
. See also VL_PIPELINE_PRECISION.
Definition at line 257 of file Vector3.hpp.
A 4 components vector with int
precision.
Definition at line 262 of file Vector4.hpp.
A 4 components vector with unsigned
int precision.
Definition at line 264 of file Vector4.hpp.
A 4 components vector with float
precision.
Definition at line 266 of file Vector4.hpp.
A 4 components vector with double
precision.
Definition at line 268 of file Vector4.hpp.
A 4 components vector with char
precision.
Definition at line 270 of file Vector4.hpp.
typedef Vector4<unsigned char> vl::ubvec4 |
A 4 components vector with unsigned
char precision.
Definition at line 272 of file Vector4.hpp.
A 4 components vector with short
precision.
Definition at line 274 of file Vector4.hpp.
typedef Vector4<unsigned short> vl::usvec4 |
A 4 components vector with unsigned
short precision.
Definition at line 276 of file Vector4.hpp.
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 148 of file RenderQueue.hpp.
enum vl::ETextureFormat |
Definition at line 45 of file vlnamespace.hpp.
enum vl::EImageFormat |
Definition at line 284 of file vlnamespace.hpp.
enum vl::ETex2DTarget |
Definition at line 328 of file vlnamespace.hpp.
enum vl::EAttachmentPoint |
Definition at line 342 of file vlnamespace.hpp.
Color-renderable formats as defined in section 4.4.4 of opengl api specs 4.1.
Definition at line 371 of file vlnamespace.hpp.
DBF_DEPTH_COMPONENT | |
DBF_DEPTH_COMPONENT16 | |
DBF_DEPTH_COMPONENT24 | |
DBF_DEPTH_COMPONENT32 | |
DBF_DEPTH_COMPONENT32F |
Definition at line 445 of file vlnamespace.hpp.
Definition at line 454 of file vlnamespace.hpp.
Definition at line 462 of file vlnamespace.hpp.
enum vl::EClearFlags |
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 |
Definition at line 481 of file vlnamespace.hpp.
enum vl::EBlendFactor |
Definition at line 488 of file vlnamespace.hpp.
Definition at line 507 of file vlnamespace.hpp.
enum vl::ETexCompareMode |
Definition at line 522 of file vlnamespace.hpp.
enum vl::ETexCompareFunc |
Definition at line 529 of file vlnamespace.hpp.
Definition at line 541 of file vlnamespace.hpp.
enum vl::EReadDrawBuffer |
Definition at line 549 of file vlnamespace.hpp.
enum vl::EFramebufferBind |
Definition at line 578 of file vlnamespace.hpp.
enum vl::EImageType |
Definition at line 585 of file vlnamespace.hpp.
enum vl::EPrimitiveType |
Definition at line 616 of file vlnamespace.hpp.
enum vl::EPolygonFace |
Definition at line 643 of file vlnamespace.hpp.
enum vl::EHintMode |
Definition at line 650 of file vlnamespace.hpp.
enum vl::EFrontFace |
Definition at line 657 of file vlnamespace.hpp.
enum vl::EFunction |
Definition at line 663 of file vlnamespace.hpp.
enum vl::EPolygonMode |
Definition at line 675 of file vlnamespace.hpp.
enum vl::EShadeModel |
Definition at line 682 of file vlnamespace.hpp.
enum vl::EBlendEquation |
Definition at line 688 of file vlnamespace.hpp.
enum vl::EColorMaterial |
Definition at line 697 of file vlnamespace.hpp.
enum vl::EColorControl |
Definition at line 706 of file vlnamespace.hpp.
enum vl::EFogMode |
Definition at line 712 of file vlnamespace.hpp.
enum vl::ELogicOp |
LO_CLEAR | |
LO_SET | |
LO_COPY | |
LO_COPY_INVERTED | |
LO_NOOP | |
LO_INVERT | |
LO_AND | |
LO_NAND | |
LO_OR | |
LO_NOR | |
LO_XOR | |
LO_EQUIV | |
LO_AND_REVERSE | |
LO_AND_INVERTED | |
LO_OR_REVERSE | |
LO_OR_INVERTED |
Definition at line 719 of file vlnamespace.hpp.
enum vl::EStencilOp |
Definition at line 739 of file vlnamespace.hpp.
enum vl::ETexParamFilter |
TPF_NEAREST | |
TPF_LINEAR | |
TPF_NEAREST_MIPMAP_NEAREST | |
TPF_LINEAR_MIPMAP_NEAREST | |
TPF_NEAREST_MIPMAP_LINEAR | |
TPF_LINEAR_MIPMAP_LINEAR |
Definition at line 751 of file vlnamespace.hpp.
enum vl::ETexParamWrap |
Definition at line 761 of file vlnamespace.hpp.
enum vl::ETexEnvMode |
TEM_DECAL | |
TEM_MODULATE | |
TEM_ADD | |
TEM_BLEND | |
TEM_REPLACE | |
TEM_COMBINE | |
TEM_ADD_SIGN | |
TEM_INTERPOLATE | |
TEM_SUBTRACT | |
TEM_DOT3_RGB | |
TEM_DOT3_RGBA |
Definition at line 770 of file vlnamespace.hpp.
enum vl::ETexEnvSource |
TES_TEXTURE | |
TES_TEXTURE0 | |
TES_TEXTURE1 | |
TES_TEXTURE2 | |
TES_TEXTURE3 | |
TES_TEXTURE4 | |
TES_TEXTURE5 | |
TES_TEXTURE6 | |
TES_TEXTURE7 | |
TES_CONSTANT | |
TES_PRIMARY_COLOR | |
TES_PREVIOUS |
Definition at line 785 of file vlnamespace.hpp.
enum vl::ETexEnvOperand |
Definition at line 801 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.
TGM_DISABLED | |
TGM_EYE_LINEAR |
Not supported under OpenGL ES 1.x. |
TGM_OBJECT_LINEAR |
Not supported under OpenGL ES 1.x. |
TGM_SPHERE_MAP |
Not supported under OpenGL ES 1.x. |
TGM_REFLECTION_MAP | |
TGM_NORMAL_MAP |
Definition at line 810 of file vlnamespace.hpp.
enum vl::EEnable |
Constant that enable/disable a specific OpenGL feature, see also Shader, Shader::enable(), Shader::disable(), Shader::isEnabled()
EN_BLEND |
If enabled, blend the incoming RGBA color values with the values in the color buffers, see also BlendFunc for more information. |
EN_CULL_FACE |
If enabled, cull polygons based on their winding in window coordinates, see also CullFace. |
EN_DEPTH_TEST |
If enabled, do depth comparisons and update the depth buffer; Note that even if the depth buffer exists and the depth mask is non-zero, the depth buffer is not updated if the depth test is disabled, see also DepthFunc and DepthRange. |
EN_STENCIL_TEST |
If enabled, do stencil testing and update the stencil buffer, see also StencilFunc and StencilOp. |
EN_DITHER |
If enabled, dither color components or indices before they are written to the color buffer. |
EN_POLYGON_OFFSET_FILL |
If enabled, and if the polygon is rendered in GL_FILL mode, an offset is added to depth values of a polygon's fragments before the depth comparison is performed, see also PolygonOffset. |
EN_POLYGON_OFFSET_LINE |
If enabled, and if the polygon is rendered in GL_LINE mode, an offset is added to depth values of a polygon's fragments before the depth comparison is performed, see also PolygonOffset. |
EN_POLYGON_OFFSET_POINT |
If enabled, an offset is added to depth values of a polygon's fragments before the depth comparison is performed, if the polygon is rendered in GL_POINT mode, see also PolygonOffset. |
EN_COLOR_LOGIC_OP |
If enabled, apply the currently selected logical operation to the incoming RGBA color and color buffer values, see also LogicOp. |
EN_MULTISAMPLE |
If enabled, use multiple fragment samples in computing the final color of a pixel. See glSampleCoverage. |
EN_POINT_SMOOTH |
If enabled, draw points with proper filtering; Otherwise, draw aliased points, see also PointSize. |
EN_LINE_SMOOTH |
If enabled, draw lines with correct filtering; Otherwise, draw aliased lines, see also LineWidth. |
EN_POLYGON_SMOOTH |
If enabled, draw polygons with proper filtering; Otherwise, draw aliased polygons; For correct antialiased polygons, an alpha buffer is needed and the polygons must be sorted front to back. |
EN_LINE_STIPPLE |
If enabled, use the current line stipple pattern when drawing lines, see also LineStipple. |
EN_POLYGON_STIPPLE |
If enabled, use the current polygon stipple pattern when rendering polygons, see also PolygonStipple. |
EN_POINT_SPRITE |
If enabled, calculate texture coordinates for points based on texture environment and point parameter settings; Otherwise texture coordinates are constant across points. |
EN_PROGRAM_POINT_SIZE |
[GL_VERTEX_PROGRAM_POINT_SIZE/GL_PROGRAM_POINT_SIZE] If enabled, and a vertex shader is active, then the derived point size is taken from the (potentially clipped) shader builtin |
EN_ALPHA_TEST |
If enabled, performs alpha testing, see also AlphaFunc for more information. |
EN_LIGHTING |
If enabled, use the current lighting parameters to compute the vertex color; Otherwise, simply associate the current color with each vertex, see also Material, LightModel, and Light. |
EN_COLOR_SUM |
If enabled, add the secondary color value to the computed fragment color. |
EN_FOG |
If enabled, blend a fog color into the post-texturing color, see also Fog. |
EN_NORMALIZE |
If enabled, normal vectors are scaled to unit length after transformation, see also vl::EN_RESCALE_NORMAL. |
EN_RESCALE_NORMAL |
If enabled, normals are scaled by a scaling factor derived from the modelview matrix; vl::EN_RESCALE_NORMAL requires that the originally specified normals were of unit length, and that the modelview matrix contain only uniform scales for proper results, see also vl::EN_NORMALIZE. |
EN_VERTEX_PROGRAM_TWO_SIDE |
If enabled, and a vertex shader is active, it specifies that the GL will choose between front and back colors based on the polygon's face direction of which the vertex being shaded is a part; It has no effect on points or lines. |
EN_TEXTURE_CUBE_MAP_SEAMLESS |
If enabled, cubemap textures are sampled such that when linearly sampling from the border between two adjacent faces, texels from both faces are used to generate the final sample value. When disabled, texels from only a single face are used to construct the final sample value. |
EN_CLIP_DISTANCE0 |
If enabled, clip geometry against user-defined half space #0. |
EN_CLIP_DISTANCE1 |
If enabled, clip geometry against user-defined half space #1. |
EN_CLIP_DISTANCE2 |
If enabled, clip geometry against user-defined half space #2. |
EN_CLIP_DISTANCE3 |
If enabled, clip geometry against user-defined half space #3. |
EN_CLIP_DISTANCE4 |
If enabled, clip geometry against user-defined half space #4. |
EN_CLIP_DISTANCE5 |
If enabled, clip geometry against user-defined half space #5. |
EN_CLIP_DISTANCE6 |
If enabled, clip geometry against user-defined half space #6. |
EN_CLIP_DISTANCE7 |
If enabled, clip geometry against user-defined half space #7. |
EN_SAMPLE_ALPHA_TO_COVERAGE |
If enabled, compute a temporary coverage value where each bit is determined by the alpha value at the corresponding sample location; The temporary coverage value is then ANDed with the fragment coverage value. |
EN_SAMPLE_ALPHA_TO_ONE |
If enabled, each sample alpha value is replaced by the maximum representable alpha value. |
EN_SAMPLE_COVERAGE |
If enabled, the fragment's coverage is ANDed with the temporary coverage value; If GL_SAMPLE_COVERAGE_INVERT is set to GL_TRUE, invert the coverage value, see also SampleCoverage. |
EN_EnableCount |
For internal use only. |
EN_UnknownEnable |
For internal use only. |
Definition at line 821 of file vlnamespace.hpp.
Definition at line 883 of file vlnamespace.hpp.
Definition at line 896 of file vlnamespace.hpp.
enum vl::EAlign |
Definition at line 903 of file vlnamespace.hpp.
enum vl::ETextAlign |
Definition at line 913 of file vlnamespace.hpp.
enum vl::ETextMode |
Definition at line 921 of file vlnamespace.hpp.
enum vl::ETextLayout |
Definition at line 927 of file vlnamespace.hpp.
enum vl::EDepthSortMode |
Definition at line 934 of file vlnamespace.hpp.
enum vl::EImageDimension |
Definition at line 941 of file vlnamespace.hpp.
enum vl::EStateType |
Definition at line 951 of file vlnamespace.hpp.
enum vl::ERenderState |
Definition at line 960 of file vlnamespace.hpp.
Definition at line 1105 of file vlnamespace.hpp.
Definition at line 1114 of file vlnamespace.hpp.
enum vl::EBufferBits |
Definition at line 1121 of file vlnamespace.hpp.
enum vl::EBillboardType |
Definition at line 1128 of file vlnamespace.hpp.
enum vl::ESortMode |
Definition at line 1134 of file vlnamespace.hpp.
enum vl::EGetMode |
Definition at line 1140 of file vlnamespace.hpp.
enum vl::EStringEncoding |
Definition at line 1146 of file vlnamespace.hpp.
enum vl::EOpenMode |
Definition at line 1158 of file vlnamespace.hpp.
enum vl::EKey |
Definition at line 1164 of file vlnamespace.hpp.
enum vl::EMouseButton |
Definition at line 1285 of file vlnamespace.hpp.
enum vl::EInheritance |
Definition at line 1296 of file vlnamespace.hpp.
enum vl::EShaderType |
Definition at line 1306 of file vlnamespace.hpp.
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 1315 of file vlnamespace.hpp.
enum vl::EVerbosityLevel |
Definition at line 1324 of file vlnamespace.hpp.
enum vl::ELogLevel |
Definition at line 1331 of file vlnamespace.hpp.
Definition at line 1341 of file vlnamespace.hpp.
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.
Definition at line 1349 of file vlnamespace.hpp.
Default vertex attribute bindings.
Definition at line 1362 of file vlnamespace.hpp.
enum vl::EUniformType |
Uniform types, see also vl::UniformInfo, vl::GLSLProgram, vl::Uniform, http://www.opengl.org/sdk/docs/man4/xhtml/glGetActiveUniform.xml.
Definition at line 1371 of file vlnamespace.hpp.
enum vl::EAttributeType |
GLSLProgram attribute types, see also GLSLProgram::activeAttribs() and http://www.opengl.org/sdk/docs/man4/xhtml/glGetActiveAttrib.xml.
Definition at line 1456 of file vlnamespace.hpp.
PMT_UserProjection |
Unknown or other projection type. |
PMT_OrthographicProjection |
Projection matrix generated by mat4::getOrtho() or similar. Any orthographic projection. |
PMT_PerspectiveProjection |
Projection matrix generated by mat4::getPerspective() or similar. Symmetrical (on-axis) perspective projection. |
PMT_PerspectiveProjectionFrustum |
Projection matrix generated by mat4::getFrustum() or similar. Possibly asymmetrical (off-axis) perspetive projection, like the ones used for tile-rendering. |
Definition at line 1495 of file vlnamespace.hpp.
Definition at line 1503 of file vlnamespace.hpp.
BUM_KeepRamBuffer |
Keeps the local buffer on RAM and updates the BufferObject only if it is marked as dirty. The BufferObject is marked as clean after the update. |
BUM_KeepRamBufferAndForceUpdate |
Keeps the local buffer on RAM and updates the BufferObject always, even if it is not marked as dirty. The BufferObject is marked as clean after the update. |
BUM_DiscardRamBuffer |
Discards the local buffer on RAM and updates the BufferObject only if it is marked as dirty. The BufferObject is marked as clean after the update. |
BUM_DiscardRamBufferAndForceUpdate |
Discards the local buffer on RAM and updates the BufferObject always, even if it is not marked as dirty. The BufferObject is marked as clean after the update. |
Definition at line 1509 of file vlnamespace.hpp.
enum vl::EShaderCopyMode |
SCM_OwnShaders |
A local copy of the Shaders will be created but the contained render states will be shared. |
SCM_ShareShaders |
The Shader pointer will be copied as is. |
Definition at line 1524 of file vlnamespace.hpp.
Definition at line 1530 of file vlnamespace.hpp.
enum vl::EVLBChunkType |
Definition at line 41 of file VLXBinaryDefs.hpp.
enum vl::ESilhouetteMode |
Definition at line 43 of file Extrusion.hpp.
enum vl::ECapsuleCap |
Definition at line 41 of file GeometryPrimitives.hpp.
enum vl::EBondType |
enum vl::EAtomType |
Element types.
Definition at line 42 of file chem_database.hpp.
enum vl::EMoleculeStyle |
Defines the main molecule styles.
Definition at line 48 of file Molecule.hpp.
enum vl::ETextureMode |
Defines how the texture is applied to the rendering primitive.
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.
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.
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.
void vl::log_failed_check | ( | const char * | expr, |
const char * | file, | ||
int | line | ||
) |
Definition at line 249 of file Log.cpp.
References NULL, vl::String::ptr(), and VL_LOG_ERROR.
void vl::abort_vl | ( | ) |
Definition at line 291 of file init_core.cpp.
References vl::Time::sleep().
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 151 of file init_core.cpp.
Referenced by isDAT(), vl::LoadWriterDae::load(), 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 155 of file init_core.cpp.
Flags<T> vl::operator| | ( | T | flag1, |
T | flag2 | ||
) |
Flags<T> vl::operator& | ( | T | flag1, |
T | flag2 | ||
) |
GlobalSettings * vl::globalSettings | ( | ) |
Returns VisulizationLibrary's global settings.
Definition at line 110 of file init_core.cpp.
Referenced by vl::Log::bug(), vl::FramebufferObject::checkFramebufferStatus(), vl::Log::debug(), vl::Log::error(), vl::VisualizationLibrary::initCore(), vl::Log::logSystemInfo(), vl::Log::notify(), vl::Log::print(), vl::Renderer::render(), vl::EdgeRenderer::render(), vl::OpenGLContext::resetContextStates(), vl::VisualizationLibrary::shutdownCore(), and vl::Log::warning().
T vl::asinh | ( | T | x ) |
T vl::acosh | ( | T | x ) |
T vl::atanh | ( | T | x ) |
bool vl::isnan | ( | T | value ) |
Definition at line 130 of file glsl_math.hpp.
Referenced by isnan().
bool vl::isinf | ( | T | value ) |
bool vl::isinf_pos | ( | T | value ) |
Definition at line 132 of file glsl_math.hpp.
References max().
bool vl::isinf_neg | ( | T | value ) |
Definition at line 133 of file glsl_math.hpp.
References min().
T vl::modf | ( | T | a, |
T & | intpart | ||
) |
Referenced by modf(), and roundEven().
T vl::radians | ( | T | degrees ) |
Definition at line 147 of file glsl_math.hpp.
References dDEG_TO_RAD.
Referenced by vl::StereoCamera::updateLeftRightCameras().
Vector2<T> vl::radians | ( | const Vector2< T > & | degrees ) |
Definition at line 150 of file glsl_math.hpp.
References dDEG_TO_RAD, vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::radians | ( | const Vector3< T > & | degrees ) |
Definition at line 156 of file glsl_math.hpp.
References dDEG_TO_RAD, vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::radians | ( | const Vector4< T > & | degrees ) |
Definition at line 163 of file glsl_math.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().
T vl::degrees | ( | T | radians ) |
Definition at line 173 of file glsl_math.hpp.
References dRAD_TO_DEG.
Referenced by vl::EdgeRenderer::setCreaseAngle().
Vector2<T> vl::degrees | ( | const Vector2< T > & | radians ) |
Definition at line 176 of file glsl_math.hpp.
References dRAD_TO_DEG, vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::degrees | ( | const Vector3< T > & | radians ) |
Definition at line 182 of file glsl_math.hpp.
References dRAD_TO_DEG, vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::degrees | ( | const Vector4< T > & | radians ) |
Definition at line 189 of file glsl_math.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().
T vl::sin | ( | T | a ) |
Definition at line 199 of file glsl_math.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().
Vector2<T> vl::sin | ( | const Vector2< T > & | angle ) |
Definition at line 202 of file glsl_math.hpp.
References sin(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::sin | ( | const Vector3< T > & | angle ) |
Definition at line 208 of file glsl_math.hpp.
References sin(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::sin | ( | const Vector4< T > & | angle ) |
Definition at line 215 of file glsl_math.hpp.
References sin(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::cos | ( | T | a ) |
Definition at line 225 of file glsl_math.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().
Vector2<T> vl::cos | ( | const Vector2< T > & | angle ) |
Definition at line 228 of file glsl_math.hpp.
References cos(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::cos | ( | const Vector3< T > & | angle ) |
Definition at line 234 of file glsl_math.hpp.
References cos(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::cos | ( | const Vector4< T > & | angle ) |
Definition at line 241 of file glsl_math.hpp.
References cos(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::tan | ( | T | a ) |
Definition at line 251 of file glsl_math.hpp.
Referenced by tan(), and vl::StereoCamera::updateLeftRightCameras().
Vector2<T> vl::tan | ( | const Vector2< T > & | angle ) |
Definition at line 254 of file glsl_math.hpp.
References tan(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::tan | ( | const Vector3< T > & | angle ) |
Definition at line 260 of file glsl_math.hpp.
References tan(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::tan | ( | const Vector4< T > & | angle ) |
Definition at line 267 of file glsl_math.hpp.
References tan(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::atan | ( | T | a ) |
Definition at line 277 of file glsl_math.hpp.
Referenced by vl::Camera::setProjectionFrustum().
Vector2<T> vl::atan | ( | const Vector2< T > & | a, |
const Vector2< T > & | b | ||
) |
Definition at line 280 of file glsl_math.hpp.
References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::atan | ( | const Vector3< T > & | a, |
const Vector3< T > & | b | ||
) |
Definition at line 286 of file glsl_math.hpp.
References vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::atan | ( | const Vector4< T > & | a, |
const Vector4< T > & | b | ||
) |
Definition at line 293 of file glsl_math.hpp.
References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::asin | ( | T | a ) |
Definition at line 303 of file glsl_math.hpp.
Referenced by asin().
Vector2<T> vl::asin | ( | const Vector2< T > & | angle ) |
Definition at line 306 of file glsl_math.hpp.
References asin(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::asin | ( | const Vector3< T > & | angle ) |
Definition at line 312 of file glsl_math.hpp.
References asin(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::asin | ( | const Vector4< T > & | angle ) |
Definition at line 319 of file glsl_math.hpp.
References asin(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::acos | ( | T | a ) |
Definition at line 329 of file glsl_math.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().
Vector2<T> vl::acos | ( | const Vector2< T > & | angle ) |
Definition at line 332 of file glsl_math.hpp.
References acos(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::acos | ( | const Vector3< T > & | angle ) |
Definition at line 338 of file glsl_math.hpp.
References acos(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::acos | ( | const Vector4< T > & | angle ) |
Definition at line 345 of file glsl_math.hpp.
References acos(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::sinh | ( | T | a ) |
Vector2<T> vl::sinh | ( | const Vector2< T > & | a ) |
Definition at line 360 of file glsl_math.hpp.
References sinh(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::sinh | ( | const Vector3< T > & | a ) |
Definition at line 363 of file glsl_math.hpp.
References sinh(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::sinh | ( | const Vector4< T > & | a ) |
Definition at line 366 of file glsl_math.hpp.
References sinh(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::cosh | ( | T | a ) |
Vector2<T> vl::cosh | ( | const Vector2< T > & | a ) |
Definition at line 374 of file glsl_math.hpp.
References cosh(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::cosh | ( | const Vector3< T > & | a ) |
Definition at line 377 of file glsl_math.hpp.
References cosh(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::cosh | ( | const Vector4< T > & | a ) |
Definition at line 380 of file glsl_math.hpp.
References cosh(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::tanh | ( | T | a ) |
Vector2<T> vl::tanh | ( | const Vector2< T > & | a ) |
Definition at line 388 of file glsl_math.hpp.
References tanh(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::tanh | ( | const Vector3< T > & | a ) |
Definition at line 391 of file glsl_math.hpp.
References tanh(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::tanh | ( | const Vector4< T > & | a ) |
Definition at line 394 of file glsl_math.hpp.
References tanh(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
Vector2<T> vl::asinh | ( | const Vector2< T > & | a ) |
Definition at line 399 of file glsl_math.hpp.
References asinh(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::asinh | ( | const Vector3< T > & | a ) |
Definition at line 402 of file glsl_math.hpp.
References asinh(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::asinh | ( | const Vector4< T > & | a ) |
Definition at line 405 of file glsl_math.hpp.
References asinh(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
Vector2<T> vl::acosh | ( | const Vector2< T > & | a ) |
Definition at line 410 of file glsl_math.hpp.
References acosh(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::acosh | ( | const Vector3< T > & | a ) |
Definition at line 413 of file glsl_math.hpp.
References acosh(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::acosh | ( | const Vector4< T > & | a ) |
Definition at line 416 of file glsl_math.hpp.
References acosh(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
Vector2<T> vl::atanh | ( | const Vector2< T > & | a ) |
Definition at line 421 of file glsl_math.hpp.
References atanh(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::atanh | ( | const Vector3< T > & | a ) |
Definition at line 424 of file glsl_math.hpp.
References atanh(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::atanh | ( | const Vector4< T > & | a ) |
Definition at line 427 of file glsl_math.hpp.
References atanh(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::pow | ( | T | a, |
T | b | ||
) |
Definition at line 434 of file glsl_math.hpp.
Vector2<T> vl::pow | ( | const Vector2< T > & | a, |
const Vector2< T > & | b | ||
) |
Definition at line 437 of file glsl_math.hpp.
References pow(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::pow | ( | const Vector3< T > & | a, |
const Vector3< T > & | b | ||
) |
Definition at line 443 of file glsl_math.hpp.
References pow(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::pow | ( | const Vector4< T > & | a, |
const Vector4< T > & | b | ||
) |
Definition at line 450 of file glsl_math.hpp.
References pow(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::exp | ( | T | a ) |
Definition at line 460 of file glsl_math.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().
Vector2<T> vl::exp | ( | const Vector2< T > & | a ) |
Definition at line 463 of file glsl_math.hpp.
References exp(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::exp | ( | const Vector3< T > & | a ) |
Definition at line 469 of file glsl_math.hpp.
References exp(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::exp | ( | const Vector4< T > & | a ) |
Definition at line 476 of file glsl_math.hpp.
References exp(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::log | ( | T | a ) |
Definition at line 486 of file glsl_math.hpp.
Referenced by acosh(), asinh(), atanh(), vl::GLSLShader::compile(), vl::GLSLProgram::linkProgram(), log(), vl::GLSLProgram::programBinary(), and vl::MersenneTwister::randNorm().
Vector2<T> vl::log | ( | const Vector2< T > & | a ) |
Definition at line 489 of file glsl_math.hpp.
References log(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::log | ( | const Vector3< T > & | a ) |
Definition at line 495 of file glsl_math.hpp.
References log(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::log | ( | const Vector4< T > & | a ) |
Definition at line 502 of file glsl_math.hpp.
References log(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::exp2 | ( | T | a ) |
Definition at line 512 of file glsl_math.hpp.
References pow().
Vector2<T> vl::exp2 | ( | const Vector2< T > & | a ) |
Definition at line 515 of file glsl_math.hpp.
References pow(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::exp2 | ( | const Vector3< T > & | a ) |
Definition at line 521 of file glsl_math.hpp.
References pow(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::exp2 | ( | const Vector4< T > & | a ) |
Definition at line 528 of file glsl_math.hpp.
References pow(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::log2 | ( | T | a ) |
Vector2<T> vl::log2 | ( | const Vector2< T > & | a ) |
Definition at line 541 of file glsl_math.hpp.
References log2(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::log2 | ( | const Vector3< T > & | a ) |
Definition at line 547 of file glsl_math.hpp.
References log2(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::log2 | ( | const Vector4< T > & | a ) |
Definition at line 554 of file glsl_math.hpp.
References log2(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::log10 | ( | T | a ) |
Definition at line 566 of file glsl_math.hpp.
Vector2<T> vl::log10 | ( | const Vector2< T > & | a ) |
Definition at line 569 of file glsl_math.hpp.
References log10(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::log10 | ( | const Vector3< T > & | a ) |
Definition at line 575 of file glsl_math.hpp.
References log10(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::log10 | ( | const Vector4< T > & | a ) |
Definition at line 582 of file glsl_math.hpp.
References log10(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::sqrt | ( | T | a ) |
Definition at line 592 of file glsl_math.hpp.
Referenced by acosh(), asinh(), atanh(), vl::Array< bvec2, GLbyte, 2, GL_BYTE >::computeBoundingSphere(), vl::TrackballManipulator::computeVector(), vl::Matrix4< T_Scalar >::getRotation(), inversesqrt(), vl::Vector4< unsigned int >::length(), vl::Vector3< int >::length(), vl::Vector2< int >::length(), vl::Vector2< T_Scalar >::length(), vl::Vector3< T_Scalar >::length(), vl::Vector4< T_Scalar >::length(), vl::MersenneTwister::randNorm(), refract(), vl::Quaternion< T_Scalar >::setFromMatrix(), sqrt(), vl::Quaternion< T_Scalar >::toAxisAngle(), and vl::Sphere::transformed().
Vector2<T> vl::sqrt | ( | const Vector2< T > & | a ) |
Definition at line 595 of file glsl_math.hpp.
References sqrt(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::sqrt | ( | const Vector3< T > & | a ) |
Definition at line 601 of file glsl_math.hpp.
References sqrt(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::sqrt | ( | const Vector4< T > & | a ) |
Definition at line 608 of file glsl_math.hpp.
References sqrt(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::inversesqrt | ( | T | a ) |
Definition at line 618 of file glsl_math.hpp.
References sqrt().
Vector2<T> vl::inversesqrt | ( | const Vector2< T > & | a ) |
Definition at line 621 of file glsl_math.hpp.
References sqrt(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::inversesqrt | ( | const Vector3< T > & | a ) |
Definition at line 627 of file glsl_math.hpp.
References sqrt(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::inversesqrt | ( | const Vector4< T > & | a ) |
Definition at line 634 of file glsl_math.hpp.
References sqrt(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::abs | ( | T | a ) |
Definition at line 646 of file glsl_math.hpp.
Vector2<T> vl::abs | ( | const Vector2< T > & | a ) |
Definition at line 649 of file glsl_math.hpp.
References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::abs | ( | const Vector3< T > & | a ) |
Definition at line 655 of file glsl_math.hpp.
References vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::abs | ( | const Vector4< T > & | a ) |
Definition at line 661 of file glsl_math.hpp.
References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::sign | ( | T | a ) |
Definition at line 669 of file glsl_math.hpp.
Referenced by vl::half::convertFloatToHalf(), vl::half::convertHalfToFloat(), vl::Say::format(), vl::half::isinf_neg(), and vl::half::isinf_pos().
Vector2<T> vl::sign | ( | const Vector2< T > & | a ) |
Definition at line 672 of file glsl_math.hpp.
References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::sign | ( | const Vector3< T > & | a ) |
Definition at line 679 of file glsl_math.hpp.
References vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::sign | ( | const Vector4< T > & | a ) |
Definition at line 687 of file glsl_math.hpp.
References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::floor | ( | T | a ) |
Definition at line 698 of file glsl_math.hpp.
Referenced by floor(), vl::Say::format(), fract(), mod(), and round().
Vector2<T> vl::floor | ( | const Vector2< T > & | a ) |
Definition at line 701 of file glsl_math.hpp.
References floor(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::floor | ( | const Vector3< T > & | a ) |
Definition at line 707 of file glsl_math.hpp.
References floor(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::floor | ( | const Vector4< T > & | a ) |
Definition at line 714 of file glsl_math.hpp.
References floor(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::fract | ( | T | a ) |
Definition at line 724 of file glsl_math.hpp.
References floor().
Referenced by genRGBAVolumeT(), vl::Image::sampleLinear(), and trunc().
Vector2<T> vl::fract | ( | const Vector2< T > & | a ) |
Definition at line 727 of file glsl_math.hpp.
References floor().
Vector3<T> vl::fract | ( | const Vector3< T > & | a ) |
Definition at line 730 of file glsl_math.hpp.
References floor().
Vector4<T> vl::fract | ( | const Vector4< T > & | a ) |
Definition at line 733 of file glsl_math.hpp.
References floor().
T vl::trunc | ( | T | a ) |
Definition at line 738 of file glsl_math.hpp.
References fract().
Vector2<T> vl::trunc | ( | const Vector2< T > & | a ) |
Definition at line 741 of file glsl_math.hpp.
References fract(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::trunc | ( | const Vector3< T > & | a ) |
Definition at line 747 of file glsl_math.hpp.
References fract(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::trunc | ( | const Vector4< T > & | a ) |
Definition at line 754 of file glsl_math.hpp.
References fract(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::round | ( | T | x ) |
Definition at line 764 of file glsl_math.hpp.
References ceil(), and floor().
Referenced by round(), and roundEven().
Vector2<T> vl::round | ( | const Vector2< T > & | a ) |
Definition at line 767 of file glsl_math.hpp.
References round(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::round | ( | const Vector3< T > & | a ) |
Definition at line 773 of file glsl_math.hpp.
References round(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::round | ( | const Vector4< T > & | a ) |
Definition at line 780 of file glsl_math.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 790 of file glsl_math.hpp.
References modf().
double vl::modf | ( | double | a, |
double & | intpart | ||
) | [inline] |
Definition at line 802 of file glsl_math.hpp.
References modf().
Vector2<T> vl::modf | ( | const Vector2< T > & | a, |
Vector2< T > & | intpart | ||
) |
Definition at line 805 of file glsl_math.hpp.
References modf(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::modf | ( | const Vector3< T > & | a, |
Vector3< T > & | intpart | ||
) |
Definition at line 811 of file glsl_math.hpp.
References modf(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::modf | ( | const Vector4< T > & | a, |
Vector4< T > & | intpart | ||
) |
Definition at line 818 of file glsl_math.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 828 of file glsl_math.hpp.
References ceil(), modf(), and round().
Referenced by roundEven().
double vl::roundEven | ( | double | a, |
double | epsilon | ||
) | [inline] |
Definition at line 854 of file glsl_math.hpp.
References ceil(), modf(), round(), and roundEven().
Vector2<T> vl::roundEven | ( | const Vector2< T > & | a, |
T | epsilon = 0.00001 |
||
) |
Definition at line 880 of file glsl_math.hpp.
References roundEven(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::roundEven | ( | const Vector3< T > & | a, |
T | epsilon = 0.00001 |
||
) |
Definition at line 886 of file glsl_math.hpp.
References roundEven(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::roundEven | ( | const Vector4< T > & | a, |
T | epsilon = 0.00001 |
||
) |
Definition at line 893 of file glsl_math.hpp.
References roundEven(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::ceil | ( | T | a ) |
Definition at line 903 of file glsl_math.hpp.
Referenced by ceil(), round(), and roundEven().
Vector2<T> vl::ceil | ( | const Vector2< T > & | a ) |
Definition at line 906 of file glsl_math.hpp.
References ceil(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::ceil | ( | const Vector3< T > & | a ) |
Definition at line 912 of file glsl_math.hpp.
References ceil(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::ceil | ( | const Vector4< T > & | a ) |
Definition at line 919 of file glsl_math.hpp.
References ceil(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::mod | ( | T | a, |
T | b | ||
) |
Definition at line 929 of file glsl_math.hpp.
References floor().
Vector2<T> vl::mod | ( | const Vector2< T > & | a, |
T | b | ||
) |
Definition at line 932 of file glsl_math.hpp.
References floor().
Vector3<T> vl::mod | ( | const Vector3< T > & | a, |
T | b | ||
) |
Definition at line 935 of file glsl_math.hpp.
References floor().
Vector4<T> vl::mod | ( | const Vector4< T > & | a, |
T | b | ||
) |
Definition at line 938 of file glsl_math.hpp.
References floor().
Vector2<T> vl::mod | ( | const Vector2< T > & | a, |
const Vector2< T > & | b | ||
) |
Definition at line 941 of file glsl_math.hpp.
References floor().
Vector3<T> vl::mod | ( | const Vector3< T > & | a, |
const Vector3< T > & | b | ||
) |
Definition at line 944 of file glsl_math.hpp.
References floor().
Vector4<T> vl::mod | ( | const Vector4< T > & | a, |
const Vector4< T > & | b | ||
) |
Definition at line 947 of file glsl_math.hpp.
References floor().
T vl::mix | ( | T | a, |
T | b, | ||
T | t | ||
) |
Definition at line 952 of file glsl_math.hpp.
Vector2<T> vl::mix | ( | const Vector2< T > & | a, |
const Vector2< T > & | b, | ||
T | t | ||
) |
Definition at line 955 of file glsl_math.hpp.
Vector3<T> vl::mix | ( | const Vector3< T > & | a, |
const Vector3< T > & | b, | ||
T | t | ||
) |
Definition at line 958 of file glsl_math.hpp.
Vector4<T> vl::mix | ( | const Vector4< T > & | a, |
const Vector4< T > & | b, | ||
T | t | ||
) |
Definition at line 961 of file glsl_math.hpp.
Vector2<T> vl::mix | ( | const Vector2< T > & | a, |
const Vector2< T > & | b, | ||
const Vector2< T > & | t | ||
) |
Definition at line 964 of file glsl_math.hpp.
References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::mix | ( | const Vector3< T > & | a, |
const Vector3< T > & | b, | ||
const Vector3< T > & | t | ||
) |
Definition at line 971 of file glsl_math.hpp.
References vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::mix | ( | const Vector4< T > & | a, |
const Vector4< T > & | b, | ||
const Vector4< T > & | t | ||
) |
Definition at line 979 of file glsl_math.hpp.
References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::step | ( | T | edge, |
T | a | ||
) |
Definition at line 990 of file glsl_math.hpp.
Vector2<T> vl::step | ( | const Vector2< T > & | edge, |
const Vector2< T > & | a | ||
) |
Definition at line 993 of file glsl_math.hpp.
References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::step | ( | const Vector3< T > & | edge, |
const Vector3< T > & | a | ||
) |
Definition at line 1000 of file glsl_math.hpp.
References vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::step | ( | const Vector4< T > & | edge, |
const Vector4< T > & | a | ||
) |
Definition at line 1008 of file glsl_math.hpp.
References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::smoothstep | ( | T | edge0, |
T | edge1, | ||
T | a | ||
) |
Definition at line 1018 of file glsl_math.hpp.
References clamp().
Vector2<T> vl::smoothstep | ( | const Vector2< T > & | edge0, |
const Vector2< T > & | edge1, | ||
const Vector2< T > & | a | ||
) |
Definition at line 1025 of file glsl_math.hpp.
References clamp(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector3<T> vl::smoothstep | ( | const Vector3< T > & | edge0, |
const Vector3< T > & | edge1, | ||
const Vector3< T > & | a | ||
) |
Definition at line 1035 of file glsl_math.hpp.
References clamp(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector4<T> vl::smoothstep | ( | const Vector4< T > & | edge0, |
const Vector4< T > & | edge1, | ||
const Vector4< T > & | a | ||
) |
Definition at line 1046 of file glsl_math.hpp.
References clamp(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
ivec2 vl::isnan | ( | const Vector2< T > & | a ) |
Definition at line 1060 of file glsl_math.hpp.
References isnan(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
ivec3 vl::isnan | ( | const Vector3< T > & | a ) |
Definition at line 1063 of file glsl_math.hpp.
References isnan(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
ivec4 vl::isnan | ( | const Vector4< T > & | a ) |
Definition at line 1066 of file glsl_math.hpp.
References isnan(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
ivec2 vl::isinf | ( | const Vector2< T > & | a ) |
Definition at line 1071 of file glsl_math.hpp.
References isinf(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
ivec3 vl::isinf | ( | const Vector3< T > & | a ) |
Definition at line 1074 of file glsl_math.hpp.
References isinf(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
ivec4 vl::isinf | ( | const Vector4< T > & | a ) |
Definition at line 1077 of file glsl_math.hpp.
References isinf(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
T vl::length | ( | T | v ) |
Definition at line 1084 of file glsl_math.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::Sphere::includes(), vl::ZippedDirectory::listSubDirs(), vl::MemoryDirectory::listSubDirs(), vl::TrackballManipulator::mouseMoveEvent(), vl::Sphere::operator+=(), vl::Sphere::operator=(), vl::String::operator==(), vl::Text::renderText(), vl::CoreText::renderText(), vl::ZippedDirectory::setPath(), vl::MemoryDirectory::setPath(), and vl::Molecule::sticksStyle().
T vl::length | ( | const Vector2< T > & | v ) |
Definition at line 1087 of file glsl_math.hpp.
References vl::Vector2< T_Scalar >::length().
T vl::length | ( | const Vector3< T > & | v ) |
Definition at line 1090 of file glsl_math.hpp.
References vl::Vector3< T_Scalar >::length().
T vl::length | ( | const Vector4< T > & | v ) |
Definition at line 1093 of file glsl_math.hpp.
References vl::Vector4< T_Scalar >::length().
T vl::distance | ( | T | p0, |
T | p1 | ||
) |
Definition at line 1098 of file glsl_math.hpp.
References length().
Referenced by vl::Sphere::includes(), and vl::TrackballManipulator::mouseMoveEvent().
T vl::distance | ( | const Vector2< T > & | p0, |
const Vector2< T > & | p1 | ||
) |
Definition at line 1101 of file glsl_math.hpp.
References length().
T vl::distance | ( | const Vector3< T > & | p0, |
const Vector3< T > & | p1 | ||
) |
Definition at line 1104 of file glsl_math.hpp.
References length().
T vl::distance | ( | const Vector4< T > & | p0, |
const Vector4< T > & | p1 | ||
) |
Definition at line 1107 of file glsl_math.hpp.
References length().
float vl::dot | ( | float | a, |
float | b | ||
) | [inline] |
Definition at line 1111 of file glsl_math.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::Geometry::fixTriangleWinding(), vl::DaeLoader::generateGeometry(), vl::Matrix4< T_Scalar >::getLookAt(), 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::DaeLoader::setup_vl_Effect(), vl::TrackballManipulator::trackballRotation(), and vl::SceneManagerPortals::visitSector().
double vl::dot | ( | double | a, |
double | b | ||
) | [inline] |
Definition at line 1115 of file glsl_math.hpp.
real vl::dot | ( | int | a, |
int | b | ||
) | [inline] |
Definition at line 1119 of file glsl_math.hpp.
real vl::dot | ( | unsigned int | a, |
unsigned int | b | ||
) | [inline] |
Definition at line 1123 of file glsl_math.hpp.
T vl::normalize | ( | T | ) |
Definition at line 1128 of file glsl_math.hpp.
Referenced by vl::Molecule::ballAndStickStyle(), vl::Camera::computeRay(), vl::Geometry::computeTangentSpace(), vl::Billboard::computeWorldMatrix(), vl::Extrusion::extrude(), vl::Geometry::fixTriangleWinding(), vl::Molecule::generateRings(), genGradientNormals(), vl::Matrix4< T_Scalar >::getLookAt(), vl::Matrix4< T_Scalar >::getLookAtModeling(), vl::RingExtractor::keepPlanarCycles(), vl::Geometry::setVertexAttribArray(), and vl::Molecule::sticksStyle().
Vector2<T> vl::normalize | ( | const Vector2< T > & | v ) |
Definition at line 1131 of file glsl_math.hpp.
References vl::Vector2< T_Scalar >::normalize().
Vector3<T> vl::normalize | ( | const Vector3< T > & | v ) |
Definition at line 1134 of file glsl_math.hpp.
References vl::Vector3< T_Scalar >::normalize().
Vector4<T> vl::normalize | ( | const Vector4< T > & | v ) |
Definition at line 1137 of file glsl_math.hpp.
References vl::Vector4< T_Scalar >::normalize().
T vl::faceforward | ( | T | N, |
T | I, | ||
T | Nref | ||
) |
Definition at line 1142 of file glsl_math.hpp.
References dot().
Vector2<T> vl::faceforward | ( | const Vector2< T > & | N, |
const Vector2< T > & | I, | ||
const Vector2< T > & | Nref | ||
) |
Definition at line 1145 of file glsl_math.hpp.
References dot().
Vector3<T> vl::faceforward | ( | const Vector3< T > & | N, |
const Vector3< T > & | I, | ||
const Vector3< T > & | Nref | ||
) |
Definition at line 1148 of file glsl_math.hpp.
References dot().
Vector4<T> vl::faceforward | ( | const Vector4< T > & | N, |
const Vector4< T > & | I, | ||
const Vector4< T > & | Nref | ||
) |
Definition at line 1151 of file glsl_math.hpp.
References dot().
T vl::reflect | ( | T | I, |
T | N | ||
) |
Definition at line 1156 of file glsl_math.hpp.
References dot().
Vector2<T> vl::reflect | ( | const Vector2< T > & | I, |
const Vector2< T > & | N | ||
) |
Definition at line 1159 of file glsl_math.hpp.
References dot().
Vector3<T> vl::reflect | ( | const Vector3< T > & | I, |
const Vector3< T > & | N | ||
) |
Definition at line 1162 of file glsl_math.hpp.
References dot().
Vector4<T> vl::reflect | ( | const Vector4< T > & | I, |
const Vector4< T > & | N | ||
) |
Definition at line 1165 of file glsl_math.hpp.
References dot().
T vl::refract | ( | T | I, |
T | N, | ||
T | eta | ||
) |
Definition at line 1170 of file glsl_math.hpp.
Vector2<T> vl::refract | ( | const Vector2< T > & | I, |
const Vector2< T > & | N, | ||
T | eta | ||
) |
Definition at line 1180 of file glsl_math.hpp.
Vector3<T> vl::refract | ( | const Vector3< T > & | I, |
const Vector3< T > & | N, | ||
T | eta | ||
) |
Definition at line 1190 of file glsl_math.hpp.
Vector4<T> vl::refract | ( | const Vector4< T > & | I, |
const Vector4< T > & | N, | ||
T | eta | ||
) |
Definition at line 1200 of file glsl_math.hpp.
Matrix2<T> vl::matrixCompMult | ( | const Matrix2< T > & | a, |
const Matrix2< T > & | b | ||
) |
Definition at line 1214 of file glsl_math.hpp.
References vl::Matrix2< T_Scalar >::e().
Matrix3<T> vl::matrixCompMult | ( | const Matrix3< T > & | a, |
const Matrix3< T > & | b | ||
) |
Definition at line 1224 of file glsl_math.hpp.
References vl::Matrix3< T_Scalar >::e().
Matrix4<T> vl::matrixCompMult | ( | const Matrix4< T > & | a, |
const Matrix4< T > & | b | ||
) |
Definition at line 1234 of file glsl_math.hpp.
References vl::Matrix4< T_Scalar >::e().
Matrix2<T> vl::outerProduct | ( | const Vector2< T > & | a, |
const Vector2< T > & | b | ||
) |
Definition at line 1246 of file glsl_math.hpp.
References vl::Matrix2< T_Scalar >::e().
Matrix3<T> vl::outerProduct | ( | const Vector3< T > & | a, |
const Vector3< T > & | b | ||
) |
Definition at line 1256 of file glsl_math.hpp.
References vl::Matrix3< T_Scalar >::e().
Matrix4<T> vl::outerProduct | ( | const Vector4< T > & | a, |
const Vector4< T > & | b | ||
) |
Definition at line 1266 of file glsl_math.hpp.
References vl::Matrix4< T_Scalar >::e().
Matrix2<T> vl::transpose | ( | const Matrix2< T > & | a ) |
Definition at line 1278 of file glsl_math.hpp.
References vl::Matrix2< T_Scalar >::e().
Matrix3<T> vl::transpose | ( | const Matrix3< T > & | a ) |
Definition at line 1288 of file glsl_math.hpp.
References vl::Matrix3< T_Scalar >::e().
Matrix4<T> vl::transpose | ( | const Matrix4< T > & | a ) |
Definition at line 1298 of file glsl_math.hpp.
References vl::Matrix4< T_Scalar >::e().
ivec4 vl::lessThan | ( | const Vector4< T > & | a, |
const Vector4< T > & | b | ||
) |
Definition at line 1312 of file glsl_math.hpp.
References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
ivec3 vl::lessThan | ( | const Vector3< T > & | a, |
const Vector3< T > & | b | ||
) |
Definition at line 1320 of file glsl_math.hpp.
References vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
ivec2 vl::lessThan | ( | const Vector2< T > & | a, |
const Vector2< T > & | b | ||
) |
Definition at line 1327 of file glsl_math.hpp.
References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
ivec4 vl::lessThanEqual | ( | const Vector4< T > & | a, |
const Vector4< T > & | b | ||
) |
Definition at line 1335 of file glsl_math.hpp.
References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
ivec3 vl::lessThanEqual | ( | const Vector3< T > & | a, |
const Vector3< T > & | b | ||
) |
Definition at line 1343 of file glsl_math.hpp.
References vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
ivec2 vl::lessThanEqual | ( | const Vector2< T > & | a, |
const Vector2< T > & | b | ||
) |
Definition at line 1350 of file glsl_math.hpp.
References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
ivec4 vl::greaterThan | ( | const Vector4< T > & | a, |
const Vector4< T > & | b | ||
) |
Definition at line 1358 of file glsl_math.hpp.
References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
ivec3 vl::greaterThan | ( | const Vector3< T > & | a, |
const Vector3< T > & | b | ||
) |
Definition at line 1366 of file glsl_math.hpp.
References vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
ivec2 vl::greaterThan | ( | const Vector2< T > & | a, |
const Vector2< T > & | b | ||
) |
Definition at line 1373 of file glsl_math.hpp.
References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
ivec4 vl::greaterThanEqual | ( | const Vector4< T > & | a, |
const Vector4< T > & | b | ||
) |
Definition at line 1381 of file glsl_math.hpp.
References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
ivec3 vl::greaterThanEqual | ( | const Vector3< T > & | a, |
const Vector3< T > & | b | ||
) |
Definition at line 1389 of file glsl_math.hpp.
References vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
ivec2 vl::greaterThanEqual | ( | const Vector2< T > & | a, |
const Vector2< T > & | b | ||
) |
Definition at line 1396 of file glsl_math.hpp.
References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
ivec4 vl::equal | ( | const Vector4< T > & | a, |
const Vector4< T > & | b | ||
) |
Definition at line 1404 of file glsl_math.hpp.
References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
ivec3 vl::equal | ( | const Vector3< T > & | a, |
const Vector3< T > & | b | ||
) |
Definition at line 1412 of file glsl_math.hpp.
References vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
ivec2 vl::equal | ( | const Vector2< T > & | a, |
const Vector2< T > & | b | ||
) |
Definition at line 1419 of file glsl_math.hpp.
References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
ivec4 vl::notEqual | ( | const Vector4< T > & | a, |
const Vector4< T > & | b | ||
) |
Definition at line 1427 of file glsl_math.hpp.
References vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
ivec3 vl::notEqual | ( | const Vector3< T > & | a, |
const Vector3< T > & | b | ||
) |
Definition at line 1435 of file glsl_math.hpp.
References vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
ivec2 vl::notEqual | ( | const Vector2< T > & | a, |
const Vector2< T > & | b | ||
) |
Definition at line 1442 of file glsl_math.hpp.
References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
bool vl::any | ( | const ivec2 & | a ) | [inline] |
Definition at line 1449 of file glsl_math.hpp.
References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
bool vl::any | ( | const ivec3 & | a ) | [inline] |
Definition at line 1450 of file glsl_math.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 1451 of file glsl_math.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 1455 of file glsl_math.hpp.
References vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
bool vl::all | ( | const ivec3 & | a ) | [inline] |
Definition at line 1456 of file glsl_math.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 1457 of file glsl_math.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 480 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator/ | ( | double | a, |
const half & | b | ||
) | [inline] |
Definition at line 485 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator/ | ( | int | a, |
const half & | b | ||
) | [inline] |
Definition at line 490 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator* | ( | float | a, |
const half & | b | ||
) | [inline] |
Definition at line 495 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator* | ( | double | a, |
const half & | b | ||
) | [inline] |
Definition at line 500 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator* | ( | int | a, |
const half & | b | ||
) | [inline] |
Definition at line 505 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator+ | ( | float | a, |
const half & | b | ||
) | [inline] |
Definition at line 510 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator+ | ( | double | a, |
const half & | b | ||
) | [inline] |
Definition at line 515 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator+ | ( | int | a, |
const half & | b | ||
) | [inline] |
Definition at line 520 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator- | ( | float | a, |
const half & | b | ||
) | [inline] |
Definition at line 525 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator- | ( | double | a, |
const half & | b | ||
) | [inline] |
Definition at line 530 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator- | ( | int | a, |
const half & | b | ||
) | [inline] |
Definition at line 535 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator/ | ( | const half & | a, |
float | b | ||
) | [inline] |
Definition at line 542 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator/ | ( | const half & | a, |
double | b | ||
) | [inline] |
Definition at line 547 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator/ | ( | const half & | a, |
int | b | ||
) | [inline] |
Definition at line 552 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator* | ( | const half & | a, |
float | b | ||
) | [inline] |
Definition at line 557 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator* | ( | const half & | a, |
double | b | ||
) | [inline] |
Definition at line 562 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator* | ( | const half & | a, |
int | b | ||
) | [inline] |
Definition at line 567 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator+ | ( | const half & | a, |
float | b | ||
) | [inline] |
Definition at line 572 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator+ | ( | const half & | a, |
double | b | ||
) | [inline] |
Definition at line 577 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator+ | ( | const half & | a, |
int | b | ||
) | [inline] |
Definition at line 582 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator- | ( | const half & | a, |
float | b | ||
) | [inline] |
Definition at line 587 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator- | ( | const half & | a, |
double | b | ||
) | [inline] |
Definition at line 592 of file half.hpp.
References vl::half::convertHalfToFloat().
float vl::operator- | ( | const half & | a, |
int | b | ||
) | [inline] |
Definition at line 597 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 831 of file Image.cpp.
References vl::Log::error(), vl::ref< T >::get(), NULL, 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 1226 of file Image.cpp.
References createCubemap(), vl::Log::error(), vl::ref< T >::get(), loadImage(), and NULL.
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.
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 1246 of file Image.cpp.
References vl::Log::error(), vl::VirtualFile::isOpen(), NULL, 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 1180 of file Image.cpp.
References vl::VirtualFile::close(), defLoadWriterManager(), vl::Log::error(), vl::ref< T >::get(), vl::VirtualFile::isOpen(), vl::LoadWriterManager::loadResource(), NULL, vl::VirtualFile::path(), vl::String::toStdString(), and VL_CHECK.
Referenced by vl::Texture::createTexture(), vl::Image::Image(), vl::Terrain::init(), loadCubemap(), loadImage(), vl::DaeLoader::loadImages(), loadImagesFromDir(), vl::ObjLoader::loadOBJ(), and vl::Texture::Texture().
Loads an image from the specified path.
Definition at line 1168 of file Image.cpp.
References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadImage(), vl::FileSystem::locateFile(), and NULL.
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 1145 of file Image.cpp.
References defFileSystem(), vl::String::empty(), loadImage(), vl::FileSystem::locateDirectory(), NULL, and vl::String::toLowerCase().
bool vl::saveImage | ( | Image * | img, |
VirtualFile * | file | ||
) |
Writes an image on the specified file.
Definition at line 1216 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().
Writes an image on the specified path.
Definition at line 1206 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.
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.
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.
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.
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 136 of file init_core.cpp.
Referenced by canLoad(), canWrite(), loadImage(), loadResource(), registerLoadWriter(), saveImage(), and writeResource().
void vl::setDefLoadWriterManager | ( | LoadWriterManager * | lwm ) |
Sets the default LoadWriterManager used by Visualization Library.
Definition at line 140 of file init_core.cpp.
void vl::registerLoadWriter | ( | ResourceLoadWriter * | rlw ) | [inline] |
Utility function, equivalent to defLoadWriterManager()->registerLoadWriter(rlw).
Definition at line 148 of file LoadWriterManager.hpp.
References defLoadWriterManager(), and vl::LoadWriterManager::registerLoadWriter().
Referenced by vl::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 121 of file init_core.cpp.
Referenced by vl::VisualizationLibrary::initCore().
Log * vl::defLogger | ( | ) |
Returns the currently installed default logger.
Definition at line 125 of file init_core.cpp.
Referenced by vl::Log::bug(), vl::Log::debug(), vl::Log::error(), vl::Log::notify(), vl::Log::print(), and vl::Log::warning().
Returns a random number N between 'min' and 'max' (included) with 53 bits of randomness generated using MersenneTwister->rand53().
Definition at line 44 of file math_utils.cpp.
References defMersenneTwister(), min(), and vl::MersenneTwister::rand53().
Returns a random number N between 'min' and 'max' (included) generated using MersenneTwister->randInt().
Definition at line 50 of file math_utils.cpp.
References defMersenneTwister(), min(), and vl::MersenneTwister::randInt().
Returns a random number N between 'min' and 'max' (included) generated using MersenneTwister->randInt().
Definition at line 55 of file math_utils.cpp.
References defMersenneTwister(), min(), and vl::MersenneTwister::randInt().
int vl::greaterEqualPow2 | ( | int | n ) |
Returns a number N that is a power of 2 and that is equal to or greater than 'n'.
Definition at line 60 of file math_utils.cpp.
int vl::smallerEqualPow2 | ( | int | n ) |
Returns a number N that is a power of 2 and that is equal to or smaller than 'n'.
Definition at line 71 of file math_utils.cpp.
VLCORE_EXPORT void vl::extractPlanes | ( | Plane * | planes, |
const mat4 & | modelviewproj | ||
) |
Extracts the 6 frustum planes for the given model-view-projection matrix.
Referenced by vl::Camera::adjustView(), and vl::Camera::computeFrustumPlanes().
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().
Matrix2<T_Scalar> vl::operator+ | ( | T_Scalar | d, |
const Matrix2< T_Scalar > & | m | ||
) | [inline] |
Definition at line 419 of file Matrix2.hpp.
Matrix2<T_Scalar> vl::operator* | ( | T_Scalar | d, |
const Matrix2< T_Scalar > & | m | ||
) | [inline] |
Definition at line 425 of file Matrix2.hpp.
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().
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().
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().
Matrix3<T_Scalar> vl::operator+ | ( | T_Scalar | d, |
const Matrix3< T_Scalar > & | m | ||
) | [inline] |
Definition at line 540 of file Matrix3.hpp.
Matrix3<T_Scalar> vl::operator* | ( | T_Scalar | d, |
const Matrix3< T_Scalar > & | m | ||
) | [inline] |
Definition at line 546 of file Matrix3.hpp.
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().
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().
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().
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().
Matrix4<T_Scalar> vl::operator* | ( | const Matrix4< T_Scalar > & | p, |
const Matrix4< T_Scalar > & | q | ||
) | [inline] |
Definition at line 674 of file Matrix4.hpp.
References vl::Matrix4< T_Scalar >::multiply().
Matrix4<T_Scalar> vl::operator+ | ( | T_Scalar | d, |
const Matrix4< T_Scalar > & | m | ||
) | [inline] |
Definition at line 682 of file Matrix4.hpp.
Matrix4<T_Scalar> vl::operator* | ( | T_Scalar | d, |
const Matrix4< T_Scalar > & | m | ||
) | [inline] |
Definition at line 688 of file Matrix4.hpp.
Vector4<T_Scalar> vl::operator* | ( | const Matrix4< T_Scalar > & | m, |
const Vector4< T_Scalar > & | v | ||
) | [inline] |
Post multiplication: matrix * column vector.
Definition at line 695 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().
Vector3<T_Scalar> vl::operator* | ( | const Matrix4< T_Scalar > & | m, |
const Vector3< T_Scalar > & | v | ||
) | [inline] |
Post multiplication: matrix * column vector The incoming vector is considered a Vector4<T_Scalar> with the component w = 1.
Definition at line 708 of file Matrix4.hpp.
References vl::Matrix4< T_Scalar >::e(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector2<T_Scalar> vl::operator* | ( | const Matrix4< T_Scalar > & | m, |
const Vector2< T_Scalar > & | v | ||
) | [inline] |
Post multiplication: matrix * column vector The incoming vector is considered a Vector4<T_Scalar> with components: z = 0 and w = 1.
Definition at line 720 of file Matrix4.hpp.
References vl::Matrix4< T_Scalar >::e(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
Vector4<T_Scalar> vl::operator* | ( | const Vector4< T_Scalar > & | v, |
const Matrix4< T_Scalar > & | m | ||
) | [inline] |
pre-multiplication: row vector * matrix
Definition at line 730 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().
Vector3<T_Scalar> vl::operator* | ( | const Vector3< T_Scalar > & | v, |
const Matrix4< T_Scalar > & | m | ||
) | [inline] |
pre-multiplication: row vector * matrix The incoming vector is considered a Vector4<T_Scalar> with the component w = 1
Definition at line 743 of file Matrix4.hpp.
References vl::Matrix4< T_Scalar >::e(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Vector2<T_Scalar> vl::operator* | ( | const Vector2< T_Scalar > & | v, |
const Matrix4< T_Scalar > & | m | ||
) | [inline] |
pre-multiplication: row vector * matrix The incoming vector is considered a Vector4<T_Scalar> with components: z = 0 and w = 1
Definition at line 755 of file Matrix4.hpp.
References vl::Matrix4< T_Scalar >::e(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
MersenneTwister * vl::defMersenneTwister | ( | ) |
Definition at line 181 of file init_core.cpp.
Referenced by vl::Random::fillRandomMersenneTwister(), random(), randomI32(), and randomU32().
void vl::setDefMersenneTwister | ( | MersenneTwister * | reg ) |
Definition at line 185 of file init_core.cpp.
std::ostream& vl::operator<< | ( | std::ostream & | os, |
const MersenneTwister & | mtrand | ||
) | [inline] |
Definition at line 400 of file MersenneTwister.hpp.
References vl::MersenneTwister::left, vl::MersenneTwister::N, and vl::MersenneTwister::state.
std::istream& vl::operator>> | ( | std::istream & | is, |
MersenneTwister & | mtrand | ||
) | [inline] |
Definition at line 408 of file MersenneTwister.hpp.
References vl::MersenneTwister::left, vl::MersenneTwister::N, vl::MersenneTwister::pNext, and vl::MersenneTwister::state.
void vl::MurmurHash3_x86_32 | ( | const void * | key, |
int | len, | ||
u32 | seed, | ||
void * | out | ||
) |
Definition at line 97 of file MurmurHash3.cpp.
References fmix(), getblock(), and ROTL32.
Referenced by vl::TypeInfo::TypeInfo().
void vl::MurmurHash3_x86_128 | ( | const void * | key, |
int | len, | ||
u32 | seed, | ||
void * | out | ||
) |
Definition at line 152 of file MurmurHash3.cpp.
References fmix(), getblock(), and ROTL32.
void vl::MurmurHash3_x64_128 | ( | const void * | key, |
int | len, | ||
u32 | seed, | ||
void * | out | ||
) |
Definition at line 256 of file MurmurHash3.cpp.
References BIG_CONSTANT, fmix(), getblock(), and ROTL64.
bool vl::operator== | ( | const ref< T1 > & | o1, |
const ref< T2 > & | o2 | ||
) | [inline] |
Definition at line 311 of file Object.hpp.
References vl::ref< T >::get().
Referenced by vl::VLTTokenizer::getToken(), vl::String::operator!=(), vl::Sphere::operator!=(), and vl::AABB::operator!=().
bool vl::operator!= | ( | const ref< T1 > & | o1, |
const ref< T2 > & | o2 | ||
) | [inline] |
Definition at line 312 of file Object.hpp.
References vl::ref< T >::get().
bool vl::operator== | ( | const ref< T1 > & | o1, |
T2 * | o2 | ||
) | [inline] |
Definition at line 313 of file Object.hpp.
References vl::ref< T >::get().
bool vl::operator!= | ( | const ref< T1 > & | o1, |
T2 * | o2 | ||
) | [inline] |
Definition at line 314 of file Object.hpp.
References vl::ref< T >::get().
bool vl::operator== | ( | T1 * | o1, |
const ref< T2 > & | o2 | ||
) | [inline] |
Definition at line 315 of file Object.hpp.
References vl::ref< T >::get().
bool vl::operator!= | ( | T1 * | o1, |
const ref< T2 > & | o2 | ||
) | [inline] |
Definition at line 316 of file Object.hpp.
References vl::ref< T >::get().
ref< Image > vl::loadBMP | ( | VirtualFile * | file ) |
Definition at line 116 of file ioBMP.cpp.
References vl::VirtualFile::close(), convert8ToRGBA(), convertRGBToRGBA(), vl::Log::error(), IF_BGRA, IF_RGBA, IT_UNSIGNED_BYTE, NULL, 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().
Loads a BMP file.
Supports the following formats:
Definition at line 104 of file ioBMP.cpp.
References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadBMP(), vl::FileSystem::locateFile(), and NULL.
bool vl::isBMP | ( | VirtualFile * | file ) |
Definition at line 262 of file ioBMP.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 ioDAT.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(), NULL, OM_ReadOnly, vl::VirtualFile::open(), and vl::VirtualFile::path().
Referenced by loadDAT(), and vl::LoadWriterDAT::loadResource().
Definition at line 47 of file ioDAT.cpp.
References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadDAT(), vl::FileSystem::locateFile(), and NULL.
bool vl::isDAT | ( | VirtualFile * | file ) |
Definition at line 155 of file ioDAT.cpp.
References BUFFER_SIZE, vl::VirtualFile::close(), defFileSystem(), vl::String::extractPath(), locateFile(), OM_ReadOnly, vl::VirtualFile::open(), and vl::VirtualFile::path().
ref< Image > vl::loadDDS | ( | VirtualFile * | file ) |
Definition at line 242 of file ioDDS.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, NULL, OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::VirtualFile::read(), vl::Image::requiredMemory(), vl::Object::setObjectName(), swapBytes24_BGR_RGB(), swapBytes32_BGRA_RGBA(), vl::String::toStdString(), VL_CHECK, and vl::Log::warning().
Referenced by loadDDS(), and vl::LoadWriterDDS::loadResource().
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:
Definition at line 228 of file ioDDS.cpp.
References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadDDS(), vl::FileSystem::locateFile(), and NULL.
bool vl::isDDS | ( | VirtualFile * | file ) |
Definition at line 668 of file ioDDS.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 108 of file ioDICOM.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, NULL, OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::VirtualFile::read(), and vl::String::toStdString().
Referenced by loadDICOM(), and vl::LoadWriterDICOM::loadResource().
Loads a DICOM file.
Definition at line 95 of file ioDICOM.cpp.
References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadDICOM(), vl::FileSystem::locateFile(), and NULL.
Writes a DICOM file.
Definition at line 384 of file ioDICOM.cpp.
bool vl::saveDICOM | ( | const Image * | src, |
VirtualFile * | file | ||
) |
Writes a DICOM file.
Definition at line 389 of file ioDICOM.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 372 of file ioDICOM.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 ioJPG.cpp.
References vl::VirtualFile::close(), vl::Log::error(), IF_LUMINANCE, IF_RGB, IT_UNSIGNED_BYTE, NULL, OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::String::toStdString(), and VL_CHECK.
Referenced by loadJPG(), and vl::LoadWriterJPG::loadResource().
Definition at line 503 of file ioJPG.cpp.
References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadJPG(), vl::FileSystem::locateFile(), and NULL.
bool vl::isJPG | ( | VirtualFile * | file ) |
Definition at line 515 of file ioJPG.cpp.
References vl::VirtualFile::close(), vl::String::endsWith(), OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::VirtualFile::read(), and vl::String::toLowerCase().
Definition at line 527 of file ioJPG.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 ioJPG.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 ioPNG.cpp.
References vl::VirtualFile::close(), vl::Log::error(), IF_LUMINANCE, IF_LUMINANCE_ALPHA, IF_RGB, IF_RGBA, IT_UNSIGNED_BYTE, IT_UNSIGNED_SHORT, NULL, OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::path(), vl::VirtualFile::read(), vl::String::toStdString(), VL_CHECK, and VL_TRAP.
Referenced by loadPNG(), and vl::LoadWriterPNG::loadResource().
Definition at line 69 of file ioPNG.cpp.
References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadPNG(), vl::FileSystem::locateFile(), and NULL.
bool vl::isPNG | ( | VirtualFile * | file ) |
Definition at line 379 of file ioPNG.cpp.
References vl::VirtualFile::close(), OM_ReadOnly, vl::VirtualFile::open(), and vl::VirtualFile::read().
Definition at line 396 of file ioPNG.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 ioPNG.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, NULL, 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 ioTGA.cpp.
References vl::VirtualFile::close(), convert8ToRGBA(), convertA1R5G5B5ToRGBA(), convertRGBToRGBA(), vl::Log::debug(), vl::Log::error(), IF_LUMINANCE, IF_RGBA, IT_UNSIGNED_BYTE, NULL, 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().
Loads a TGA file.
Supports the following formats:
Definition at line 88 of file ioTGA.cpp.
References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadTGA(), vl::FileSystem::locateFile(), and NULL.
bool vl::isTGA | ( | VirtualFile * | file ) |
A TGA file is accepted only if it has a 'TGA' extension.
Definition at line 480 of file ioTGA.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().
Definition at line 401 of file ioTGA.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 ioTGA.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 121 of file ioTIFF.cpp.
References vl::VirtualFile::close(), IF_RGBA, IT_UNSIGNED_BYTE, NULL, OM_ReadOnly, and vl::VirtualFile::open().
Referenced by vl::LoadWriterTIFF::loadResource(), and loadTIFF().
Definition at line 109 of file ioTIFF.cpp.
References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadTIFF(), vl::FileSystem::locateFile(), and NULL.
bool vl::isTIFF | ( | VirtualFile * | file ) |
Definition at line 168 of file ioTIFF.cpp.
References vl::VirtualFile::close(), OM_ReadOnly, vl::VirtualFile::open(), vl::VirtualFile::read(), and vl::VirtualFile::readUInt16().
Definition at line 194 of file ioTIFF.cpp.
References vl::ref< T >::get().
Referenced by vl::LoadWriterTIFF::writeResource().
bool vl::saveTIFF | ( | const Image * | src, |
VirtualFile * | file | ||
) |
Definition at line 200 of file ioTIFF.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().
Quaternion<T_Scalar> vl::operator* | ( | T_Scalar | r, |
const Quaternion< T_Scalar > & | q | ||
) | [inline] |
Definition at line 481 of file Quaternion.hpp.
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().
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().
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 187 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 189 of file LoadWriterManager.cpp.
References vl::LoadWriterManager::canWrite(), and defLoadWriterManager().
bool vl::canLoad | ( | VirtualFile * | file ) |
Short version of defLoadWriterManager()->canLoad(file).
Definition at line 191 of file LoadWriterManager.cpp.
References vl::LoadWriterManager::canLoad(), and defLoadWriterManager().
bool vl::canWrite | ( | VirtualFile * | file ) |
Short version of defLoadWriterManager()->canWrite(file).
Definition at line 193 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 195 of file LoadWriterManager.cpp.
References defLoadWriterManager(), and vl::LoadWriterManager::loadResource().
Referenced by main().
ref< ResourceDatabase > vl::loadResource | ( | VirtualFile * | file, |
bool | quick = true |
||
) |
Short version of defLoadWriterManager()->loadResource(file, quick).
Definition at line 197 of file LoadWriterManager.cpp.
References defLoadWriterManager(), and vl::LoadWriterManager::loadResource().
bool vl::writeResource | ( | const String & | path, |
ResourceDatabase * | resource | ||
) |
Short version of defLoadWriterManager()->writeResource(path, resource).
Definition at line 199 of file LoadWriterManager.cpp.
References defLoadWriterManager(), and vl::LoadWriterManager::writeResource().
bool vl::writeResource | ( | VirtualFile * | file, |
ResourceDatabase * | resource | ||
) |
Short version of defLoadWriterManager()->writeResource(file, resource).
Definition at line 201 of file LoadWriterManager.cpp.
References defLoadWriterManager(), and vl::LoadWriterManager::writeResource().
void vl::swapBytes | ( | T & | value ) |
Swaps the byte order of the given object.
Definition at line 108 of file std_types.hpp.
vl::VL_COMPILE_TIME_CHECK | ( | sizeof(i8)* | 8 = =8 ) |
Referenced by vl::String::fromUTF16BE(), and vl::String::fromUTF16LE().
vl::VL_COMPILE_TIME_CHECK | ( | sizeof(u8)* | 8 = =8 ) |
vl::VL_COMPILE_TIME_CHECK | ( | sizeof(i16)* | 8 = =16 ) |
vl::VL_COMPILE_TIME_CHECK | ( | sizeof(u16)* | 8 = =16 ) |
vl::VL_COMPILE_TIME_CHECK | ( | sizeof(i32)* | 8 = =32 ) |
vl::VL_COMPILE_TIME_CHECK | ( | sizeof(u32)* | 8 = =32 ) |
vl::VL_COMPILE_TIME_CHECK | ( | sizeof(i64)* | 8 = =64 ) |
vl::VL_COMPILE_TIME_CHECK | ( | sizeof(u64)* | 8 = =64 ) |
vl::VL_COMPILE_TIME_CHECK | ( | sizeof(f32)* | 8 = =32 ) |
vl::VL_COMPILE_TIME_CHECK | ( | sizeof(f64)* | 8 = =64 ) |
String vl::operator+ | ( | const wchar_t * | pstr, |
const String & | str | ||
) | [inline] |
Definition at line 583 of file String.hpp.
String vl::operator+ | ( | const char * | pstr, |
const String & | str | ||
) | [inline] |
Definition at line 588 of file String.hpp.
String vl::operator+ | ( | wchar_t | ch, |
const String & | str | ||
) | [inline] |
Definition at line 593 of file String.hpp.
String vl::operator+ | ( | char | ch, |
const String & | str | ||
) | [inline] |
Definition at line 598 of file String.hpp.
void vl::initStartTime | ( | ) |
Definition at line 87 of file Time.cpp.
References gStartTime, and NULL.
Referenced by vl::Time::currentTime().
B* vl::cast | ( | A * | obj ) |
Definition at line 219 of file TypeInfo.hpp.
References NULL.
const B* vl::cast_const | ( | const A * | obj ) |
Definition at line 228 of file TypeInfo.hpp.
References NULL.
float vl::fast1_inversesqrt | ( | float | x ) | [inline] |
Definition at line 69 of file Vector2.hpp.
float vl::fast2_inversesqrt | ( | float | x ) | [inline] |
Definition at line 79 of file Vector2.hpp.
Referenced by fast_sqrt().
float vl::fast_sqrt | ( | float | x ) | [inline] |
Definition at line 90 of file Vector2.hpp.
References fast2_inversesqrt().
const Vector2<T> vl::operator* | ( | T | val, |
const Vector2< T > & | v | ||
) | [inline] |
Definition at line 261 of file Vector2.hpp.
float vl::dot | ( | const fvec2 & | v1, |
const fvec2 & | v2 | ||
) | [inline] |
Definition at line 291 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 296 of file Vector2.hpp.
Referenced by vl::Text::boundingRect(), vl::CoreText::boundingRect(), clamp(), vl::String::compare(), compress(), decompress(), vl::Material::getMinimumAlpha(), isinf(), isinf_neg(), random(), randomI32(), randomU32(), and vl::Buffer::resize().
double vl::min | ( | double | a, |
double | b | ||
) | [inline] |
Definition at line 297 of file Vector2.hpp.
int vl::min | ( | int | a, |
int | b | ||
) | [inline] |
Definition at line 298 of file Vector2.hpp.
unsigned int vl::min | ( | unsigned int | a, |
unsigned int | b | ||
) | [inline] |
Definition at line 299 of file Vector2.hpp.
float vl::max | ( | float | a, |
float | b | ||
) | [inline] |
Definition at line 300 of file Vector2.hpp.
Referenced by vl::Text::boundingRect(), vl::CoreText::boundingRect(), clamp(), vl::Camera::computeNearFarOptimizedProjMatrix(), vl::String::find(), vl::Terrain::init(), vlQt4::Qt4Widget::initQt4Widget(), isinf(), isinf_pos(), vl::DaeLoader::parseInputs(), and vl::GLSLShader::setSource().
double vl::max | ( | double | a, |
double | b | ||
) | [inline] |
Definition at line 301 of file Vector2.hpp.
int vl::max | ( | int | a, |
int | b | ||
) | [inline] |
Definition at line 302 of file Vector2.hpp.
unsigned int vl::max | ( | unsigned int | a, |
unsigned int | b | ||
) | [inline] |
Definition at line 303 of file Vector2.hpp.
float vl::clamp | ( | float | x, |
float | minval, | ||
float | maxval | ||
) | [inline] |
Definition at line 304 of file Vector2.hpp.
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(), vl::DaeLoader::setup_vl_Effect(), smoothstep(), vl::Quaternion< T_Scalar >::toAxisAngle(), and vl::TrackballManipulator::trackballRotation().
double vl::clamp | ( | double | x, |
double | minval, | ||
double | maxval | ||
) | [inline] |
Definition at line 305 of file Vector2.hpp.
int vl::clamp | ( | int | x, |
int | minval, | ||
int | maxval | ||
) | [inline] |
Definition at line 306 of file Vector2.hpp.
unsigned int vl::clamp | ( | unsigned int | x, |
unsigned int | minval, | ||
unsigned int | maxval | ||
) | [inline] |
Definition at line 307 of file Vector2.hpp.
fvec2 vl::min | ( | const fvec2 & | a, |
const fvec2 & | b | ||
) | [inline] |
Definition at line 309 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 314 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 324 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 334 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 344 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 349 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 354 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 364 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 374 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 384 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 389 of file Vector2.hpp.
fvec2 vl::clamp | ( | const fvec2 & | x, |
const fvec2 & | minval, | ||
const fvec2 & | maxval | ||
) | [inline] |
Definition at line 390 of file Vector2.hpp.
dvec2 vl::clamp | ( | const dvec2 & | x, |
double | minval, | ||
double | maxval | ||
) | [inline] |
Definition at line 391 of file Vector2.hpp.
ivec2 vl::clamp | ( | const ivec2 & | x, |
int | minval, | ||
int | maxval | ||
) | [inline] |
Definition at line 393 of file Vector2.hpp.
uvec2 vl::clamp | ( | const uvec2 & | x, |
unsigned int | minval, | ||
unsigned int | maxval | ||
) | [inline] |
Definition at line 395 of file Vector2.hpp.
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::Geometry::fixTriangleWinding(), vl::Matrix4< T_Scalar >::getLookAt(), vl::Matrix4< T_Scalar >::getLookAtModeling(), 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.
uvec3 vl::clamp | ( | const fvec3 & | x, |
const fvec3 & | minval, | ||
const fvec3 & | maxval | ||
) | [inline] |
Definition at line 380 of file Vector3.hpp.
dvec3 vl::clamp | ( | const dvec3 & | x, |
double | minval, | ||
double | maxval | ||
) | [inline] |
Definition at line 382 of file Vector3.hpp.
ivec3 vl::clamp | ( | const ivec3 & | x, |
int | minval, | ||
int | maxval | ||
) | [inline] |
Definition at line 384 of file Vector3.hpp.
uvec3 vl::clamp | ( | const uvec3 & | x, |
unsigned int | minval, | ||
unsigned int | maxval | ||
) | [inline] |
Definition at line 385 of file Vector3.hpp.
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().
uvec4 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().
uvec4 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.
uvec4 vl::clamp | ( | const fvec4 & | x, |
const fvec4 & | minval, | ||
const fvec4 & | maxval | ||
) | [inline] |
Definition at line 404 of file Vector4.hpp.
dvec4 vl::clamp | ( | const dvec4 & | x, |
double | minval, | ||
double | maxval | ||
) | [inline] |
Definition at line 405 of file Vector4.hpp.
ivec4 vl::clamp | ( | const ivec4 & | x, |
int | minval, | ||
int | maxval | ||
) | [inline] |
Definition at line 407 of file Vector4.hpp.
uvec4 vl::clamp | ( | const uvec4 & | x, |
unsigned int | minval, | ||
unsigned int | maxval | ||
) | [inline] |
Definition at line 409 of file Vector4.hpp.
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(), isVLB(), isVLT(), loadMOL2(), vl::LoadWriterManager::loadResource(), loadVLB(), vl::VLXSerializer::loadVLB(), loadVLT(), vl::VLXSerializer::loadVLT(), 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 303 of file init_core.cpp.
References NULL.
bool vl::compress | ( | const void * | data, |
size_t | size, | ||
std::vector< unsigned char > & | out, | ||
int | level | ||
) |
Definition at line 42 of file ZippedFile.cpp.
References min(), and VL_CHECK.
Referenced by vl::VLXVisitorExportToVLB::visitArray().
bool vl::decompress | ( | const void * | cdata, |
size_t | csize, | ||
void * | data_out | ||
) |
Definition at line 94 of file ZippedFile.cpp.
References min(), and VL_CHECK.
Referenced by vl::VLXParserVLB::readValue().
VLXRegistry * vl::defVLXRegistry | ( | ) |
Definition at line 166 of file init_core.cpp.
Referenced by vl::VLXSerializer::VLXSerializer().
void vl::setDefVLXRegistry | ( | VLXRegistry * | reg ) |
Definition at line 170 of file init_core.cpp.
std::string vl::vlx_makeTag | ( | const Object * | obj ) | [inline] |
Definition at line 44 of file vlxutils.hpp.
Referenced by vl::VLXClassWrapper_Array::export_ArrayT(), vl::VLXClassWrapper_Effect::export_ShaderPasses(), vl::VLXClassWrapper_TextureSampler::exportVLX(), vl::VLXClassWrapper_TexParameter::exportVLX(), vl::VLXClassWrapper_Texture::exportVLX(), vl::VLXClassWrapper_ActorEventCallback::exportVLX(), vl::VLXClassWrapper_Material::exportVLX(), vl::VLXClassWrapper_Normal::exportVLX(), vl::VLXClassWrapper_SecondaryColor::exportVLX(), vl::VLXClassWrapper_Color::exportVLX(), vl::VLXClassWrapper_VertexAttrib::exportVLX(), vl::VLXClassWrapper_GLSLShader::exportVLX(), vl::VLXClassWrapper_GLSLProgram::exportVLX(), vl::VLXClassWrapper_ClipPlane::exportVLX(), vl::VLXClassWrapper_Light::exportVLX(), vl::VLXClassWrapper_Transform::exportVLX(), vl::VLXClassWrapper_Viewport::exportVLX(), vl::VLXClassWrapper_Camera::exportVLX(), vl::VLXClassWrapper_Actor::exportVLX(), vl::VLXClassWrapper_Effect::exportVLX(), vl::VLXClassWrapper_LODEvaluator::exportVLX(), vl::VLXClassWrapper_Shader::exportVLX(), vl::VLXClassWrapper_Uniform::exportVLX(), vl::VLXClassWrapper_ResourceDatabase::exportVLX(), vl::VLXClassWrapper_PatchParameter::exportVLX(), vl::VLXClassWrapper_DrawCall::exportVLX(), vl::VLXClassWrapper_VertexAttribInfo::exportVLX(), and vl::VLXClassWrapper_Geometry::exportVLX().
VLXValue vl::vlx_Identifier | ( | const std::string & | str ) | [inline] |
Definition at line 46 of file vlxutils.hpp.
References vl::VLXValue::Identifier.
Referenced by vl::VLXClassWrapper_ActorEventCallback::exportActorEventCallback(), vl::VLXClassWrapper_Camera::exportCamera(), vl::VLXClassWrapper_DrawCall::exportDrawCallBase(), vl::VLXClassWrapper_GLSLProgram::exportGLSLProgram(), vl::VLXClassWrapper_GLSLShader::exportGLSLShader(), vl::VLXClassWrapper_Material::exportMaterial(), vl::VLXClassWrapper_Shader::exportShader(), vl::VLXClassWrapper_TexParameter::exportTexParameter(), vl::VLXClassWrapper_Texture::exportTexture(), vl::VLXClassWrapper_Uniform::exportUniform(), vl::VLXClassWrapper_VertexAttribInfo::exportVertexAttribInfo(), and vl::VLXClassWrapper_Viewport::exportViewport().
VLXValue vl::vlx_ID | ( | const std::string & | str ) | [inline] |
Definition at line 48 of file vlxutils.hpp.
References vl::VLXValue::ID.
VLXValue vl::vlx_String | ( | const std::string & | str ) | [inline] |
Definition at line 50 of file vlxutils.hpp.
References vl::VLXValue::String.
Referenced by vl::VLXClassWrapper_Actor::exportActor(), vl::VLXClassWrapper_Camera::exportCamera(), vl::VLXClassWrapper_DrawCall::exportDrawCallBase(), vl::VLXClassWrapper_Effect::exportEffect(), vl::VLXClassWrapper_GLSLProgram::exportGLSLProgram(), vl::VLXClassWrapper_GLSLShader::exportGLSLShader(), vl::VLXClassWrapper_Light::exportLight(), vl::VLXClassWrapper_Material::exportMaterial(), vl::VLXClassWrapper_Renderable::exportRenderable(), vl::VLXClassWrapper_ResourceDatabase::exportResourceDatabase(), vl::VLXClassWrapper_Shader::exportShader(), vl::VLXClassWrapper_Texture::exportTexture(), vl::VLXClassWrapper_Transform::exportTransform(), vl::VLXClassWrapper_VertexAttrib::exportVertexAttrib(), and vl::VLXClassWrapper_Viewport::exportViewport().
VLXValue vl::vlx_Rawtext | ( | const std::string & | str ) | [inline] |
Definition at line 52 of file vlxutils.hpp.
References NULL.
Referenced by vl::VLXClassWrapper_GLSLShader::exportGLSLShader().
vec2 vl::vlx_vec2 | ( | const VLXArrayReal * | arr ) | [inline] |
Definition at line 54 of file vlxutils.hpp.
References vl::VLXArrayTemplate< T >::copyTo(), vl::VLXArrayTemplate< T >::value(), and VL_CHECK.
Referenced by vl::VLXClassWrapper_PatchParameter::importPatchParameter().
vec3 vl::vlx_vec3 | ( | const VLXArrayReal * | arr ) | [inline] |
Definition at line 56 of file vlxutils.hpp.
References vl::VLXArrayTemplate< T >::copyTo(), vl::VLXArrayTemplate< T >::value(), and VL_CHECK.
Referenced by import_AABB(), import_Sphere(), vl::VLXClassWrapper_ClipPlane::importClipPlane(), vl::VLXClassWrapper_Light::importLight(), vl::VLXClassWrapper_Normal::importNormal(), vl::VLXClassWrapper_SecondaryColor::importSecondaryColor(), and vlx_mat4().
vec4 vl::vlx_vec4 | ( | const VLXArrayReal * | arr ) | [inline] |
Definition at line 58 of file vlxutils.hpp.
References vl::VLXArrayTemplate< T >::copyTo(), vl::VLXArrayTemplate< T >::value(), and VL_CHECK.
Referenced by vl::VLXClassWrapper_Color::importColor(), vl::VLXClassWrapper_Light::importLight(), vl::VLXClassWrapper_Material::importMaterial(), vl::VLXClassWrapper_PatchParameter::importPatchParameter(), vl::VLXClassWrapper_TexParameter::importTexParameter(), vl::VLXClassWrapper_VertexAttrib::importVertexAttrib(), and vl::VLXClassWrapper_Viewport::importViewport().
ivec4 vl::vlx_ivec4 | ( | const VLXArrayInteger * | arr ) | [inline] |
Definition at line 60 of file vlxutils.hpp.
References vl::VLXArrayTemplate< T >::copyTo(), vl::VLXArrayTemplate< T >::value(), and VL_CHECK.
Referenced by vl::VLXClassWrapper_Viewport::importViewport().
uvec4 vl::vlx_uivec4 | ( | const VLXArrayInteger * | arr ) | [inline] |
Definition at line 62 of file vlxutils.hpp.
References vl::VLXArrayTemplate< T >::copyTo(), vl::VLXArrayTemplate< T >::value(), and VL_CHECK.
Referenced by vl::VLXClassWrapper_Viewport::importViewport().
VLXValue vl::vlx_toValue | ( | const std::vector< int > & | vec ) | [inline] |
Definition at line 64 of file vlxutils.hpp.
References vl::VLXArrayTemplate< T >::copyFrom(), vl::VLXValue::getArrayInteger(), vl::VLXValue::setArray(), and vl::VLXArrayTemplate< T >::value().
Referenced by export_AABB(), export_Sphere(), vl::VLXClassWrapper_Camera::exportCamera(), vl::VLXClassWrapper_ClipPlane::exportClipPlane(), vl::VLXClassWrapper_Color::exportColor(), vl::VLXClassWrapper_DrawCall::exportDrawCall(), vl::VLXClassWrapper_Light::exportLight(), vl::VLXClassWrapper_Material::exportMaterial(), vl::VLXClassWrapper_Normal::exportNormal(), vl::VLXClassWrapper_PatchParameter::exportPatchParameter(), vl::VLXClassWrapper_SecondaryColor::exportSecondaryColor(), vl::VLXClassWrapper_TexParameter::exportTexParameter(), vl::VLXClassWrapper_Transform::exportTransform(), vl::VLXClassWrapper_VertexAttrib::exportVertexAttrib(), and vl::VLXClassWrapper_Viewport::exportViewport().
VLXValue vl::vlx_toValue | ( | const vec4 & | vec ) | [inline] |
Definition at line 74 of file vlxutils.hpp.
References vl::VLXValue::getArrayReal(), vl::VLXArrayTemplate< T >::value(), vl::Vector4< T_Scalar >::w(), vl::Vector4< T_Scalar >::x(), vl::Vector4< T_Scalar >::y(), and vl::Vector4< T_Scalar >::z().
VLXValue vl::vlx_toValue | ( | const vec3 & | vec ) | [inline] |
Definition at line 110 of file vlxutils.hpp.
References vl::VLXValue::getArrayReal(), vl::VLXArrayTemplate< T >::value(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
VLXValue vl::vlx_toValue | ( | const vec2 & | vec ) | [inline] |
Definition at line 121 of file vlxutils.hpp.
References vl::VLXValue::getArrayReal(), vl::VLXArrayTemplate< T >::value(), vl::Vector2< T_Scalar >::x(), and vl::Vector2< T_Scalar >::y().
bool vl::vlx_isTranslation | ( | const mat4 & | mat ) | [inline] |
Definition at line 131 of file vlxutils.hpp.
References vl::Matrix4< T_Scalar >::isIdentity(), and vl::Matrix4< T_Scalar >::setT().
Referenced by vlx_toValue().
bool vl::vlx_isScaling | ( | const mat4 & | mat ) | [inline] |
Definition at line 138 of file vlxutils.hpp.
References vl::Matrix4< T_Scalar >::e(), and vl::Matrix4< T_Scalar >::isIdentity().
Referenced by vlx_toValue().
VLXValue vl::vlx_toValue | ( | const mat4 & | mat ) | [inline] |
Definition at line 147 of file vlxutils.hpp.
References vl::VLXArrayTemplate< T >::copyFrom(), vl::Matrix4< T_Scalar >::e(), vl::VLXValue::getArrayReal(), vl::VLXValue::getList(), vl::Matrix4< T_Scalar >::getT(), vl::Matrix4< T_Scalar >::ptr(), vl::VLXList::value(), vl::VLXArrayTemplate< T >::value(), vlx_isScaling(), and vlx_isTranslation().
mat4 vl::vlx_mat4 | ( | const VLXArrayReal * | arr ) | [inline] |
Definition at line 182 of file vlxutils.hpp.
References vl::VLXArrayTemplate< T >::copyTo(), and vl::Matrix4< T_Scalar >::ptr().
Referenced by vl::VLXClassWrapper_Camera::importCamera(), vl::VLXClassWrapper_Transform::importTransform(), and vlx_mat4().
mat4 vl::vlx_mat4 | ( | const VLXList * | list ) | [inline] |
Definition at line 189 of file vlxutils.hpp.
References vl::VLXValue::ArrayReal, vl::Log::error(), vl::VLXValue::getArrayReal(), vl::Matrix4< float >::getLookAt(), vl::Matrix4< float >::getNull(), vl::Matrix4< float >::getScaling(), vl::Matrix4< float >::getTranslation(), vl::VLXTaggedValue::lineNumber(), vl::VLXValue::lineNumber(), vl::VLXTaggedValue::tag(), vl::VLXValue::type(), vl::VLXArrayTemplate< T >::value(), vl::VLXList::value(), vlx_mat4(), vlx_vec3(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
const char* vl::vlx_EProjectionMatrixType | ( | EProjectionMatrixType | pt ) | [inline] |
Definition at line 257 of file vlxutils.hpp.
References PMT_OrthographicProjection, PMT_PerspectiveProjection, PMT_PerspectiveProjectionFrustum, and PMT_UserProjection.
Referenced by vl::VLXClassWrapper_Camera::exportCamera(), and vl::VLXClassWrapper_Camera::importCamera().
EProjectionMatrixType vl::vlx_EProjectionMatrixType | ( | const VLXValue & | value, |
VLXSerializer & | s | ||
) | [inline] |
Definition at line 269 of file vlxutils.hpp.
References vl::Log::error(), vl::VLXValue::getIdentifier(), vl::VLXSerializer::ImportError, vl::VLXValue::lineNumber(), PMT_OrthographicProjection, PMT_PerspectiveProjection, PMT_PerspectiveProjectionFrustum, PMT_UserProjection, and vl::VLXSerializer::setError().
const char* vl::vlx_EClearColorMode | ( | EClearColorMode | ccm ) | [inline] |
Definition at line 281 of file vlxutils.hpp.
References CCM_Float, CCM_Int, and CCM_UInt.
Referenced by vl::VLXClassWrapper_Viewport::exportViewport(), and vl::VLXClassWrapper_Viewport::importViewport().
EClearColorMode vl::vlx_EClearColorMode | ( | const VLXValue & | value, |
VLXSerializer & | s | ||
) | [inline] |
Definition at line 292 of file vlxutils.hpp.
References CCM_Float, CCM_Int, CCM_UInt, vl::Log::error(), vl::VLXValue::getIdentifier(), vl::VLXSerializer::ImportError, vl::VLXValue::lineNumber(), and vl::VLXSerializer::setError().
const char* vl::vlx_EClearFlags | ( | EClearFlags | cf ) | [inline] |
Definition at line 303 of file vlxutils.hpp.
References CF_CLEAR_COLOR, CF_CLEAR_COLOR_DEPTH, CF_CLEAR_COLOR_DEPTH_STENCIL, CF_CLEAR_COLOR_STENCIL, CF_CLEAR_DEPTH, CF_CLEAR_DEPTH_STENCIL, CF_CLEAR_STENCIL, and CF_DO_NOT_CLEAR.
Referenced by vl::VLXClassWrapper_Viewport::exportViewport(), and vl::VLXClassWrapper_Viewport::importViewport().
EClearFlags vl::vlx_EClearFlags | ( | const VLXValue & | value, |
VLXSerializer & | s | ||
) | [inline] |
Definition at line 319 of file vlxutils.hpp.
References CF_CLEAR_COLOR, CF_CLEAR_COLOR_DEPTH, CF_CLEAR_COLOR_DEPTH_STENCIL, CF_CLEAR_COLOR_STENCIL, CF_CLEAR_DEPTH, CF_CLEAR_DEPTH_STENCIL, CF_CLEAR_STENCIL, CF_DO_NOT_CLEAR, vl::Log::error(), vl::VLXValue::getIdentifier(), vl::VLXSerializer::ImportError, vl::VLXValue::lineNumber(), and vl::VLXSerializer::setError().
const char* vl::vlx_EPolygonFace | ( | EPolygonFace | pf ) | [inline] |
Definition at line 335 of file vlxutils.hpp.
References PF_BACK, PF_FRONT, and PF_FRONT_AND_BACK.
Referenced by vl::VLXClassWrapper_Material::exportMaterial(), and vl::VLXClassWrapper_Material::importMaterial().
EPolygonFace vl::vlx_EPolygonFace | ( | const VLXValue & | value, |
VLXSerializer & | s | ||
) | [inline] |
Definition at line 346 of file vlxutils.hpp.
References vl::Log::error(), vl::VLXValue::getIdentifier(), vl::VLXSerializer::ImportError, vl::VLXValue::lineNumber(), PF_BACK, PF_FRONT, PF_FRONT_AND_BACK, and vl::VLXSerializer::setError().
const char* vl::vlx_EColorMaterial | ( | EColorMaterial | cm ) | [inline] |
Definition at line 357 of file vlxutils.hpp.
References CM_AMBIENT, CM_AMBIENT_AND_DIFFUSE, CM_DIFFUSE, CM_EMISSION, and CM_SPECULAR.
Referenced by vl::VLXClassWrapper_Material::exportMaterial(), and vl::VLXClassWrapper_Material::importMaterial().
EColorMaterial vl::vlx_EColorMaterial | ( | const VLXValue & | value, |
VLXSerializer & | s | ||
) | [inline] |
Definition at line 370 of file vlxutils.hpp.
References CM_AMBIENT, CM_AMBIENT_AND_DIFFUSE, CM_DIFFUSE, CM_EMISSION, CM_SPECULAR, vl::Log::error(), vl::VLXValue::getIdentifier(), vl::VLXSerializer::ImportError, vl::VLXValue::lineNumber(), and vl::VLXSerializer::setError().
const char* vl::vlx_ETextureFormat | ( | ETextureFormat | tf ) | [inline] |
Definition at line 383 of file vlxutils.hpp.
References TF_ALPHA, TF_ALPHA12, TF_ALPHA16, TF_ALPHA16F, TF_ALPHA16I_EXT, TF_ALPHA16UI_EXT, TF_ALPHA32F, TF_ALPHA32I_EXT, TF_ALPHA32UI_EXT, TF_ALPHA4, TF_ALPHA8, TF_ALPHA8I_EXT, TF_ALPHA8UI_EXT, TF_COMPRESSED_ALPHA, TF_COMPRESSED_INTENSITY, TF_COMPRESSED_LUMINANCE, TF_COMPRESSED_LUMINANCE_ALPHA, TF_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT, TF_COMPRESSED_LUMINANCE_LATC1_EXT, TF_COMPRESSED_RED, TF_COMPRESSED_RED_GREEN_RGTC2_EXT, TF_COMPRESSED_RED_RGTC1_EXT, TF_COMPRESSED_RG, TF_COMPRESSED_RGB, TF_COMPRESSED_RGB_FXT1_3DFX, TF_COMPRESSED_RGB_S3TC_DXT1_EXT, TF_COMPRESSED_RGBA, TF_COMPRESSED_RGBA_FXT1_3DFX, TF_COMPRESSED_RGBA_S3TC_DXT1_EXT, TF_COMPRESSED_RGBA_S3TC_DXT3_EXT, TF_COMPRESSED_RGBA_S3TC_DXT5_EXT, TF_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT, TF_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT, TF_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT, TF_COMPRESSED_SIGNED_RED_RGTC1_EXT, TF_COMPRESSED_SLUMINANCE, TF_COMPRESSED_SLUMINANCE_ALPHA, TF_COMPRESSED_SRGB, TF_COMPRESSED_SRGB_ALPHA, TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT, TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT, TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT, TF_COMPRESSED_SRGB_S3TC_DXT1_EXT, TF_DEPTH24_STENCIL8, TF_DEPTH32F_STENCIL8, TF_DEPTH_COMPONENT, TF_DEPTH_COMPONENT16, TF_DEPTH_COMPONENT24, TF_DEPTH_COMPONENT32, TF_DEPTH_COMPONENT32F, TF_DEPTH_STENCIL, TF_INTENSITY, TF_INTENSITY12, TF_INTENSITY16, TF_INTENSITY16F, TF_INTENSITY16I_EXT, TF_INTENSITY16UI_EXT, TF_INTENSITY32F, TF_INTENSITY32I_EXT, TF_INTENSITY32UI_EXT, TF_INTENSITY4, TF_INTENSITY8, TF_INTENSITY8I_EXT, TF_INTENSITY8UI_EXT, TF_LUMINANCE, TF_LUMINANCE12, TF_LUMINANCE12_ALPHA12, TF_LUMINANCE12_ALPHA4, TF_LUMINANCE16, TF_LUMINANCE16_ALPHA16, TF_LUMINANCE16F, TF_LUMINANCE16I_EXT, TF_LUMINANCE16UI_EXT, TF_LUMINANCE32F, TF_LUMINANCE32I_EXT, TF_LUMINANCE32UI_EXT, TF_LUMINANCE4, TF_LUMINANCE4_ALPHA4, TF_LUMINANCE6_ALPHA2, TF_LUMINANCE8, TF_LUMINANCE8_ALPHA8, TF_LUMINANCE8I_EXT, TF_LUMINANCE8UI_EXT, TF_LUMINANCE_ALPHA, TF_LUMINANCE_ALPHA16F, TF_LUMINANCE_ALPHA16I_EXT, TF_LUMINANCE_ALPHA16UI_EXT, TF_LUMINANCE_ALPHA32F, TF_LUMINANCE_ALPHA32I_EXT, TF_LUMINANCE_ALPHA32UI_EXT, TF_LUMINANCE_ALPHA8I_EXT, TF_LUMINANCE_ALPHA8UI_EXT, TF_R11F_G11F_B10F, TF_R16, TF_R16_SNORM, TF_R16F, TF_R16I, TF_R16UI, TF_R32F, TF_R32I, TF_R32UI, TF_R3_G3_B2, TF_R8, TF_R8_SNORM, TF_R8I, TF_R8UI, TF_RED, TF_RG, TF_RG16, TF_RG16_SNORM, TF_RG16F, TF_RG16I, TF_RG16UI, TF_RG32F, TF_RG32I, TF_RG32UI, TF_RG8, TF_RG8_SNORM, TF_RG8I, TF_RG8UI, TF_RGB, TF_RGB10, TF_RGB10_A2, TF_RGB10_A2UI, TF_RGB12, TF_RGB16, TF_RGB16F, TF_RGB16I, TF_RGB16UI, TF_RGB32F, TF_RGB32I, TF_RGB32UI, TF_RGB4, TF_RGB5, TF_RGB5_A1, TF_RGB8, TF_RGB8_SNORM, TF_RGB8I, TF_RGB8UI, TF_RGB9_E5, TF_RGBA, TF_RGBA12, TF_RGBA16, TF_RGBA16_SNORM, TF_RGBA16F, TF_RGBA16I, TF_RGBA16UI, TF_RGBA2, TF_RGBA32F, TF_RGBA32I, TF_RGBA32UI, TF_RGBA4, TF_RGBA8, TF_RGBA8_SNORM, TF_RGBA8I, TF_RGBA8UI, TF_SLUMINANCE, TF_SLUMINANCE8, TF_SLUMINANCE8_ALPHA8, TF_SLUMINANCE_ALPHA, TF_SRGB, TF_SRGB8, TF_SRGB8_ALPHA8, TF_SRGB_ALPHA, and TF_UNKNOWN.
Referenced by vl::VLXClassWrapper_Texture::exportTexture(), and vl::VLXClassWrapper_Texture::importTexture().
ETextureFormat vl::vlx_ETextureFormat | ( | const VLXValue & | value, |
VLXSerializer & | s | ||
) | [inline] |
Definition at line 625 of file vlxutils.hpp.
References vl::Log::error(), vl::VLXValue::getIdentifier(), vl::VLXSerializer::ImportError, vl::VLXValue::lineNumber(), vl::VLXSerializer::setError(), TF_11F_G11F_B10F_EXT, TF_ALPHA, TF_ALPHA12, TF_ALPHA16, TF_ALPHA16F, TF_ALPHA16I_EXT, TF_ALPHA16UI_EXT, TF_ALPHA32F, TF_ALPHA32I_EXT, TF_ALPHA32UI_EXT, TF_ALPHA4, TF_ALPHA8, TF_ALPHA8I_EXT, TF_ALPHA8UI_EXT, TF_ALPHA_FLOAT16_ATI, TF_ALPHA_FLOAT32_ATI, TF_COMPRESSED_ALPHA, TF_COMPRESSED_INTENSITY, TF_COMPRESSED_LUMINANCE, TF_COMPRESSED_LUMINANCE_ALPHA, TF_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT, TF_COMPRESSED_LUMINANCE_LATC1_EXT, TF_COMPRESSED_RED, TF_COMPRESSED_RED_GREEN_RGTC2_EXT, TF_COMPRESSED_RED_RGTC1_EXT, TF_COMPRESSED_RG, TF_COMPRESSED_RGB, TF_COMPRESSED_RGB_FXT1_3DFX, TF_COMPRESSED_RGB_S3TC_DXT1_EXT, TF_COMPRESSED_RGBA, TF_COMPRESSED_RGBA_FXT1_3DFX, TF_COMPRESSED_RGBA_S3TC_DXT1_EXT, TF_COMPRESSED_RGBA_S3TC_DXT3_EXT, TF_COMPRESSED_RGBA_S3TC_DXT5_EXT, TF_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT, TF_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT, TF_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT, TF_COMPRESSED_SIGNED_RED_RGTC1_EXT, TF_COMPRESSED_SLUMINANCE, TF_COMPRESSED_SLUMINANCE_ALPHA, TF_COMPRESSED_SRGB, TF_COMPRESSED_SRGB_ALPHA, TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT, TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT, TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT, TF_COMPRESSED_SRGB_S3TC_DXT1_EXT, TF_DEPTH24_STENCIL8, TF_DEPTH32F_STENCIL8, TF_DEPTH_COMPONENT, TF_DEPTH_COMPONENT16, TF_DEPTH_COMPONENT24, TF_DEPTH_COMPONENT32, TF_DEPTH_COMPONENT32F, TF_DEPTH_STENCIL, TF_INTENSITY, TF_INTENSITY12, TF_INTENSITY16, TF_INTENSITY16F, TF_INTENSITY16I_EXT, TF_INTENSITY16UI_EXT, TF_INTENSITY32F, TF_INTENSITY32I_EXT, TF_INTENSITY32UI_EXT, TF_INTENSITY4, TF_INTENSITY8, TF_INTENSITY8I_EXT, TF_INTENSITY8UI_EXT, TF_INTENSITY_FLOAT16_ATI, TF_INTENSITY_FLOAT32_ATI, TF_LUMINANCE, TF_LUMINANCE12, TF_LUMINANCE12_ALPHA12, TF_LUMINANCE12_ALPHA4, TF_LUMINANCE16, TF_LUMINANCE16_ALPHA16, TF_LUMINANCE16F, TF_LUMINANCE16I_EXT, TF_LUMINANCE16UI_EXT, TF_LUMINANCE32F, TF_LUMINANCE32I_EXT, TF_LUMINANCE32UI_EXT, TF_LUMINANCE4, TF_LUMINANCE4_ALPHA4, TF_LUMINANCE6_ALPHA2, TF_LUMINANCE8, TF_LUMINANCE8_ALPHA8, TF_LUMINANCE8I_EXT, TF_LUMINANCE8UI_EXT, TF_LUMINANCE_ALPHA, TF_LUMINANCE_ALPHA16F, TF_LUMINANCE_ALPHA16I_EXT, TF_LUMINANCE_ALPHA16UI_EXT, TF_LUMINANCE_ALPHA32F, TF_LUMINANCE_ALPHA32I_EXT, TF_LUMINANCE_ALPHA32UI_EXT, TF_LUMINANCE_ALPHA8I_EXT, TF_LUMINANCE_ALPHA8UI_EXT, TF_LUMINANCE_ALPHA_FLOAT16_ATI, TF_LUMINANCE_ALPHA_FLOAT32_ATI, TF_LUMINANCE_FLOAT16_ATI, TF_LUMINANCE_FLOAT32_ATI, TF_R11F_G11F_B10F, TF_R16, TF_R16_SNORM, TF_R16F, TF_R16I, TF_R16UI, TF_R32F, TF_R32I, TF_R32UI, TF_R3_G3_B2, TF_R8, TF_R8_SNORM, TF_R8I, TF_R8UI, TF_RED, TF_RG, TF_RG16, TF_RG16_SNORM, TF_RG16F, TF_RG16I, TF_RG16UI, TF_RG32F, TF_RG32I, TF_RG32UI, TF_RG8, TF_RG8_SNORM, TF_RG8I, TF_RG8UI, TF_RGB, TF_RGB10, TF_RGB10_A2, TF_RGB10_A2UI, TF_RGB12, TF_RGB16, TF_RGB16F, TF_RGB16I, TF_RGB16I_EXT, TF_RGB16UI, TF_RGB16UI_EXT, TF_RGB32F, TF_RGB32I, TF_RGB32I_EXT, TF_RGB32UI, TF_RGB32UI_EXT, TF_RGB4, TF_RGB5, TF_RGB5_A1, TF_RGB8, TF_RGB8_SNORM, TF_RGB8I, TF_RGB8I_EXT, TF_RGB8UI, TF_RGB8UI_EXT, TF_RGB9_E5, TF_RGB9_E5_EXT, TF_RGB_FLOAT16_ATI, TF_RGB_FLOAT32_ATI, TF_RGBA, TF_RGBA12, TF_RGBA16, TF_RGBA16_SNORM, TF_RGBA16F, TF_RGBA16I, TF_RGBA16I_EXT, TF_RGBA16UI, TF_RGBA16UI_EXT, TF_RGBA2, TF_RGBA32F, TF_RGBA32I, TF_RGBA32I_EXT, TF_RGBA32UI, TF_RGBA32UI_EXT, TF_RGBA4, TF_RGBA8, TF_RGBA8_SNORM, TF_RGBA8I, TF_RGBA8I_EXT, TF_RGBA8UI, TF_RGBA8UI_EXT, TF_RGBA_FLOAT16_ATI, TF_RGBA_FLOAT32_ATI, TF_SLUMINANCE, TF_SLUMINANCE8, TF_SLUMINANCE8_ALPHA8, TF_SLUMINANCE_ALPHA, TF_SRGB, TF_SRGB8, TF_SRGB8_ALPHA8, TF_SRGB_ALPHA, and TF_UNKNOWN.
const char* vl::vlx_EUniformType | ( | EUniformType | type ) | [inline] |
Definition at line 867 of file vlxutils.hpp.
References UT_DOUBLE, UT_DOUBLE_MAT2, UT_DOUBLE_MAT2x3, UT_DOUBLE_MAT2x4, UT_DOUBLE_MAT3, UT_DOUBLE_MAT3x2, UT_DOUBLE_MAT3x4, UT_DOUBLE_MAT4, UT_DOUBLE_MAT4x2, UT_DOUBLE_MAT4x3, UT_DOUBLE_VEC2, UT_DOUBLE_VEC3, UT_DOUBLE_VEC4, UT_FLOAT, UT_FLOAT_MAT2, UT_FLOAT_MAT2x3, UT_FLOAT_MAT2x4, UT_FLOAT_MAT3, UT_FLOAT_MAT3x2, UT_FLOAT_MAT3x4, UT_FLOAT_MAT4, UT_FLOAT_MAT4x2, UT_FLOAT_MAT4x3, UT_FLOAT_VEC2, UT_FLOAT_VEC3, UT_FLOAT_VEC4, UT_INT, UT_INT_VEC2, UT_INT_VEC3, UT_INT_VEC4, UT_UNSIGNED_INT, UT_UNSIGNED_INT_VEC2, UT_UNSIGNED_INT_VEC3, and UT_UNSIGNED_INT_VEC4.
Referenced by vl::VLXClassWrapper_Uniform::exportUniform(), and vl::VLXClassWrapper_Uniform::importUniform().
EUniformType vl::vlx_EUniformType | ( | const VLXValue & | value, |
VLXSerializer & | s | ||
) | [inline] |
Definition at line 918 of file vlxutils.hpp.
References vl::Log::error(), vl::VLXValue::getIdentifier(), vl::VLXSerializer::ImportError, vl::VLXValue::lineNumber(), vl::VLXSerializer::setError(), UT_DOUBLE, UT_DOUBLE_MAT2, UT_DOUBLE_MAT2x3, UT_DOUBLE_MAT2x4, UT_DOUBLE_MAT3, UT_DOUBLE_MAT3x2, UT_DOUBLE_MAT3x4, UT_DOUBLE_MAT4, UT_DOUBLE_MAT4x2, UT_DOUBLE_MAT4x3, UT_DOUBLE_VEC2, UT_DOUBLE_VEC3, UT_DOUBLE_VEC4, UT_FLOAT, UT_FLOAT_MAT2, UT_FLOAT_MAT2x3, UT_FLOAT_MAT2x4, UT_FLOAT_MAT3, UT_FLOAT_MAT3x2, UT_FLOAT_MAT3x4, UT_FLOAT_MAT4, UT_FLOAT_MAT4x2, UT_FLOAT_MAT4x3, UT_FLOAT_VEC2, UT_FLOAT_VEC3, UT_FLOAT_VEC4, UT_INT, UT_INT_VEC2, UT_INT_VEC3, UT_INT_VEC4, UT_NONE, UT_UNSIGNED_INT, UT_UNSIGNED_INT_VEC2, UT_UNSIGNED_INT_VEC3, and UT_UNSIGNED_INT_VEC4.
const char* vl::vlx_EDepthTextureMode | ( | EDepthTextureMode | dtm ) | [inline] |
Definition at line 967 of file vlxutils.hpp.
References DTM_ALPHA, DTM_INTENSITY, DTM_LUMINANCE, and DTM_RED.
Referenced by vl::VLXClassWrapper_TexParameter::exportTexParameter(), and vl::VLXClassWrapper_TexParameter::importTexParameter().
EDepthTextureMode vl::vlx_EDepthTextureMode | ( | const VLXValue & | value, |
VLXSerializer & | s | ||
) | [inline] |
Definition at line 979 of file vlxutils.hpp.
References DTM_ALPHA, DTM_INTENSITY, DTM_LUMINANCE, DTM_RED, vl::Log::error(), vl::VLXValue::getIdentifier(), vl::VLXSerializer::ImportError, vl::VLXValue::lineNumber(), and vl::VLXSerializer::setError().
const char* vl::vlx_ETexCompareMode | ( | ETexCompareMode | tcm ) | [inline] |
Definition at line 991 of file vlxutils.hpp.
References TCM_COMPARE_REF_DEPTH_TO_TEXTURE, and TCM_NONE.
Referenced by vl::VLXClassWrapper_TexParameter::exportTexParameter(), and vl::VLXClassWrapper_TexParameter::importTexParameter().
ETexCompareMode vl::vlx_ETexCompareMode | ( | const VLXValue & | value, |
VLXSerializer & | s | ||
) | [inline] |
Definition at line 1002 of file vlxutils.hpp.
References vl::Log::error(), vl::VLXValue::getIdentifier(), vl::VLXSerializer::ImportError, vl::VLXValue::lineNumber(), vl::VLXSerializer::setError(), TCM_COMPARE_R_TO_TEXTURE, TCM_COMPARE_REF_DEPTH_TO_TEXTURE, and TCM_NONE.
const char* vl::vlx_ETexCompareFunc | ( | ETexCompareFunc | tcf ) | [inline] |
Definition at line 1013 of file vlxutils.hpp.
References TCF_ALWAYS, TCF_EQUAL, TCF_GEQUAL, TCF_GREATER, TCF_LEQUAL, TCF_LESS, TCF_NEVER, and TCF_NOTEQUAL.
Referenced by vl::VLXClassWrapper_TexParameter::exportTexParameter(), and vl::VLXClassWrapper_TexParameter::importTexParameter().
ETexCompareFunc vl::vlx_ETexCompareFunc | ( | const VLXValue & | value, |
VLXSerializer & | s | ||
) | [inline] |
Definition at line 1029 of file vlxutils.hpp.
References vl::Log::error(), vl::VLXValue::getIdentifier(), vl::VLXSerializer::ImportError, vl::VLXValue::lineNumber(), vl::VLXSerializer::setError(), TCF_ALWAYS, TCF_EQUAL, TCF_GEQUAL, TCF_GREATER, TCF_LEQUAL, TCF_LESS, TCF_NEVER, and TCF_NOTEQUAL.
const char* vl::vlx_ETexParamFilter | ( | ETexParamFilter | tpf ) | [inline] |
Definition at line 1045 of file vlxutils.hpp.
References TPF_LINEAR, TPF_LINEAR_MIPMAP_LINEAR, TPF_LINEAR_MIPMAP_NEAREST, TPF_NEAREST, TPF_NEAREST_MIPMAP_LINEAR, and TPF_NEAREST_MIPMAP_NEAREST.
Referenced by vl::VLXClassWrapper_TexParameter::exportTexParameter(), and vl::VLXClassWrapper_TexParameter::importTexParameter().
ETexParamFilter vl::vlx_ETexParamFilter | ( | const VLXValue & | value, |
VLXSerializer & | s | ||
) | [inline] |
Definition at line 1059 of file vlxutils.hpp.
References vl::Log::error(), vl::VLXValue::getIdentifier(), vl::VLXSerializer::ImportError, vl::VLXValue::lineNumber(), vl::VLXSerializer::setError(), TPF_LINEAR, TPF_LINEAR_MIPMAP_LINEAR, TPF_LINEAR_MIPMAP_NEAREST, TPF_NEAREST, TPF_NEAREST_MIPMAP_LINEAR, and TPF_NEAREST_MIPMAP_NEAREST.
const char* vl::vlx_ETexParamWrap | ( | ETexParamWrap | tpw ) | [inline] |
Definition at line 1073 of file vlxutils.hpp.
References TPW_CLAMP, TPW_CLAMP_TO_BORDER, TPW_CLAMP_TO_EDGE, TPW_MIRRORED_REPEAT, and TPW_REPEAT.
Referenced by vl::VLXClassWrapper_TexParameter::exportTexParameter(), and vl::VLXClassWrapper_TexParameter::importTexParameter().
ETexParamWrap vl::vlx_ETexParamWrap | ( | const VLXValue & | value, |
VLXSerializer & | s | ||
) | [inline] |
Definition at line 1086 of file vlxutils.hpp.
References vl::Log::error(), vl::VLXValue::getIdentifier(), vl::VLXSerializer::ImportError, vl::VLXValue::lineNumber(), vl::VLXSerializer::setError(), TPW_CLAMP, TPW_CLAMP_TO_BORDER, TPW_CLAMP_TO_EDGE, TPW_MIRRORED_REPEAT, and TPW_REPEAT.
const char* vl::vlx_EEnable | ( | EEnable | en ) | [inline] |
Definition at line 1099 of file vlxutils.hpp.
References EN_ALPHA_TEST, EN_BLEND, EN_CLIP_DISTANCE0, EN_CLIP_DISTANCE1, EN_CLIP_DISTANCE2, EN_CLIP_DISTANCE3, EN_CLIP_DISTANCE4, EN_CLIP_DISTANCE5, EN_CLIP_DISTANCE6, EN_CLIP_DISTANCE7, EN_COLOR_LOGIC_OP, EN_COLOR_SUM, EN_CULL_FACE, EN_DEPTH_TEST, EN_DITHER, EN_FOG, EN_LIGHTING, EN_LINE_SMOOTH, EN_LINE_STIPPLE, EN_MULTISAMPLE, EN_NORMALIZE, EN_POINT_SMOOTH, EN_POINT_SPRITE, EN_POLYGON_OFFSET_FILL, EN_POLYGON_OFFSET_LINE, EN_POLYGON_OFFSET_POINT, EN_POLYGON_SMOOTH, EN_POLYGON_STIPPLE, EN_PROGRAM_POINT_SIZE, EN_RESCALE_NORMAL, EN_SAMPLE_ALPHA_TO_COVERAGE, EN_SAMPLE_ALPHA_TO_ONE, EN_SAMPLE_COVERAGE, EN_STENCIL_TEST, EN_TEXTURE_CUBE_MAP_SEAMLESS, and EN_VERTEX_PROGRAM_TWO_SIDE.
Referenced by vl::VLXClassWrapper_Shader::exportShader(), and vl::VLXClassWrapper_Shader::importShader().
EEnable vl::vlx_EEnable | ( | const VLXValue & | value, |
VLXSerializer & | s | ||
) | [inline] |
Definition at line 1144 of file vlxutils.hpp.
References EN_ALPHA_TEST, EN_BLEND, EN_CLIP_DISTANCE0, EN_CLIP_DISTANCE1, EN_CLIP_DISTANCE2, EN_CLIP_DISTANCE3, EN_CLIP_DISTANCE4, EN_CLIP_DISTANCE5, EN_CLIP_DISTANCE6, EN_CLIP_DISTANCE7, EN_COLOR_LOGIC_OP, EN_COLOR_SUM, EN_CULL_FACE, EN_DEPTH_TEST, EN_DITHER, EN_FOG, EN_LIGHTING, EN_LINE_SMOOTH, EN_LINE_STIPPLE, EN_MULTISAMPLE, EN_NORMALIZE, EN_POINT_SMOOTH, EN_POINT_SPRITE, EN_POLYGON_OFFSET_FILL, EN_POLYGON_OFFSET_LINE, EN_POLYGON_OFFSET_POINT, EN_POLYGON_SMOOTH, EN_POLYGON_STIPPLE, EN_PROGRAM_POINT_SIZE, EN_RESCALE_NORMAL, EN_SAMPLE_ALPHA_TO_COVERAGE, EN_SAMPLE_ALPHA_TO_ONE, EN_SAMPLE_COVERAGE, EN_STENCIL_TEST, EN_TEXTURE_CUBE_MAP_SEAMLESS, EN_UnknownEnable, EN_VERTEX_PROGRAM_TWO_SIDE, vl::Log::error(), vl::VLXValue::getIdentifier(), vl::VLXSerializer::ImportError, vl::VLXValue::lineNumber(), and vl::VLXSerializer::setError().
EPrimitiveType vl::vlx_EPrimitiveType | ( | const VLXValue & | value, |
VLXSerializer & | s | ||
) | [inline] |
Definition at line 1188 of file vlxutils.hpp.
References vl::Log::error(), vl::VLXValue::getIdentifier(), vl::VLXSerializer::ImportError, vl::VLXValue::lineNumber(), PT_LINE_LOOP, PT_LINE_STRIP, PT_LINE_STRIP_ADJACENCY, PT_LINES, PT_LINES_ADJACENCY, PT_PATCHES, PT_POINTS, PT_POLYGON, PT_QUAD_STRIP, PT_QUADS, PT_TRIANGLE_FAN, PT_TRIANGLE_STRIP, PT_TRIANGLES, PT_TRIANGLES_ADJACENCY, PT_UNKNOWN, and vl::VLXSerializer::setError().
Referenced by vl::VLXClassWrapper_DrawCall::exportDrawCallBase(), and vl::VLXClassWrapper_DrawCall::importDrawCall().
const char* vl::vlx_EPrimitiveType | ( | EPrimitiveType | type ) | [inline] |
Definition at line 1212 of file vlxutils.hpp.
References PT_LINE_LOOP, PT_LINE_STRIP, PT_LINE_STRIP_ADJACENCY, PT_LINES, PT_LINES_ADJACENCY, PT_PATCHES, PT_POINTS, PT_POLYGON, PT_QUAD_STRIP, PT_QUADS, PT_TRIANGLE_FAN, PT_TRIANGLE_STRIP, PT_TRIANGLE_STRIP_ADJACENCY, PT_TRIANGLES, PT_TRIANGLES_ADJACENCY, and PT_UNKNOWN.
EVertexAttribInterpretation vl::vlx_EVertexAttribInterpretation | ( | const VLXValue & | value, |
VLXSerializer & | s | ||
) | [inline] |
Definition at line 1236 of file vlxutils.hpp.
References vl::Log::error(), vl::VLXValue::getIdentifier(), vl::VLXSerializer::ImportError, vl::VLXValue::lineNumber(), vl::VLXSerializer::setError(), VAI_DOUBLE, VAI_INTEGER, and VAI_NORMAL.
Referenced by vl::VLXClassWrapper_VertexAttribInfo::exportVertexAttribInfo(), and vl::VLXClassWrapper_VertexAttribInfo::importVLX().
const char* vl::vlx_EVertexAttribInterpretation | ( | EVertexAttribInterpretation | type ) | [inline] |
Definition at line 1247 of file vlxutils.hpp.
References VAI_DOUBLE, VAI_INTEGER, and VAI_NORMAL.
ETextureDimension vl::vlx_ETextureDimension | ( | const VLXValue & | value, |
VLXSerializer & | s | ||
) | [inline] |
Definition at line 1258 of file vlxutils.hpp.
References vl::Log::error(), vl::VLXValue::getIdentifier(), vl::VLXSerializer::ImportError, vl::VLXValue::lineNumber(), vl::VLXSerializer::setError(), TD_TEXTURE_1D, TD_TEXTURE_1D_ARRAY, TD_TEXTURE_2D, TD_TEXTURE_2D_ARRAY, TD_TEXTURE_2D_MULTISAMPLE, TD_TEXTURE_2D_MULTISAMPLE_ARRAY, TD_TEXTURE_3D, TD_TEXTURE_BUFFER, TD_TEXTURE_CUBE_MAP, TD_TEXTURE_RECTANGLE, and TD_TEXTURE_UNKNOWN.
Referenced by vl::VLXClassWrapper_Texture::exportTexture(), and vl::VLXClassWrapper_Texture::importTexture().
const char* vl::vlx_ETextureDimension | ( | ETextureDimension | td ) | [inline] |
Definition at line 1277 of file vlxutils.hpp.
References vl::Log::error(), TD_TEXTURE_1D, TD_TEXTURE_1D_ARRAY, TD_TEXTURE_2D, TD_TEXTURE_2D_ARRAY, TD_TEXTURE_2D_MULTISAMPLE, TD_TEXTURE_2D_MULTISAMPLE_ARRAY, TD_TEXTURE_3D, TD_TEXTURE_BUFFER, TD_TEXTURE_CUBE_MAP, TD_TEXTURE_RECTANGLE, TD_TEXTURE_UNKNOWN, and VL_TRAP.
VLXValue vl::export_AABB | ( | const AABB & | aabb ) | [inline] |
Definition at line 59 of file VLXWrappers.hpp.
References vl::VLXValue::getStructure(), vl::AABB::maxCorner(), vl::AABB::minCorner(), and vlx_toValue().
Referenced by vl::VLXClassWrapper_Renderable::exportRenderable().
AABB vl::import_AABB | ( | const VLXStructure * | vlx ) | [inline] |
Definition at line 67 of file VLXWrappers.hpp.
References vl::VLXValue::ArrayReal, vl::VLXValue::getArrayReal(), vl::AABB::setMaxCorner(), vl::AABB::setMinCorner(), vl::VLXTaggedValue::tag(), vl::VLXValue::type(), vl::VLXStructure::value(), VL_CHECK, and vlx_vec3().
Referenced by vl::VLXClassWrapper_Renderable::importRenderable().
VLXValue vl::export_Sphere | ( | const Sphere & | sphere ) | [inline] |
Definition at line 93 of file VLXWrappers.hpp.
References vl::Sphere::center(), vl::VLXValue::getStructure(), vl::Sphere::radius(), and vlx_toValue().
Referenced by vl::VLXClassWrapper_Renderable::exportRenderable().
Sphere vl::import_Sphere | ( | const VLXStructure * | vlx ) | [inline] |
Definition at line 101 of file VLXWrappers.hpp.
References vl::VLXValue::ArrayReal, vl::VLXValue::getArrayReal(), vl::VLXValue::getReal(), vl::VLXValue::Real, vl::Sphere::setCenter(), vl::Sphere::setRadius(), vl::VLXTaggedValue::tag(), vl::VLXValue::type(), vl::VLXStructure::value(), VL_CHECK, and vlx_vec3().
Referenced by vl::VLXClassWrapper_Renderable::importRenderable().
void vl::expandResourceDatabase | ( | ResourceDatabase * | db ) |
Extracts and sorts Shaders, Effects, Renderables, RenderStates, Transforms etc. from their parent objects.
Definition at line 132 of file expandResourceDatabase.cpp.
References vl::Object::as(), vl::Camera::boundTransform(), vl::ResourceDatabase::resources(), and vl::Camera::viewport().
Referenced by main().
vl::ref<vl::Geometry> vl::makeScales | ( | bool | X = true , |
bool | Y = true , |
||
bool | Z = true , |
||
int | numArmTicks = 50 , |
||
float | mmStep = 10 , |
||
float | mmTickSize = 4 , |
||
vl::fvec4 | color = vl::fvec4(1, 1, 1, 1) |
||
) |
Makes an orthogonal cross-hair scales (reticle).
It creates a geometry for a 2D or 3D orthogonal scales, with evenly-spaced big ticks at every 10 steps, mid-ticks at every 5 steps and ticks at every step. By passing true to any X, Y or Z params, one can configure which axes will be generated.
The number of ticks per arm (half-axis), the step between ticks and the tick size are customizable.
FontManager * vl::defFontManager | ( | ) |
Returns the default FontManager used by Visualization Library.
Definition at line 80 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 84 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 532 of file GeometryPrimitives.cpp.
References vl::ref< T >::get(), PT_QUADS, and PT_TRIANGLES.
Referenced by vl::VolumePlot::compute(), and makeBox().
Creates a box.
Definition at line 527 of file GeometryPrimitives.cpp.
References makeBox(), vl::Vector3< T_Scalar >::x(), vl::Vector3< T_Scalar >::y(), and vl::Vector3< T_Scalar >::z().
Creates a box.
Definition at line 522 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 672 of file GeometryPrimitives.cpp.
References vl::ref< T >::get(), vl::Matrix4< float >::getRotation(), and PT_TRIANGLE_FAN.
Referenced by vl::DaeLoader::setupLights().
Creates a pyramid.
Definition at line 635 of file GeometryPrimitives.cpp.
References vl::ref< T >::get(), and PT_TRIANGLES.
Referenced by vl::DaeLoader::setupLights().
Creates an icosahedron.
Definition at line 821 of file GeometryPrimitives.cpp.
References vl::ref< T >::get(), and PT_TRIANGLES.
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 284 of file GeometryPrimitives.cpp.
References vl::ref< T >::get(), vl::Matrix4< float >::getRotation(), PT_QUADS, and PT_TRIANGLES.
Referenced by vl::DaeLoader::setupLights().
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 356 of file GeometryPrimitives.cpp.
References vl::ref< T >::get(), vl::Matrix4< float >::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 449 of file GeometryPrimitives.cpp.
References vl::ref< T >::get(), vl::Matrix4< float >::getRotation(), vl::Vector3< T_Scalar >::normalize(), and PT_QUADS.
Referenced by vl::DaeLoader::setupLights().
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.
Creates a classic Newell's teapot.
Definition at line 148 of file GeometryPrimitives.cpp.
References vl::ref< T >::get(), vl::Matrix4< float >::getRotation(), vl::Matrix4< float >::getScaling(), vl::Matrix4< float >::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) , |
||
bool | center = true |
||
) |
Creates a 2D grid.
Definition at line 731 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.
Creates a 2D circle.
Definition at line 872 of file GeometryPrimitives.cpp.
References vl::ref< T >::get(), vl::Matrix4< float >::getRotation(), and PT_LINE_LOOP.
vl::VL_COMPILE_TIME_CHECK | ( | EN_EnableCount | = =sizeof(Is_Enable_Supported)/sizeof(Is_Enable_Supported[0]) ) |
bool vl::initializeOpenGL | ( | ) |
To test whether OpenGL has been initialized at least once check vl::Is_OpenGL_Initialized.
Definition at line 304 of file OpenGL.cpp.
References CONTEXT_CORE_PROFILE_BIT, CONTEXT_PROFILE_MASK, EN_ALPHA_TEST, EN_BLEND, EN_CLIP_DISTANCE0, EN_CLIP_DISTANCE1, EN_CLIP_DISTANCE2, EN_CLIP_DISTANCE3, EN_CLIP_DISTANCE4, EN_CLIP_DISTANCE5, EN_CLIP_DISTANCE6, EN_CLIP_DISTANCE7, EN_COLOR_LOGIC_OP, EN_COLOR_SUM, EN_CULL_FACE, EN_DEPTH_TEST, EN_DITHER, EN_EnableCount, EN_FOG, EN_LIGHTING, EN_LINE_SMOOTH, EN_LINE_STIPPLE, EN_MULTISAMPLE, EN_NORMALIZE, EN_POINT_SMOOTH, EN_POINT_SPRITE, EN_POLYGON_OFFSET_FILL, EN_POLYGON_OFFSET_LINE, EN_POLYGON_OFFSET_POINT, EN_POLYGON_SMOOTH, EN_POLYGON_STIPPLE, EN_PROGRAM_POINT_SIZE, EN_RESCALE_NORMAL, EN_SAMPLE_ALPHA_TO_COVERAGE, EN_SAMPLE_ALPHA_TO_ONE, EN_SAMPLE_COVERAGE, EN_STENCIL_TEST, EN_TEXTURE_CUBE_MAP_SEAMLESS, EN_VERTEX_PROGRAM_TWO_SIDE, Has_Base_Vertex, Has_BufferObject, Has_Cubemap_Textures, Has_FBO, Has_FBO_Multisample, Has_Fixed_Function_Pipeline, Has_Geometry_Shader, Has_GL_GENERATE_MIPMAP, Has_GL_Version_1_1, Has_GL_Version_1_2, Has_GL_Version_1_3, Has_GL_Version_1_4, Has_GL_Version_1_5, Has_GL_Version_2_0, Has_GL_Version_2_1, Has_GL_Version_3_0, Has_GL_Version_3_1, Has_GL_Version_3_2, Has_GL_Version_3_3, Has_GL_Version_4_0, Has_GL_Version_4_1, Has_GLES, Has_GLES_Version_1_1, Has_GLES_Version_2_0, Has_glGenerateMipmaps, Has_GLSL, Has_GLSL_120_Or_More, Has_GLSL_130_Or_More, Has_GLSL_140_Or_More, Has_GLSL_150_Or_More, Has_GLSL_330_Or_More, Has_GLSL_400_Or_More, Has_GLSL_410_Or_More, Has_Multitexture, Has_Occlusion_Query, Has_PBO, Has_Point_Sprite, Has_Primitive_Instancing, Has_Primitive_Restart, Has_Texture_3D, Has_Texture_Array, Has_Texture_Buffer, Has_Texture_Multisample, Has_Texture_Rectangle, Has_Transform_Feedback, Is_Enable_Supported, Is_OpenGL_Core_Profile, Is_OpenGL_Forward_Compatible, Is_OpenGL_Initialized, NULL, PRINT_INFO, Translate_Enable, Translate_Enable_String, and VL_CHECK_OGL.
Referenced by vlWin32::choosePixelFormat(), and vl::OpenGLContext::initGLContext().
void * vl::getGLProcAddress | ( | const char * | name ) |
Returns the address of the specified OpenGL function if supported by the active OpenGL driver and profile.
Definition at line 712 of file OpenGL.cpp.
References NULL.
Referenced by vl::OpenGLContext::getProcAddress().
const char * vl::getGLErrorString | ( | int | err ) |
Returns a readable string corresponding to the given OpenGL error code as returned by glGetError()
Definition at line 584 of file OpenGL.cpp.
Referenced by vl::Texture::createTexture(), glcheck(), vl::DrawElements< ArrayUShort1 >::render(), and vl::DrawArrays::render().
int vl::glcheck | ( | const char * | file, |
int | line | ||
) |
Definition at line 599 of file OpenGL.cpp.
References getGLErrorString().
ref< ResourceDatabase > vl::load3DS | ( | VirtualFile * | file ) |
Definition at line 694 of file io3DS.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, NULL, 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 io3DS.cpp.
References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), load3DS(), vl::FileSystem::locateFile(), and NULL.
ref< ResourceDatabase > vl::loadAC3D | ( | VirtualFile * | file ) |
Loads and AC3D file (.ac)
Definition at line 454 of file ioAC3D.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(), NULL, 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)
Definition at line 440 of file ioAC3D.cpp.
References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadAC3D(), vl::FileSystem::locateFile(), and NULL.
ref< ResourceDatabase > vl::loadMD2 | ( | const String & | path ) |
Definition at line 126 of file ioMD2.cpp.
References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), vl::FileSystem::locateFile(), and NULL.
Referenced by vl::LoadWriterMD2::loadResource().
ref< ResourceDatabase > vl::loadMD2 | ( | VirtualFile * | file ) |
Definition at line 139 of file ioMD2.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(), NULL, 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 926 of file ioOBJ.cpp.
References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), vl::FileSystem::locateFile(), and NULL.
Referenced by vl::LoadWriterOBJ::loadResource().
ref< ResourceDatabase > vl::loadOBJ | ( | VirtualFile * | file ) |
Loads a Wavefront OBJ file. See also ObjLoader.
Definition at line 938 of file ioOBJ.cpp.
References vl::ObjLoader::loadOBJ().
ref< ResourceDatabase > vl::loadPLY | ( | VirtualFile * | file ) |
Definition at line 58 of file ioPLY.cpp.
References vl::PlyLoader::loadPly().
Referenced by loadPLY(), and vl::LoadWriterPLY::loadResource().
ref< ResourceDatabase > vl::loadPLY | ( | const String & | path ) |
Definition at line 45 of file ioPLY.cpp.
References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadPLY(), vl::FileSystem::locateFile(), and NULL.
ref< ResourceDatabase > vl::loadSTL | ( | VirtualFile * | file ) |
Definition at line 59 of file ioSTL.cpp.
References vl::STLLoader::loadSTL().
Referenced by vl::LoadWriterSTL::loadResource(), and loadSTL().
ref< ResourceDatabase > vl::loadSTL | ( | const String & | path ) |
Definition at line 46 of file ioSTL.cpp.
References defFileSystem(), vl::Log::error(), vl::ref< T >::get(), loadSTL(), vl::FileSystem::locateFile(), and NULL.
ref< ResourceDatabase > vl::loadVLT | ( | VirtualFile * | file ) |
Definition at line 44 of file ioVLX.cpp.
References vl::Log::error(), vl::VLXSerializer::error(), vl::VLXSerializer::errorString(), vl::VLXSerializer::loadVLT(), and NULL.
Referenced by vl::LoadWriterVLX::loadResource(), and loadVLT().
ref< ResourceDatabase > vl::loadVLT | ( | const String & | path ) |
Definition at line 38 of file ioVLX.cpp.
References vl::ref< T >::get(), loadVLT(), and locateFile().
ref< ResourceDatabase > vl::loadVLB | ( | VirtualFile * | file ) |
Definition at line 67 of file ioVLX.cpp.
References vl::Log::error(), vl::VLXSerializer::error(), vl::VLXSerializer::errorString(), vl::VLXSerializer::loadVLB(), and NULL.
Referenced by vl::LoadWriterVLX::loadResource(), and loadVLB().
ref< ResourceDatabase > vl::loadVLB | ( | const String & | path ) |
Definition at line 61 of file ioVLX.cpp.
References vl::ref< T >::get(), loadVLB(), and locateFile().
bool vl::saveVLT | ( | VirtualFile * | file, |
const ResourceDatabase * | res_db | ||
) |
Definition at line 90 of file ioVLX.cpp.
References vl::Log::error(), vl::VLXSerializer::error(), vl::VLXSerializer::errorString(), vl::VLXSerializer::NoError, vl::VLXSerializer::saveVLT(), and VL_CHECK.
Referenced by main(), saveVLT(), and vl::LoadWriterVLX::writeResource().
bool vl::saveVLT | ( | const String & | file, |
const ResourceDatabase * | res_db | ||
) |
Definition at line 84 of file ioVLX.cpp.
References vl::ref< T >::get(), and saveVLT().
bool vl::saveVLB | ( | VirtualFile * | file, |
const ResourceDatabase * | res_db | ||
) |
Definition at line 111 of file ioVLX.cpp.
References vl::Log::error(), vl::VLXSerializer::error(), vl::VLXSerializer::errorString(), vl::VLXSerializer::NoError, vl::VLXSerializer::saveVLB(), and VL_CHECK.
Referenced by main(), saveVLB(), and vl::LoadWriterVLX::writeResource().
bool vl::saveVLB | ( | const String & | file, |
const ResourceDatabase * | res_db | ||
) |
Definition at line 105 of file ioVLX.cpp.
References vl::ref< T >::get(), and saveVLB().
bool vl::isVLT | ( | VirtualFile * | file ) |
Definition at line 132 of file ioVLX.cpp.
References vl::VirtualFile::close(), OM_ReadOnly, vl::VirtualFile::open(), and vl::VirtualFile::read().
Referenced by isVLB(), isVLT(), and vl::LoadWriterVLX::loadResource().
bool vl::isVLT | ( | const String & | file ) |
Definition at line 126 of file ioVLX.cpp.
References vl::ref< T >::get(), isVLT(), and locateFile().
bool vl::isVLB | ( | VirtualFile * | file ) |
Definition at line 151 of file ioVLX.cpp.
References vl::VirtualFile::close(), OM_ReadOnly, vl::VirtualFile::open(), and vl::VirtualFile::read().
Referenced by vl::LoadWriterVLX::loadResource().
bool vl::isVLB | ( | const String & | file ) |
Definition at line 145 of file ioVLX.cpp.
References vl::ref< T >::get(), isVLT(), and 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.
Definition at line 54 of file ReadPixels.hpp.
References vl::Image::allocate2D(), vl::Image::dimension(), vl::Image::format(), vl::BufferObject::handle(), Has_GL_Version_1_2, Has_GL_Version_2_1, Has_GL_Version_3_0, Has_GL_Version_4_0, vl::Image::height(), ID_2D, vl::Image::imageBuffer(), NULL, vl::Image::pixels(), vl::Log::print(), vl::Image::requiredMemory2D(), vl::Image::reset(), vl::BufferObject::setBufferData(), vl::Image::type(), vl::BufferObject::usage(), VL_CHECK, VL_CHECK_OGL, VL_TRAP, and vl::Image::width().
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().
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.
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.
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().
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().
VLVOLUME_EXPORT ref<Image> vl::genRGBAVolumeT | ( | const Image * | data, |
const Image * | trfunc, | ||
const fvec3 & | light_dir, | ||
bool | alpha_from_data | ||
) |
Internally used.
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, NULL, vl::Vector4< T_Scalar >::r(), and VL_CHECK.
const double vl::dPi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093845 |
Greek Pi constant using double
precision.
Definition at line 64 of file std_types.hpp.
Referenced by vl::VectorGraphics::drawEllipse(), and vl::VectorGraphics::fillEllipse().
const double vl::dDEG_TO_RAD = dPi / 180.0 |
Constant to convert degree into radian using double
precision.
Definition at line 66 of file std_types.hpp.
Referenced by vl::Matrix4< T_Scalar >::getPerspective(), vl::Matrix4< T_Scalar >::getRotation(), vl::Matrix3< T_Scalar >::getRotation(), vl::degree::operator radian(), radians(), and vl::Quaternion< T_Scalar >::setFromAxisAngle().
const double vl::dRAD_TO_DEG = 180.0 / dPi |
Constant to convert radian into degree using double
precision.
Definition at line 68 of file std_types.hpp.
Referenced by degrees(), vl::Matrix4< T_Scalar >::getRotation(), vl::Matrix4< T_Scalar >::getYXRotationAngles(), vl::radian::operator degree(), 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 71 of file std_types.hpp.
Referenced by vl::EdgeExtractor::extractEdges().
const float vl::fDEG_TO_RAD = float(dPi / 180.0) |
Constant to convert degree into radian using float
precision.
Definition at line 73 of file std_types.hpp.
Referenced by vl::StereoCamera::updateLeftRightCameras().
const float vl::fRAD_TO_DEG = float(180.0 / dPi) |
Constant to convert radian into degree using float
precision.
Definition at line 75 of file std_types.hpp.
unsigned long long vl::gStartTime = 0 |
Definition at line 85 of file Time.cpp.
Referenced by vl::Time::currentTime(), and initStartTime().
VLGRAPHICS_EXPORT bool vl::Is_OpenGL_Initialized = false |
Set to true if the last call to vl::initializeOpenGL() was succesful.
Definition at line 45 of file OpenGL.cpp.
Referenced by initializeOpenGL().
VLGRAPHICS_EXPORT bool vl::Is_OpenGL_Core_Profile = false |
OpenGL: true if the current context has been created with the WGL_CONTEXT_CORE_PROFILE_BIT_ARB or equivalent.
If true all removed functionalities are not present. OpenGL ES 1: always false OpenGL ES 2: always false
Definition at line 46 of file OpenGL.cpp.
Referenced by initializeOpenGL().
VLGRAPHICS_EXPORT bool vl::Is_OpenGL_Forward_Compatible = false |
OpenGL: true if the current context has been created with the WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB or equivalent.
If true all removed AND deprecated (even if not yet removed) functionalities are not present. OpenGL ES 1: always false OpenGL ES 2: always false
Definition at line 47 of file OpenGL.cpp.
Referenced by initializeOpenGL().
VLGRAPHICS_EXPORT bool vl::Has_GL_Version_1_1 = false |
Definition at line 49 of file OpenGL.cpp.
Referenced by vl::LightModel::apply(), initializeOpenGL(), and vl::OpenGLContext::isCleanState().
VLGRAPHICS_EXPORT bool vl::Has_GL_Version_1_2 = false |
Definition at line 50 of file OpenGL.cpp.
Referenced by vl::TexParameter::apply(), vl::LightModel::apply(), initializeOpenGL(), vl::OpenGLContext::logOpenGLInfo(), and readPixels().
VLGRAPHICS_EXPORT bool vl::Has_GL_Version_1_3 = false |
Definition at line 51 of file OpenGL.cpp.
Referenced by vl::TexEnv::apply(), vl::TexParameter::apply(), vl::OpenGLContext::initGLContext(), initializeOpenGL(), vl::OpenGLContext::isCleanState(), and vl::OpenGLContext::logOpenGLInfo().
VLGRAPHICS_EXPORT bool vl::Has_GL_Version_1_4 = false |
Definition at line 52 of file OpenGL.cpp.
Referenced by vl::TexEnv::apply(), vl::TexParameter::apply(), vl::PointParameter::apply(), vl::BlendFunc::apply(), initializeOpenGL(), vl::OpenGLContext::isCleanState(), and vl::MultiDrawElements< ArrayUShort1 >::render().
VLGRAPHICS_EXPORT bool vl::Has_GL_Version_1_5 = false |
Definition at line 53 of file OpenGL.cpp.
Referenced by initializeOpenGL().
VLGRAPHICS_EXPORT bool vl::Has_GL_Version_2_0 = false |
Definition at line 54 of file OpenGL.cpp.
Referenced by vl::StencilMask::apply(), vl::StencilOp::apply(), vl::StencilFunc::apply(), vl::PointParameter::apply(), vl::BlendEquation::apply(), vl::Framebuffer::bindDrawBuffers(), vl::OpenGLContext::initGLContext(), initializeOpenGL(), vl::OpenGLContext::isCleanState(), vl::OpenGLContext::logOpenGLInfo(), vl::Text::render_Implementation(), and vl::CoreText::render_Implementation().
VLGRAPHICS_EXPORT bool vl::Has_GL_Version_2_1 = false |
Definition at line 55 of file OpenGL.cpp.
Referenced by initializeOpenGL(), vl::OpenGLContext::isCleanState(), and readPixels().
VLGRAPHICS_EXPORT bool vl::Has_GL_Version_3_0 = false |
Definition at line 56 of file OpenGL.cpp.
Referenced by vl::TexParameter::apply(), vl::PointParameter::apply(), vl::BlendFunc::apply(), initializeOpenGL(), vl::OpenGLContext::logOpenGLInfo(), readPixels(), vl::MultiDrawElements< ArrayUShort1 >::render(), vl::Uniform::setUniform1ui(), vl::Uniform::setUniform2ui(), vl::Uniform::setUniform3ui(), and vl::Uniform::setUniform4ui().
VLGRAPHICS_EXPORT bool vl::Has_GL_Version_3_1 = false |
Definition at line 57 of file OpenGL.cpp.
Referenced by initializeOpenGL(), and vl::MultiDrawElements< ArrayUShort1 >::render().
VLGRAPHICS_EXPORT bool vl::Has_GL_Version_3_2 = false |
Definition at line 58 of file OpenGL.cpp.
Referenced by vl::FBOTextureLayerAttachment::bindAttachment(), vl::FBOTextureAttachment::bindAttachment(), and initializeOpenGL().
VLGRAPHICS_EXPORT bool vl::Has_GL_Version_3_3 = false |
Definition at line 59 of file OpenGL.cpp.
Referenced by initializeOpenGL().
VLGRAPHICS_EXPORT bool vl::Has_GL_Version_4_0 = false |
Definition at line 60 of file OpenGL.cpp.
Referenced by vl::TexParameter::apply(), vl::PointParameter::apply(), vl::BlendFunc::apply(), vl::PatchParameter::apply(), vl::FBOTextureLayerAttachment::bindAttachment(), vl::FBOTextureAttachment::bindAttachment(), initializeOpenGL(), vl::OpenGLContext::logOpenGLInfo(), readPixels(), vl::MultiDrawElements< ArrayUShort1 >::render(), vl::Uniform::setUniform1d(), vl::Uniform::setUniform1ui(), vl::Uniform::setUniform2d(), vl::Uniform::setUniform2ui(), vl::Uniform::setUniform3d(), vl::Uniform::setUniform3ui(), vl::Uniform::setUniform4d(), vl::Uniform::setUniform4ui(), vl::Uniform::setUniformMatrix2d(), vl::Uniform::setUniformMatrix2x3d(), vl::Uniform::setUniformMatrix2x4d(), vl::Uniform::setUniformMatrix3d(), vl::Uniform::setUniformMatrix3x2d(), vl::Uniform::setUniformMatrix3x4d(), vl::Uniform::setUniformMatrix4d(), vl::Uniform::setUniformMatrix4x2d(), and vl::Uniform::setUniformMatrix4x3d().
VLGRAPHICS_EXPORT bool vl::Has_GL_Version_4_1 = false |
Definition at line 61 of file OpenGL.cpp.
Referenced by initializeOpenGL(), and vl::OpenGLContext::logOpenGLInfo().
VLGRAPHICS_EXPORT bool vl::Has_Fixed_Function_Pipeline = false |
OpenGL: true if !Is_OpenGL_Forward_Compatible && !Is_OpenGL_Core_Profile OpenGL ES 1: always true OpenGL ES 2: always false.
Definition at line 63 of file OpenGL.cpp.
Referenced by vl::TextureSampler::apply(), vl::Hint::apply(), vl::OpenGLContext::bindVAS(), initializeOpenGL(), vl::OpenGLContext::isCleanState(), vl::OpenGLContext::logOpenGLInfo(), vl::Renderer::render(), and vl::ProjViewTransfCallback::updateMatrices().
VLGRAPHICS_EXPORT bool vl::Has_GLES_Version_1_1 = false |
Definition at line 67 of file OpenGL.cpp.
Referenced by vl::TexParameter::apply(), vl::PointParameter::apply(), vl::OpenGLContext::bindVAS(), vl::OpenGLContext::initGLContext(), initializeOpenGL(), vl::OpenGLContext::isCleanState(), and vl::OpenGLContext::logOpenGLInfo().
VLGRAPHICS_EXPORT bool vl::Has_GLES_Version_2_0 = false |
Definition at line 68 of file OpenGL.cpp.
Referenced by vl::TexParameter::apply(), vl::BlendFunc::apply(), vl::Hint::apply(), initializeOpenGL(), and vl::OpenGLContext::logOpenGLInfo().
VLGRAPHICS_EXPORT bool vl::Has_GLES = false |
Definition at line 69 of file OpenGL.cpp.
Referenced by vl::Hint::apply(), initializeOpenGL(), and vl::OpenGLContext::isCleanState().
VLGRAPHICS_EXPORT bool vl::Has_GLSL = false |
Definition at line 73 of file OpenGL.cpp.
Referenced by vl::GLSLProgram::apply(), vl::GLSLProgram::applyUniformSet(), vl::GLSLProgram::attachShader(), vl::GLSLProgram::bindAttribLocation(), vl::GLSLShader::compile(), vl::GLSLShader::compileStatus(), vl::GLSLProgram::createProgram(), vl::GLSLShader::createShader(), vl::GLSLProgram::deleteProgram(), vl::GLSLShader::deleteShader(), vl::GLSLProgram::detachShader(), vl::GLSLProgram::discardAllShaders(), vl::GLSLProgram::getAttribLocation(), vl::GLSLProgram::getUniformfv(), vl::GLSLProgram::getUniformiv(), vl::GLSLProgram::getUniformLocation(), vl::GLSLProgram::infoLog(), vl::GLSLShader::infoLog(), vl::OpenGLContext::initGLContext(), initializeOpenGL(), vl::OpenGLContext::isCleanState(), vl::GLSLProgram::linkProgram(), vl::GLSLProgram::linkStatus(), vl::OpenGLContext::logOpenGLInfo(), vl::Uniform::setUniform1f(), vl::Uniform::setUniform1i(), vl::Uniform::setUniform2f(), vl::Uniform::setUniform2i(), vl::Uniform::setUniform3f(), vl::Uniform::setUniform3i(), vl::Uniform::setUniform4f(), vl::Uniform::setUniform4i(), vl::Uniform::setUniformMatrix2f(), vl::Uniform::setUniformMatrix3f(), vl::Uniform::setUniformMatrix4f(), vl::GLSLProgram::useProgram(), and vl::GLSLProgram::validateProgram().
VLGRAPHICS_EXPORT bool vl::Has_GLSL_120_Or_More = false |
Definition at line 74 of file OpenGL.cpp.
Referenced by initializeOpenGL(), vl::Uniform::setUniformMatrix2x3f(), vl::Uniform::setUniformMatrix2x4f(), vl::Uniform::setUniformMatrix3x2f(), vl::Uniform::setUniformMatrix3x4f(), vl::Uniform::setUniformMatrix4x2f(), and vl::Uniform::setUniformMatrix4x3f().
VLGRAPHICS_EXPORT bool vl::Has_GLSL_130_Or_More = false |
Definition at line 75 of file OpenGL.cpp.
Referenced by initializeOpenGL().
VLGRAPHICS_EXPORT bool vl::Has_GLSL_140_Or_More = false |
Definition at line 76 of file OpenGL.cpp.
Referenced by initializeOpenGL().
VLGRAPHICS_EXPORT bool vl::Has_GLSL_150_Or_More = false |
Definition at line 77 of file OpenGL.cpp.
Referenced by initializeOpenGL().
VLGRAPHICS_EXPORT bool vl::Has_GLSL_330_Or_More = false |
Definition at line 78 of file OpenGL.cpp.
Referenced by initializeOpenGL().
VLGRAPHICS_EXPORT bool vl::Has_GLSL_400_Or_More = false |
Definition at line 79 of file OpenGL.cpp.
Referenced by initializeOpenGL().
VLGRAPHICS_EXPORT bool vl::Has_GLSL_410_Or_More = false |
Definition at line 80 of file OpenGL.cpp.
Referenced by initializeOpenGL().
VLGRAPHICS_EXPORT bool vl::Has_Geometry_Shader = false |
Definition at line 81 of file OpenGL.cpp.
Referenced by initializeOpenGL().
VLGRAPHICS_EXPORT bool vl::Has_BufferObject = false |
Definition at line 82 of file OpenGL.cpp.
Referenced by vl::MorphingCallback::blendFrames(), vl::BufferObject::createBufferObject(), vl::Geometry::deleteBufferObject(), vl::BufferObject::deleteBufferObject(), vl::BufferObject::downloadBufferObject(), initializeOpenGL(), vl::OpenGLContext::isCleanState(), vl::OpenGLContext::logOpenGLInfo(), vl::BufferObject::mapBufferObject(), vl::MultiDrawElements< ArrayUShort1 >::render(), vl::DrawRangeElements< ArrayUShort1 >::render(), vl::DrawElements< ArrayUShort1 >::render(), vl::Geometry::render_Implementation(), vl::BufferObject::setBufferData(), vl::BufferObject::setBufferSubData(), vl::DepthSortCallback::sort(), vl::BufferObject::unmapBufferObject(), and vl::Geometry::updateDirtyBufferObject().
VLGRAPHICS_EXPORT bool vl::Has_FBO = false |
Definition at line 83 of file OpenGL.cpp.
Referenced by vl::FramebufferObject::addColorAttachment(), vl::FramebufferObject::addDepthAttachment(), vl::FramebufferObject::addDepthStencilAttachment(), vl::FramebufferObject::addStencilAttachment(), vl::FramebufferObject::addTextureAttachment(), vl::FBORenderbufferAttachment::bindAttachment(), vl::FBOTextureLayerAttachment::bindAttachment(), vl::FBOTexture3DAttachment::bindAttachment(), vl::FBOTexture2DAttachment::bindAttachment(), vl::FBOTexture1DAttachment::bindAttachment(), vl::FramebufferObject::bindFramebuffer(), vl::FramebufferObject::checkFramebufferStatus(), vl::FBORenderbufferAttachment::createRenderBuffer(), vl::FBORenderbufferAttachment::deleteRenderBuffer(), initializeOpenGL(), vl::FBORenderbufferAttachment::initStorage(), vl::OpenGLContext::logOpenGLInfo(), vl::FramebufferObject::removeAllAttachments(), and vl::FramebufferObject::removeAttachment().
VLGRAPHICS_EXPORT bool vl::Has_PBO = false |
Definition at line 84 of file OpenGL.cpp.
Referenced by initializeOpenGL(), and vl::OpenGLContext::logOpenGLInfo().
VLGRAPHICS_EXPORT bool vl::Has_FBO_Multisample = false |
Definition at line 85 of file OpenGL.cpp.
Referenced by initializeOpenGL(), and vl::FBORenderbufferAttachment::initStorage().
VLGRAPHICS_EXPORT bool vl::Has_Cubemap_Textures = false |
Definition at line 86 of file OpenGL.cpp.
Referenced by initializeOpenGL(), vl::OpenGLContext::isCleanState(), and vl::Texture::supports().
VLGRAPHICS_EXPORT bool vl::Has_Texture_Rectangle = false |
Definition at line 87 of file OpenGL.cpp.
Referenced by initializeOpenGL(), vl::OpenGLContext::isCleanState(), and vl::Texture::supports().
VLGRAPHICS_EXPORT bool vl::Has_Texture_Array = false |
Definition at line 88 of file OpenGL.cpp.
Referenced by initializeOpenGL(), vl::OpenGLContext::isCleanState(), and vl::Texture::supports().
VLGRAPHICS_EXPORT bool vl::Has_Texture_Buffer = false |
Definition at line 89 of file OpenGL.cpp.
Referenced by initializeOpenGL(), vl::OpenGLContext::isCleanState(), and vl::Texture::supports().
VLGRAPHICS_EXPORT bool vl::Has_Texture_Multisample = false |
Definition at line 90 of file OpenGL.cpp.
Referenced by initializeOpenGL(), vl::OpenGLContext::isCleanState(), and vl::Texture::supports().
VLGRAPHICS_EXPORT bool vl::Has_Texture_3D = false |
Definition at line 91 of file OpenGL.cpp.
Referenced by vl::TexParameter::apply(), vl::CopyTexSubImage3D::copyPixels(), initializeOpenGL(), and vl::OpenGLContext::isCleanState().
VLGRAPHICS_EXPORT bool vl::Has_Multitexture = false |
Definition at line 92 of file OpenGL.cpp.
Referenced by initializeOpenGL(), and vl::OpenGLContext::isCleanState().
VLGRAPHICS_EXPORT bool vl::Has_Primitive_Restart = false |
Definition at line 93 of file OpenGL.cpp.
Referenced by initializeOpenGL(), vl::OpenGLContext::isCleanState(), vl::MultiDrawElements< ArrayUShort1 >::render(), vl::DrawRangeElements< ArrayUShort1 >::render(), and vl::DrawElements< ArrayUShort1 >::render().
VLGRAPHICS_EXPORT bool vl::Has_Occlusion_Query = false |
Definition at line 94 of file OpenGL.cpp.
Referenced by vl::Actor::createOcclusionQuery(), vl::Actor::deleteOcclusionQuery(), initializeOpenGL(), vl::OcclusionCullRenderer::render_pass1(), and vl::OcclusionCullRenderer::render_pass2().
VLGRAPHICS_EXPORT bool vl::Has_Transform_Feedback = false |
Definition at line 95 of file OpenGL.cpp.
Referenced by initializeOpenGL(), and vl::OpenGLContext::isCleanState().
VLGRAPHICS_EXPORT bool vl::Has_glGenerateMipmaps = false |
Definition at line 96 of file OpenGL.cpp.
Referenced by initializeOpenGL(), and vl::Texture::setMipLevel().
VLGRAPHICS_EXPORT bool vl::Has_GL_GENERATE_MIPMAP = false |
Definition at line 97 of file OpenGL.cpp.
Referenced by vl::TexParameter::apply(), vl::Hint::apply(), initializeOpenGL(), and vl::Texture::setMipLevel().
VLGRAPHICS_EXPORT bool vl::Has_Point_Sprite = false |
Definition at line 98 of file OpenGL.cpp.
Referenced by vl::TexEnv::apply(), and initializeOpenGL().
VLGRAPHICS_EXPORT bool vl::Has_Base_Vertex = false |
Definition at line 99 of file OpenGL.cpp.
Referenced by initializeOpenGL(), vl::DrawRangeElements< ArrayUShort1 >::render(), and vl::DrawElements< ArrayUShort1 >::render().
VLGRAPHICS_EXPORT bool vl::Has_Primitive_Instancing = false |
Definition at line 100 of file OpenGL.cpp.
Referenced by initializeOpenGL(), and vl::DrawElements< ArrayUShort1 >::render().
VLGRAPHICS_EXPORT const GLenum vl::Translate_Enable |
Definition at line 128 of file OpenGL.cpp.
Referenced by vl::OpenGLContext::applyEnables(), initializeOpenGL(), and vl::OpenGLContext::isCleanState().
VLGRAPHICS_EXPORT const char * vl::Translate_Enable_String |
Definition at line 185 of file OpenGL.cpp.
Referenced by vl::OpenGLContext::applyEnables(), initializeOpenGL(), and vl::OpenGLContext::isCleanState().
VLGRAPHICS_EXPORT bool vl::Is_Enable_Supported |
Definition at line 242 of file OpenGL.cpp.
Referenced by initializeOpenGL(), and vl::OpenGLContext::isCleanState().