public

Inheritance Graph

graph BT
	RandomColorRenderer
	RandomColorRenderer --> State
	click RandomColorRenderer "classMinSG_1_1RandomColorRenderer"
	click State "classMinSG_1_1State"

Description

Node class to render all GeometryNodes with a different color. The random color is assigned when the node is seen the fist time and stored in an internal cache. It makes usage of programmable shader programs.

Author: Benjamin Eikel

Date: 2009-10-09

Public Functions

   
   
  RandomColorRenderer()
   
  RandomColorRenderer(const RandomColorRenderer & source)
   
  ~RandomColorRenderer()
   
RandomColorRenderer * clone() const
Create a duplicate of this State object.

Documentation

function
MinSG::RandomColorRenderer::RandomColorRenderer

public
   
   
RandomColorRenderer( )

Defined in MinSG/Ext/States/RandomColorRenderer.h:36


function
MinSG::RandomColorRenderer::RandomColorRenderer

public
     
     
RandomColorRenderer( const RandomColorRenderer & source )

Defined in MinSG/Ext/States/RandomColorRenderer.h:37


function
MinSG::RandomColorRenderer::~RandomColorRenderer

public virtual
   
   
~RandomColorRenderer( )

Defined in MinSG/Ext/States/RandomColorRenderer.h:38


function
MinSG::RandomColorRenderer::clone

public const virtual
   
   
RandomColorRenderer * clone( ) const

Create a duplicate of this State object.

Defined in MinSG/Ext/States/RandomColorRenderer.h:40