Data Structures | Functions

Data Structures

struct  A3DMkpViewData
 View structure. More...
 

Functions

A3DStatus A3DMkpViewGet (const A3DMkpView *pView, A3DMkpViewData *pData)
 Populates the A3DMkpViewData structure. More...
 
A3DStatus A3DMkpViewCreate (const A3DMkpViewData *pData, A3DMkpView **ppView)
 Creates an A3DMkpView from an A3DMkpViewData structure. More...
 
A3DStatus A3DMkpViewFlagsGet (const A3DMkpView *pView, bool &bIsCameraSet, bool &bIsPMIFilteringSet, bool &bIsGeomFilteringSet, bool &bIsCrosssectionSet, bool &bIsExplosionSet, bool &bIsCombineState)
 A3DMkpViewFlagsGet returns flags that tell what is handled by the view. In view, several components are defined or not; such as camera, annotations, cross-section and explosion. The view flags let you know what components are set. Only component set can impact the current view. For instance, dealing with cross-section , the behaviors are as follow: More...
 

Detailed Description

Entity type is kA3DTypeMkpView.

A view is either a grouping of markups or a particular representation of the 3D scene, depending on the value of the A3DMkpViewData::m_bIsAnnotationView member. If A3DMkpViewData::m_bIsAnnotationView is TRUE, the view contains only an array of annotation entities. If it is FALSE, it can also redefine other view properties such scene display parameters, entity visibilities, and positions on representation items and markups

Function Documentation

A3DStatus A3DMkpViewGet ( const A3DMkpView pView,
A3DMkpViewData pData 
)
A3DStatus A3DMkpViewCreate ( const A3DMkpViewData pData,
A3DMkpView **  ppView 
)
A3DStatus A3DMkpViewFlagsGet ( const A3DMkpView pView,
bool &  bIsCameraSet,
bool &  bIsPMIFilteringSet,
bool &  bIsGeomFilteringSet,
bool &  bIsCrosssectionSet,
bool &  bIsExplosionSet,
bool &  bIsCombineState 
)

A3DMkpViewFlagsGet returns flags that tell what is handled by the view. In view, several components are defined or not; such as camera, annotations, cross-section and explosion. The view flags let you know what components are set. Only component set can impact the current view. For instance, dealing with cross-section , the behaviors are as follow:

VIEW TO ACTIVATECross-section set in current stateCross-section in Resulting view
Flag setCross-section set in view
YESNONONO
NOYESNO
YESNOYES (view cross-section)
YESYESYES (view cross-section)
NONONONO
NOYESYES (current cross-section)
YESNONO
YESYESYES (current cross-section)

It's the same method for all components, to change the camera, you need a view with a camera set, if it's not the case the current camera have to be kept...

Version
7.1
Returns
A3D_INVALID_DATA_STRUCT_NULL
A3D_SUCCESS