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