OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
#include <OgreLodCollapseCostOutside.h>
Public Member Functions | |
LodCollapseCostOutside (LodCollapseCostPtr costCalculator, Real outsideWeight, Real outsideWalkAngle) | |
~LodCollapseCostOutside () | |
virtual Real | computeEdgeCollapseCost (LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge) |
Returns the collapse cost of the given edge. | |
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. | |
virtual void | initCollapseCosts (LodData *data) |
This is called after the LodInputProvider has initialized LodData. | |
virtual void | initVertexCollapseCost (LodData *data, LodData::Vertex *vertex) |
Called from initCollapseCosts for every edge. | |
virtual void | updateVertexCollapseCost (LodData *data, LodData::Vertex *vertex) |
Called when edge cost gets invalid. | |
Ogre::LodCollapseCostOutside::LodCollapseCostOutside | ( | LodCollapseCostPtr | costCalculator, |
Real | outsideWeight, | ||
Real | outsideWalkAngle | ||
) |
Ogre::LodCollapseCostOutside::~LodCollapseCostOutside | ( | ) |
|
virtual |
Returns the collapse cost of the given edge.
Implements Ogre::LodCollapseCost.
|
virtualinherited |
Called by initVertexCollapseCost and updateVertexCollapseCost, when the vertex minimal cost needs to be updated.
Reimplemented in Ogre::LodCollapseCostProfiler.
This is called after the LodInputProvider has initialized LodData.
Reimplemented from Ogre::LodCollapseCost.
|
virtualinherited |
Called from initCollapseCosts for every edge.
|
virtualinherited |
Called when edge cost gets invalid.
Reimplemented in Ogre::LodCollapseCostQuadric.