OGRE  13.4
Object-Oriented Graphics Rendering Engine
Ogre::LodCollapseCostOutside Class Reference

#include <OgreLodCollapseCostOutside.h>

+ Inheritance diagram for Ogre::LodCollapseCostOutside:

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. More...
virtual void initCollapseCosts (LodData *data)
 This is called after the LodInputProvider has initialized LodData. 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...
virtual void updateVertexCollapseCost (LodData *data, LodData::Vertex *vertex)
 Called when edge cost gets invalid. More...

Constructor & Destructor Documentation

◆ LodCollapseCostOutside()

Ogre::LodCollapseCostOutside::LodCollapseCostOutside ( LodCollapseCostPtr  costCalculator,
Real  outsideWeight,
Real  outsideWalkAngle 

◆ ~LodCollapseCostOutside()

Ogre::LodCollapseCostOutside::~LodCollapseCostOutside ( )

Member Function Documentation

◆ initCollapseCosts()

virtual void Ogre::LodCollapseCostOutside::initCollapseCosts ( LodData data)

This is called after the LodInputProvider has initialized LodData.

Reimplemented from Ogre::LodCollapseCost.

◆ computeEdgeCollapseCost()

virtual Real Ogre::LodCollapseCostOutside::computeEdgeCollapseCost ( LodData data,
LodData::Vertex src,
LodData::Edge dstEdge 

Returns the collapse cost of the given edge.

Implements Ogre::LodCollapseCost.

The documentation for this class was generated from the following file: