OGRE  1.12.8
Object-Oriented Graphics Rendering Engine
Ogre::LodCollapseCostQuadric Class Reference

#include <OgreLodCollapseCostQuadric.h>

+ Inheritance diagram for Ogre::LodCollapseCostQuadric:

Public Member Functions

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...
 
virtual void updateVertexCollapseCost (LodData *data, LodData::Vertex *vertex)
 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...
 

Member Function Documentation

◆ initCollapseCosts()

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

This is called after the LodInputProvider has initialized LodData.

Reimplemented from Ogre::LodCollapseCost.

◆ updateVertexCollapseCost()

virtual void Ogre::LodCollapseCostQuadric::updateVertexCollapseCost ( LodData data,
LodData::Vertex vertex 
)
virtual

Called when edge cost gets invalid.

Reimplemented from Ogre::LodCollapseCost.

◆ computeEdgeCollapseCost()

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

Returns the collapse cost of the given edge.

Implements Ogre::LodCollapseCost.


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