Class Scene.View_
Provides access to the KitchenDraw functionality dedicated to displaying scene to a user.
Inherited Members
Namespace: KD.SDK2
Assembly: KD.SDK2.dll
Syntax
public class Scene.View_
Remarks
In opposite to Scene.
Properties
Name | Description |
---|---|
Height |
Height in pixels of the window corresponding to the KitchenDraw drawing area. |
Mode | Current mode of the scene view. |
Observer |
The angle (degrees) in the horizontal plane corresponding to the direction of the observer’s look (which can be considered as current camera position). |
Observer |
The angle (degrees) in the vertical plane corresponding to the direction of the observer’s look (which can be considered as current camera position). |
Observer |
Position of the observer (which can be considered as current camera) on the X axis of the scene, in scene measurement units. |
Observer |
Position of the observer (which can be considered as current camera) on the Y axis of the scene, in scene measurement units. |
Observer |
Position of the observer (which can be considered as current camera) on the Z axis of the scene, in scene measurement units. |
Width |
Width in pixels of the window corresponding to the KitchenDraw drawing area. |
Methods
Name | Description |
---|---|
Get |
Returns bounds of the non-empty area of the current view. |
Get |
Gets the closest magnetic point in the current window to the given pixel coordinates. |
Get |
Converts a point from scene coordinate space to window coordinate space (in pixels). |
Get |
Returns the the object of the scene that is located "under" the given pixel coordinates. |
Place |
Places in the current scene an article coming from a catalog. |
Refresh() | Forces a redraw of the current view including the pricing views. |
Reset |
Restores the observer to its default position (while in one of the perspective view modes). |
Select |
Selects all the objects of the current scene which are completely bounded by given rectangle. |
Selection |
Translates and/or rotates the selected objects. |
Set |
Sets observer position so that the specified objects are
visible. The first object in the |
Try |
The same as Place |
Try |
Forces a redraw of the current view including the pricing
views. Returns |
Zoom |
Sets up the largest possible zoom which allows showing all the objects of the scene. |
Zoom |
Carries out a "zoom in" operation on the current view based on a given rectangle. |
Zoom |
Carries out a zoom operation that is centered on the given point. |
Zoom |
Sets up the zoom of the current view to its default value. |
Zoom |
Moves (pans) view in the view window so that the given origin point is moved to the position defined by the destination point. |
Zoom |
Sets up the zoom if the current so that one scene increment occupies exactly one pixel on screen. |
Zoom |
Performs a "zoom out" operation on the current view (dividing the sizes by two on the screen). |