SceneGraphDisplay Methods
Installed With: Base Package
Inherits from Generic»GObject»Control. View the class hierarchy.
Method | Description |
---|---|
AutoFocus | Positions the camera to view all 3D scene objects in the front panel window. Details |
Pick Model | Casts a ray through a 3D scene at the Point coordinate and determines which models in the scene intersect with the ray. Details |
PickPoint | Given an x and y coordinate, casts a ray through the 3D Scene and returns the x, y, and z-coordinates of the first object the ray intersects. Details |
Projection:Frustum | Sets coordinates to render the scene in a frustum-shaped view. This projection causes objects farther from the camera to appear smaller. Details |
Projection:Orthographic | Sets coordinates to render the scene in a box-shaped view. The distance of the camera from the objects does not affect the size of the objects in this view. Details |
Projection:Perspective | Sets coordinates to render the scene in a frustum-shaped view, where you specify an angle for the horizontal and vertical viewing fields. This projection causes objects closer to the camera to appear larger in size. This method is similar to the Projection:Frustum method. Details |
Redraw | Redraws the 3D scene in the 3D picture control. Details |
Render to Image | Returns an image of the scene. Details |
Setup Camera | Specifies the position of the camera relative to the scene. This method modifies the ModelView Matrix. Details |
WindowToObjectCoords | Converts a point in window coordinates to points in object coordinates on the near and far clip planes of the view. Details |