openscenegraph
osg::GeometryCostEstimator Class Reference

#include <GraphicsCostEstimator>

Inheritance diagram for osg::GeometryCostEstimator:
osg::Referenced

Public Member Functions

 GeometryCostEstimator ()
void setDefaults ()
void calibrate (osg::RenderInfo &renderInfo)
CostPair estimateCompileCost (const osg::Geometry *geometry) const
CostPair estimateDrawCost (const osg::Geometry *geometry) const
Public Member Functions inherited from osg::Referenced
 Referenced ()
 Referenced (bool threadSafeRefUnref)
 Referenced (const Referenced &)
Referencedoperator= (const Referenced &)
virtual void setThreadSafeRefUnref (bool)
bool getThreadSafeRefUnref () const
OpenThreads::MutexgetRefMutex () const
int ref () const
int unref () const
int unref_nodelete () const
int referenceCount () const
ObserverSetgetObserverSet () const
ObserverSetgetOrCreateObserverSet () const
void addObserver (Observer *observer) const
void removeObserver (Observer *observer) const

Protected Attributes

ClampedLinearCostFunction1D _arrayCompileCost
ClampedLinearCostFunction1D _primtiveSetCompileCost
ClampedLinearCostFunction1D _arrayDrawCost
ClampedLinearCostFunction1D _primtiveSetDrawCost
double _displayListCompileConstant
double _displayListCompileFactor
Protected Attributes inherited from osg::Referenced
OpenThreads::AtomicPtr _observerSet
OpenThreads::Atomic _refCount

Additional Inherited Members

Static Public Member Functions inherited from osg::Referenced
static OpenThreads::MutexgetGlobalReferencedMutex ()
static void setDeleteHandler (DeleteHandler *handler)
static DeleteHandlergetDeleteHandler ()
Protected Member Functions inherited from osg::Referenced
virtual ~Referenced ()
void signalObserversAndDelete (bool signalDelete, bool doDelete) const
void deleteUsingDeleteHandler () const

Constructor & Destructor Documentation

◆ GeometryCostEstimator()

osg::GeometryCostEstimator::GeometryCostEstimator ( )

Member Function Documentation

◆ calibrate()

void osg::GeometryCostEstimator::calibrate ( osg::RenderInfo & renderInfo)

◆ estimateCompileCost()

CostPair osg::GeometryCostEstimator::estimateCompileCost ( const osg::Geometry * geometry) const

◆ estimateDrawCost()

CostPair osg::GeometryCostEstimator::estimateDrawCost ( const osg::Geometry * geometry) const

◆ setDefaults()

void osg::GeometryCostEstimator::setDefaults ( )

Member Data Documentation

◆ _arrayCompileCost

ClampedLinearCostFunction1D osg::GeometryCostEstimator::_arrayCompileCost
protected

◆ _arrayDrawCost

ClampedLinearCostFunction1D osg::GeometryCostEstimator::_arrayDrawCost
protected

◆ _displayListCompileConstant

double osg::GeometryCostEstimator::_displayListCompileConstant
protected

◆ _displayListCompileFactor

double osg::GeometryCostEstimator::_displayListCompileFactor
protected

◆ _primtiveSetCompileCost

ClampedLinearCostFunction1D osg::GeometryCostEstimator::_primtiveSetCompileCost
protected

◆ _primtiveSetDrawCost

ClampedLinearCostFunction1D osg::GeometryCostEstimator::_primtiveSetDrawCost
protected

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