#include <CylinderGeometryShader.h>
Definition at line 36 of file CylinderGeometryShader.h.
◆ CylinderGeometryShader()
| agxOSG::CylinderGeometryShader::CylinderGeometryShader |
( |
size_t |
initialBufferSize = 256 | ) |
|
◆ ~CylinderGeometryShader()
| virtual agxOSG::CylinderGeometryShader::~CylinderGeometryShader |
( |
| ) |
|
|
protectedvirtual |
◆ add() [1/3]
Continuous mesh, for splines.
Add point and direction towards the next.
◆ add() [2/3]
Add cylinder given world start- and end point, and radius.
◆ add() [3/3]
All compatible shapes in geometry will be rendered.
- Parameters
-
| geometry | - geometry with one or several compatible shapes |
◆ getCylinderColorUniform() [1/2]
| osg::Uniform* agxOSG::CylinderGeometryShader::getCylinderColorUniform |
( |
| ) |
|
|
inline |
◆ getCylinderColorUniform() [2/2]
| const osg::Uniform* agxOSG::CylinderGeometryShader::getCylinderColorUniform |
( |
| ) |
const |
|
inline |
◆ getNumCylinderSegmentsUniform() [1/2]
| osg::Uniform* agxOSG::CylinderGeometryShader::getNumCylinderSegmentsUniform |
( |
| ) |
|
|
inline |
◆ getNumCylinderSegmentsUniform() [2/2]
| const osg::Uniform* agxOSG::CylinderGeometryShader::getNumCylinderSegmentsUniform |
( |
| ) |
const |
|
inline |
◆ getProgram() [1/2]
| osg::Program* agxOSG::CylinderGeometryShader::getProgram |
( |
| ) |
|
|
inline |
◆ getProgram() [2/2]
| const osg::Program* agxOSG::CylinderGeometryShader::getProgram |
( |
| ) |
const |
|
inline |
◆ getQuatsInColorArray()
| osg::Vec4Array* agxOSG::CylinderGeometryShader::getQuatsInColorArray |
( |
| ) |
|
|
inline |
◆ getRadiusArray()
| osg::FloatArray* agxOSG::CylinderGeometryShader::getRadiusArray |
( |
| ) |
|
|
inline |
◆ getVertexArray()
| osg::Vec3Array* agxOSG::CylinderGeometryShader::getVertexArray |
( |
| ) |
|
|
inline |
◆ resetCounters()
| void agxOSG::CylinderGeometryShader::resetCounters |
( |
| ) |
|
Resets all internal counters.
I.e., all old data will be forgotten.
◆ setNumActiveElements()
| void agxOSG::CylinderGeometryShader::setNumActiveElements |
( |
size_t |
numActiveElements | ) |
|
|
inline |
◆ update()
| void agxOSG::CylinderGeometryShader::update |
( |
| ) |
|
Push the data to the graphics card.
◆ m_cylinderColor
| osg::Uniform* agxOSG::CylinderGeometryShader::m_cylinderColor |
|
protected |
◆ m_numActiveElements
| size_t agxOSG::CylinderGeometryShader::m_numActiveElements |
|
protected |
◆ m_numCylinderSegments
| osg::Uniform* agxOSG::CylinderGeometryShader::m_numCylinderSegments |
|
protected |
◆ m_primitiveSet
| osg::DrawArrays* agxOSG::CylinderGeometryShader::m_primitiveSet |
|
protected |
◆ m_program
| osg::Program* agxOSG::CylinderGeometryShader::m_program |
|
protected |
◆ m_quatsInColorArray
| osg::Vec4Array* agxOSG::CylinderGeometryShader::m_quatsInColorArray |
|
protected |
◆ m_radiusArray
| osg::FloatArray* agxOSG::CylinderGeometryShader::m_radiusArray |
|
protected |
◆ m_redShiftArray
| osg::FloatArray* agxOSG::CylinderGeometryShader::m_redShiftArray |
|
protected |
◆ m_vertexArray
| osg::Vec3Array* agxOSG::CylinderGeometryShader::m_vertexArray |
|
protected |
The documentation for this class was generated from the following file: