Module Osg


module Osg: sig .. end
OpenSceneGraph libosg wrapper. Use it with:
  ocaml -I +camlosg osg.cma


module Object: sig .. end
Base class/standard interface for objects which require IO support, cloning and reference counting.
module Vec2: sig .. end
General purpose float pair.
module Vec3: sig .. end
General purpose float triple for use as vertices, vectors and normals.
module Vec4: sig .. end
General purpose float quad.
module Osg_array: sig .. end
Base class for all OSG arrays.
module Vec2_array: sig .. end
Array (buffer) of Osg.Vec2.t values.
module Vec3_array: sig .. end
Array (buffer) of Osg.Vec3.t values.
module Vec4_array: sig .. end
Array (buffer) of Osg.Vec4.t values.
module Quat: sig .. end
A quaternion class.
module Matrix: sig .. end
4x4 matrix
module Bounding_box: sig .. end
General purpose axis-aligned bounding box class for enclosing objects/vertices.
module Bounding_sphere: sig .. end
General purpose bounding sphere class for enclosing nodes/objects/vertices.
module Plane: sig .. end
A plane class.
module Polytope: sig .. end
A Polytope class for representing convex clipping volumes made up of a set of planes.
module Convex_planar_polygon: sig .. end
A class for representing components of convex clipping volumes.
module Convex_planar_occluder: sig .. end
A class for representing convex clipping volumes made up of several Osg.Convex_planar_polygon.
module Image: sig .. end
Image class for encapsulating the storage texture image data.
module Uniform: sig .. end
Uniform encapsulates glUniform values.
module State_attribute: sig .. end
Base class for state attributes.
module Blend_func: sig .. end
Encapsulates OpenGL blend/transparency state.
module Clip_plane: sig .. end
Encapsulates OpenGL glClipPlane.
module Color_mask: sig .. end
Encapsulates OpenGL glColorMask functions.
module Cull_face: sig .. end
Class to globally enable/disable OpenGL's polygon culling mode.
module Depth: sig .. end
Encapsulate OpenGL glDepthFunc/Mask/Range functions.
module Fog: sig .. end
Fog - encapsulates OpenGL fog state.
module Material: sig .. end
Material -- encapsulates OpenGL glMaterial state.
module Polygon_offset: sig .. end
PolygonOffset - encapsulates the OpenGL glPolygonOffset state.
module Shader: sig .. end
Osg.Shader is an application-level abstraction of an OpenGL shader.
module Program: sig .. end
Osg.Program is an application-level abstraction of an OpenGL program.
module Texture: sig .. end
Texture pure virtual base class that encapsulates OpenGl texture functionality common to the various types of OSG textures.
module Texture_2d: sig .. end
Encapsulates OpenGL 2D texture functionality.
module State: sig .. end
Encapsulates the current applied OpenGL modes, attributes and vertex arrays settings, implements lazy state updating and provides accessors for querrying the current state.
module State_set: sig .. end
Stores a set of modes and attributes which respresent a set of OpenGL state.
module Node_visitor: sig .. end
Visitor for type safe operations on Osg.Nodes.
module Node_callback: sig .. end
Node callback
module Node: sig .. end
Base class for all internal nodes in the scene graph.
module Group: sig .. end
General group node which maintains a list of children.
module Drawable: sig .. end
Pure virtual base class for drawable geometry.
module Primitive_set: sig .. end
Set of primitives to draw in Osg.Geometry.
module Draw_arrays: sig .. end
Wrapper around glDrawArrays call
module Geometry: sig .. end
Geometry is an instance of Osg.Drawable that abstracts out work with OpenGL vertex, normal, color, texture coordinate and other arrays, allows drawing in Osg.Geode with necessary Osg.State_set using Osg.Primitive_sets.
module Geode: sig .. end
A Geode is a "geometry node", that is, a leaf node on the scene graph that can have "renderable things" attached to it.
module Transform: sig .. end
A Transform is a group node for which all children are transformed by a 4x4 matrix.
module Matrix_transform: sig .. end
MatrixTransform - is a subclass of Transform which has an Osg.Matrix which represents a 4x4 transformation of its children from local coordinates into the Transform's parent coordinates.
module Viewport: sig .. end
Encapsulate OpenGL glViewport.
module Cull_settings: sig .. end
Cull settings.
module Camera: sig .. end
Camera - is a subclass of Transform which represents encapsulates the settings of a Camera.
module Shape: sig .. end
Base class for all shape types.
module Box: sig .. end
box shape
module Capsule: sig .. end
capsule shape
module Cone: sig .. end
cone shape
module Cylinder: sig .. end
cylinder shape
module Sphere: sig .. end
sphere shape
module Composite_shape: sig .. end
Composite shape
module Tessellation_hints: sig .. end
Describe several hints that can be passed to a Tessellator (like the one used by Osg.Shape_drawable) as a mean to try to influence the way it works.
module Shape_drawable: sig .. end
Allow the use of Osg.Shapes as Osg.Drawables, so that they can be rendered with reduced effort.
module Occluder_node: sig .. end
Osg.Occluder_node is a Osg.Group node which allows Osg.Occluder_nodeing between children.
module Clip_node: sig .. end
Osg.Node for defining the position of Osg.Clip_planes in the scene.
module Utils: sig .. end
Some utilities
module Math: sig .. end
Some constants and functions from <osg/Math>
module Timer: sig .. end
Timer class is used for measuring elapsed time or time between two points.
module Animation_path: sig .. end
Osg.Animation_path encapsulates a time varying transformation pathway.
module Graphics_context: sig .. end
Base class for providing Windowing API agnostic access to creating and managing graphics context.
module Display_settings: sig .. end
Osg.Display_settings class for encapsulating what visuals are required and have been set up, and the status of stereo viewing.