The set of activated components in a View. More...
Data Fields | |
A3DBool | m_bIsCameraSet |
A3DBool | m_bIsCombineState |
A3DBool | m_bIsCrossSectionSet |
A3DBool | m_bIsExplosionSet |
A3DBool | m_bIsGeomFilteringSet |
A3DBool | m_bIsPMIFilteringSet |
Detailed Description
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 A3DMkpView instance, you can check whether theses components are used or not by calling A3DMkpViewGetFlags. 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 A3DMkpViewFlagsData is
A3DTrue
.
Otherwise, the component of the current state is used if it exists, whatever the value of the field in A3DMkpViewFlagsData is.
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 | None |
A3DTrue | no | yes | None |
A3DTrue | yes | no | View's component |
A3DTrue | yes | yes | View's component |
A3DFalse | no | no | None |
A3DFalse | no | yes | Current component |
A3DFalse | yes | no | None |
A3DFalse | yes | yes | Current component |
For example, if within a given view, m_bIsCrossSectionSet == A3DTrue
and 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 == A3DFalse
the 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.
- Version
- 7.1
Field Documentation
◆ m_bIsCameraSet
A3DBool A3DMkpViewFlagsData::m_bIsCameraSet |
A Camera is flagged on.
◆ m_bIsPMIFilteringSet
A3DBool A3DMkpViewFlagsData::m_bIsPMIFilteringSet |
PMI filtering is flagged on.
◆ m_bIsGeomFilteringSet
A3DBool A3DMkpViewFlagsData::m_bIsGeomFilteringSet |
Geometry filtering is flagged on.
◆ m_bIsCrossSectionSet
A3DBool A3DMkpViewFlagsData::m_bIsCrossSectionSet |
A Cross-section is flagged on.
◆ m_bIsExplosionSet
A3DBool A3DMkpViewFlagsData::m_bIsExplosionSet |
A view explosion is flagged on.
◆ m_bIsCombineState
A3DBool A3DMkpViewFlagsData::m_bIsCombineState |
The view is in a combined state