Visualization Library 2.0.0
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Iterator used to extract the indices of every single triangle of a DrawCall regardless of the primitive type. More...
#include <TriangleIterator.hpp>
Public Member Functions | |
TriangleIterator (TriangleIteratorAbstract *it) | |
bool | next () |
Requires the next triangle. More... | |
bool | operator++ () |
bool | hasNext () |
Returns false if the iterator has reached the end of the triangle list. More... | |
int | a () const |
First index of the triangle. More... | |
int | b () const |
First index of the triangle. More... | |
int | c () const |
First index of the triangle. More... | |
Protected Attributes | |
ref< TriangleIteratorAbstract > | mIterator |
Iterator used to extract the indices of every single triangle of a DrawCall regardless of the primitive type.
Definition at line 603 of file TriangleIterator.hpp.
|
inline |
Definition at line 606 of file TriangleIterator.hpp.
|
inline |
First index of the triangle.
Definition at line 617 of file TriangleIterator.hpp.
|
inline |
First index of the triangle.
Definition at line 620 of file TriangleIterator.hpp.
|
inline |
First index of the triangle.
Definition at line 623 of file TriangleIterator.hpp.
|
inline |
Returns false if the iterator has reached the end of the triangle list.
In this case a(), b() and c() return -1.
Definition at line 614 of file TriangleIterator.hpp.
Referenced by vl::Geometry::computeTangentSpace(), vl::DrawCall::countTriangles(), vl::AdjacencyExtractor::extract(), vl::EdgeExtractor::extractEdges(), vl::RayIntersector::intersectGeometry(), vl::PolygonSimplifier::simplify(), and vl::Geometry::triangulateDrawCalls().
|
inline |
Requires the next triangle.
Returns false
the iterator reached the end of the triangle list.
Definition at line 609 of file TriangleIterator.hpp.
|
inline |
Definition at line 611 of file TriangleIterator.hpp.
References vl::TriangleIteratorAbstract::next().
|
protected |
Definition at line 626 of file TriangleIterator.hpp.
Visualization Library 2.0.0 Reference Documentation
Updated on Wed Dec 23 2020 12:44:12.
© Copyright Michele Bosi. All rights reserved.