public

Inheritance Graph

graph BT
	OverdrawFactorEvaluator
	OverdrawFactorEvaluator --> Evaluator
	click OverdrawFactorEvaluator "classMinSG_1_1Evaluators_1_1OverdrawFactorEvaluator"
	click Evaluator "classMinSG_1_1Evaluators_1_1Evaluator"

Description

Evaluator to test how many times a pixel is overwritten during rendering. The test disregards the depth test. The measured value can be an indication of the depth complexity.

Author: Benjamin Eikel

Date: 2013-01-21

Public Functions

   
   
  OverdrawFactorEvaluator( DirectionMode mode)
   
  ~OverdrawFactorEvaluator()
   
void beginMeasure()
   
void measure( FrameContext & frameContext, Node & node, const Geometry::Rect & rect)
   
void endMeasure( FrameContext & void)
   
double getResultQuantile() const
   
void setResultQuantile(double quantile)
   
bool areZeroValuesIgnored() const
   
void ignoreZeroValues()
Remove the zero values before calculating the quantile.
   
void keepZeroValues()
Keep the zero values before calculating the quantile.

Documentation

function
MinSG::Evaluators::OverdrawFactorEvaluator::OverdrawFactorEvaluator

public
     
     
OverdrawFactorEvaluator( DirectionMode mode )

Defined in MinSG/Ext/Evaluator/OverdrawFactorEvaluator.h:30


function
MinSG::Evaluators::OverdrawFactorEvaluator::~OverdrawFactorEvaluator

public virtual
   
   
~OverdrawFactorEvaluator( )

Defined in MinSG/Ext/Evaluator/OverdrawFactorEvaluator.h:31


function
MinSG::Evaluators::OverdrawFactorEvaluator::beginMeasure

public virtual
   
   
void beginMeasure( )

Defined in MinSG/Ext/Evaluator/OverdrawFactorEvaluator.h:33


function
MinSG::Evaluators::OverdrawFactorEvaluator::measure

public virtual
     
     
void measure( FrameContext & frameContext,
  Node & node,
  const Geometry::Rect & rect
)    

Defined in MinSG/Ext/Evaluator/OverdrawFactorEvaluator.h:34


function
MinSG::Evaluators::OverdrawFactorEvaluator::endMeasure

public virtual
     
     
void endMeasure( FrameContext & void )

Defined in MinSG/Ext/Evaluator/OverdrawFactorEvaluator.h:35


function
MinSG::Evaluators::OverdrawFactorEvaluator::getResultQuantile

public const inline
   
   
double getResultQuantile( ) const

Return the quantile that is used to calculate a single value from all the values in the image. A value of 0.0 corresponds to the minimum, 0.5 to the median, and 1.0 to the maximum.

Returns

Value in [0, 1]

Defined in MinSG/Ext/Evaluator/OverdrawFactorEvaluator.h:44


function
MinSG::Evaluators::OverdrawFactorEvaluator::setResultQuantile

public inline
     
     
void setResultQuantile( double quantile )

Defined in MinSG/Ext/Evaluator/OverdrawFactorEvaluator.h:47


function
MinSG::Evaluators::OverdrawFactorEvaluator::areZeroValuesIgnored

public const inline
   
   
bool areZeroValuesIgnored( ) const

Returns

trueif values equal to zero are removed before the calculation of the quantile,falseotherwise.

Defined in MinSG/Ext/Evaluator/OverdrawFactorEvaluator.h:55


function
MinSG::Evaluators::OverdrawFactorEvaluator::ignoreZeroValues

public inline
   
   
void ignoreZeroValues( )

Remove the zero values before calculating the quantile.

Defined in MinSG/Ext/Evaluator/OverdrawFactorEvaluator.h:59


function
MinSG::Evaluators::OverdrawFactorEvaluator::keepZeroValues

public inline
   
   
void keepZeroValues( )

Keep the zero values before calculating the quantile.

Defined in MinSG/Ext/Evaluator/OverdrawFactorEvaluator.h:63