17 #ifndef AGXOSG_CYLINDER_GEOMETRY_SHADER_H 18 #define AGXOSG_CYLINDER_GEOMETRY_SHADER_H 26 #include <osg/Geometry> 71 const osg::Program*
getProgram()
const {
return m_program; }
osg::FloatArray * m_radiusArray
osg::FloatArray * m_redShiftArray
This namespace consists of a set of classes for handling geometric intersection tests including boole...
void setNumActiveElements(size_t numActiveElements)
const osg::Uniform * getNumCylinderSegmentsUniform() const
The geometry representation used by the collision detection engine.
osg::FloatArray * getRadiusArray()
const osg::Program * getProgram() const
osg::Uniform * m_cylinderColor
osg::Program * getProgram()
size_t m_numActiveElements
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
osg::Vec4Array * getQuatsInColorArray()
const osg::Uniform * getCylinderColorUniform() const
osg::Uniform * m_numCylinderSegments
osg::Vec3Array * getVertexArray()
osg::Uniform * getNumCylinderSegmentsUniform()
osg::DrawArrays * m_primitiveSet
osg::Vec4Array * m_quatsInColorArray
osg::Uniform * getCylinderColorUniform()
osg::ref_ptr< CylinderGeometryShader > CylinderGeometryShaderRef
osg::Vec3Array * m_vertexArray