|
| GL1SceneRenderer (SgGroup *root=nullptr) |
|
virtual | ~GL1SceneRenderer () |
|
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 *targetNode, NodeDecorationFunction func, int id) override |
|
virtual void | clearNodeDecorations (int id) override |
|
virtual const Affine3 & | currentModelTransform () const override |
|
virtual const Matrix4 & | projectionMatrix () const override |
|
virtual double | projectedPixelSizeRatio (const Vector3 &position) const override |
|
virtual bool | initializeGL () override |
|
virtual void | flushGL () override |
|
virtual const std::string & | glVendor () const override |
|
virtual void | setViewport (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 |
|
void | setHeadLightLightingFromBackEnabled (bool on) |
|
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 | setBackFaceCullingMode (int mode) override |
|
virtual int | backFaceCullingMode () const override |
|
| GLSceneRenderer (SgGroup *root=nullptr) |
|
virtual | ~GLSceneRenderer () |
|
virtual SgGroup * | sceneRoot () override |
|
virtual SgGroup * | scene () override |
|
virtual void | clearGL () |
|
virtual void | setDefaultFramebufferObject (unsigned int id) |
|
virtual void | updateViewportInformation (int x, int y, int width, int height) |
|
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) |
|
virtual void | clearShadows () |
|
virtual void | enableShadowOfLight (int index, bool on=true) |
|
virtual void | enableShadowAntiAliasing (bool on) |
|
virtual void | setUpsideDown (bool on) |
|
virtual void | setBoundingBoxRenderingForLightweightRenderingGroupEnabled (bool on) |
|
virtual void | setPickingImageOutputEnabled (bool on) |
|
virtual bool | getPickingImage (Image &out_image) |
|
virtual bool | isShadowCastingAvailable () const |
|
| SceneRenderer () |
|
virtual | ~SceneRenderer () |
|
void | setName (const std::string &name) |
|
const std::string & | name () const |
|
virtual void | applyExtensions () |
|
virtual bool | applyNewExtensions () |
|
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 |
|