Visualization Library 2.1.0
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
A Triangle as defined by PolygonSimplifier. More...
#include <PolygonSimplifier.hpp>
Public Member Functions | |
Triangle () | |
void | replaceVertex (Vertex *oldv, Vertex *newv) |
void | computeNormal () |
float | computeArea () const |
float | computePotentialArea (const Vertex *oldv, const Vertex *newv) const |
fvec3 | computePotentialNormal (const Vertex *oldv, const Vertex *newv) const |
bool | hasVertex (const Vertex *v) const |
bool | checkTriangle () const |
QErr | computeQErr () const |
const Vertex * | vertex (int index) const |
vertices of the triangle More... | |
Vertex * | vertex (int index) |
const fvec3 & | normal () const |
normal of the triangle More... | |
bool | removed () const |
ara of the triangle More... | |
Protected Attributes | |
Vertex * | mVertices [3] |
generates the QErr More... | |
fvec3 | mNormal |
normal of the triangle More... | |
bool | mRemoved |
ara of the triangle More... | |
Friends | |
class | PolygonSimplifier |
class | Vertex |
A Triangle as defined by PolygonSimplifier.
Definition at line 192 of file PolygonSimplifier.hpp.
|
inline |
Definition at line 197 of file PolygonSimplifier.hpp.
References NULL.
|
inline |
Definition at line 520 of file PolygonSimplifier.hpp.
References VL_CHECK.
|
inline |
Definition at line 555 of file PolygonSimplifier.hpp.
References vl::dot(), vl::Vector3< T_Scalar >::length(), vl::length(), and VL_CHECK.
|
inline |
Definition at line 577 of file PolygonSimplifier.hpp.
References vl::cross().
|
inline |
Definition at line 537 of file PolygonSimplifier.hpp.
References vl::dot(), vl::Vector3< T_Scalar >::length(), vl::length(), and vl::PolygonSimplifier::Vertex::mPosition.
|
inline |
Definition at line 509 of file PolygonSimplifier.hpp.
References vl::cross(), vl::PolygonSimplifier::Vertex::mPosition, and vl::Vector3< T_Scalar >::normalize().
|
inline |
Definition at line 501 of file PolygonSimplifier.hpp.
References vl::dot().
|
inline |
Definition at line 532 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::computeCollapseInfo().
|
inline |
normal of the triangle
Definition at line 218 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::computeCollapseInfo().
|
inline |
ara of the triangle
has this triangle been removed?
Definition at line 222 of file PolygonSimplifier.hpp.
Definition at line 586 of file PolygonSimplifier.hpp.
References VL_CHECK.
|
inline |
vertices of the triangle
Definition at line 215 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::computeCollapseInfo().
|
inline |
Definition at line 216 of file PolygonSimplifier.hpp.
|
friend |
Definition at line 194 of file PolygonSimplifier.hpp.
|
friend |
Definition at line 195 of file PolygonSimplifier.hpp.
|
protected |
normal of the triangle
Definition at line 229 of file PolygonSimplifier.hpp.
|
protected |
ara of the triangle
has this triangle been removed?
Definition at line 233 of file PolygonSimplifier.hpp.
|
protected |
Visualization Library 2.1.0 Reference Documentation
Updated on Wed Mar 10 2021 16:02:53.
© Copyright Michele Bosi. All rights reserved.