AGX Dynamics 2.42.1.1
Loading...
Searching...
No Matches
TransparencyUtils.h File Reference
#include <agxOSG/export.h>
#include <osg/Array>
#include <osg/Matrixf>
#include <osg/Drawable>
#include <osg/PrimitiveSet>
#include <array>
#include <numeric>
#include <algorithm>
#include <functional>

Go to the source code of this file.

Classes

struct  agxOSG::ModelViewMatrixFinder
 Callback when the model view matrix of the main camera has been updated. More...
 
class  agxOSG::PrimitiveSetTriangleSorter
 Checks all primitive sets of a render geometry for triangles and sort the triangles back to front given camera model view matrix and vertex depth reduce function [d1, d2, d3] -> d. More...
 
struct  agxOSG::PrimitiveSetTriangleSorter::TriangleDepth< TriangleBuffer >
 

Namespaces

namespace  agxOSG
 The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
 

Functions

AGXOSG_EXPORT osg::StateSet & agxOSG::configureStateSet (osg::StateSet &stateSet, bool isTransparent)
 Configures, or reconfigures, state set for opaque or transparent objects.
 
template<typename M1 , typename M2 >
bool agxOSG::matrix4x4ExactlyEqual (const M1 &m1, const M2 &m2)