OGRE
13.6
Object-Oriented Graphics Rendering Engine
|
#include <OgreLodCollapseCostQuadric.h>
Public Member Functions | |
Real | computeEdgeCollapseCost (LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge) override |
Returns the collapse cost of the given edge. More... | |
void | initCollapseCosts (LodData *data) override |
This is called after the LodInputProvider has initialized LodData. More... | |
void | updateVertexCollapseCost (LodData *data, LodData::Vertex *vertex) override |
Called when edge cost gets invalid. More... | |
Public Member Functions inherited from Ogre::LodCollapseCost | |
virtual | ~LodCollapseCost () |
virtual void | computeVertexCollapseCost (LodData *data, LodData::Vertex *vertex, Real &collapseCost, LodData::Vertex *&collapseTo) |
Called by initVertexCollapseCost and updateVertexCollapseCost, when the vertex minimal cost needs to be updated. More... | |
virtual void | initVertexCollapseCost (LodData *data, LodData::Vertex *vertex) |
Called from initCollapseCosts for every edge. More... | |
|
overridevirtual |
This is called after the LodInputProvider has initialized LodData.
Reimplemented from Ogre::LodCollapseCost.
|
overridevirtual |
Called when edge cost gets invalid.
Reimplemented from Ogre::LodCollapseCost.
|
overridevirtual |
Returns the collapse cost of the given edge.
Implements Ogre::LodCollapseCost.