|
| | GLSLSceneRenderer (SgGroup *root=nullptr) |
| |
| virtual | ~GLSLSceneRenderer () |
| |
| virtual void | applyExtensions () override |
| |
| virtual bool | applyNewExtensions () override |
| |
| virtual void | setOutputStream (std::ostream &os) override |
| |
| virtual PolymorphicSceneNodeFunctionSet * | renderingFunctions () override |
| |
| virtual void | renderCustomGroup (SgGroup *transform, std::function< void()> traverseFunction) override |
| |
| virtual void | renderCustomTransform (SgTransform *transform, std::function< void()> traverseFunction) override |
| |
| virtual void | renderNode (SgNode *node) override |
| |
| virtual void | addNodeDecoration (SgNode *node, NodeDecorationFunction func, int id) override |
| |
| virtual void | clearNodeDecorations (int id) override |
| |
| virtual const Affine3 & | currentModelTransform () const override |
| |
| virtual const Matrix4 & | projectionMatrix () const override |
| |
| const Isometry3 & | viewTransform () const |
| |
| const Matrix4 & | viewProjectionMatrix () const |
| |
| Matrix4 | modelViewMatrix () const |
| |
| Matrix4 | modelViewProjectionMatrix () const |
| |
| virtual double | projectedPixelSizeRatio (const Vector3 &position) const override |
| |
| void | pushShaderProgram (ShaderProgram *program) |
| |
| void | popShaderProgram () |
| |
| void | renderLights (LightingProgram *program) |
| |
| void | renderFog (LightingProgram *program) |
| |
| void | dispatchToTransparentPhase (ReferencedPtr object, int id, const std::function< void(Referenced *object, const Affine3 &modelTransform, int id)> &renderingFunction) |
| |
| virtual bool | initializeGL () override |
| |
| virtual void | flushGL () override |
| |
| virtual void | clearGL () override |
| |
| virtual void | setDefaultFramebufferObject (unsigned int id) override |
| |
| virtual const std::string & | glVendor () const override |
| |
| virtual void | setViewport (int x, int y, int width, int height) override |
| |
| virtual void | updateViewportInformation (int x, int y, int width, int height) override |
| |
| virtual const Vector3 & | pickedPoint () const override |
| |
| virtual const SgNodePath & | pickedNodePath () const override |
| |
| virtual bool | isRenderingPickingImage () const override |
| |
| virtual void | setLightingMode (LightingMode mode) override |
| |
| virtual LightingMode | lightingMode () const override |
| |
| virtual void | clearShadows () override |
| |
| virtual void | enableShadowOfLight (int index, bool on) override |
| |
| virtual void | enableShadowAntiAliasing (bool on) override |
| |
| virtual void | setDefaultSmoothShading (bool on) override |
| |
| virtual SgMaterial * | defaultMaterial () override |
| |
| virtual void | enableTexture (bool on) override |
| |
| virtual void | setDefaultPointSize (double size) override |
| |
| virtual void | setDefaultLineWidth (double width) override |
| |
| virtual void | showNormalVectors (double length) override |
| |
| virtual void | requestToClearResources () override |
| |
| virtual void | enableUnusedResourceCheck (bool on) override |
| |
| virtual void | setColor (const Vector3f &color) override |
| |
| virtual void | setUpsideDown (bool on) override |
| |
| virtual void | setBackFaceCullingMode (int mode) override |
| |
| virtual int | backFaceCullingMode () const override |
| |
| virtual void | setBoundingBoxRenderingForLightweightRenderingGroupEnabled (bool on) override |
| |
| void | setLowMemoryConsumptionMode (bool on) |
| |
| virtual void | setPickingImageOutputEnabled (bool on) override |
| |
| virtual bool | getPickingImage (Image &out_image) override |
| |
| virtual bool | isShadowCastingAvailable () const override |
| |
| | GLSceneRenderer (SgGroup *root=nullptr) |
| |
| virtual | ~GLSceneRenderer () |
| |
| virtual SgGroup * | sceneRoot () override |
| |
| virtual SgGroup * | scene () override |
| |
| Array4i | viewport () const |
| |
| void | getViewport (int &out_x, int &out_y, int &out_width, int &out_height) const |
| |
| double | aspectRatio () const |
| |
| void | getPerspectiveProjectionMatrix (double fovy, double aspect, double zNear, double zFar, Matrix4 &out_matrix) |
| |
| void | getOrthographicProjectionMatrix (double left, double right, double bottom, double top, double nearVal, double farVal, Matrix4 &out_matrix) |
| |
| void | getViewFrustum (const SgPerspectiveCamera *camera, double &left, double &right, double &bottom, double &top) const |
| |
| void | getViewVolume (const SgOrthographicCamera *camera, float &out_left, float &out_right, float &out_bottom, float &out_top) const |
| |
| bool | unproject (double x, double y, double z, Vector3 &out_projected) const |
| |
| const Vector3f & | backgroundColor () const |
| |
| void | setBackgroundColor (const Vector3f &color) |
| |
| const Vector3f & | defaultColor () const |
| |
| void | setDefaultColor (const Vector3f &color) |
| |
| | SceneRenderer () |
| |
| virtual | ~SceneRenderer () |
| |
| void | setName (const std::string &name) |
| |
| const std::string & | name () const |
| |
| virtual void | clearScene () |
| |
| int | numCameras () const |
| |
| SgCamera * | camera (int index) |
| |
| const SgNodePath & | cameraPath (int index) const |
| |
| const Isometry3 & | cameraPosition (int index) const |
| |
| const Isometry3 & | currentCameraPosition () const |
| |
| SignalProxy< void()> | sigCamerasChanged () const |
| |
| SgCamera * | currentCamera () const |
| |
| int | currentCameraIndex () const |
| |
| void | setCurrentCamera (int index) |
| |
| bool | setCurrentCamera (SgCamera *camera) |
| |
| SignalProxy< void()> | sigCurrentCameraChanged () |
| |
| std::vector< std::string > | simplifiedCameraPathStrings (int cameraIndex) |
| |
| bool | getSimplifiedCameraPathStrings (int cameraIndex, std::vector< std::string > &out_pathStrings) |
| |
| int | findCameraPath (const std::vector< std::string > &simplifiedPathStrings) |
| |
| bool | setCurrentCameraPath (const std::vector< std::string > &simplifiedPathStrings) |
| |
| void | setCurrentCameraAutoRestorationMode (bool on) |
| |
| int | numLights () const |
| |
| void | getLightInfo (int index, SgLight *&out_light, Isometry3 &out_position) const |
| |
| void | setAsDefaultLight (SgLight *light) |
| |
| void | unsetDefaultLight (SgLight *light) |
| |
| SgLight * | headLight () |
| |
| void | setHeadLight (SgLight *light) |
| |
| void | enableAdditionalLights (bool on) |
| |
| void | enableFog (bool on) |
| |
| bool | isFogEnabled () const |
| |
| int | numFogs () const |
| |
| SgFog * | fog (int index) const |
| |
| void | extractPreprocessedNodes () |
| |
| void | setFlagVariableToUpdatePreprocessedNodeTree (bool &flag) |
| |
| void | render () |
| |
| bool | pick (int x, int y) |
| |
| void | setProperty (PropertyKey key, bool value) |
| |
| void | setProperty (PropertyKey key, int value) |
| |
| void | setProperty (PropertyKey key, double value) |
| |
| bool | property (PropertyKey key, bool defaultValue) const |
| |
| int | property (PropertyKey key, int defaultValue) const |
| |
| double | property (PropertyKey key, double defaultValue) const |
| |