Graphics3DControlBase#
- class ansys.stk.core.stkx.Graphics3DControlBase#
AGI Globe control.
Overview#
Set a reference to the splash logo graphic to be displayed in the control. |
|
Get detailed information about a mouse pick. |
|
Enter zoom-in mode. User must left click-and-drag mouse to define area to zoom. |
|
Get detailed information about a rubber-band mouse pick. The values must be within the VO window (0 to width-1 for left and right, 0 to height-1 for top and bottom). |
|
Copy an existing Windowβs scene into this control. |
|
Enters into 3D object editing mode. |
|
Commit changes when in 3D object editing mode. |
|
End 3D object editing mode. |
|
Set mouse cursor to the selected cursor file. |
|
Restores mouse cursor back to normal. |
|
Set mouse cursor to the passed cursor handle. |
|
|
βββReturn an IUiAxGraphics3DCntrlEventHandler that is subscribed to handle events associated with this instance of Graphics3DControlBase.βββ |
The background color of the control. |
|
The splash logo graphic to be displayed in the control. |
|
Window identifier (for Connect commands). |
|
Reference to the STK X application object. |
|
If true, the splash logo is not shown. |
|
How the control handles drop operations. |
|
Do not use this property, as it is deprecated. The identifier of the vendor. |
|
Whether this control responds to mouse events. |
|
Elements to draw on the control. |
|
Return/sets the background color of the control. |
|
Special mode for PowerPoint : if true the VO control window is kept around when switching between slides. |
|
If true, sets the advance pick mode. |
|
Return true if in 3D object editing mode. |
|
Return true if in zoom in mode. |
|
The animated progress image type. |
|
The horizontal X offset for animated progress image. |
|
The vertical Y offset for animated progress image. |
|
The complete image file name/path for animated progress image. |
|
The X origin alignment for animated progress image. |
|
The Y origin alignment for animated progress image. |
|
Get or set the splash logo graphic file to be displayed in the control. |
Import detail#
from ansys.stk.core.stkx import Graphics3DControlBase
Property detail#
- property Graphics3DControlBase.picture: IPictureDisp#
The splash logo graphic to be displayed in the control.
- property Graphics3DControlBase.application: STKXApplication#
Reference to the STK X application object.
- property Graphics3DControlBase.ole_drop_mode: OLEDropMode#
How the control handles drop operations.
- property Graphics3DControlBase.vendor_id: str#
Do not use this property, as it is deprecated. The identifier of the vendor.
- property Graphics3DControlBase.mouse_mode: MouseMode#
Whether this control responds to mouse events.
- property Graphics3DControlBase.draw_elements: IDrawElementCollection#
Elements to draw on the control.
- property Graphics3DControlBase.ppt_preload_mode: bool#
Special mode for PowerPoint : if true the VO control window is kept around when switching between slides.
- property Graphics3DControlBase.show_progress_image: ShowProgressImage#
The animated progress image type.
- property Graphics3DControlBase.progress_image_x_offset: int#
The horizontal X offset for animated progress image.
- property Graphics3DControlBase.progress_image_y_offset: int#
The vertical Y offset for animated progress image.
- property Graphics3DControlBase.progress_image_file: str#
The complete image file name/path for animated progress image.
- property Graphics3DControlBase.progress_image_x_origin: ProgressImageXOrigin#
The X origin alignment for animated progress image.
- property Graphics3DControlBase.progress_image_y_origin: ProgressImageYOrigin#
The Y origin alignment for animated progress image.
Method detail#
- Graphics3DControlBase.picture_put_reference(self, picture: IPictureDisp) None #
Set a reference to the splash logo graphic to be displayed in the control.
- Parameters:
picture :
IPictureDisp
- Returns:
- Graphics3DControlBase.pick_info(self, x: int, y: int) PickInfoData #
Get detailed information about a mouse pick.
- Graphics3DControlBase.zoom_in(self) None #
Enter zoom-in mode. User must left click-and-drag mouse to define area to zoom.
- Returns:
- Graphics3DControlBase.rubber_band_pick_info(self, left: int, top: int, right: int, bottom: int) RubberBandPickInfoData #
Get detailed information about a rubber-band mouse pick. The values must be within the VO window (0 to width-1 for left and right, 0 to height-1 for top and bottom).
- Graphics3DControlBase.copy_from_window_id(self, win_id: int) None #
Copy an existing Windowβs scene into this control.
- Graphics3DControlBase.start_object_editing(self, obj_edit_path: str) None #
Enters into 3D object editing mode.
- Graphics3DControlBase.apply_object_editing(self) None #
Commit changes when in 3D object editing mode.
- Returns:
- Graphics3DControlBase.set_mouse_cursor_from_file(self, cursor_file_name: str) None #
Set mouse cursor to the selected cursor file.