public

Inheritance Graph

graph BT
	ColorVisibilityEvaluator
	ColorVisibilityEvaluator --> Evaluator
	click ColorVisibilityEvaluator "classMinSG_1_1Evaluators_1_1ColorVisibilityEvaluator"
	click Evaluator "classMinSG_1_1Evaluators_1_1Evaluator"

Description

Evaluator to determine the number of visible triangles. The triangles are colored with distinct colors and the colors are searched in the resulting image after rendering. The result is the overall number of visible triangles.

Author: Benjamin Eikel

Date: 2010-09-14

Public Functions

   
   
  ColorVisibilityEvaluator( DirectionMode dirMode)
This uses always Evaluator::SINGLE_VALUE mode.
   
  ~ColorVisibilityEvaluator()
   
void beginMeasure()
   
void measure( FrameContext & context, Node & node, const Geometry::Rect & rect)
   
void endMeasure( FrameContext & context)

Documentation

function
MinSG::Evaluators::ColorVisibilityEvaluator::ColorVisibilityEvaluator

public
     
     
ColorVisibilityEvaluator( DirectionMode dirMode )

This uses always Evaluator::SINGLE_VALUE mode.

Defined in MinSG/Ext/Evaluator/ColorVisibilityEvaluator.h:41


function
MinSG::Evaluators::ColorVisibilityEvaluator::~ColorVisibilityEvaluator

public virtual
   
   
~ColorVisibilityEvaluator( )

Defined in MinSG/Ext/Evaluator/ColorVisibilityEvaluator.h:42


function
MinSG::Evaluators::ColorVisibilityEvaluator::beginMeasure

public virtual
   
   
void beginMeasure( )

Defined in MinSG/Ext/Evaluator/ColorVisibilityEvaluator.h:45


function
MinSG::Evaluators::ColorVisibilityEvaluator::measure

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

Defined in MinSG/Ext/Evaluator/ColorVisibilityEvaluator.h:46


function
MinSG::Evaluators::ColorVisibilityEvaluator::endMeasure

public virtual
     
     
void endMeasure( FrameContext & context )

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