public

Inheritance Graph

graph BT
	GeometryNodeCollector
	GeometryNodeCollector --> NodeRendererState
	click GeometryNodeCollector "classMinSG_1_1SVS_1_1GeometryNodeCollector"
	click NodeRendererState "classMinSG_1_1NodeRendererState"

Description

State to collect the GeometryNodes that are going through a rendering channel. The set of collected nodes can be retrieved at any time. It is cleared when the state is activated. If combined with a culling renderer, this state can be used to collect the potentially visible set (PVS) that is created by the culling renderer.

Author: Benjamin Eikel

Date: 2013-06-26

Protected Functions

   
   
stateResult_t doEnableState( FrameContext & context, Node * node, const RenderParam & rp)
Clear the set of collected nodes.

Public Functions

   
   
  GeometryNodeCollector()
   
GeometryNodeCollector * clone() const
Create a duplicate of this State object.
   
const std::unordered_set< GeometryNode * > & getCollectedNodes() const
Read the set of collected nodes.

Documentation

function
MinSG::SVS::GeometryNodeCollector::doEnableState

protected virtual
     
     
stateResult_t doEnableState( FrameContext & context,
  Node * node,
  const RenderParam & rp
)    

Clear the set of collected nodes.

Defined in MinSG/Ext/SVS/GeometryNodeCollector.h:48


function
MinSG::SVS::GeometryNodeCollector::GeometryNodeCollector

public
   
   
GeometryNodeCollector( )

Defined in MinSG/Ext/SVS/GeometryNodeCollector.h:51


function
MinSG::SVS::GeometryNodeCollector::clone

public const virtual
   
   
GeometryNodeCollector * clone( ) const

Create a duplicate of this State object.

Defined in MinSG/Ext/SVS/GeometryNodeCollector.h:53


function
MinSG::SVS::GeometryNodeCollector::getCollectedNodes

public const inline
   
   
const std::unordered_set< GeometryNode * > & getCollectedNodes( ) const

Read the set of collected nodes.

Defined in MinSG/Ext/SVS/GeometryNodeCollector.h:56