CFx SDK Documentation
2020SP3
|
#include <GsBaseVectorizeDevice.h>
Classes | |
struct | GsDeviceOverlayData |
class | GsDeviceOverlayDataContainer |
Public Attributes | |
GsVectPerformanceData | m_vectPerfData |
Protected Types | |
enum | { kFirstFlag = 1, kInvalid = kFirstFlag << 0, kSortRenderTypes = kFirstFlag << 1, kSpatialIndexDisabled = kFirstFlag << 2, kDynamicHighlight = kFirstFlag << 3, kDynamicSubhighlight = kFirstFlag << 4, kSupportBlocks = kFirstFlag << 5, kSupportOverlays = kFirstFlag << 6, kSupportComposition = kFirstFlag << 7, kEnableComposition = kFirstFlag << 8, kMtDisplay = kFirstFlag << 9, kUseSectionGeometryMap = kFirstFlag << 10, kUseVpLtypeScaleMult = kFirstFlag << 11, kUseVpFilterFunction = kFirstFlag << 12, kCullingVolumeEnabled = kFirstFlag << 13, kDisplayOffLayers = kFirstFlag << 14, kSupportInteractiveView = kFirstFlag << 15, kLastFlag = kSupportInteractiveView } |
Protected Member Functions | |
void | registerOverlay (OdGsViewImpl *pView, const OdGsModel *pModel) |
void | unregisterOverlay (OdGsViewImpl *pView, const OdGsModel *pModel) |
virtual void | onOverlayActivated (OdGsOverlayId nOverlay) |
virtual void | onOverlayDeactivated (OdGsOverlayId nOverlay) |
virtual bool | supportParallelDisplay () const |
void | initMtServices () |
void | viewUpdateScreen (OdGsBaseVectorizeView *pView, bool bUpdate) |
Friends | |
class | OdGsViewImpl |
class | OdGsBaseVectorizeView |
class | OdGsBaseModule |
class | DisplayScheduler |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class implements bitmapped GUI display windows.
In addition, they responds to operating system notifications, such as window resize, forwarded by the graphics system client.
Corresponding C++ library: Gs
<group OdGs_Classes>
Definition at line 68 of file GsBaseVectorizeDevice.h.
|
protected |
Definition at line 90 of file GsBaseVectorizeDevice.h.
OdGsBaseVectorizeDevice::~OdGsBaseVectorizeDevice | ( | ) |
OdGsBaseVectorizeDevice::OdGsBaseVectorizeDevice | ( | ) |
Associates the specified Viewport object with this Device object.
pView | [in] Pointer to the OdGsView object. |
Implements OdGsDevice.
void OdGsBaseVectorizeDevice::clearSectionGeometryMap | ( | ) |
|
inline |
Definition at line 414 of file GsBaseVectorizeDevice.h.
|
virtual |
Creates a new OdGsModel object, and associates it with this Device object.
Implements OdGsDevice.
|
virtual |
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. |
pViewInfo contains information returned by OdGiViewport::acadWindowId() and OdGiViewportDraw::viewportObjectId()
Implements OdGsDevice.
|
inline |
Definition at line 337 of file GsBaseVectorizeDevice.h.
|
inline |
Definition at line 379 of file GsBaseVectorizeDevice.h.
|
inline |
Definition at line 419 of file GsBaseVectorizeDevice.h.
|
inline |
Definition at line 389 of file GsBaseVectorizeDevice.h.
|
inline |
Definition at line 429 of file GsBaseVectorizeDevice.h.
|
virtual |
Erases all views associated with this Device object.
Implements OdGsDevice.
|
virtual |
Erases the specified View object.
viewIndex | [in] View index. |
Implements OdGsDevice.
|
virtual |
Erases the specified View object.
pView | [in] Pointer to the OdGsView object. |
Implements OdGsDevice.
|
virtual |
Returns the Background Color of the GUI window of this Device object.
Implements OdGsDevice.
|
inline |
Returns the specified color in the logical palette of this Device object.
colorIndex | [in] Color index. |
Definition at line 457 of file GsBaseVectorizeDevice.h.
|
inlinevirtual |
Returns the logical palette of this Device object.
numColors | [out] Returns number of colors inside logical palette. |
Implements OdGsDevice.
Definition at line 469 of file GsBaseVectorizeDevice.h.
|
inline |
Returns the logical palette of this Device object.
Definition at line 463 of file GsBaseVectorizeDevice.h.
ODCOLORREF OdGsBaseVectorizeDevice::getPaletteBackground | ( | ) | const |
Returns background color in the logical palette of this Device object.
OdGiSectionGeometryManager* OdGsBaseVectorizeDevice::getSectionGeometryManager | ( | ) |
OdRxObjectPtr OdGsBaseVectorizeDevice::getSectionGeometryMap | ( | ) |
|
inlinevirtual |
Returns device surface output rectangle.
outputRect | [out] Obtains size of the output rectangle in device coordinates (pixels). |
Implements OdGsDevice.
Definition at line 451 of file GsBaseVectorizeDevice.h.
|
virtual |
Currently not implemented.
Implements OdGsDevice.
|
virtual |
Returns OdGsUpdateManager associated with current device
createIfNotExist | [in] Creates instance of OdGsUpdateManager if no one associated with device |
Reimplemented from OdGsDevice.
OdGsOverlayId OdGsBaseVectorizeDevice::gsModelOverlay | ( | const OdGsModel * | pModel | ) | const |
int OdGsBaseVectorizeDevice::height | ( | ) | const |
Returns the height of this Device object in pixels.
|
protected |
Inserts the specified Viewport object to the specified position in this Device object.
viewIndex | [in] View index. |
pView | [in] Pointer to the OdGsView object. |
Implements OdGsDevice.
|
inline |
Returns true in case if device in completely invalid state.
Definition at line 138 of file GsBaseVectorizeDevice.h.
|
virtual |
Marks for refresh the specified region of the GUI window of this Device object.
screenRect | [in] Rectangular area. |
Implements OdGsDevice.
|
virtual |
Implements OdGsDevice.
void OdGsBaseVectorizeDevice::invalidate | ( | const OdGsModel * | pModel, |
const OdGsDCRect & | screenRect | ||
) |
void OdGsBaseVectorizeDevice::invalidate | ( | const OdGsViewImpl * | pView, |
const OdGsDCRect & | screenRect | ||
) |
|
virtual |
void OdGsBaseVectorizeDevice::invalidateRegion | ( | const OdGiPathNode & | path | ) |
|
inline |
Definition at line 476 of file GsBaseVectorizeDevice.h.
|
inline |
Definition at line 482 of file GsBaseVectorizeDevice.h.
|
inline |
Definition at line 384 of file GsBaseVectorizeDevice.h.
|
inline |
Definition at line 424 of file GsBaseVectorizeDevice.h.
|
virtual |
Checks compatibility between specified OdGsModel and this Device object.
pModel | [in] Model object pointer to check compatibility. |
By default this always returns false. It is must be implemented in inherited classes to enable Model object reuse support. If Device object use overriden Model object it should return false if input Model object doesn't overriden.
Typical way to check compatibility is using of RTTI.
If your metafiles cache doesn't support per-device sharing override and return false.
Reimplemented from OdGsDevice.
int OdGsBaseVectorizeDevice::isOverlayRequireUpdate | ( | OdGsOverlayId | overlayId | ) | const |
|
inline |
Definition at line 374 of file GsBaseVectorizeDevice.h.
|
virtual |
|
virtual |
Returns true if and only if the GUI window for this Device object is showing the correct image.
Implements OdGsDevice.
|
inline |
Definition at line 303 of file GsBaseVectorizeDevice.h.
|
virtual |
|
virtual |
Restores device state from filer object.
pFiler | [in] Filer object. |
Reimplemented from OdGsDevice.
|
virtual |
|
inline |
Definition at line 314 of file GsBaseVectorizeDevice.h.
|
virtual |
Returns the number of views associated with this Device object.
Implements OdGsDevice.
OdGsBaseVectorizeDevice::ODRX_DECLARE_MEMBERS | ( | OdGsBaseVectorizeDevice | ) |
|
virtual |
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. |
Implements OdGsDevice.
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Notification function typically called whenever the GUI window for this Device object loses focus.
Implements OdGsDevice.
|
virtual |
Implements OdGsDevice.
|
virtual |
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). |
Implements OdGsDevice.
|
inline |
Definition at line 445 of file GsBaseVectorizeDevice.h.
|
virtual |
Returns a SmartPointer to the dictionary containing the properties for this Device object.
Implements OdGsDevice.
|
protected |
|
virtual |
|
virtual |
const OdGsView* OdGsBaseVectorizeDevice::rootView | ( | ) | const |
|
virtual |
|
virtual |
Stores current device state into filer object.
pFiler | [in] Filer object. |
Reimplemented from OdGsDevice.
|
virtual |
|
virtual |
Sets the Background Color of the GUI window of this Device object.
backgroundColor | [in] Background color. |
Implements OdGsDevice.
|
inline |
Reset device completely invalid state flag.
bSet | [in] New device invalid state. |
Definition at line 143 of file GsBaseVectorizeDevice.h.
|
virtual |
Sets the logical pallete to be used by this Device object.
logicalPalette | [in] Logical palette. |
numColors | [in] Number of colors in palette. |
Implements OdGsDevice.
|
inline |
Definition at line 359 of file GsBaseVectorizeDevice.h.
|
inline |
Definition at line 328 of file GsBaseVectorizeDevice.h.
|
inline |
Definition at line 369 of file GsBaseVectorizeDevice.h.
void OdGsBaseVectorizeDevice::setTransientManager | ( | OdGiTransientManager * | pManager | ) |
|
inline |
Definition at line 439 of file GsBaseVectorizeDevice.h.
|
virtual |
Associates OdGsUpdateManager with device
pManager | [in] Pointer to the OdGsUpdateManager |
Reimplemented from OdGsDevice.
|
virtual |
Sets the User Context object associated with this Device object.
pUserGiContext | [in] Pointer to the User Context. |
Implements OdGsDevice.
void OdGsBaseVectorizeDevice::setValid | ( | bool | bFlag | ) |
Reset all invalidation device state parameters.
bFlag | [in] New device validity state. |
|
inline |
Definition at line 354 of file GsBaseVectorizeDevice.h.
|
inline |
Definition at line 404 of file GsBaseVectorizeDevice.h.
|
inline |
Definition at line 409 of file GsBaseVectorizeDevice.h.
|
inline |
Definition at line 394 of file GsBaseVectorizeDevice.h.
|
inline |
Definition at line 399 of file GsBaseVectorizeDevice.h.
|
inline |
Definition at line 327 of file GsBaseVectorizeDevice.h.
|
inline |
Definition at line 364 of file GsBaseVectorizeDevice.h.
|
inlineprotectedvirtual |
Definition at line 341 of file GsBaseVectorizeDevice.h.
|
virtual |
Must be overridden to return true in child class to inform base implementation that child class supports partial update.
OdGiTransientManager* OdGsBaseVectorizeDevice::transientManager | ( | ) |
|
inline |
Definition at line 434 of file GsBaseVectorizeDevice.h.
|
protected |
|
virtual |
Updates the GUI window for this Device object.
pUpdatedRect | [out] Pointer to the a rectangle to receive the region updated by this function. |
Implements OdGsDevice.
|
virtual |
|
inline |
Definition at line 332 of file GsBaseVectorizeDevice.h.
|
virtual |
|
virtual |
Returns the User Context object associated with this Device object.
Implements OdGsDevice.
|
inline |
Definition at line 309 of file GsBaseVectorizeDevice.h.
|
inline |
Definition at line 308 of file GsBaseVectorizeDevice.h.
|
virtual |
Returns the specified OdGsView object associated with this Device object.
viewIndex | [in] View index. |
Implements OdGsDevice.
const OdGsView* OdGsBaseVectorizeDevice::viewAt | ( | int | viewIndex | ) | const |
OdGsViewImpl* OdGsBaseVectorizeDevice::viewImplAt | ( | int | viewIndex | ) |
const OdGsViewImpl* OdGsBaseVectorizeDevice::viewImplAt | ( | int | viewIndex | ) | const |
|
protected |
int OdGsBaseVectorizeDevice::width | ( | ) | const |
Returns the width of this Device object in pixels.
|
friend |
Definition at line 340 of file GsBaseVectorizeDevice.h.
|
friend |
Definition at line 73 of file GsBaseVectorizeDevice.h.
|
friend |
Definition at line 71 of file GsBaseVectorizeDevice.h.
|
friend |
Definition at line 70 of file GsBaseVectorizeDevice.h.
|
protected |
Definition at line 79 of file GsBaseVectorizeDevice.h.
|
protected |
Definition at line 89 of file GsBaseVectorizeDevice.h.
|
protected |
Definition at line 78 of file GsBaseVectorizeDevice.h.
|
protected |
Definition at line 80 of file GsBaseVectorizeDevice.h.
|
protected |
Definition at line 127 of file GsBaseVectorizeDevice.h.
|
protected |
Definition at line 335 of file GsBaseVectorizeDevice.h.
|
protected |
Definition at line 87 of file GsBaseVectorizeDevice.h.
|
protected |
Definition at line 81 of file GsBaseVectorizeDevice.h.
|
protected |
Definition at line 82 of file GsBaseVectorizeDevice.h.
|
protected |
Definition at line 83 of file GsBaseVectorizeDevice.h.
|
protected |
Definition at line 84 of file GsBaseVectorizeDevice.h.
|
protected |
Definition at line 85 of file GsBaseVectorizeDevice.h.
GsVectPerformanceData OdGsBaseVectorizeDevice::m_vectPerfData |
Definition at line 346 of file GsBaseVectorizeDevice.h.
|
protected |
Definition at line 77 of file GsBaseVectorizeDevice.h.