Share

AcGs Classes (WIN)

Classes

Class Description
AcGs2DViewLimitManager Use acgsCreate2DViewLimitManager() and acgsDestroy2DViewLimitManager() to create and destroy instances of this pure virtual abstract class.
AcGsConfig The AcGsConfig object is used to configure the GS. This class is a singleton; there is exactly one instance of this class at all times. Various included functions perform the following operations:
  • The tessellation functions set options that determine the smoothness of objects when drawn. Tessellation lines are a series of short lines (or triangles in some cases) that the Graphics System uses to draw objects. Objects appear smoother when there are more tessellation lines.
  • The render option functions configure the Graphics System to make settings available for enhancing the display of lights, materials, textures, and transparency.
  • The adaptive degradation... more
AcGsConfigReactor New reactor for use with Gs Configuration changes
AcGsDCPoint The AcGsDCPoint class represents a point in device coordinates. This class is used in a variety of graphics system (GS) APIs.
AcGsDCRect The AcGsDCRect class represents a rectangle in device coordinates. This class is used in a variety of graphics system (GS) APIs.
AcGsDeviceAcGsDevice is an abstraction of a drawing surface and encapsulates the underlying device to which graphics are rendered. At present, an AcGsDevice corresponds to a GUI display window. Eventually, other classes of devices will be supported (such as hardcopy, file [.bmp, .wmf, .dwf], and clipboard).An AcGsDevice owns one or more AcGsViews and must manage damaged areas and delegate updates to these views. In addition, it responds to operating system notifications such as a change in window size forwarded from the underlying device by the graphics system (GS) client.
AcGsGraphicsKernel This class is used in graphics system (GS) initialization and shutdown. The GS meta-API objects hide behind a pure virtual interface, and they are constructed via the AcGsGraphicsKernel.
AcGsKernelDescriptor The kernel descriptor contains a set of capabilities that describe a graphics kernel. This class can be used to request a particular kernel, or to report the capabilities of a kernel.
AcGsManager The AcGsManager interface provides services that helps to hide the details of connecting AutoCAD and ARX applications to the graphics system (GS).Each AutoCAD AcDisplay object has an AcGsManager; thus, AcGsManager objects have a one-to-one relationship with MDI client windows and with AcDbDatabase objects. The function acgsGetGSManager() provides access to AcGsManager objects.
AcGsModel The AcGsModel class is an abstraction of a database. This database may be an AcDbDatabase, it may be a container for transient graphics (such as the Icon and Grid), or it may represent another persistent database format such as DWF. Most significantly, the AcGsModel provides a mechanism for the database to inform the graphics system (GS) of changes (additions, deletions, and modifications).Each AcGsModel has a RenderType that provides a hint to the GS about how this model's geometry should be rendered.
AcGsModelReactor The AcGsModelReactor class is used to inform events of AcGsModel.
AcGsNode This class represents a node in the GS.
AcGsReactor The AcGsReactor object is used to inform interested parties of important Graphics System (GS) events. To make use of this functionality, derive a reactor class from AcGsReactor and provide implementations for those notifications they wish to receive. Then, pass an instance of this class to AcGsClassFactory::addReactor(). Be sure to remove this reactor instance via AcGsClassFactory::removeReactor() when notifications are no longer required.
AcGsRenderInterrupter
AcGsRenderProgressMonitor
AcGsScreenShot Objects of the AcGsScreenShot class are used by the acgsGetScreenShot() function as a means to return viewport image information (such as width, height, color depth and palette, and scanlines) to calling applications.
AcGsView An AcGsView object corresponds to a portion of a GUI window, a set of camera parameters that define a view, and a collection of objects to be viewed. More specifically, an AcGsView can be used to represent an AutoCAD viewport.An AcGsView is added to an AcGsDevice. A view may belong to only a single device at a time. Views need to be told what they are viewing. The client adds and removes (AcGiDrawable, AcGsModel) pairs corresponding to the viewed piece of the specified model. Each AcGsView has a RenderMode that corresponds to the algorithm employed when drawing geometry in... more

Was this information helpful?