![]() |
VR-Forces 5.0.2 Developer's Guide
|
An effect for rendering 2D projected lines Has support for direction and length information per vertex.

Public Member Functions | |
| DtProjected2DLineEffect (const std::string &dataPath) | |
| virtual | ~DtProjected2DLineEffect () |
| virtual void | setCamera (bool geocentric, float geocentricAlpha, const double position[3], const double positionMatrix[16], const double projectionMatrix[16]) |
| virtual void | setGroupCount (unsigned int count) |
| virtual void | setVertexAttribPointers (size_t stride, const VertexAttribPtrInfo &positionAddress, const VertexAttribPtrInfo &colorAddress, const VertexAttribPtrInfo &offsetAddress, const VertexAttribPtrInfo &directionAndLengthAddress) |
| virtual void | unsetVertexAttribPointers () |
Public Member Functions inherited from makVrv::Dt2DEffect | |
| Dt2DEffect (const std::string &dataPath) | |
| virtual | ~Dt2DEffect () |
Public Member Functions inherited from makVrv::DtEffect | |
| DtEffect (const std::string &dataPath) | |
| virtual | ~DtEffect () |
| void | releaseResources () |
| bool | enabled () const |
| bool | enable () |
| void | disable () |
Protected Member Functions | |
| virtual void | updateUniformLocations () |
| virtual void | updateUniforms () |
| virtual void | initializeShaderSource (void) |
| void | updateOtherUniforms (void) |
Protected Member Functions inherited from makVrv::DtEffect | |
| bool | compileShaders (void) |
Protected Attributes | |
| int | myUniform_CameraPos |
| int | myUniform_CameraMat |
| int | myUniform_ProjectionMat |
| int | myUniform_GroupCount |
| int | myUniform_Sphere |
| int | myUniform_OccludedAlpha |
| unsigned int | myUnit |
| unsigned int | myGroupCount |
| double | myCameraPos [3] |
| double | myMatrix [16] |
| double | myProjectionMatrix [16] |
| bool | myGeocentricFlag |
| float | myGeocentricAlpha |
Protected Attributes inherited from makVrv::DtEffect | |
| std::string | myName |
| bool | myEnabledFlag |
| unsigned int | myProgram |
| unsigned int | myVertexShader |
| unsigned int | myFragmentShader |
| std::string | myVertexShaderSource |
| std::string | myVertexShaderName |
| std::string | myFragmentShaderSource |
| std::string | myFragmentShaderName |
| std::string | myGeometryShaderSource |
| std::string | myDataPath |
Additional Inherited Members | |
Static Public Member Functions inherited from makVrv::DtEffect | |
| static std::string | loadShaderSource (const std::string &strFileName) |
| makVrv::DtProjected2DLineEffect::DtProjected2DLineEffect | ( | const std::string & | dataPath | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Set the camera position.
Implements makVrv::Dt2DEffect.
Set the number of groups.
Implements makVrv::Dt2DEffect.
|
virtual |
|
virtual |
|
protectedvirtual |
Implements makVrv::DtEffect.
|
protectedvirtual |
Implements makVrv::DtEffect.
|
protectedvirtual |
Virtual abstract Interface.
Implements makVrv::DtEffect.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |