|
CFx SDK Documentation 2026 SP0
|
#include <GsInterfaceWrappers.h>
Base template for OdGsDevice class wrappers.
Corresponding C++ library: TD_Gs
<group OdGs_Classes>
Definition at line 1692 of file GsInterfaceWrappers.h.
|
inline |
Default constructor for the OdGsDeviceWrapper class. Sets the redirection (wrapped) device.
| pRedirectionDevice | [in] Pointer to the redirection (wrapped) device. |
Definition at line 1705 of file GsInterfaceWrappers.h.
|
inline |
Associates the specified Viewport object with this Device object.
| pView | [in] Pointer to the OdGsView object. |
Definition at line 1907 of file GsInterfaceWrappers.h.
|
inline |
Creates a new OdGsModel object, and associates it with this Device object. This method returns a NULL smart pointer to a model if there is no redirection device.
Definition at line 1920 of file GsInterfaceWrappers.h.
|
inline |
Creates a new OdGsView object, and associates it with this Device object.
| pViewInfo | [in] Pointer to the Client View Information for this Device object. |
| enableLayerVisibilityPerView | [in] Layer visibility per viewport is supported, if and only if true. |
Definition at line 1895 of file GsInterfaceWrappers.h.
|
inline |
Erases all views associated with this Device object.
Definition at line 2025 of file GsInterfaceWrappers.h.
|
inline |
Erases the specified View object.
| viewIndex | [in] View index. |
Definition at line 2015 of file GsInterfaceWrappers.h.
|
inline |
Erases the specified View object.
| pView | [in] Pointer to the OdGsView object. |
Definition at line 2000 of file GsInterfaceWrappers.h.
|
inline |
Returns the Background Color of the GUI window of this Device object. This method returns ODRGB(0, 0, 0) if there is no redirection device.
Definition at line 2072 of file GsInterfaceWrappers.h.
|
inline |
Returns the logical palette used by this Device object. This method returns NULL if there is no redirection device.
| numColors | [out] Number of colors in palette. |
Definition at line 2100 of file GsInterfaceWrappers.h.
|
inline |
Returns device surface output rectangle.
| outputRect | [out] Obtains size of the output rectangle in device coordinates (pixels). |
Definition at line 1833 of file GsInterfaceWrappers.h.
|
inline |
Returns device surface output rectangle.
| outputRect | [out] Obtains size of the output rectangle in device coordinates (pixels). |
Definition at line 1844 of file GsInterfaceWrappers.h.
|
inline |
Returns image of current device buffer.
| pImage | [out] Pointer for image to return. |
| region | [in] Rectangle specifies region to return. |
Definition at line 2116 of file GsInterfaceWrappers.h.
|
inline |
Returns OdGsUpdateManager associated with current device. This method returns not valid smart pointer to update manager if there is no redirection device.
| createIfNotExist | [in] Creates instance of OdGsUpdateManager if no one associated with device |
Definition at line 2128 of file GsInterfaceWrappers.h.
|
inline |
Inserts the specified Viewport object to the specified position in this Device object.
| viewIndex | [in] View index. |
| pView | [in] Pointer to the OdGsView object. |
Definition at line 1986 of file GsInterfaceWrappers.h.
|
inline |
Marks for refresh entire region of the GUI window of this Device object.
Definition at line 1749 of file GsInterfaceWrappers.h.
|
inline |
Marks for refresh the specified region of the GUI window of this Device object.
| screenRect | [in] Rectangular area. |
Definition at line 1760 of file GsInterfaceWrappers.h.
|
inline |
Checks compatibility between specified OdGsModel and this Device object.
| pModel | [in] Model object pointer to check compatibility. |
Definition at line 1943 of file GsInterfaceWrappers.h.
|
inline |
Checks whether the GUI window for this Device object is showing the correct image. This method returns NULL if there is no redirection device.
Definition at line 1778 of file GsInterfaceWrappers.h.
|
inline |
Restores device state from filer object.
| pFiler | [in] Filer object. |
Definition at line 1973 of file GsInterfaceWrappers.h.
|
inline |
Returns the number of views associated with this Device object. This method returns 0 if there is no redirection device.
Definition at line 2035 of file GsInterfaceWrappers.h.
|
inline |
Notification function called whenever the OS screen resolution and/or color depth have changed.
| bitsPerPixel | [in] Color depth. |
| xPixels | [in] X pixels. |
| yPixels | [in] Y pixels. |
Definition at line 1878 of file GsInterfaceWrappers.h.
|
inline |
Causes this Device object to realize its background palette.
Definition at line 1862 of file GsInterfaceWrappers.h.
|
inline |
Causes this Device object to realize its foreground palette.
Definition at line 1853 of file GsInterfaceWrappers.h.
|
inline |
Notification function called whenever the size of the GUI window for this Device object has changed.
| outputRect | [in] New size of the output rectangle in device coordinates (pixels). |
Definition at line 1808 of file GsInterfaceWrappers.h.
|
inline |
Notification function called whenever the size of the GUI window for this Device object has changed.
| outputRect | [in] New size of the output rectangle in device coordinates (pixels). |
Definition at line 1822 of file GsInterfaceWrappers.h.
|
inline |
Returns a SmartPointer to the dictionary containing the properties for this Device object. This method returns smart pointer to an empty dictionary if there is no redirection device.
Definition at line 1718 of file GsInterfaceWrappers.h.
|
inline |
Stores current device state into filer object.
| pFiler | [out] Filer object. |
Definition at line 1958 of file GsInterfaceWrappers.h.
|
inline |
Sets the Background Color of the GUI window of this Device object.
| backgroundColor | [in] Background color. |
Definition at line 2061 of file GsInterfaceWrappers.h.
|
inline |
Sets the logical palette to be used by this Device object.
| logicalPalette | [in] Logical palette. |
| numColors | [in] Number of colors in palette. |
Definition at line 2088 of file GsInterfaceWrappers.h.
|
inline |
Associates OdGsUpdateManager with device
| pManager | [in] Pointer to the OdGsUpdateManager |
Definition at line 2143 of file GsInterfaceWrappers.h.
|
inline |
Sets the User Context object associated with this Device object.
| pUserGiContext | [in] Pointer to the User Context. |
Definition at line 1740 of file GsInterfaceWrappers.h.
|
inline |
Updates the GUI window for this Device object.
| pUpdatedRect | [out] Pointer to the a rectangle to receive the region updated by this function. |
Definition at line 1794 of file GsInterfaceWrappers.h.
|
inline |
Returns the User Context object associated with this Device object. This method returns NULL if there is no redirection device.
Definition at line 1729 of file GsInterfaceWrappers.h.
|
inline |
Returns the specified OdGsView object associated with this Device object. This method returns NULL if there is no redirection device.
| viewIndex | [in] View index. |
Definition at line 2047 of file GsInterfaceWrappers.h.