OGRE 2.3.3
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::LodCollapseCostQuadric Class Reference

#include <OgreLodCollapseCostQuadric.h>

+ Inheritance diagram for Ogre::LodCollapseCostQuadric:

Public Member Functions

virtual Real computeEdgeCollapseCost (LodData *data, LodData::VertexI srci, LodData::Edge *dstEdge)
 Returns the collapse cost of the given edge.
 
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.
 
virtual void initCollapseCosts (LodData *data)
 This is called after the LodInputProvider has initialized LodData.
 
virtual void initVertexCollapseCost (LodData *data, LodData::VertexI vertexi)
 Called from initCollapseCosts for every edge.
 
virtual void updateVertexCollapseCost (LodData *data, LodData::VertexI vertexi)
 Called when edge cost gets invalid.
 

Member Function Documentation

◆ computeEdgeCollapseCost()

virtual Real Ogre::LodCollapseCostQuadric::computeEdgeCollapseCost ( LodData * data,
LodData::VertexI srci,
LodData::Edge * dstEdge )
virtual

Returns the collapse cost of the given edge.

Implements Ogre::LodCollapseCost.

◆ computeVertexCollapseCost()

virtual void Ogre::LodCollapseCost::computeVertexCollapseCost ( LodData * data,
LodData::VertexI vertexi,
Real & collapseCost,
LodData::VertexI & collapseToi )
virtualinherited

Called by initVertexCollapseCost and updateVertexCollapseCost, when the vertex minimal cost needs to be updated.

Reimplemented in Ogre::LodCollapseCostProfiler.

◆ initCollapseCosts()

virtual void Ogre::LodCollapseCostQuadric::initCollapseCosts ( LodData * data)
virtual

This is called after the LodInputProvider has initialized LodData.

Reimplemented from Ogre::LodCollapseCost.

◆ initVertexCollapseCost()

virtual void Ogre::LodCollapseCost::initVertexCollapseCost ( LodData * data,
LodData::VertexI vertexi )
virtualinherited

Called from initCollapseCosts for every edge.

◆ updateVertexCollapseCost()

virtual void Ogre::LodCollapseCostQuadric::updateVertexCollapseCost ( LodData * data,
LodData::VertexI vertexi )
virtual

Called when edge cost gets invalid.

Reimplemented from Ogre::LodCollapseCost.


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