| activateElementValues () |
| activateNodeValues () |
| virtual Scene | activeScene () |
| virtual Scene | activeSceneRef () |
| virtual | addScene () Destructor. |
| clearSelection () clearSelection unselect all nodes and elements in active scene. Does not perform an automatic redraw |
| eraseScene (number index) deletes a scene |
| eraseScenes (bool all=false) deletes all scenes |
| exportTNG (string file) export scene data to slangTNG |
| virtual | extractMaximumScalarsFromSelectedElements (bool, string user_ident="") |
| virtual | extractMaximumScalarsFromSelectedNodes (bool, string user_ident="") |
| virtual | extractMinimumScalarsFromSelectedElements (bool, string user_ident="") |
| virtual | extractMinimumScalarsFromSelectedNodes (bool, string user_ident="") |
| virtual | extractScalarsFromSelectedElements (bool) |
| virtual | extractScalarsFromSelectedNodes (bool) |
| file (string filename) : Render the scene into a QImage |
| file (string filename, number width, number height) |
| fit () Adjust scaling such that the entire structure fills the viewport when viewed from current angle. |
| virtual | font (QFont font) |
| int | getActiveScene () |
| bool | getAutoRedraw () getAutoRedraw set automatic redraw mode |
| bool | getHiliteReferenceSet () |
| float | getIsoSurfaceAlpha () |
| virtual | getPaletteRange (number xmin, number xmax) Gets minimum and maximum values of palette. |
| getPan (float x, float y) get the current pan values |
| getRotation (float angle, float x, float y, float z) get current rotation expressed in angle/axis form |
| std::vector< boost::shared_ptr< graphics::Scene > > | getScenes () |
| float | getStructureAlpha () |
| getValueRange (number xmin, number xmax) Gets minimum and maximum data values. |
| Matrix | getVisibleCoordinates () get coordinates of all vertices in the active scene |
| Matrix | getVisibleTetCoordinates () get coordinates of all tet vertices in the active scene |
| float | getZoom () get current zoom factor |
| initSlice () Defines a slicing plane in the active scene, using the body coordinate system. The plane will be defined in Hessian normal form Only points with coordinates satisfying $ax+by+cz+d > 0$ are shown, the rest is suppressed. |
| bool | isElementSelected (number part_idx, number element_idx) isSelected |
| bool | isGraphicsEnabled () |
| bool | isGraphicsSlicingEnabled () |
| bool | isNodeSelected (number part_idx, number node_idx) isSelected |
| virtual std::vector< string > | listPaletteIDs () Returns an order list of all known palette IDs including user defined ones. |
| redraw (bool sync) redraw the active scene |
| removeSlice () Removes the slicing plane of the active scene. |
| virtual string | rendererInfo () get the graphics renderer information creates its own openGL context locally, to call glGetString() |
| resetScene () applies an empty data set to the active scene (resetting it to structure plot) |
| scale () Adjust scaling such that the entire structure fits into the viewport when viewed from any angle. |
| SceneManager (boost::shared_ptr< Structure > dataBase, bool is_graphics_enabled=true) Initializes the manager and adds a first scene provided that the database has a reference mesh defined. Adds a first scene without any data -> calls addSene only. |
| Matrix | selectedElementIndices () |
| Matrix | selectedNodeIndices () |
| selectElement (number part_idx, number element_idx, number value, bool showLabel) select a single element in the active scene. Does not perform an automatic redraw |
| selectElements (Matrix indices) selects the given elements |
| selectMaximumValues (bool add_selection, number max_selectable) Selects max_selectable largest data values of the active quantity among the whole FEM structure in the active scene. |
| selectMinimumValues (bool add_selection, number max_selectable) Selects max_selectable smallest data values of the active quantity among the whole FEM structure in the active scene. |
| selectNode (number part_idx, number node_idx, number value, bool showLabel) select a single node in the active scene. Does not perform an automatic redraw |
| selectNodes (Matrix indices) selects the given nodes |
| selectRelativeMaximumValues (bool add_selection, number max_selectable) Calls selectRelativeMaximumValuesWeak(…). Selects max_selectable local maxima data values of the active quantity among the whole FEM structure in the active scene. |
| selectRelativeMaximumValuesStrict (bool add_selection, number max_selectable) Selects max_selectable local maxima data values of the active quantity among the whole FEM structure in the active scene Will only select nodes with all adjacent nodes having a SMALLER value. |
| selectRelativeMaximumValuesWeak (bool add_selection, number max_selectable) Selects max_selectable local maxima data values of the active quantity among the whole FEM structure in the active scene Will only select nodes with all adjacent nodes having a SMALLER OR EQUAL value. |
| selectRelativeMinimumValues (bool add_selection, number max_selectable) Calls selectRelativeMinimumValuesWeak(…). Selects max_selectable local minima data values of the active quantity among the whole FEM structure in the active scene. |
| selectRelativeMinimumValuesStrict (bool add_selection, number max_selectable) Selects max_selectable local minima data values of the active quantity among the whole FEM structure in the active scene Will only select nodes with all adjacent nodes having a LARGER value. |
| selectRelativeMinimumValuesWeak (bool add_selection, number max_selectable) Selects max_selectable local minima data values of the active quantity among the whole FEM structure in the active scene Will only select nodes with all adjacent nodes having a LARGER OR EQUAL value. |
| setActiveScene (number act) sets the active scene |
| setAutoRedraw (bool t) setAutoRedraw set automatic redraw mode if scene settings are changed |
| setBackgroundBottom (unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) sets the bottom background color |
| setBackgroundTop (unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) sets the top background color |
| setClipBorder (float border) set clip border rotation |
| setContour (number c) set single contour of contour plot |
| setContourType (string cont="") setContourType define the type of contour plot |
| setCoordinateAxes (bool value) enable/disable coordinate axes |
| setCoordinateAxesLabels (string x, string y, string z) labels coordinate axes |
| setCoordinates (Matrix coordinates) set coordinates of all vertices in the active scene |
| setCoorSystemPosition (string pos="") setCoorSystemPosition |
| setDefaultCamera () set default rotation/zoom/pan |
| setDefaultRotation () set default rotation |
| setDrawMissing (string how) define how to draw missing data |
| setFont (string font, number fontsize) Sets the font for all text to be shown in the active scene. |
| setGeometricScaling (number scaling, Structure database) defines the scaling factor for geometric variations |
| setGeometricScaling (number scaling) defines the scaling factor for geometric variations |
| setGeometricStabilization (bool enable, Structure database) enables/disables mesh smoothening for geometric imperfections |
| setGeometricStabilization (bool enable) enables/disables mesh smoothening for geometric imperfections |
| bool | setGraphicsEnabled (bool enabled) Enables or disables graphics. |
| bool | setGraphicsSlicingEnabled (bool enabled) Enables or disables slicing in graphics (only relevant for volume elements) |
| setHiliteReferenceSet (bool t) |
| setIsoSurfaceAlpha (float a) |
| setLegend (string text) set the legend in the active scene |
| setLegendPosition (string pos="") setLegendPosition |
| setMarkPosition (string pos="") setMarkPosition |
| setMeshFeature (string feat) set mesh features to be drawn |
| virtual | setPaletteColoringType (string palette_id) |
| setPalettePosition (string pos="") setPalettePosition |
| virtual | setPaletteRange (string how) Sets minimum and maximum values of palette according to the algorithm defined by how. |
| setPaletteRange (number xmin, number xmax) Sets minimum and maximum values of palette. |
| setPan (float x, float y) set the current pan values |
| setPerspective (bool persp) enable/disable perspective view |
| setPointSize (float size) set the size of points relative to model size |
| setRotation (float angle, float x, float y, float z) set current rotation expressed in angle/axis form |
| setRulerVisibility (bool on) changes visibility of the ruler |
| setScale (float z) set scale factor |
| setSceneData (RenderData::DataType type, string design, string quantity) a convenience function which assigns a constant contour plot to the active scene |
| setSceneData (AllRenderData render_data) assigns the visible data to the active scene |
| setSceneData (Matrix inputs) changes the data of the input parameters for the currently set field data model and assigns them to the active scene |
| setSceneScaleRelative (float x, float y, float z) set different scaling for all three axes |
| virtual | setSelection (int scene_widht, int scene_height, int x, int y, int width, int height, bool add_selection, number max_selectable, bool show_label) Selects all elements of the active Scene within the rectangle defined by x, y, width and height given. |
| setShowInvisibleLabels (bool t) |
| setSize (number w, number h) setSize Sets the size of the active scene |
| setSlice (float a, float b, float c, float d) Defines a slicing plane in the active scene, using the body coordinate system. The plane will be defined in Hessian normal form by normalizing the paramters a, b, c, and d given Only points with coordinates satisfying $ax+by+cz+d > 0$ are shown, the rest is suppressed. |
| setStructureAlpha (float a) |
| setSyncCamera (bool sync) defines if the scenes are synchronized in camera positioning |
| setTetCoordinates (Matrix coordinates) set coordinates of all tet vertices in the active scene |
| setZoom (float z) set current zoom factor |
| number | size () |
| bool | syncCamera () const returns if the camera settings are synchronized for all scenes |
| virtual | syncCamera () Sets the camera and slicing settings of the active scene to all other scenes. |
| virtual | syncDeco () Sets the decoration settings of the current, active view to all other views. |
| virtual | syncPalette () Sets the palette settings of the active scene to all other scenes. |
| virtual | syncSelection () Mirrors the selection of the current view to all other views. |