A3DMkpViewFlagsData
-
struct
A3DMkpViewFlagsData The set of activated components in a View.
In a model, a view may consist in different components:
- Camera positioning
- PMI Filtering
- Geometry Filtering
- Cross-section
- View explosion
- Combined State
When traversing an
A3DMkpViewinstance, you can check whether theses components are used or not by callingA3DMkpViewGetFlags(). The returned structure is a set of boolean members which indicates the state of each component.Application of the component
A view’s component is applied by HOOPS Exchange if:
- It is present in the view’s data,
- The corresponding field in
A3DMkpViewFlagsDataisA3DTrue.
Otherwise, the component of the current state is used if it exists, whatever the value of the field in
A3DMkpViewFlagsDatais.The following array summarizes when a specific component is applied and which one:
Flag value | Defined in view | Defined in current state | Component
A3DTrue| no | no | NoneA3DTrue| no | yes | NoneA3DTrue| yes | no | View’s componentA3DTrue| yes | yes | View’s componentA3DFalse| no | no | NoneA3DFalse| no | yes | Current componentA3DFalse| yes | no | NoneA3DFalse| yes | yes | Current component
For example, if within a given view,
m_bIsCrossSectionSet == A3DTrueand cross-section data are present in the view then this cross-section will be used by HOOPS Exchange. This example corresponds to both third and fourth line of the table.On the other hand, if
m_bIsCrossSectionSet == A3DFalsethe component used will be the one defined in the current state if any. This is the case shown by the two last rows of this table.7.1
Variables
-
A3DBool
A3DMkpViewFlagsData.m_bIsCameraSet -
A Camera is flagged on.
-
A3DBool
A3DMkpViewFlagsData.m_bIsPMIFilteringSet -
PMI filtering is flagged on.
-
A3DBool
A3DMkpViewFlagsData.m_bIsGeomFilteringSet -
Geometry filtering is flagged on.
-
A3DBool
A3DMkpViewFlagsData.m_bIsCrossSectionSet -
A Cross-section is flagged on.
-
A3DBool
A3DMkpViewFlagsData.m_bIsExplosionSet -
A view explosion is flagged on.
-
A3DBool
A3DMkpViewFlagsData.m_bIsCombineState -
The view is in a combined state
-
A3DBool
A3DMkpViewFlagsData.m_bIsSimplifiedRepresentation -
The view is a simplified representation.
26.1