public

Inheritance Graph

graph BT
	VisibilityEvaluator
	VisibilityEvaluator --> Evaluator
	click VisibilityEvaluator "classMinSG_1_1Evaluators_1_1VisibilityEvaluator"
	click Evaluator "classMinSG_1_1Evaluators_1_1Evaluator"

Description

Measures the number of visible GeometryNodes or the number of polygons contained in visible GeometryNodes. If mode is SINGLE_VALUE, each Node is at most counted once, even if it is visible from multiple sides.

VisibilityEvaluator > Evaluator

Public Static Attributes

   
   
Rendering::Shader * whiteShader

Public Functions

   
   
  VisibilityEvaluator( DirectionMode mode, bool _countPolygons)
   
  ~VisibilityEvaluator()
   
bool doesCountPolygons() const
   
void setCountPolygons(bool b)
   
void beginMeasure()
   
void measure( FrameContext & context, Node & node, const Geometry::Rect & r)
   
void endMeasure( FrameContext & context)

Documentation

variable
MinSG::Evaluators::VisibilityEvaluator::whiteShader

public static
 
 
Rendering::Shader * whiteShader

Defined in MinSG/Ext/Evaluator/VisibilityEvaluator.h:36


function
MinSG::Evaluators::VisibilityEvaluator::VisibilityEvaluator

public explicit
     
     
VisibilityEvaluator( DirectionMode mode,
  bool _countPolygons
)    

Defined in MinSG/Ext/Evaluator/VisibilityEvaluator.h:38


function
MinSG::Evaluators::VisibilityEvaluator::~VisibilityEvaluator

public virtual
   
   
~VisibilityEvaluator( )

Defined in MinSG/Ext/Evaluator/VisibilityEvaluator.h:39


function
MinSG::Evaluators::VisibilityEvaluator::doesCountPolygons

public const inline
   
   
bool doesCountPolygons( ) const

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


function
MinSG::Evaluators::VisibilityEvaluator::setCountPolygons

public inline
     
     
void setCountPolygons( bool b )

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


function
MinSG::Evaluators::VisibilityEvaluator::beginMeasure

public virtual
   
   
void beginMeasure( )

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


function
MinSG::Evaluators::VisibilityEvaluator::measure

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

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


function
MinSG::Evaluators::VisibilityEvaluator::endMeasure

public virtual
     
     
void endMeasure( FrameContext & context )

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