Visualization Library 2.1.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 604 of file TriangleIterator.hpp.
|
inline |
Definition at line 607 of file TriangleIterator.hpp.
|
inline |
First index of the triangle.
Definition at line 618 of file TriangleIterator.hpp.
|
inline |
First index of the triangle.
Definition at line 621 of file TriangleIterator.hpp.
|
inline |
First index of the triangle.
Definition at line 624 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 615 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 610 of file TriangleIterator.hpp.
|
inline |
Definition at line 612 of file TriangleIterator.hpp.
References vl::TriangleIteratorAbstract::next().
|
protected |
Definition at line 627 of file TriangleIterator.hpp.
Visualization Library 2.1.0 Reference Documentation
Updated on Wed Mar 10 2021 16:02:55.
© Copyright Michele Bosi. All rights reserved.