|
AGX Dynamics
2.37.3.2
|
Class for handling methods related to OSG such as setColor, setTransform etc. More...
#include <RenderProxy.h>
Public Member Functions | |
| OSGData (const RenderProxyFactory::ShapeData< T > &data, agxOSG::RenderProxyFactory *factory, agxRender::RenderProxy *proxy) | |
| OSGData (agxOSG::RenderProxyFactory *factory, agxRender::RenderProxy *proxy) | |
| osg::MatrixTransform * | getNode () |
| \ return the node for this RenderProxy More... | |
| void | onRemoveOSG () |
| Remove the node from all its parents. More... | |
| void | setAlphaOSG (float transparency) |
| Set the alpha value. More... | |
| void | setColorOSG (const agx::Vec3 &color, float alpha) |
| Set the color and alpha value. More... | |
| void | setEnableOSG (bool flag) |
| Enable/disable rendering. More... | |
| void | setRenderModeOSG (agxRender::RenderProxy::RenderMode mode) |
| Change the render mode. More... | |
| void | setTransformOSG (const agx::AffineMatrix4x4 &transform) |
| Transform a node. More... | |
Protected Attributes | |
| RenderProxyFactory::ShapeData< T > | m_data |
| agxOSG::RenderProxyFactory * | m_factory |
| agx::AffineMatrix4x4 | m_invTransform |
| agxRender::RenderProxy * | m_proxy |
| osg::ref_ptr< osg::MatrixTransform > | m_transformNode |
Class for handling methods related to OSG such as setColor, setTransform etc.
Definition at line 299 of file agxOSG/RenderProxy.h.
|
inline |
Definition at line 302 of file agxOSG/RenderProxy.h.
|
inline |
Definition at line 319 of file agxOSG/RenderProxy.h.
|
inline |
\ return the node for this RenderProxy
Definition at line 396 of file agxOSG/RenderProxy.h.
|
inline |
Remove the node from all its parents.
Definition at line 380 of file agxOSG/RenderProxy.h.
|
inline |
Set the alpha value.
Definition at line 354 of file agxOSG/RenderProxy.h.
|
inline |
Set the color and alpha value.
Definition at line 360 of file agxOSG/RenderProxy.h.
|
inline |
Enable/disable rendering.
Definition at line 340 of file agxOSG/RenderProxy.h.
|
inline |
Change the render mode.
Definition at line 390 of file agxOSG/RenderProxy.h.
|
inline |
Transform a node.
Take the global transform into account
Definition at line 332 of file agxOSG/RenderProxy.h.
|
protected |
Definition at line 400 of file agxOSG/RenderProxy.h.
|
protected |
Definition at line 401 of file agxOSG/RenderProxy.h.
|
protected |
Definition at line 402 of file agxOSG/RenderProxy.h.
|
protected |
Definition at line 403 of file agxOSG/RenderProxy.h.
|
protected |
Definition at line 399 of file agxOSG/RenderProxy.h.