CFx SDK Documentation 2024 SP0
|
#include <GsInterfaceWrappers.h>
Base template for OdGsDevice class wrappers.
Corresponding C++ library: TD_Gs
<group OdGs_Classes>
Definition at line 1674 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 1687 of file GsInterfaceWrappers.h.
|
inline |
Associates the specified Viewport object with this Device object.
pView | [in] Pointer to the OdGsView object. |
Definition at line 1889 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 1902 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 1877 of file GsInterfaceWrappers.h.
|
inline |
Erases all views associated with this Device object.
Definition at line 2007 of file GsInterfaceWrappers.h.
|
inline |
Erases the specified View object.
viewIndex | [in] View index. |
Definition at line 1997 of file GsInterfaceWrappers.h.
|
inline |
Erases the specified View object.
pView | [in] Pointer to the OdGsView object. |
Definition at line 1982 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 2054 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 2082 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 1815 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 1826 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 2098 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 2110 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 1968 of file GsInterfaceWrappers.h.
|
inline |
Marks for refresh entire region of the GUI window of this Device object.
Definition at line 1731 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 1742 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 1925 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 1760 of file GsInterfaceWrappers.h.
|
inline |
Restores device state from filer object.
pFiler | [in] Filer object. |
Definition at line 1955 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 2017 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 1860 of file GsInterfaceWrappers.h.
|
inline |
Causes this Device object to realize its background palette.
Definition at line 1844 of file GsInterfaceWrappers.h.
|
inline |
Causes this Device object to realize its foreground palette.
Definition at line 1835 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 1790 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 1804 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 1700 of file GsInterfaceWrappers.h.
|
inline |
Stores current device state into filer object.
pFiler | [out] Filer object. |
Definition at line 1940 of file GsInterfaceWrappers.h.
|
inline |
Sets the Background Color of the GUI window of this Device object.
backgroundColor | [in] Background color. |
Definition at line 2043 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 2070 of file GsInterfaceWrappers.h.
|
inline |
Associates OdGsUpdateManager with device
pManager | [in] Pointer to the OdGsUpdateManager |
Definition at line 2125 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 1722 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 1776 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 1711 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 2029 of file GsInterfaceWrappers.h.