|
| virtual void | updateView () |
| | Update current view in Main Application.
|
| |
| virtual void | setSlotDescription (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions) |
| | Set a description for a public slot.
|
| |
| virtual void | setRenderer (unsigned int _viewer, QString _rendererName) |
| | Set a renderer for the given viewer.
|
| |
| virtual void | noguiSupported () |
| |
| virtual | ~BaseInterface () |
| | Destructor.
|
| |
| virtual void | blockScenegraphUpdates (bool _block) |
| | Tell the core to prevent scenegraph updates.
|
| |
| virtual void | updatedObject (int _objectId) |
| | An object has been changed or added by this plugin.
|
| |
| virtual void | updatedObject (int _identifier, const UpdateType &_type) |
| | An object has been changed or added by this plugin.
|
| |
| virtual void | nodeVisibilityChanged (int _identifier) |
| | A scenegraph node has been shown or hidden.
|
| |
| virtual void | getCurrentRenderer (unsigned int _viewer, QString &_rendererName) |
| | Get the current renderer for the given viewer.
|
| |
| virtual | ~RenderInterface () |
| | Destructor.
|
| |
| virtual QAction * | optionsAction () |
| | Return options menu.
|
| |
| virtual void | reloadShaders () |
| | Reload any renderer specific shaders.
|
| |
| virtual void | addRenderObject (RenderObject *_renderObject) |
| | Callback for the scenegraph nodes, which send new render objects via this function.
|
| |
| virtual void | addLight (const LightData &_light) |
| | Callback for the scenegraph nodes, which send new lights to the renderer via this function.
|
| |
| virtual void | addRenderObjectModifier (RenderObjectModifier *_mod) |
| | Callback for the scenegraph nodes, which adds a render object modifier to the renderer via this function.
|
| |
| virtual void | removeRenderObjectModifier (RenderObjectModifier *_mod) |
| | Callback for the scenegraph nodes, which removes a render object modifier from the renderer.
|
| |
| void | dumpRenderObjectsToFile (const char *_fileName, ACG::RenderObject **_sortedList=0) const |
| | Debugging function to dump list of render objects into a file.
|
| |
| virtual QString | dumpCurrentRenderObjectsToString (ACG::RenderObject **_list=0, bool _outputShaders=false, std::vector< ACG::ShaderModifier * > *_modifiers=0) |
| | Outputs the current render objects to the string.
|
| |
| void | setErrorDetectionLevel (int _level) |
| | Control error detection for checking render objects.
|
| |
| int | getErrorDetectionLevel () const |
| | Get error detection level.
|
| |
| void | setViewerID (int _viewerID) |
| | Set currently active viewer id.
|
| |
| void | setCoreProfileMode (bool _enable) |
| | Tell renderer to use core or compatibility profile.
|
| |
| const RenderObjectRange & | getCollectedSubtreeObjects () const |
| |
| virtual void | prepareRenderingPipeline (ACG::GLState *_glState, ACG::SceneGraph::DrawModes::DrawMode _drawMode, ACG::SceneGraph::BaseNode *_scenegraphRoot) |
| | Prepares renderer and OpenGL for any draw-related calls including.
|
| |
| virtual void | collectRenderObjects (ACG::GLState *_glState, ACG::SceneGraph::DrawModes::DrawMode _drawMode, ACG::SceneGraph::BaseNode *_sceneGraphRoot) |
| | Traverse the scenegraph to collect render information.
|
| |
| void | traverseRenderableNodes (ACG::GLState *_glState, ACG::SceneGraph::DrawModes::DrawMode _drawMode, ACG::SceneGraph::BaseNode &_node, const ACG::SceneGraph::Material &_mat) |
| | Scene graph traversal for render object collection.
|
| |
| virtual void | sortRenderObjects () |
| | Sort the renderobjects by priority.
|
| |
| virtual void | renderObject (ACG::RenderObject *_obj, GLSL::Program *_prog=0, bool _constRenderStates=false, const std::vector< unsigned int > *_shaderModifiers=0) |
| | Render one renderobject.
|
| |
| virtual void | bindObjectVBO (ACG::RenderObject *_obj, GLSL::Program *_prog) |
| | Binding VBOs (First state function)
|
| |
| virtual void | bindObjectUniforms (ACG::RenderObject *_obj, GLSL::Program *_prog) |
| | Binding Uniforms (Second state function)
|
| |
| virtual void | bindObjectRenderStates (ACG::RenderObject *_obj) |
| | Binding Render state (Third state function)
|
| |
| virtual void | drawObject (ACG::RenderObject *_obj) |
| | Executes the opengl draw call for one object (Fourth function)
|
| |
| virtual void | finishRenderingPipeline (bool _drawOverlay=true) |
| | Draw overlay objects and reset OpenGL state.
|
| |
| virtual void | saveInputFbo () |
| | Save input Fbo configuration (fbo id + viewport)
|
| |
| virtual void | restoreInputFbo () |
| | Restore the previously saved input Fbo configuration (fbo id + viewport)
|
| |
| virtual void | saveActiveFbo (GLint *_outFboId, GLint *_outViewport, GLint *_outDrawBuffer) const |
| | Save active Fbo configuration (fbo id + viewport)
|
| |
| virtual void | restoreFbo (GLint _fboId, const GLint *_outViewport, GLint _drawBuffer) const |
| | Restore a previously saved input Fbo configuration (fbo id + viewport)
|
| |
| virtual void | clearInputFbo (const ACG::Vec4f &_clearColor) |
| | Clear input Fbo.
|
| |
| virtual void | copyDepthToBackBuffer (GLuint _depthTex, float _scale=1.0f) |
| | Copy texture to depth buffer.
|
| |
| virtual void | renderDepthMap (int _viewerID, int _width, int _height) |
| | Render the depth map of the scene.
|
| |
| int | getNumRenderObjects () const |
| | Get the number of collected render objects (not including overlay objects or gl4.2 line objects)
|
| |
| int | getNumLights () const |
| | Get the number of current light sources.
|
| |
| ACG::RenderObject * | getRenderObject (int i) |
| | Get render objects in the sorted list by index (not including overlay objects)
|
| |
| ACG::RenderObject * | getOverlayRenderObject (int i) |
| | Get render objects in the sorted list by index (only overlay objects)
|
| |
| ACG::RenderObject * | getLineGL42RenderObject (int i) |
| | Get render objects in the sorted list by index (only line objects rendered with gl4.2)
|
| |
| LightData * | getLight (int i) |
| | Get light by index.
|
| |
| const ACG::Vec3f & | getGlobalAmbientScale () const |
| | Get global ambient light contribution from GL_LIGHT_MODEL_AMBIENT.
|
| |
| ACG::SceneGraph::BaseNode * | getRenderObjectNode (int i) |
| | Get node that emitted the render object in the sorted list by index (not including overlay objects)
|
| |
| ACG::SceneGraph::BaseNode * | getOverlayRenderObjectNode (int i) |
| | Get node that emitted the render object in the sorted list by index (only overlay objects)
|
| |
| void | setLineThicknessRenderingGL42 (bool _enable) |
| |
| int | numLights_ |
| | Number of Lights.
|
| |
| LightData | lights_ [SG_MAX_SHADER_LIGHTS] |
| | Light sources ( Filled by addLight() )
|
| |
| ACG::Vec3f | globalLightModelAmbient_ |
| |
| std::vector< ACG::RenderObject > | renderObjects_ |
| | array of renderobjects, filled by addRenderObject()
|
| |
| std::vector< int > | sortListObjects_ |
| | map sortedID -> original renderObjectID
|
| |
| std::vector< int > | sortListOverlays_ |
| | map sortedID -> original renderObjectID
|
| |
| std::vector< ACG::RenderObject * > | sortedObjects_ |
| | sorted list of renderobjects without overlay objects (sorted in rendering order)
|
| |
| std::vector< ACG::RenderObject * > | overlayObjects_ |
| | sorted list of overlay-only renderobjects (sorted in rendering order)
|
| |
| std::vector< ACG::RenderObjectModifier * > | renderObjectModifiers_ |
| | active render object modifiers
|
| |
| std::vector< ACG::SceneGraph::BaseNode * > | renderObjectSource_ |
| | source node that added the render object (map renderObjectID -> scenegraph node)
|
| |
| std::vector< ACG::SceneGraph::BaseNode * > | overlayObjectSource_ |
| | source node that added the overlay render object (map renderObjectID -> scenegraph node)
|
| |
| std::map< int, ACG::FBO * > | depthMaps_ |
| |
| bool | depthMapUsed_ |
| | true if at least one renderobject requires a scene depthmap, false otherwise
|
| |
| int | curViewerID_ |
| | currently active viewer ID as specified in prepareRenderObjects()
|
| |
| GLMatrixf | viewMatrix_ |
| | view transform
|
| |
| Vec3f | camPosWS_ |
| | cam position in world-space
|
| |
| Vec3f | camDirWS_ |
| | direction the camera is looking to in world-space
|
| |
| GLint | prevFbo_ |
| | previous fbo
|
| |
| GLint | prevDrawBuffer_ |
| | previous drawbuffer target (ie GL_BACK, GL_COLOR_ATTACHMENTi...)
|
| |
| GLint | prevViewport_ [4] |
| | previous viewport
|
| |
| bool | prevFboSaved_ |
| | flag indicating a that saveCurrentFbo() has been called prior restoreFbo()
|
| |
| GLint | prevVAO_ |
| | previously bound VAO
|
| |
| GLSL::Program * | depthCopyShader_ |
| | shader copies depth of the first front layer to the back buffer
|
| |
| int | errorDetectionLevel_ |
| | error-detection level for checking render objects
|
| |
| bool | coreProfile_ |
| | core profile mode
|
| |
| RenderObjectRange | current_subtree_objects_ |
| |
| static int | maxClipDistances_ = -1 |
| | max number of clip distance outputs in a vertex shader
|
| |