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
module Vec3_array: sig
.. end
module Vec4_array: sig
.. end
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
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
module Color_mask: sig
.. end
module Cull_face: sig
.. end
Class to globally enable/disable OpenGL's polygon culling mode.
module Depth: sig
.. end
module Fog: sig
.. end
Fog - encapsulates OpenGL fog state.
module Material: sig
.. end
module Polygon_offset: sig
.. end
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.Node
s.
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
module Draw_arrays: sig
.. end
module Geometry: sig
.. end
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
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
module Occluder_node: sig
.. end
module Clip_node: sig
.. end
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
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.