OGRE-Next
2.3
Object-Oriented Graphics Rendering Engine
|
#include <OgreLodCollapseCost.h>
Public Member Functions | |
virtual | ~LodCollapseCost () |
virtual Real | computeEdgeCollapseCost (LodData *data, LodData::VertexI srci, LodData::Edge *dstEdge)=0 |
Returns the collapse cost of the given edge. More... | |
virtual void | computeVertexCollapseCost (LodData *data, LodData::VertexI vertexi, Real &collapseCost, LodData::VertexI &collapseToi) |
Called by initVertexCollapseCost and updateVertexCollapseCost, when the vertex minimal cost needs to be updated. More... | |
virtual void | initCollapseCosts (LodData *data) |
This is called after the LodInputProvider has initialized LodData. More... | |
virtual void | initVertexCollapseCost (LodData *data, LodData::VertexI vertexi) |
Called from initCollapseCosts for every edge. More... | |
virtual void | updateVertexCollapseCost (LodData *data, LodData::VertexI vertexi) |
Called when edge cost gets invalid. More... | |
|
inlinevirtual |
|
pure virtual |
Returns the collapse cost of the given edge.
Implemented in Ogre::LodCollapseCostQuadric, Ogre::LodCollapseCostProfiler, Ogre::LodCollapseCostOutside, and Ogre::LodCollapseCostCurvature.
|
virtual |
Called by initVertexCollapseCost and updateVertexCollapseCost, when the vertex minimal cost needs to be updated.
Reimplemented in Ogre::LodCollapseCostProfiler.
|
virtual |
This is called after the LodInputProvider has initialized LodData.
Reimplemented in Ogre::LodCollapseCostQuadric, Ogre::LodCollapseCostProfiler, and Ogre::LodCollapseCostOutside.
|
virtual |
Called from initCollapseCosts for every edge.
|
virtual |
Called when edge cost gets invalid.
Reimplemented in Ogre::LodCollapseCostQuadric.