kzu_lod_filter.h File Reference

Specifies level of detail filter. More...

Classes

struct  KzuLODFilter
 Structure for level of detail filter. More...
 

Namespaces

 kanzi
 

Functions

KANZI_API KzuLODFilterkzuLODFilterCreate (kanzi::Domain *domain, kanzi::ObjectSourceSharedPtr input, kanzi::string_view name)
 Creates level of detail filter. More...
 

Detailed Description

Specifies level of detail filter.

Level of detail filter filters any undesired level of detail object nodes that occur.

Basic functionality for LOD filter:

1) Loop through scene graph, search for LOD nodes. 2) Add child nodes recursively to hash map. 3) When applying filter

  • If node was not found from hash map, nothing is filtered.
  • If node was found, see the hash map value and if LOD constraint is fulfilled, nothing is filtered, otherwise node is selected away.

Copyright 2008-2017 by Rightware. All rights reserved.

Function Documentation

KANZI_API KzuLODFilter* kzuLODFilterCreate ( kanzi::Domain domain,
kanzi::ObjectSourceSharedPtr  input,
kanzi::string_view  name 
)

Creates level of detail filter.