CFx SDK Documentation 2024 SP0
|
#include <GiDummyGeometry.h>
Public Member Functions | |
virtual OdGeMatrix3d | getModelToEyeTransform () const |
virtual OdGeMatrix3d | getEyeToModelTransform () const |
virtual OdGeMatrix3d | getWorldToEyeTransform () const |
virtual OdGeMatrix3d | getEyeToWorldTransform () const |
virtual bool | isPerspective () const |
virtual bool | doPerspective (OdGePoint3d &p) const |
virtual bool | doInversePerspective (OdGePoint3d &p) const |
virtual void | getNumPixelsInUnitSquare (const OdGePoint3d &givenWorldpt, OdGePoint2d &pixelArea, bool includePerspective=true) const |
virtual OdGePoint3d | getCameraLocation () const |
virtual OdGePoint3d | getCameraTarget () const |
virtual OdGeVector3d | getCameraUpVector () const |
virtual OdGeVector3d | viewDir () const |
virtual OdUInt32 | viewportId () const |
virtual OdInt16 | acadWindowId () const |
virtual void | getViewportDcCorners (OdGePoint2d &lower_left, OdGePoint2d &upper_right) const |
virtual bool | getFrontAndBackClipValues (bool &clip_front, bool &clip_back, double &front, double &back) const |
virtual double | linetypeScaleMultiplier () const |
virtual double | linetypeGenerationCriteria () const |
virtual bool | layerVisible (OdDbStub *idLayer) const |
Protected Member Functions | |
void | set (const OdGiViewport &ref) |
const OdGiViewport & | get () const |
This class is a dummy template for OdGiViewport. Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 2870 of file GiDummyGeometry.h.
|
inlinevirtual |
Returns the ID for the associated window object.
Definition at line 3019 of file GiDummyGeometry.h.
|
inlinevirtual |
Applies the inverse of the current perspective transformation to the specified point.
point | [in/out] Point relative to which the inverse transformation is applied. Receives point coordinates after transformation if successful. |
true if the point was transformed; i.e., an inverse perspective transform is active, and the point was neither too close or behind the camera.
Definition at line 2946 of file GiDummyGeometry.h.
|
inlinevirtual |
Applies the current perspective transformation to the specified point.
p | [in/out] Point relative to which the transformation is applied. Receives point coordinates after transformation if successful. |
Definition at line 2930 of file GiDummyGeometry.h.
|
inlineprotected |
Definition at line 2875 of file GiDummyGeometry.h.
|
inlinevirtual |
Returns the WCS camera (eye) location for the associated camera.
Definition at line 2973 of file GiDummyGeometry.h.
|
inlinevirtual |
Returns the camera target point for the associated camera.
Definition at line 2981 of file GiDummyGeometry.h.
|
inlinevirtual |
Returns the WCS camera "up" vector for for the associated camera.
Definition at line 2989 of file GiDummyGeometry.h.
|
inlinevirtual |
Returns the transformation matrix from EyeSpace to ModelSpace for this object.
Definition at line 2892 of file GiDummyGeometry.h.
|
inlinevirtual |
Returns the transformation matrix from EyeSpace to WCS for this object.
Definition at line 2908 of file GiDummyGeometry.h.
|
inlinevirtual |
Returns the front and back clipping parameters for the associated Viewport object.
clipFront | [out] Receives true if and only if front clipping is enabled. |
clipBack | [out] Receives true if and only if back clipping is enabled. |
front | [out] Receives the front clipping distance. |
back | [out] Receives the back clipping distance. |
Clipping planes are perpendicular to the view direction.
If the front clipping plane is enabled, geometry in front of it is not displayed.
If the back clipping plane is enabled, geometry in back of it is not displayed.
Definition at line 3058 of file GiDummyGeometry.h.
|
inlinevirtual |
Returns the transformation matrix from ModelSpace to EyeSpace for this object.
Definition at line 2884 of file GiDummyGeometry.h.
|
inlinevirtual |
Returns the display pixel density at the specified point for this object.
givenWorldpt | [in] WCS center of the unit square. |
pixelArea | [out] Receives the pixel density. |
includePerspective | [in] Enable perspective inclusion into pixel density calculation. |
This function can be used to determine if the geometry generated for an object will be smaller than the size of a pixel.
Definition at line 2961 of file GiDummyGeometry.h.
|
inlinevirtual |
Returns lower-left and upper-right corners of the associated Viewport object in normalized device Coordinates.
lowerLeft | [out] Receives the lower-left corner. |
upperRight | [out] Receives the upper-right. |
Definition at line 3035 of file GiDummyGeometry.h.
|
inlinevirtual |
Returns the transformation matrix from WCS to EyeSpace for this object.
Definition at line 2900 of file GiDummyGeometry.h.
|
inlinevirtual |
Checks whether perspective mode is on for this object.
Definition at line 2916 of file GiDummyGeometry.h.
|
inlinevirtual |
Checks whether the specified layer is not frozen either globally or in the associated Viewport object.
layerId | [in] Identifier of the OdLayerTableRecord to check. |
Definition at line 3089 of file GiDummyGeometry.h.
|
inlinevirtual |
Returns the WCS value below which linetype generation is not used.
Definition at line 3079 of file GiDummyGeometry.h.
|
inlinevirtual |
Returns a multiplier that is used to scale all linetypes in the associated Viewport object.
Definition at line 3067 of file GiDummyGeometry.h.
|
inlineprotected |
Definition at line 2874 of file GiDummyGeometry.h.
|
inlinevirtual |
Returns the vector from the camera target to the camera location.
Definition at line 2997 of file GiDummyGeometry.h.
|
inlinevirtual |
Returns the OdGi Viewport ID for this object.
Definition at line 3008 of file GiDummyGeometry.h.