|
OpenSceneGraph 3.6.5
|
#include <DelaunayTriangulator>

Public Types | |
| typedef std::vector< osg::ref_ptr< DelaunayConstraint > > | linelist |
Public Member Functions | |
| DelaunayTriangulator () | |
| DelaunayTriangulator (osg::Vec3Array *points, osg::Vec3Array *normals=0) | |
| DelaunayTriangulator (const DelaunayTriangulator ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| void | setInputPointArray (osg::Vec3Array *points) |
| Set the input point array. | |
| const osg::Vec3Array * | getInputPointArray () const |
| Get the const input point array. | |
| osg::Vec3Array * | getInputPointArray () |
| Get the input point array. | |
| void | setOutputNormalArray (osg::Vec3Array *normals) |
| Set the output normal array (optional). | |
| const osg::Vec3Array * | getOutputNormalArray () const |
| Get the const output normal array (optional). | |
| osg::Vec3Array * | getOutputNormalArray () |
| Get the output normal array (optional). | |
| void | addInputConstraint (DelaunayConstraint *dc) |
| Add an input constraint loop. | |
| bool | triangulate () |
| Start triangulation. | |
| const osg::DrawElementsUInt * | getTriangles () const |
| Get the generated primitive (call triangulate() first). | |
| osg::DrawElementsUInt * | getTriangles () |
| Get the generated primitive (call triangulate() first). | |
| void | removeInternalTriangles (DelaunayConstraint *constraint) |
| remove the triangles internal to the constraint loops. | |
| Public Member Functions inherited from osg::Referenced | |
| Referenced () | |
| Referenced (bool threadSafeRefUnref) | |
| Deprecated, Referenced is now always uses thread safe ref/unref, use default Referenced() constructor instead. | |
| Referenced (const Referenced &) | |
| Referenced & | operator= (const Referenced &) |
| virtual void | setThreadSafeRefUnref (bool) |
| Deprecated, Referenced is always theadsafe so there method now has no effect and does not need to be called. | |
| bool | getThreadSafeRefUnref () const |
| Get whether a mutex is used to ensure ref() and unref() are thread safe. | |
| OpenThreads::Mutex * | getRefMutex () const |
| Get the mutex used to ensure thread safety of ref()/unref(). | |
| int | ref () const |
| Increment the reference count by one, indicating that this object has another pointer which is referencing it. | |
| int | unref () const |
| Decrement the reference count by one, indicating that a pointer to this object is no longer referencing it. | |
| int | unref_nodelete () const |
| Decrement the reference count by one, indicating that a pointer to this object is no longer referencing it. | |
| int | referenceCount () const |
| Return the number of pointers currently referencing this object. | |
| ObserverSet * | getObserverSet () const |
| Get the ObserverSet if one is attached, otherwise return NULL. | |
| ObserverSet * | getOrCreateObserverSet () const |
| Get the ObserverSet if one is attached, otherwise create an ObserverSet, attach it, then return this newly created ObserverSet. | |
| void | addObserver (Observer *observer) const |
| Add a Observer that is observing this object, notify the Observer when this object gets deleted. | |
| void | removeObserver (Observer *observer) const |
| Remove Observer that is observing this object. | |
Protected Member Functions | |
| virtual | ~DelaunayTriangulator () |
| DelaunayTriangulator & | operator= (const DelaunayTriangulator &) |
| int | getindex (const osg::Vec3 &pt, const osg::Vec3Array *points) |
| Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Additional Inherited Members | |
| Static Public Member Functions inherited from osg::Referenced | |
| static OpenThreads::Mutex * | getGlobalReferencedMutex () |
| Get the optional global Referenced mutex, this can be shared between all osg::Referenced. | |
| static void | setDeleteHandler (DeleteHandler *handler) |
| Set a DeleteHandler to which deletion of all referenced counted objects will be delegated. | |
| static DeleteHandler * | getDeleteHandler () |
| Get a DeleteHandler. | |
| Protected Attributes inherited from osg::Referenced | |
| OpenThreads::AtomicPtr | _observerSet |
| OpenThreads::Atomic | _refCount |
| typedef std::vector< osg::ref_ptr<DelaunayConstraint> > osgUtil::DelaunayTriangulator::linelist |
| osgUtil::DelaunayTriangulator::DelaunayTriangulator | ( | ) |
Referenced by DelaunayTriangulator(), and operator=().
|
explicit |
| osgUtil::DelaunayTriangulator::DelaunayTriangulator | ( | const DelaunayTriangulator & | copy, |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY ) |
References DelaunayTriangulator(), and osg::CopyOp::SHALLOW_COPY.
|
protectedvirtual |
|
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
|
protected |
|
inline |
Get the input point array.
|
inline |
Get the const input point array.
|
inline |
Get the output normal array (optional).
|
inline |
Get the const output normal array (optional).
|
inline |
Get the generated primitive (call triangulate() first).
|
inline |
Get the generated primitive (call triangulate() first).
|
inlineprotected |
References DelaunayTriangulator().
| void osgUtil::DelaunayTriangulator::removeInternalTriangles | ( | DelaunayConstraint * | constraint | ) |
remove the triangles internal to the constraint loops.
(Line strips cannot remove any internal triangles).
|
inline |
Set the input point array.
|
inline |
Set the output normal array (optional).
| bool osgUtil::DelaunayTriangulator::triangulate | ( | ) |
Start triangulation.
| Generated at for the OpenSceneGraph by doxygen 1.15.0. |