CFx SDK Documentation
2022 SP0
|
#include <GsInterfaceWrappers.h>
Protected Attributes | |
OdGsDevice * | m_pDevice |
OdGiContext * | m_pContext |
double | m_lwdDcScale |
OdGePoint2d | m_llVpt |
OdGePoint2d | m_urVpt |
OdGsDCRectDouble | m_dcRect |
OdIntArray | m_nrcClipCounts |
OdGePoint2dArray | m_nrcClipPoints |
ODCOLORREF | m_borderColor |
int | m_borderWidth |
bool | m_bBorderVisible |
OdGePoint3d | m_position |
OdGePoint3d | m_target |
OdGeVector3d | m_upVector |
double | m_fieldsWidth |
double | m_fieldsHeight |
OdGsView::Projection | m_projection |
double | m_lensLength |
bool | m_bFrontClip |
bool | m_bBackClip |
double | m_frontClip |
double | m_backClip |
OdGsView::RenderMode | m_renderMode |
bool | m_bHidden |
double | m_ltpMult1 |
double | m_ltpMult2 |
OdGsClientViewInfo | m_viewInfo |
OdDbStub * | m_bkgnd |
OdDbStub * | m_visualStyle |
Additional Inherited Members | |
Public Types inherited from OdGsView | |
enum | RenderMode { kBoundingBox = -1 , k2DOptimized = 0 , kWireframe = 1 , kHiddenLine = 2 , kFlatShaded = 3 , kGouraudShaded = 4 , kFlatShadedWithWireframe = 5 , kGouraudShadedWithWireframe = 6 , kNone } |
enum | Projection { kParallel = 0 , kPerspective = 1 } |
enum | SelectionMode { kWindow = 0 , kCrossing = 1 , kFence = 2 , kWPoly = 3 , kCPoly = 4 , kPoint = 16 } |
enum | DefaultLightingType { kOneLight = 0 , kTwoLights , kBackLight } |
enum | ClearColor { kTransparent , kDeviceBackground , kPaletteBackground } |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Minimal implementation for OdGsView class wrappers.
Corresponding C++ library: TD_Gs
<group OdGs_Classes>
Definition at line 932 of file GsInterfaceWrappers.h.
|
inline |
Definition at line 958 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns the back clip distance from the target of this Viewport object.
Implements OdGsView.
Definition at line 1065 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns current background object ID for this view.
Implements OdGsView.
Definition at line 1083 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns the ClientViewInfo for this Viewport object.
clientViewInfo | [out] Receives the ClientViewInfo. |
Reimplemented from OdGsView.
Definition at line 1079 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns the GsDevice object associated with this Viewport object.
Implements OdGsView.
Definition at line 986 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns the WCS projection plane (field) height for this Viewport object.
Implements OdGsView.
Definition at line 1056 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns the WCS projection plane (field) width for this Viewport object.
Implements OdGsView.
Definition at line 1055 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns the front clip distance from the target of this Viewport object.
Implements OdGsView.
Definition at line 1061 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns the size and position of this Viewport object.
lowerLeft | [out] Receives the lower-left corner in nomalized device coordinates [0.0 .. 1.0]. |
upperRight | [out] Receives the upper-right corner in nomalized device coordinates [0.0 .. 1.0]. |
screenRect | [out] Receives the screen rectangle in device coordinates (pixels). |
Implements OdGsView.
Definition at line 999 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Implements OdGsView.
Definition at line 1001 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Reimplemented from OdGsView.
Definition at line 1002 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns the color and width of the border for this Viewport object.
color | [out] Receives the border color. |
width | [out] Receives the border width in pixels. |
Implements OdGsView.
Definition at line 1038 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Hides this Viewport object.
Implements OdGsView.
Definition at line 1070 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns true if and only if back clipping is enabled for this Viewport object.
Implements OdGsView.
Definition at line 1063 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns true if and only if front clipping is enabled for this Viewport object.
Implements OdGsView.
Definition at line 1059 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns true if and only if the projection type for this Viewport object is kPerspective.
Implements OdGsView.
Definition at line 1054 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns true if and only if the border is visible for this Viewport object.
Implements OdGsView.
Definition at line 1041 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns true if and only if this Viewport object is not hidden.
Implements OdGsView.
Definition at line 1072 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns the perspective lens length for this Viewport object.
Implements OdGsView.
Definition at line 1052 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns current alternate linetype scale multiplier value.
Implements OdGsView.
Definition at line 1077 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns current linetype scale multiplier value.
Implements OdGsView.
Definition at line 1075 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns the scale factor for displaying Lineweights in this Viewport object.
Implements OdGsView.
Definition at line 992 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Sets the render mode for this Viewport object.
Value Description kBoundingBox -1 Bounding box. For internal use only. k2DOptimized 0 Standard display. Optimized for 2D. kWireframe 1 Standard display. Uses 3D pipeline. kHiddenLine 2 Wireframe display. Hidden lines removed. kFlatShaded 3 Faceted display. One color per face. kGouraudShaded 4 Smooth shaded display. Colors interpolated between vertices. kFlatShadedWithWireframe 5 Faceted display with wireframe overlay. kGouraudShadedWithWireframe 6 Smooth shaded display with wireframe overlay.
Implements OdGsView.
Definition at line 1068 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns the WCS camera position for this Viewport object.
Implements OdGsView.
Definition at line 1049 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Sets a multiplier that could be used as an alternate scale factor for linetypes in this Viewport object.
linetypeAlternateScaleMultiplier | [in] Alternate linetype scale multiplier. |
Implements OdGsView.
Definition at line 1076 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Sets the back clip distance from the target of this Viewport object.
backClip | [in] Back clip distance. |
Implements OdGsView.
Definition at line 1064 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Sets background object for this view.
backgroundId | [in] New background object ID. |
Implements OdGsView.
Definition at line 1082 of file GsInterfaceWrappers.h.
|
inline |
Definition at line 987 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Controls the back clipping of this Viewport object.
enable | [in] Enable back clipping. |
Implements OdGsView.
Definition at line 1062 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Controls the front clipping of this Viewport object.
enable | [in] Enable front clipping. |
Implements OdGsView.
Definition at line 1058 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Sets the front clip distance from the target of this Viewport object.
frontClip | [in] Front clip distance. |
Implements OdGsView.
Definition at line 1060 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Sets the perspective lens length for this Viewport object.
lensLength | [in] Perspective lens length. |
Implements OdGsView.
Definition at line 1053 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Sets a multiplier that is used to scale all linetypes in this Viewport object.
linetypeScaleMultiplier | [in] Linetype scale multiplier. |
Implements OdGsView.
Definition at line 1074 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Sets the scale factor for displaying Lineweights in this Viewport object.
scale | [in] Scale factor. |
Implements OdGsView.
Definition at line 993 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Sets the render mode for this Viewport object.
mode | [in] Render mode. |
Value Description kBoundingBox -1 Bounding box. For internal use only. k2DOptimized 0 Standard display. Optimized for 2D. kWireframe 1 Standard display. Uses 3D pipeline. kHiddenLine 2 Wireframe display. Hidden lines removed. kFlatShaded 3 Faceted display. One color per face. kGouraudShaded 4 Smooth shaded display. Colors interpolated between vertices. kFlatShadedWithWireframe 5 Faceted display with wireframe overlay. kGouraudShadedWithWireframe 6 Smooth shaded display with wireframe overlay.
Implements OdGsView.
Definition at line 1067 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Sets the User Context object associated with this Viewport object.
pUserGiContext | [in] Pointer to the User Context. |
Implements OdGsView.
Definition at line 990 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Sets the camera parameters for this Viewport object.
position | [in] Camera position. |
target | [in] Camera target. |
upVector | [in] Camera up vector. |
fieldWidth | [in] Projection plane (field) width. |
fieldHeight | [in] Projection plane (field) height. |
projectionType | [in] Projection type. |
projectionType must be one of the following:
Value kParallel 0 kPerspective 1
Implements OdGsView.
Definition at line 1043 of file GsInterfaceWrappers.h.
|
inline |
Definition at line 1080 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Sets the size and position of this Viewport object.
lowerLeft | [in] Lower-left corner in nomalized device coordinates [0.0 .. 1.0]. |
upperRight | [in] Upper-right corner in nomalized device coordinates [0.0 .. 1.0]. |
screenRect | [in] Screen rectangle in device coordinates (pixels). |
Implements OdGsView.
Definition at line 995 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Implements OdGsView.
Definition at line 997 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Reimplemented from OdGsView.
Definition at line 998 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Sets the color and width of the border for this Viewport object.
color | [in] Border color. |
width | [in] Border width in pixels. |
Implements OdGsView.
Definition at line 1036 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Controls the border visibility for this Viewport object.
visible | [in] Controls visibility. |
Implements OdGsView.
Definition at line 1040 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Implements OdGsView.
Definition at line 1014 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Defines a polygonal clip region for this Viewport object.
numCoutours | [in] Number of polygonal contours. |
numVertices | [in] Array of the number of vertices in each polygonal contour. |
vertices | [in] Array of device coordinate (pixel) vertices defining the polygonal contours. |
Implements OdGsView.
Definition at line 1004 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Sets visual style object for this view.
visualStyleId | [in] New visual style object ID. |
Implements OdGsView.
Definition at line 1085 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Un-hides this Viewport object.
Implements OdGsView.
Definition at line 1071 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns the WCS camera target for this Viewport object.
Implements OdGsView.
Definition at line 1050 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns the WCS camera up vector for this Viewport object.
Implements OdGsView.
Definition at line 1051 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns the GiContext object associated with this Viewport object.
Implements OdGsView.
Definition at line 989 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Implements OdGsView.
Definition at line 1033 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns a polygonal clip region for this Viewport object.
counts | [out] Array of the number of vertices in each polygonal contour. |
vertices | [out] Array of device coordinate (pixel) vertices defining the polygonal contours. |
Implements OdGsView.
Definition at line 1024 of file GsInterfaceWrappers.h.
|
inlinevirtual |
Returns current visual style object ID for this view.
Implements OdGsView.
Definition at line 1086 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 951 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 950 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 944 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 950 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 953 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 956 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 942 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 943 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 939 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 947 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 947 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 951 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 949 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 938 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 954 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 954 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 937 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 940 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 941 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 936 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 935 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 945 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 948 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 952 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 945 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 946 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 938 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 955 of file GsInterfaceWrappers.h.
|
protected |
Definition at line 956 of file GsInterfaceWrappers.h.