The ViewInfo class holds information needed to display the contents of a view. More...
Classes | |
struct | ViewGeomInfo |
ViewGeomInfo contains the description of the portion of the model that is visible within a view. More... | |
struct | ViewInfo |
This is what the parameters to the camera methods, and the values stored by ViewInfo mean. More... | |
struct | ViewPortInfo |
The ViewPortInfo class holds information about the positioning of a window that displays a view on the screen, including the window extent, aspect ratio, and the logical screen it is on. More... | |
Typedefs | |
typedef RefCountedPtr< ViewInfo > | ViewInfoPtr |
A reference counted pointer to a ViewInfo. More... | |
typedef RefCountedPtr < ViewPortInfo > | ViewPortInfoPtr |
A reference counted pointer to a ViewGroupInfo. More... | |
Enumerations | |
enum | ViewCategory { Default = 0, Drafting, Modeling, Visualization, Sheet } |
enum | ViewInfoStatus { VI_Success = 0, VI_BadModelRef = VIEW_INFO_ERROR_BASE + 1, VI_CameraNotInUse = VIEW_INFO_ERROR_BASE + 2 } |
Possible status values returned from ViewInfo methods. More... | |
enum | ViewChangeType { None = 0, Geometry = 1 << 0, RootModel = 1 << 1, Levels = 1 << 2, BGColor = 1 << 3, DisplayFlags = 1 << 4, DynamicView = 1 << 5, ACS = 1 << 6, BackgroundMap = 1 << 7, All = 0xffff } |
Enumeration describing the difference between two ViewInfo's. More... | |
Functions | |
ViewChangeType | operator| (ViewChangeType a, ViewChangeType b) |
ViewChangeType | operator& (ViewChangeType a, ViewChangeType b) |
ViewChangeType | operator~ (ViewChangeType a) |
bool | operator! (ViewChangeType a) |
int | mdlVec_projectPointToLineInView (DPoint3dP projectedPoint, DPoint3dCP pointOnLine, DPoint3dCP lineNormal, DPoint3dCP pointP, int view, bool useConstruction) |
Projects pointP to a line given by a point and direction, as seen in a view. More... | |
int | mdlVec_projectPointToPlaneInView (DPoint3dP projectedPoint, DPoint3dCP pointOnPlane, DPoint3dCP planeNormal, DPoint3dCP pointP, int view, bool useConstruction) |
Projects pointP to the plane specified by pointOnPlane and planeNormal in the view specified by view. More... | |
bool | mdlViewPortInfo_areEquivalent (ViewPortInfoCP viewPortInfo1P, ViewPortInfoCP viewPortInfo2P) |
The mdlViewPortInfo_areEquivalent function indicates whether or not the view port info objects are equivalent. More... | |
bool | mdlViewInfo_areEquivalent (ViewInfoCP viewInfo1P, ViewInfoCP viewInfo2P) |
The mdlViewInfo_areEquivalent function indicates whether or not the view info objects are equivalent. More... | |
StatusInt | mdlViewInfo_getViewFlag (int *valueP, int paramNum, ViewInfoCP viewInfoP) |
mdlViewInfo_getViewFlag returns information about a view attribute. More... | |
StatusInt | mdlViewInfo_setViewFlag (int paramNum, ViewInfoP viewInfoP, int value) |
The mdlViewInfo_setViewFlag function sets any view attribute listed above. More... | |
StatusInt | mdlViewInfo_getOrigin (Dpoint3d *originP, ViewInfoCP viewInfoP) |
The mdlViewInfo_getOrigin function gets the origin of the view info. More... | |
StatusInt | mdlViewInfo_getDelta (Dpoint3d *deltaP, ViewInfoCP viewInfoP) |
The mdlViewInfo_getDelta function gets the origin of the view info. More... | |
StatusInt | mdlViewInfo_getRotation (RotMatrixP rotationP, ViewInfoCP viewInfoP) |
The mdlViewInfo_getRotation function gets the rotation of the view info. More... | |
StatusInt | mdlViewInfo_getActiveZ (double *activeZP, ViewInfoCP viewInfoP) |
The mdlViewInfo_getActiveZ function gets the activeZ of the view info. More... | |
StatusInt | mdlViewInfo_getCamera (DgnPlatform::CameraInfo *cameraP, ViewInfoCP viewInfoP) |
The mdlViewInfo_getCamera function gets the camera info of the view info. More... | |
StatusInt | mdlViewInfo_setOrigin (ViewInfoP viewInfoP, Dpoint3d const *originP) |
The mdlViewInfo_setOrigin function sets the origin of the view info. More... | |
StatusInt | mdlViewInfo_setDelta (ViewInfoP viewInfoP, Dpoint3d const *deltaP) |
The mdlViewInfo_setDelta function sets the delta of the view info. More... | |
StatusInt | mdlViewInfo_setRotation (ViewInfoP viewInfoP, RotMatrixCP rotationP) |
The mdlViewInfo_setRotation function sets the rotation of the view info. More... | |
StatusInt | mdlViewInfo_setActiveZ (ViewInfoP viewInfoP, double activeZ) |
The mdlViewInfo_setActiveZ function sets the active Z of the view info. More... | |
StatusInt | mdlViewInfo_setCamera (ViewInfoP viewInfoP, DgnPlatform::CameraInfo const *cameraP) |
The mdlViewInfo_setCamera function sets the camera of the view info. More... | |
StatusInt | mdlViewInfo_getViewIndex (Int16 *viewNumberP, ViewInfoCP viewInfoP) |
The mdlViewInfo_getViewIndex function gets the index of the view info. More... | |
StatusInt | mdlViewInfo_setViewIndex (ViewInfoP viewInfoP, Int16 viewNumber) |
The mdlViewInfo_setViewIndex function sets the index of the view info. More... | |
StatusInt | mdlViewInfo_getModelRef (DgnModelRefP *modelRefPP, ViewInfoCP viewInfoP) |
The mdlViewInfo_getModelRef function gets the model ref of the view info. More... | |
StatusInt | mdlViewInfo_setModelRef (ViewInfoP viewInfoP, DgnModelRefP modelRefP) |
The mdlViewInfo_setModelRef function sets the model ref of the view info. More... | |
void | mdlViewInfo_computeDefaultRange (DPoint3dP minP, DPoint3dP maxP, bool includeRefs, DgnModelRefP modelRef) |
The mdlViewInfo_computeDefaultRange function is used to determine the range points for the given model. More... | |
StatusInt | mdlViewInfo_getBackGroundColor (RgbColorDef *colorDefP, ViewInfoCP viewInfoP) |
The mdlViewInfo_getBackGroundColor function gets the background color of the view info. More... | |
StatusInt | mdlViewInfo_setBackGroundColor (ViewInfoP viewInfoP, RgbColorDef const *colorDefP) |
The mdlViewInfo_setBackGroundColor function sets the background color of the view info. More... | |
StatusInt | mdlViewInfo_getClipBoundElementId (DgnPlatform::ElementId *elementIDP, ViewInfoCP viewInfoP) |
The mdlViewInfo_getClipBoundElementId function gets the clip bound element ID of the view info. More... | |
StatusInt | mdlViewInfo_setClipBoundElementId (ViewInfoP viewInfoP, DgnPlatform::ElementId elementID) |
The mdlViewInfo_setClipBoundElementId function sets the clip bound element ID of the view info. More... | |
StatusInt | mdlViewInfo_getClipMaskElementId (DgnPlatform::ElementId *elementIDP, ViewInfoCP viewInfoP) |
The mdlViewInfo_getClipMaskElementId function gets the clip Mask element ID of the view info. More... | |
StatusInt | mdlViewInfo_setClipMaskElementId (ViewInfoP viewInfoP, DgnPlatform::ElementId elementID) |
The mdlViewInfo_setClipMaskElementId function sets the clip Mask element ID of the view info. More... | |
bool | mdlViewInfo_haveSameLevels (ViewInfoCP viewInfo1P, ViewInfoCP viewInfo2P) |
The mdlViewInfo_haveSameLevels function indicates if both viewinfo objects specify the same level display settings. More... | |
bool | mdlViewInfo_haveSameModels (ViewInfoCP viewInfo1P, ViewInfoCP viewInfo2P) |
The mdlViewInfo_haveSameModels function indicates if both viewinfo objects reference the same model. More... | |
StatusInt | mdlViewInfo_getModelID (DgnPlatform::ModelId *modelIDP, ViewInfoCP viewInfoP) |
The mdlViewInfo_getModelID function gets the model ID of the view info. More... | |
StatusInt | mdlViewInfo_getFlags (DgnPlatform::ViewFlags *flagsP, ViewInfoCP viewInfoP) |
The mdlViewInfo_getFlags function gets the flags of the view info. More... | |
StatusInt | mdlViewInfo_setFlags (ViewInfoP viewInfoP, DgnPlatform::ViewFlags const *flagsP) |
The mdlViewInfo_setFlags function sets the flags of the view info. More... | |
StatusInt | mdlViewPortInfo_getWasDefined (Int16 *wasDefinedP, ViewPortInfoCP viewPortInfoP) |
The mdlViewPortInfo_getWasDefined function gets the was defined flag of the viewport info. More... | |
StatusInt | mdlViewPortInfo_getScreenNumber (Int16 *screenNumberP, ViewPortInfoCP viewPortInfoP) |
The mdlViewPortInfo_getScreenNumber function gets the screen of the viewport info. More... | |
StatusInt | mdlViewPortInfo_setWasDefined (ViewPortInfoP viewPortInfoP, Int16 wasDefined) |
The mdlViewPortInfo_setWasDefined function sets the wasDefined flag of the viewport info. More... | |
StatusInt | mdlViewPortInfo_setScreenNumber (ViewPortInfoP viewPortInfoP, Int16 screenNumber) |
The mdlViewPortInfo_setScreenNumber function sets the was screen of the viewport info. More... | |
StatusInt | mdlViewPortInfo_getViewAspectRatio (double *viewAspectRatioP, ViewPortInfoCP viewPortInfoP) |
The mdlViewPortInfo_getViewAspectRatio function gets the aspect ratio of the viewport info. More... | |
BitMaskP | mdlViewInfo_getLevelDisplayMask (DgnModelRefP modelRefIn, ViewInfoP pViewInfoIn) |
The mdlViewInfo_getLevelDisplayMask function gets the level display mask for the given model ref from the view info. More... | |
int | mdlViewInfo_setLevelDisplayMask (DgnModelRefP modelRefIn, ViewInfoP pViewInfoIn, BitMaskCP pViewLevelMaskIn) |
The mdlViewInfo_setLevelDisplayMask function sets the level display mask for the given model reference in the view info. More... | |
The ViewInfo class holds information needed to display the contents of a view.
ViewInfo contains information about the portion of the model that is visible in the view, the level masks that determine the per-view on/off state of every level, the background color, the auxiliary coordinate system; and the dynamic view settings for the view.
ViewInfo's are components of ViewGroup, where there is a ViewInfo for each of the numbered views, and of NamedView, which store a dictionary of user-defined views.
ViewInfo is a reference counted class, and uses the lifecyle semantics of the templated Bentley::RefCountedPtr class.
The ViewPortInfo class holds information about the positioning of a window that contains a view, including the window size, aspect ratio, and the logical screen it is on.
ViewPortInfo is a reference counted class, and uses the lifecyle semantics of the templated Bentley::RefCountedPtr class.
typedef RefCountedPtr<ViewInfo> ViewInfoPtr |
A reference counted pointer to a ViewInfo.
typedef RefCountedPtr<ViewPortInfo> ViewPortInfoPtr |
A reference counted pointer to a ViewGroupInfo.
|
strong |
Enumeration describing the difference between two ViewInfo's.
Enumerator | |
---|---|
None | |
Geometry | |
RootModel | |
Levels | |
BGColor | |
DisplayFlags | |
DynamicView | |
ACS | |
BackgroundMap | |
All |
enum ViewInfoStatus |
Possible status values returned from ViewInfo methods.
Enumerator | |
---|---|
VI_Success |
The method succeeded. |
VI_BadModelRef | |
VI_CameraNotInUse |
int mdlVec_projectPointToLineInView | ( | DPoint3dP | projectedPoint, |
DPoint3dCP | pointOnLine, | ||
DPoint3dCP | lineNormal, | ||
DPoint3dCP | pointP, | ||
int | view, | ||
bool | useConstruction | ||
) |
Projects pointP to a line given by a point and direction, as seen in a view.
[out] | projectedPoint | projected point |
[in] | pointOnLine | point on line |
[in] | lineNormal | normal vector to line |
[in] | pointP | point to project |
[in] | view | view number |
[in] | useConstruction | use ACS if constr. lock on |
int mdlVec_projectPointToPlaneInView | ( | DPoint3dP | projectedPoint, |
DPoint3dCP | pointOnPlane, | ||
DPoint3dCP | planeNormal, | ||
DPoint3dCP | pointP, | ||
int | view, | ||
bool | useConstruction | ||
) |
Projects pointP to the plane specified by pointOnPlane and planeNormal in the view specified by view.
[out] | projectedPoint | projected point |
[in] | pointOnPlane | point on plane |
[in] | planeNormal | normal vector to plane |
[in] | pointP | point to project |
[in] | view | view number |
[in] | useConstruction | use ACS if constr. lock on |
bool mdlViewInfo_areEquivalent | ( | ViewInfoCP | viewInfo1P, |
ViewInfoCP | viewInfo2P | ||
) |
The mdlViewInfo_areEquivalent function indicates whether or not the view info objects
are equivalent.
[in] | viewInfo1P | first view info to compare. |
[in] | viewInfo2P | second view info to compare. |
void mdlViewInfo_computeDefaultRange | ( | DPoint3dP | minP, |
DPoint3dP | maxP, | ||
bool | includeRefs, | ||
DgnModelRefP | modelRef | ||
) |
The mdlViewInfo_computeDefaultRange function is used to determine the range points for the given model.
[out] | minP | the minimum range corner. |
[out] | maxP | the maximum range corner. |
[in] | includeRefs | include the references or not. |
[in] | modelRef | model which must be processed. |
StatusInt mdlViewInfo_getActiveZ | ( | double * | activeZP, |
ViewInfoCP | viewInfoP | ||
) |
The mdlViewInfo_getActiveZ function gets the activeZ of the view info.
above.
[out] | activeZP | the location to write the activeZ. |
[in] | viewInfoP | the view info object. |
StatusInt mdlViewInfo_getBackGroundColor | ( | RgbColorDef * | colorDefP, |
ViewInfoCP | viewInfoP | ||
) |
The mdlViewInfo_getBackGroundColor function gets the background color of the view info.
above.
[out] | colorDefP | the location to write the color definition. |
[in] | viewInfoP | the view info object. |
StatusInt mdlViewInfo_getCamera | ( | DgnPlatform::CameraInfo * | cameraP, |
ViewInfoCP | viewInfoP | ||
) |
The mdlViewInfo_getCamera function gets the camera info of the view info.
above.
[out] | cameraP | the location to write the camera info. |
[in] | viewInfoP | the view info object. |
StatusInt mdlViewInfo_getClipBoundElementId | ( | DgnPlatform::ElementId * | elementIDP, |
ViewInfoCP | viewInfoP | ||
) |
The mdlViewInfo_getClipBoundElementId function gets the clip bound element ID of the view info.
[out] | elementIDP | the location to write the element ID. |
[in] | viewInfoP | the view info object. |
StatusInt mdlViewInfo_getClipMaskElementId | ( | DgnPlatform::ElementId * | elementIDP, |
ViewInfoCP | viewInfoP | ||
) |
The mdlViewInfo_getClipMaskElementId function gets the clip Mask element ID of the view info.
[out] | elementIDP | the location to write the element ID. |
[in] | viewInfoP | the view info object. |
StatusInt mdlViewInfo_getDelta | ( | Dpoint3d * | deltaP, |
ViewInfoCP | viewInfoP | ||
) |
The mdlViewInfo_getDelta function gets the origin of the view info.
above.
[out] | deltaP | the location to write the delta. |
[in] | viewInfoP | the view info object |
StatusInt mdlViewInfo_getFlags | ( | DgnPlatform::ViewFlags * | flagsP, |
ViewInfoCP | viewInfoP | ||
) |
The mdlViewInfo_getFlags function gets the flags of the view info.
[out] | flagsP | the location to write the flags. |
[in] | viewInfoP | the view info object. |
BitMaskP mdlViewInfo_getLevelDisplayMask | ( | DgnModelRefP | modelRefIn, |
ViewInfoP | pViewInfoIn | ||
) |
The mdlViewInfo_getLevelDisplayMask function gets the level display mask for the given model ref from the view info.
[in] | modelRefIn | the model reference for which we need to search. |
[in] | pViewInfoIn | the view info object. |
StatusInt mdlViewInfo_getModelID | ( | DgnPlatform::ModelId * | modelIDP, |
ViewInfoCP | viewInfoP | ||
) |
The mdlViewInfo_getModelID function gets the model ID of the view info.
[out] | modelIDP | the location to write the model ID. |
[in] | viewInfoP | the view info object. |
StatusInt mdlViewInfo_getModelRef | ( | DgnModelRefP * | modelRefPP, |
ViewInfoCP | viewInfoP | ||
) |
The mdlViewInfo_getModelRef function gets the model ref of the view info.
above.
[out] | modelRefPP | the location to write the model ref. |
[in] | viewInfoP | the view info object. |
StatusInt mdlViewInfo_getOrigin | ( | Dpoint3d * | originP, |
ViewInfoCP | viewInfoP | ||
) |
The mdlViewInfo_getOrigin function gets the origin of the view info.
above.
[out] | originP | the location to write the origin. |
[in] | viewInfoP | the view info object. |
StatusInt mdlViewInfo_getRotation | ( | RotMatrixP | rotationP, |
ViewInfoCP | viewInfoP | ||
) |
The mdlViewInfo_getRotation function gets the rotation of the view info.
above.
[out] | rotationP | the location to write the rotation. |
[in] | viewInfoP | the view info object. |
StatusInt mdlViewInfo_getViewFlag | ( | int * | valueP, |
int | paramNum, | ||
ViewInfoCP | viewInfoP | ||
) |
mdlViewInfo_getViewFlag returns information about a view attribute.
[in] | valueP | the location to put the value. |
[in] | paramNum | which view attribute is required. |
[in] | viewInfoP | the view info object. Possible values for paramNum are defined in mdl.h and are provided with an explanation in the following table: For the VIEWCONTROL_RENDERMODE parameter, possible values are defined in mdl.h. These values include VIEWMODE_WIREFRAME, VIEWMODE_CROSSSECTION, VIEWMODE_WIREMESH, VIEWMODE_HIDDENLINE, VIEWMODE_FILLEDHLINE, VIEWMODE_CONSTANTSHADE, VIEWMODE_SMOOTHSHADE and VIEWMODE_PHONGSHADE. |
StatusInt mdlViewInfo_getViewIndex | ( | Int16 * | viewNumberP, |
ViewInfoCP | viewInfoP | ||
) |
The mdlViewInfo_getViewIndex function gets the index of the view info.
above.
[out] | viewNumberP | the location to write the index. |
[in] | viewInfoP | the view info object. |
bool mdlViewInfo_haveSameLevels | ( | ViewInfoCP | viewInfo1P, |
ViewInfoCP | viewInfo2P | ||
) |
The mdlViewInfo_haveSameLevels function indicates if both viewinfo objects specify the
same level display settings.
[in] | viewInfo1P | the view info object to compare. |
[in] | viewInfo2P | the view info object to compare. |
bool mdlViewInfo_haveSameModels | ( | ViewInfoCP | viewInfo1P, |
ViewInfoCP | viewInfo2P | ||
) |
The mdlViewInfo_haveSameModels function indicates if both viewinfo objects reference the
same model.
[in] | viewInfo1P | the view info object to compare. |
[in] | viewInfo2P | the view info object to compare. |
StatusInt mdlViewInfo_setActiveZ | ( | ViewInfoP | viewInfoP, |
double | activeZ | ||
) |
The mdlViewInfo_setActiveZ function sets the active Z of the view info.
[in] | viewInfoP | the view info object to update. |
[in] | activeZ | the new active Z. |
StatusInt mdlViewInfo_setBackGroundColor | ( | ViewInfoP | viewInfoP, |
RgbColorDef const * | colorDefP | ||
) |
The mdlViewInfo_setBackGroundColor function sets the background color of the view info.
[in] | viewInfoP | the view info object to update. |
[in] | colorDefP | the new color definition to copy. |
StatusInt mdlViewInfo_setCamera | ( | ViewInfoP | viewInfoP, |
DgnPlatform::CameraInfo const * | cameraP | ||
) |
The mdlViewInfo_setCamera function sets the camera of the view info.
[in] | viewInfoP | the view info object to update. |
[in] | cameraP | the new camera. |
StatusInt mdlViewInfo_setClipBoundElementId | ( | ViewInfoP | viewInfoP, |
DgnPlatform::ElementId | elementID | ||
) |
The mdlViewInfo_setClipBoundElementId function sets the clip bound element ID of the view info.
[in] | viewInfoP | the view info object to update. |
[in] | elementID | the id of the clip bound element. |
StatusInt mdlViewInfo_setClipMaskElementId | ( | ViewInfoP | viewInfoP, |
DgnPlatform::ElementId | elementID | ||
) |
The mdlViewInfo_setClipMaskElementId function sets the clip Mask element ID of the view info.
[in] | viewInfoP | the view info object to update. |
[in] | elementID | the id of the clip Mask element. |
StatusInt mdlViewInfo_setDelta | ( | ViewInfoP | viewInfoP, |
Dpoint3d const * | deltaP | ||
) |
The mdlViewInfo_setDelta function sets the delta of the view info.
above.
[in] | viewInfoP | the view info object to update. |
[in] | deltaP | the new origin. |
StatusInt mdlViewInfo_setFlags | ( | ViewInfoP | viewInfoP, |
DgnPlatform::ViewFlags const * | flagsP | ||
) |
The mdlViewInfo_setFlags function sets the flags of the view info.
[in] | viewInfoP | the view info object to update. |
[in] | flagsP | the flags to copy. |
int mdlViewInfo_setLevelDisplayMask | ( | DgnModelRefP | modelRefIn, |
ViewInfoP | pViewInfoIn, | ||
BitMaskCP | pViewLevelMaskIn | ||
) |
The mdlViewInfo_setLevelDisplayMask function sets the level display mask for the given model reference in the view info.
[in] | modelRefIn | the model reference to key the bit mask. |
[in] | pViewInfoIn | the view info object. |
[in] | pViewLevelMaskIn | the bit mask object. |
StatusInt mdlViewInfo_setModelRef | ( | ViewInfoP | viewInfoP, |
DgnModelRefP | modelRefP | ||
) |
The mdlViewInfo_setModelRef function sets the model ref of the view info.
[in] | viewInfoP | the view info object to update. |
[in] | modelRefP | the new model ref. |
StatusInt mdlViewInfo_setOrigin | ( | ViewInfoP | viewInfoP, |
Dpoint3d const * | originP | ||
) |
The mdlViewInfo_setOrigin function sets the origin of the view info.
above.
[in] | viewInfoP | the view info object to update. |
[in] | originP | the new origin. |
StatusInt mdlViewInfo_setRotation | ( | ViewInfoP | viewInfoP, |
RotMatrixCP | rotationP | ||
) |
The mdlViewInfo_setRotation function sets the rotation of the view info.
[in] | viewInfoP | the view info object to update. |
[in] | rotationP | the new rotation. |
StatusInt mdlViewInfo_setViewFlag | ( | int | paramNum, |
ViewInfoP | viewInfoP, | ||
int | value | ||
) |
The mdlViewInfo_setViewFlag function sets any view attribute listed
above.
[in] | paramNum | which view attribute is being set. |
[in] | viewInfoP | the view info object. |
[in] | value | the value to use. |
StatusInt mdlViewInfo_setViewIndex | ( | ViewInfoP | viewInfoP, |
Int16 | viewNumber | ||
) |
The mdlViewInfo_setViewIndex function sets the index of the view info.
[in] | viewInfoP | the view info object to update. |
[in] | viewNumber | the new index. |
bool mdlViewPortInfo_areEquivalent | ( | ViewPortInfoCP | viewPortInfo1P, |
ViewPortInfoCP | viewPortInfo2P | ||
) |
The mdlViewPortInfo_areEquivalent function indicates whether or not the view port info objects
are equivalent.
[in] | viewPortInfo1P | first view port info to compare. |
[in] | viewPortInfo2P | second view port info to compare. |
StatusInt mdlViewPortInfo_getScreenNumber | ( | Int16 * | screenNumberP, |
ViewPortInfoCP | viewPortInfoP | ||
) |
The mdlViewPortInfo_getScreenNumber function gets the screen of the viewport info.
[out] | screenNumberP | the location to write the screen number. |
[in] | viewPortInfoP | the viewport info object. |
StatusInt mdlViewPortInfo_getViewAspectRatio | ( | double * | viewAspectRatioP, |
ViewPortInfoCP | viewPortInfoP | ||
) |
The mdlViewPortInfo_getViewAspectRatio function gets the aspect ratio of the viewport info.
[out] | viewAspectRatioP | the location to write the aspect ratio. |
[in] | viewPortInfoP | the view info object. |
StatusInt mdlViewPortInfo_getWasDefined | ( | Int16 * | wasDefinedP, |
ViewPortInfoCP | viewPortInfoP | ||
) |
The mdlViewPortInfo_getWasDefined function gets the was defined flag of the viewport info.
[out] | wasDefinedP | the location to write the flag. |
[in] | viewPortInfoP | the viewport info object |
StatusInt mdlViewPortInfo_setScreenNumber | ( | ViewPortInfoP | viewPortInfoP, |
Int16 | screenNumber | ||
) |
The mdlViewPortInfo_setScreenNumber function sets the was screen of the viewport info.
[in] | viewPortInfoP | the viewport info object to update. |
[in] | screenNumber | the screen number. |
StatusInt mdlViewPortInfo_setWasDefined | ( | ViewPortInfoP | viewPortInfoP, |
Int16 | wasDefined | ||
) |
The mdlViewPortInfo_setWasDefined function sets the wasDefined flag of the viewport info.
[in] | viewPortInfoP | the viewport info object to update. |
[in] | wasDefined | the flags. |
bool Bentley::DgnPlatform::operator! | ( | ViewChangeType | a | ) |
ViewChangeType Bentley::DgnPlatform::operator& | ( | ViewChangeType | a, |
ViewChangeType | b | ||
) |
ViewChangeType Bentley::DgnPlatform::operator| | ( | ViewChangeType | a, |
ViewChangeType | b | ||
) |
ViewChangeType Bentley::DgnPlatform::operator~ | ( | ViewChangeType | a | ) |