csTriangleLODAlgoEdge Class Reference
[Geometry utilities]
This subclass of csTriangleLODAlgo uses a very simple cost metric to calculate the vertex cost. More...
#include <csgeom/trimeshlod.h>
Inheritance diagram for csTriangleLODAlgoEdge:
Public Member Functions | |
virtual void | CalculateCost (csTriangleVerticesCost *vertices, csTriangleVertexCost *vertex) |
Calculate the minimal cost of collapsing this vertex to some other. |
Detailed Description
This subclass of csTriangleLODAlgo uses a very simple cost metric to calculate the vertex cost.
It will basically just consider the length of the edge.
Definition at line 82 of file trimeshlod.h.
Member Function Documentation
virtual void csTriangleLODAlgoEdge::CalculateCost | ( | csTriangleVerticesCost * | vertices, | |
csTriangleVertexCost * | vertex | |||
) | [virtual] |
Calculate the minimal cost of collapsing this vertex to some other.
Also remember which other vertex was selected for collapsing to.
Implements csTriangleLODAlgo.
The documentation for this class was generated from the following file:
- csgeom/trimeshlod.h
Generated for Crystal Space 1.4.1 by doxygen 1.7.1