OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
osg::GeometryCostEstimator Class Reference

#include <GraphicsCostEstimator.h>

Inheritance diagram for osg::GeometryCostEstimator:
Inheritance graph
[legend]
Collaboration diagram for osg::GeometryCostEstimator:
Collaboration graph
[legend]

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 threadSafe)
 
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 setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting)
 
static bool getThreadSafeReferenceCounting ()
 
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
 

Detailed Description

Definition at line 57 of file GraphicsCostEstimator.h.

Constructor & Destructor Documentation

osg::GeometryCostEstimator::GeometryCostEstimator ( )

Member Function Documentation

void osg::GeometryCostEstimator::calibrate ( osg::RenderInfo renderInfo)
CostPair osg::GeometryCostEstimator::estimateCompileCost ( const osg::Geometry geometry) const
CostPair osg::GeometryCostEstimator::estimateDrawCost ( const osg::Geometry geometry) const
void osg::GeometryCostEstimator::setDefaults ( )

Member Data Documentation

ClampedLinearCostFunction1D osg::GeometryCostEstimator::_arrayCompileCost
protected

Definition at line 67 of file GraphicsCostEstimator.h.

ClampedLinearCostFunction1D osg::GeometryCostEstimator::_arrayDrawCost
protected

Definition at line 70 of file GraphicsCostEstimator.h.

double osg::GeometryCostEstimator::_displayListCompileConstant
protected

Definition at line 73 of file GraphicsCostEstimator.h.

double osg::GeometryCostEstimator::_displayListCompileFactor
protected

Definition at line 74 of file GraphicsCostEstimator.h.

ClampedLinearCostFunction1D osg::GeometryCostEstimator::_primtiveSetCompileCost
protected

Definition at line 68 of file GraphicsCostEstimator.h.

ClampedLinearCostFunction1D osg::GeometryCostEstimator::_primtiveSetDrawCost
protected

Definition at line 71 of file GraphicsCostEstimator.h.


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