Additional Inherited Members

Detailed Description

The 3D scene contains a single active camera and a single active light source. Visualized data is assumed to be at a fixed location.

The 3D scene also keeps track of the viewport in which visualization rendering is done, the primary subviewport inside the viewport where the main 3D data visualization view resides and the secondary subviewport where the 2D sliced view of the data resides. The subviewports are by default resized by the Q3DScene. To override the resize behavior you need to listen to both viewportChanged() and slicingActiveChanged() signals and recalculate the subviewports accordingly.

Also the scene has flag for tracking if the secondary 2D slicing view is currently active or not.

This property contains the coordinates for the user input that should be processed by the scene as a graph position query. If this is set to value other than invalidSelectionPoint(), the graph tries to match a graph position to the given point within the primary viewport. After the rendering pass this property is returned to its default state of invalidSelectionPoint(). The queried graph position can be read from QAbstract3DGraph::queriedGraphPosition property after the next render pass.

There isn't a single correct 3D coordinate to match to each specific screen position, so to be consistent, the queries are always done against the inner sides of an invisible box surrounding the graph.

Note: Bar graphs allow graph position queries only at the graph floor level.

This property contains the coordinates for the user input that should be processed by the scene as a selection. If this is set to value other than invalidSelectionPoint(), the graph tries to select a data item, axis label, or a custom item at the given point within the primary viewport. After the rendering pass the property is returned to its default state of invalidSelectionPoint().