Visualization Library 2.0.0
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
A Vertex as defined by PolygonSimplifier. More...
#include <PolygonSimplifier.hpp>
Public Member Functions | |
Vertex () | |
void | addAdjacentVertex (Vertex *v) |
void | removeAdjacentVertex (Vertex *v) |
void | computeAdjacentVertices () |
bool | checkConnectivity () |
bool | isAdjacentVertex (Vertex *) const |
bool | isIncidentTriangle (Triangle *) const |
void | discardRemovedTriangles () |
void | removeIncidentTriangle (const Triangle *) |
bool | checkTriangles () const |
void | computeEdgePenalty () |
const fvec3 & | position () const |
the position More... | |
int | adjacentVerticesCount () const |
ajacent vertices More... | |
Vertex * | adjacentVertex (int index) const |
int | incidentTrianglesCount () const |
adjacent triangles More... | |
Triangle * | incidentTriangle (int index) const |
Vertex * | collapseVertex () const |
vertex to which collapse More... | |
float | collapseCost () const |
cost of the collapse More... | |
const fvec3 & | collapsePosition () const |
collapse position More... | |
void | setCollapsePosition (const fvec3 &pos) |
int | removeOrder () const |
when the vertex has collapsed More... | |
bool | removed () const |
has the vertex been removed More... | |
bool | isProtected () const |
is the vertex protected? More... | |
int | originalIndex () const |
original index of this vertex More... | |
int | simplifiedIndex () const |
Internally used to regenerated the index buffer. More... | |
bool | alreadyProcessed () const |
Internally used. More... | |
const QErr & | qerr () const |
Accumulated vertex error. More... | |
void | setQErr (const QErr &qerr) |
void | addQErr (const QErr &qerr) |
Protected Attributes | |
QErr | mQErr |
fvec3 | mPosition |
the position More... | |
std::vector< Vertex *> | mAdjacentVerts |
ajacent vertices More... | |
std::vector< Triangle *> | mIncidentTriangles |
adjacent triangles More... | |
Vertex * | mCollapseVertex |
vertex to which collapse More... | |
float | mCollapseCost |
cost of the collapse More... | |
fvec3 | mCollapsePosition |
the collapse position More... | |
int | mOriginalIndex |
original index of this vertex More... | |
int | mSimplifiedIndex |
only used during index buffer regeneration More... | |
int | mRemoveOrder |
when the vertex has collapsed More... | |
bool | mRemoved |
has the vertex been removed More... | |
bool | mProtected |
is the vertex protected? More... | |
bool | mAlreadyProcessed |
internally used More... | |
Friends | |
class | Triangle |
class | PolygonSimplifier |
A Vertex as defined by PolygonSimplifier.
Definition at line 239 of file PolygonSimplifier.hpp.
|
inline |
Definition at line 244 of file PolygonSimplifier.hpp.
|
inline |
Definition at line 378 of file PolygonSimplifier.hpp.
|
inline |
Definition at line 290 of file PolygonSimplifier.hpp.
|
inline |
Definition at line 264 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::collapse(), and vl::PolygonSimplifier::simplify().
|
inline |
ajacent vertices
Definition at line 263 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::collapse(), vl::PolygonSimplifier::computeCollapseInfo(), and vl::PolygonSimplifier::simplify().
|
inline |
Internally used.
Definition at line 286 of file PolygonSimplifier.hpp.
|
inline |
Definition at line 483 of file PolygonSimplifier.hpp.
References mAdjacentVerts, removed(), and VL_CHECK.
Referenced by vl::PolygonSimplifier::collapse().
|
inline |
Definition at line 414 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::collapse().
|
inline |
cost of the collapse
Definition at line 271 of file PolygonSimplifier.hpp.
|
inline |
collapse position
Definition at line 273 of file PolygonSimplifier.hpp.
|
inline |
vertex to which collapse
Definition at line 269 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::simplify().
|
inline |
Definition at line 401 of file PolygonSimplifier.hpp.
References VL_CHECK.
|
inline |
Definition at line 422 of file PolygonSimplifier.hpp.
References vl::cross(), vl::dot(), and vl::Vector3< T_Scalar >::normalize().
|
inline |
Definition at line 458 of file PolygonSimplifier.hpp.
|
inline |
Definition at line 267 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::computeCollapseInfo().
|
inline |
adjacent triangles
Definition at line 266 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::collapse(), and vl::PolygonSimplifier::computeCollapseInfo().
|
inline |
Definition at line 467 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::collapse().
|
inline |
Definition at line 475 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::collapse().
|
inline |
is the vertex protected?
Definition at line 280 of file PolygonSimplifier.hpp.
|
inline |
original index of this vertex
Definition at line 282 of file PolygonSimplifier.hpp.
|
inline |
the position
Definition at line 261 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::computeCollapseInfo().
|
inline |
Accumulated vertex error.
Definition at line 288 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::computeCollapseInfo().
|
inline |
Definition at line 389 of file PolygonSimplifier.hpp.
References VL_CHECK.
|
inline |
has the vertex been removed
Definition at line 278 of file PolygonSimplifier.hpp.
Referenced by checkConnectivity(), vl::PolygonSimplifier::collapse(), and vl::PolygonSimplifier::simplify().
|
inline |
Definition at line 446 of file PolygonSimplifier.hpp.
|
inline |
when the vertex has collapsed
Definition at line 276 of file PolygonSimplifier.hpp.
|
inline |
Definition at line 274 of file PolygonSimplifier.hpp.
|
inline |
Definition at line 289 of file PolygonSimplifier.hpp.
|
inline |
Internally used to regenerated the index buffer.
Definition at line 284 of file PolygonSimplifier.hpp.
|
friend |
Definition at line 242 of file PolygonSimplifier.hpp.
|
friend |
Definition at line 241 of file PolygonSimplifier.hpp.
|
protected |
ajacent vertices
Definition at line 297 of file PolygonSimplifier.hpp.
Referenced by checkConnectivity(), vl::PolygonSimplifier::collapse(), and vl::PolygonSimplifier::computeCollapseInfo().
|
protected |
internally used
Definition at line 317 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::simplify().
|
protected |
cost of the collapse
Definition at line 303 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::computeCollapseInfo().
|
protected |
the collapse position
Definition at line 305 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::collapse(), and vl::PolygonSimplifier::computeCollapseInfo().
|
protected |
vertex to which collapse
Definition at line 301 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::collapse(), and vl::PolygonSimplifier::computeCollapseInfo().
|
protected |
adjacent triangles
Definition at line 299 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::collapse().
|
protected |
original index of this vertex
Definition at line 307 of file PolygonSimplifier.hpp.
|
protected |
the position
Definition at line 295 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::collapse(), vl::PolygonSimplifier::Triangle::computePotentialArea(), and vl::PolygonSimplifier::Triangle::computePotentialNormal().
|
protected |
is the vertex protected?
Definition at line 315 of file PolygonSimplifier.hpp.
|
protected |
Definition at line 293 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::collapse().
|
protected |
has the vertex been removed
Definition at line 313 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::collapse(), and vl::PolygonSimplifier::computeCollapseInfo().
|
protected |
when the vertex has collapsed
Definition at line 311 of file PolygonSimplifier.hpp.
Referenced by vl::PolygonSimplifier::simplify().
|
protected |
only used during index buffer regeneration
Definition at line 309 of file PolygonSimplifier.hpp.
Visualization Library 2.0.0 Reference Documentation
Updated on Wed Dec 23 2020 12:44:10.
© Copyright Michele Bosi. All rights reserved.