 |
AGXDynamics
2.35.0.3
|
Go to the documentation of this file.
17 #ifndef AGXOSG_GRAPHRENDERER_H
18 #define AGXOSG_GRAPHRENDERER_H
26 #include <osg/Geometry>
33 class RenderProxyFactory;
48 size_t getNumChannels()
const;
50 virtual void setEnable(
bool flag );
54 osg::Node *
getNode( ) {
return m_parent; }
osg::ref_ptr< osg::Geode > geode
osg::ref_ptr< osg::Vec3Array > vertices
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc.
osg::ref_ptr< osg::Group > m_parent
osg::ref_ptr< osg::Vec4Array > colors
A class holding 4 dimensional vectors and providing basic arithmetic.
osg::DrawArrays * primitiveSet
Abstract base class that acts as an interface and can render the data from a Graph.
void setRenderManager(agxRender::RenderManager *mgr)
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
#define AGX_DECLARE_POINTER_TYPES(type)
agxRender::RenderManager * m_mgr
osg::ref_ptr< osg::Geometry > geometry
agx::Vector< OSGChannel > Channels
AGXTERRAIN_EXPORT void clear()