public

Inheritance Graph

graph BT
	VisibilityMerge
	click VisibilityMerge "classMinSG_1_1VisibilityMerge_1_1VisibilityMerge"

Description

Class to merge geometric objects and visibility regions based on visibility information to reduce memory usage.

Author: Benjamin Eikel

Date: 2009-08-14

Public Static Functions

   
   
std::pair< ValuatedRegionNode *, ListNode * > run( SceneManagement::SceneManager * mgr, VisibilitySubdivision::cell_ptr root, const size_t wsSize, const VisibilitySubdivision::costs_t b_D, const VisibilitySubdivision::costs_t b_SPO, const VisibilitySubdivision::costs_t b_SPZ)

Documentation

function
MinSG::VisibilityMerge::VisibilityMerge::run

public static
     
     
std::pair< ValuatedRegionNode *, ListNode * > run( SceneManagement::SceneManager * mgr,
  VisibilitySubdivision::cell_ptr root,
  const size_t wsSize,
  const VisibilitySubdivision::costs_t b_D,
  const VisibilitySubdivision::costs_t b_SPO,
  const VisibilitySubdivision::costs_t b_SPZ
)    

Run the visibility merge on the given visibility region hierarchy.

Parameters

mgr
Scene manager used for registration of nodes.
root
Root node of a visibility region hierarchy.
wsSize
Size of the working subset.
b_D
Minimum number of triangles for objects.
b_SPO
Maximum number of objects
b_SPZ
Maximum number of cells

Returns

Combination of new root node of visibility subdivision and new root node of scene graph.

Defined in MinSG/Ext/VisibilityMerge/VisibilityMerge.h:46