Show
Ignore:
Timestamp:
01/08/07 12:23:52 (7 years ago)
Author:
robert
Message:

From Paul Martz and Robert Osfield, renamed include/osgUtil/Tesselator and associated classes/references to Tessellator etc.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgdelaunay/osgdelaunay.cpp

    r5923 r5928  
    2424#include <osg/Projection> 
    2525#include <osg/MatrixTransform> 
    26 #include <osgUtil/Tesselator> // tesselator triangulates the constrained triangles 
     26#include <osgUtil/Tessellator> // tessellator triangulates the constrained triangles 
    2727 
    2828#include <osgText/Text> 
     
    274274} 
    275275osg::Node* createHUD(const int ndcs,std::string what) 
    276 { // add a string reporting the type of winding rule tesselation applied 
     276{ // add a string reporting the type of winding rule tessellation applied 
    277277    osg::Geode* geode = new osg::Geode(); 
    278278     
     
    989989    edges->addPrimitiveSet(trgeom); 
    990990     
    991     osg::ref_ptr<osgUtil::Tesselator> tscx=new osgUtil::Tesselator; // this assembles all the constraints 
    992     tscx->setTesselationType(osgUtil::Tesselator::TESS_TYPE_GEOMETRY); 
     991    osg::ref_ptr<osgUtil::Tessellator> tscx=new osgUtil::Tessellator; // this assembles all the constraints 
     992    tscx->setTessellationType(osgUtil::Tessellator::TESS_TYPE_GEOMETRY); 
    993993    tscx->setBoundaryOnly(true); 
    994     tscx->setWindingType( osgUtil::Tesselator::TESS_WINDING_NONZERO);  
     994    tscx->setWindingType( osgUtil::Tessellator::TESS_WINDING_NONZERO);  
    995995    //  find all edges. 
    996996    const osg::Vec3Array *points=dynamic_cast<osg::Vec3Array*>(getVertexArray()); 
    997997     
    998     tscx->retesselatePolygons(*(edges)); // find all edges 
     998    tscx->retessellatePolygons(*(edges)); // find all edges 
    999999     
    10001000    if (walltexture!="") {