openscenegraph
|
typedef std::vector< osg::ref_ptr<DelaunayConstraint> > osgUtil::DelaunayTriangulator::linelist |
osgUtil::DelaunayTriangulator::DelaunayTriangulator | ( | osg::Vec3Array * | points, |
osg::Vec3Array * | normals = 0 |
||
) | [explicit] |
osgUtil::DelaunayTriangulator::DelaunayTriangulator | ( | const DelaunayTriangulator & | copy, |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) |
virtual osgUtil::DelaunayTriangulator::~DelaunayTriangulator | ( | ) | [protected, virtual] |
void osgUtil::DelaunayTriangulator::addInputConstraint | ( | DelaunayConstraint * | dc | ) | [inline] |
Add an input constraint loop. the edges of the loop will constrain the triangulation. if remove!=0, the internal triangles of the constraint will be removed; the user may the replace the constraint line with an equivalent geometry. GWM July 2005
int osgUtil::DelaunayTriangulator::getindex | ( | const osg::Vec3 & | pt, |
const osg::Vec3Array * | points | ||
) | [protected] |
const osg::Vec3Array* osgUtil::DelaunayTriangulator::getInputPointArray | ( | ) | const [inline] |
Get the const input point array.
Get the input point array.
const osg::Vec3Array* osgUtil::DelaunayTriangulator::getOutputNormalArray | ( | ) | const [inline] |
Get the const output normal array (optional).
Get the output normal array (optional).
const osg::DrawElementsUInt* osgUtil::DelaunayTriangulator::getTriangles | ( | ) | const [inline] |
Get the generated primitive (call triangulate() first).
Get the generated primitive (call triangulate() first).
DelaunayTriangulator& osgUtil::DelaunayTriangulator::operator= | ( | const DelaunayTriangulator & | ) | [inline, protected] |
void osgUtil::DelaunayTriangulator::removeInternalTriangles | ( | DelaunayConstraint * | constraint | ) |
remove the triangles internal to the constraint loops. (Line strips cannot remove any internal triangles).
void osgUtil::DelaunayTriangulator::setInputPointArray | ( | osg::Vec3Array * | points | ) | [inline] |
Set the input point array.
void osgUtil::DelaunayTriangulator::setOutputNormalArray | ( | osg::Vec3Array * | normals | ) | [inline] |
Set the output normal array (optional).
Start triangulation.