17 #ifndef AGXOSG_PRESSURE_ATLAS 18 #define AGXOSG_PRESSURE_ATLAS 29 #include <osg/Geometry> 102 bool isPressurized()
const;
136 void updateColorImages();
144 osg::Image* getPressureMap();
152 osg::Geometry* getGraphicsMesh();
157 osg::Vec2Array& getTextureCoordinates();
164 size_t getNumTriangles()
const;
170 size_t getNumVertices()
const;
172 size_t getVertexIndex(
size_t triangleIndex,
size_t localVertexIndex)
const;
178 void createGraphicsMesh();
199 osg::ref_ptr<osg::Geometry> m_graphicsMesh;
209 osg::ref_ptr<osg::Image> m_pressureMap;
A pressure map for a single trimesh.
Base class for types that want to supply force updates to a PressureAtlas.
#define AGX_DECLARE_POINTER_TYPES(type)
Base class providing referencing counted objects.
Class for more intuitive access to the Mesh's mesh data.
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
A node that can be associated with a collision geometry so that the transformation of this node is up...
Smart pointer for handling referenced counted objects.
Triangle mesh for geometric intersection tests.