OpenFrames
Public Member Functions | Protected Attributes | List of all members
OpenFrames::DepthPartitioner Class Reference

This class sets up depth partitioning. More...

#include <DepthPartitioner.hpp>

Inheritance diagram for OpenFrames::DepthPartitioner:

Public Member Functions

bool setViewToPartition (osgViewer::View *view)
 
osgViewer::View * getViewToPartition ()
 
DepthPartitionCallbackgetCallback ()
 
osg::Camera * getDPCamera ()
 

Protected Attributes

osg::ref_ptr< osg::Camera > _dpMainSlaveCamera
 
osg::ref_ptr< DepthPartitionCallback_dpCallback
 
osgViewer::View * _view
 

Detailed Description

This class sets up depth partitioning.

This class sets up depth partitioning on an osgViewer::View. Note that an instance of this class can only be attached to one View at a time.

Member Function Documentation

◆ getCallback()

DepthPartitionCallback* OpenFrames::DepthPartitioner::getCallback ( )
inline

Get the update callback that does the actual partitioning

◆ getDPCamera()

osg::Camera* OpenFrames::DepthPartitioner::getDPCamera ( )
inline

Get the main slave camera that manages depth partition settings

◆ setViewToPartition()

bool OpenFrames::DepthPartitioner::setViewToPartition ( osgViewer::View *  view)

Specify which View to partition


The documentation for this class was generated from the following file: