A 3D Dynamic Geometry Software

Calques 3D C++



CGLEnabledView::CGLTesselator Class Reference

Collaboration diagram for CGLEnabledView::CGLTesselator:

Collaboration graph

List of all members.


Detailed Description

CGLTesselator - A wrapper class to create "tesselator objects", for concave or self intersecting polygons.

  • OGL tessellation objects converts a vertices list describing a convex or self-intersecting polygon in one or more GL primitives. Read the docs to understand the callbacks mechanism.
    • The callbacks have been defined as a simple and direct mapping to corresponding GL primitive (no per vertex color or texture information).
    • The callbacks have to be global functions.
    • A very simple garbage collection list has been implemented to manage new vertices create by combine callback.
    • Elaboration and drawing occur after EndDef().