Inheritance Graph
graph BT
VisibilitySubdivisionRenderer
VisibilitySubdivisionRenderer --> State
click VisibilitySubdivisionRenderer "classMinSG_1_1VisibilitySubdivision_1_1VisibilitySubdivisionRenderer"
click State "classMinSG_1_1State"
Description
Node class to render the scene using pre-calculated visibility information.
Author: Benjamin Eikel
Date: 2009-02-20, extended for Master’s thesis 2009-09-26, added sky box rendering 2010-04-20
AccumRendering
TexturedDepthMeshes
Public Types
Public Functions
Public Static Functions
Documentation
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::setAccumRendering
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:152
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::getAccumRendering
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:153
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::setUseTexturedDepthMeshes
If the textured depth meshes usage is activated, the textured depth meshes stored inside a visibility cell will be used as background.
Parameters
- debug
- Enable or disable textured depth meshes rendering.
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:183
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::getUseTexturedDepthMeshes
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:186
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::getPolygonOffsetFactor
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:190
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::setPolygonOffsetFactor
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:194
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::getPolygonOffsetUnits
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:198
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::setPolygonOffsetUnits
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:202
typedef
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::object_ptr
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:43
typedef
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::cell_ptr
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:44
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::VisibilitySubdivisionRenderer
Standard constructor.
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:49
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::VisibilitySubdivisionRenderer
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:50
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::~VisibilitySubdivisionRenderer
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:51
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::setViSu
Assign a new visibility subdivision.
Parameters
- root
- Root of a visibility subdivision.
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:58
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::setMaximumRuntime
Set the maximum runtime for the rendering of one frame.
Parameters
- triangles
- Maximum runtime in number of triangles.
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:65
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::getMaximumRuntime
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:68
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::setHold
Set if the current data should be used for the next frames. This can be used to move around the scene inspecting the data used for an initial position.
Parameters
- doHold
- If
true
, current data will not be updated.
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:79
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::getHold
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:82
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::setDebugOutput
If the debug output is activated, the objects from different triangle budgets are rendered in different colors instead of culling them.
Parameters
- debug
- Enable or disable debug output.
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:95
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::getDebugOutput
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:98
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::clone
Create a duplicate of this State object.
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:102
function
MinSG::VisibilitySubdivision::VisibilitySubdivisionRenderer::renderCellSubset
Display a given subset of the potentially visible objects inside the given cell.
Parameters
- context
- Context that is used for rendering.
- cell
- Cell to retrieve the potentially visible set from.
- budgetBegin
- Number of triangles where the rendering of objects should start. If zero then the rendering starts at the beginning.
- budgetEnd
- Number of triangles where the rendering of objects should stop. If zero then the rendering is not stopped.
Returns
true
if the objects were display andfalse
if an error occurred.
Defined in MinSG/Ext/VisibilitySubdivision/VisibilitySubdivisionRenderer.h:113