|
NLRENDER_API | Renderer (bool keepOpenGLServerStack_=false) |
| Default constructor.
|
|
NLRENDER_API | ~Renderer (void) |
| Default destructors.
|
|
NLRENDER_API Eigen::Matrix4f & | viewMatrix (void) |
| Method that return the scene camera view matrix. More...
|
|
NLRENDER_API Eigen::Matrix4f & | projectionMatrix (void) |
| Method that return the scene camera view matrix. More...
|
|
NLRENDER_API float & | lod (void) |
| Method that return the level of detail. More...
|
|
NLRENDER_API float & | tangentModulus (void) |
| Method that return the tangent modulus. More...
|
|
NLRENDER_API float & | maximumDistance (void) |
| Method that return the maximum distance. More...
|
|
NLRENDER_API float & | alpha (void) |
| Method that return the transparency factor. More...
|
|
NLRENDER_API TTessCriteria | tessCriteria (void) |
| Method that return the tessellation criteria. More...
|
|
NLRENDER_API void | tessCriteria (TTessCriteria tessCriteria_) |
|
NLRENDER_API TColorFunc | colorFunc (void) |
| Method that return the type of color function. More...
|
|
NLRENDER_API void | colorFunc (TColorFunc colorFunc_) |
|
NLRENDER_API TTransparencyStatus | transparencyStatus (void) |
| Method that return the transparency status. More...
|
|
NLRENDER_API void | render (nlgeometry::MeshPtr mesh_, const Eigen::Matrix4f &modelMatrix_=Eigen::Matrix4f::Identity(), const Eigen::Vector3f &color_=Eigen::Vector3f(0.5f, 0.5f, 0.5f), bool renderTriangles_=true, bool renderQuads_=true, bool renderLines=true) const |
| Method that renderize the given mesh. More...
|
|
NLRENDER_API void | render (nlgeometry::Meshes meshes_, const std::vector< Eigen::Matrix4f > &modelMatrices_, const Eigen::Vector3f &color_=Eigen::Vector3f(0.5f, 0.5f, 0.5f), bool renderLines_=true, bool renderTriangles_=true, bool renderQuads_=true) const |
| Method that renderize the given meshes. More...
|
|
NLRENDER_API void | render (nlgeometry::Meshes meshes_, const std::vector< Eigen::Matrix4f > &modelMatrices_, const std::vector< Eigen::Vector3f > &baseColors, const std::vector< Eigen::Vector3f > &colors_, bool renderLines_=true, bool renderTriangles_=true, bool renderQuads_=true) const |
| Method that renderize the given meshes. More...
|
|
NLRENDER_API nlgeometry::MeshPtr | extract (nlgeometry::MeshPtr mesh_, const Eigen::Matrix4f &modelMatrix_=Eigen::Matrix4f::Identity(), bool extractTriangles_=true, bool extractQuads_=true) const |
| Method that extract the given mesh. More...
|
|
NLRENDER_API nlgeometry::Meshes & | extract (nlgeometry::Meshes meshes_, const std::vector< Eigen::Matrix4f > &modelMatrices_, bool extractTriangles_=true, bool extractQuads_=true) const |
| Method that extract the given meshes. More...
|
|
NLRENDER_API void | initTransparencySystem (unsigned int width_, unsigned int height_) |
|
NLRENDER_API void | setUpOpaqueTransparencyScene (Eigen::Vector3f backgroundColor_, unsigned int width_, unsigned int height_) |
|
NLRENDER_API void | setUpTransparentTransparencyScene (void) |
|
NLRENDER_API void | composeTransparencyScene (unsigned int finalFbo_) |
|
|
bool | _keepOpenGLServerStack |
| Variable to determine if keep the OpenGL server status.
|
|
reto::ShaderProgram * | _programLines |
| Program to render lines.
|
|
unsigned int | _lGlobalColorInd |
|
unsigned int | _lVertexColorInd |
|
unsigned int | _lTransEnableInd |
|
unsigned int | _lTransDisableInd |
|
reto::ShaderProgram * | _programTriangles |
| Program to render tessellated triangles.
|
|
unsigned int | _tLinearDistInd |
|
unsigned int | _tHomogeDistInd |
|
unsigned int | _tGlobalColorInd |
|
unsigned int | _tVertexColorInd |
|
unsigned int | _tTransEnableInd |
|
unsigned int | _tTransDisableInd |
|
reto::ShaderProgram * | _programQuads |
| Program to render tessellated quads.
|
|
unsigned int | _qLinearDistInd |
|
unsigned int | _qHomogeDistInd |
|
unsigned int | _qGlobalColorInd |
|
unsigned int | _qVertexColorInd |
|
unsigned int | _qTransEnableInd |
|
unsigned int | _qTransDisableInd |
|
reto::ShaderProgram * | _programTrianglesFB |
| Program to extract tessellated triangles.
|
|
unsigned int | _tFBLinearDistInd |
|
unsigned int | _tFBHomogeDistInd |
|
reto::ShaderProgram * | _programQuadsFB |
| Program to extract tessellated quads.
|
|
unsigned int | _qFBLinearDistInd |
|
unsigned int | _qFBHomogeDistInd |
|
unsigned int | _ulColorSub |
|
unsigned int | _utColorSub |
|
unsigned int | _uqColorSub |
|
unsigned int | _ulTransSub |
|
unsigned int | _utTransSub |
|
unsigned int | _uqTransSub |
|
std::vector< unsigned int > | _tVertexSubroutines |
|
std::vector< unsigned int > | _qVertexSubroutines |
|
std::vector< unsigned int > | _tFBVertexSubroutines |
|
std::vector< unsigned int > | _qFBVertexSubroutines |
|
std::vector< unsigned int > | _lFragmentSubroutines |
|
std::vector< unsigned int > | _tFragmentSubroutines |
|
std::vector< unsigned int > | _qFragmentSubroutines |
|
reto::ShaderProgram * | _programTransCompose |
| Program to compose the transparency scene.
|
|
Eigen::Matrix4f | _viewMatrix |
| Scene camera view matrix.
|
|
Eigen::Matrix4f | _projectionMatrix |
| Scene camera projection matrix.
|
|
float | _lod |
| Level of detail.
|
|
float | _tng |
| Tangent modulus.
|
|
float | _maximumDistance |
| Maximum tessellation distance.
|
|
float | _alpha |
| Transparency factor.
|
|
TTessCriteria | _tessCriteria |
| Tessellation level of detail criteria.
|
|
TColorFunc | _colorFunc |
| Type of render color function.
|
|
TTransparencyStatus | _transparencyStatus |
| Status of transparency render.
|
|
unsigned int | _tfo |
| Vertex array object index to mesh extraction.
|
|
std::vector< unsigned int > | _tbos |
| Vertex buffers object indices to mesh extraction.
|
|
unsigned int | _quadVao |
| Vertex array object index to quad.
|
|
bool | _transSystemInit |
| Variable to indicates if the transparency system is initialized.
|
|
unsigned int | _opaqueFbo |
| FBO used in the transparency composition to save opaque objects.
|
|
unsigned int | _transFbo |
| FBO used in the transparency composition to save transparent objects.
|
|
reto::Texture2D * | _opaqueTexture |
| Texture to save the opaque objects color.
|
|
reto::Texture2D * | _accumTexture |
| Texture to save the tranparent accumulated objects color.
|
|
reto::Texture2D * | _revealageTexture |
| Texture to save the traparent revealage objects color.
|
|
reto::Texture2D * | _depthTexture |
| Texture to save the opaque objects depth.
|
|
unsigned int | _transSystemWidth |
| Width of the screen for the transparency system.
|
|
unsigned int | _transSystemHeight |
| height of the screen for the transparency system
|
|
Definition at line 34 of file Renderer.h.