AGX Dynamics 2.42.1.1
Loading...
Searching...
No Matches
agxOSG/RenderProxy.h File Reference
#include <agxOSG/export.h>
#include <agxRender/RenderProxy.h>
#include <agxRender/RenderProxyFactory.h>
#include <agxRender/RenderManager.h>
#include <agx/PushDisableWarnings.h>
#include <osg/ref_ptr>
#include <osg/Group>
#include <osg/MatrixTransform>
#include <osg/Material>
#include <osg/AutoTransform>
#include <osg/Shape>
#include <osg/ShapeDrawable>
#include <osgText/Text>
#include <agx/PopDisableWarnings.h>
#include <agxOSG/RenderProxyFactory.h>
#include <agxOSG/GraphRenderer.h>
#include <agxOSG/RenderText.h>
#include <agxOSG/utils.h>
#include <agxOSG/PointSpriteDrawable.h>

Go to the source code of this file.

Classes

class  agxOSG::BoxProxy
 Implementation of osg-based BoxProxy. More...
 
class  agxOSG::CapsuleProxy
 Implementation of osg-based CapsuleProxy. More...
 
class  agxOSG::ConeProxy
 Implementation of osg-based ConeProxy. More...
 
class  agxOSG::ContactProxy
 Implementation of batch rendering of contact points. More...
 
class  agxOSG::ContainerShapeBatchRenderer< ContainerType, TransformType >
 Class that handles batch rendering of objects in forward iterator compliant container. More...
 
class  agxOSG::CylinderProxy
 Implementation of osg-based CylinderProxy. More...
 
class  agxOSG::HeightFieldProxy
 Implementation of osg-based HeightfieldProxy. More...
 
class  agxOSG::HollowConeProxy
 Implementation of osg-based HollowConeProxy. More...
 
class  agxOSG::HollowCylinderProxy
 Implementation of osg-based HollowCylinderProxy. More...
 
class  agxOSG::LineProxy
 Implementation of osg-based LineProxy. More...
 
class  agxOSG::OSGData< T >
 Class for handling methods related to OSG such as setColor, setTransform etc. More...
 
class  agxOSG::PlaneProxy
 Implementation of osg-based PlaneProxy. More...
 
class  agxOSG::RigidBodyBatchRenderProxy< ContainerType, TransformType >
 Implementation of batch rendering of rigid body center of mass position. More...
 
class  agxOSG::ShapeBatchRenderer< TransformType >
 Base class for batch rendering of any shape or shape composite. More...
 
class  agxOSG::SphereProxy
 Implementation of osg-based SphereProxy. More...
 
class  agxOSG::TextProxy
 Implementation of osg-based TextProxy. More...
 
class  agxOSG::TrimeshProxy
 Implementation of osg-based TrimeshProxy. More...
 
class  agxOSG::TruncatedConeProxy
 Implementation of osg-based TruncatedConeProxy. More...
 
class  agxOSG::WireRenderProxy
 
class  agxOSG::WireShapeProxy
 Implementation of osg-based WireShapeProxy. More...
 

Namespaces

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

Macros

#define ADD_COMMON_PROXY_METHODS()
 Macro for adding some methods for each specialization of RenderProxy.
 

Macro Definition Documentation

◆ ADD_COMMON_PROXY_METHODS

#define ADD_COMMON_PROXY_METHODS ( )
Value:
void onChange( RenderProxy::EventType type ) override { \
switch( type ) { \
case (RenderProxy::ENABLE): \
this->setEnableOSG(this->getEnable()); \
break; \
case (RenderProxy::ALPHA): \
this->setAlphaOSG(this->getAlpha()); \
break; \
case (RenderProxy::TRANSFORM): \
this->setTransformOSG(this->getTransform()); \
break; \
case (RenderProxy::COLOR): \
this->setColorOSG(this->getColor(), this->getAlpha()); \
break; \
case (RenderProxy::SHAPE): \
break; \
case (RenderProxy::REMOVE): \
this->onRemoveOSG(); \
break; \
case (RenderProxy::RENDERMODE): \
this->setRenderModeOSG(this->getRenderMode()); \
break; \
} \
} \
virtual bool updateShape() override

Macro for adding some methods for each specialization of RenderProxy.

Definition at line 179 of file agxOSG/RenderProxy.h.