A ViewContext holds the current state of an operation on a Viewport.
More...
|
struct | GradientSymb |
| Parameters defining a gradient fill. More...
|
|
struct | QVAliasMaterialId |
| If one of the uv mapping modes, Directional Drape, Cubic, Spherical or Cylindrical is to be used for mapping a material to a non persistent element for draw purposes an application maintained Id is required for the qv material. More...
|
|
struct | MaterialUVDetailBase |
|
struct | MaterialUVDetail |
| Materials which use uv mapping modes Directional Drape, Cubic, Spherical and Cylindrical require additional element based information for their definition. More...
|
|
struct | ElemDisplayParams |
| This structure holds all of the information about an element specifying the "displayable parameters" of the element. More...
|
|
struct | LineStyleSymb |
| This structure contains options (modifications) that can be applied to existing line styles to change their appearance without changing the line style definition. More...
|
|
struct | ElemMatSymb |
| DgnCore implements this class for setting/getting the Material and Symbology (ElemMatSymb) used to draw geometry. More...
|
|
struct | OvrMatSymb |
| DgnCore implements this class to draw geometry using a symbology/material that is different from the cooked ElemMatSymb, i.e. More...
|
|
struct | IPointCloudDrawParams |
|
struct | IDrawGeom |
| DgnCore implements this interface to provide methods that draw geometry in either cached or non-cached contexts. More...
|
|
struct | IViewDraw |
| DgnCore implements this interface to provide the display system for Viewports. More...
|
|
struct | ICachedDraw |
| Begin/End announcements around cached drawing sequences. More...
|
|
struct | ClipVolumeOverrides |
|
struct | ClipVolumeFlags |
| Stores ClipVolume flags which are used by DynamicViewSettings. More...
|
|
struct | XAttributesHolder |
| This class allows an application to extend certain MicroStation elements with XAttributes, the actual persistence of which is then managed by MicroStation. More...
|
|
struct | DynamicViewSettings |
| This class has a collection of settings used by dynamic view to apply its clip volume. More...
|
|
struct | ViewContext |
|
|
enum | DrawExpense { Medium = 1,
High = 2
} |
|
enum | FillDisplay { Never = 0,
ByView = 1,
Always = 2,
Blanking = 3
} |
| < Whether an element should be drawn with its internal area filled or not More...
|
|
enum | LineJoin { None = 0,
Bevel = 1,
Miter = 2,
Round = 3
} |
|
enum | LineCap {
None = 0,
Flat = 1,
Square = 2,
Round = 3,
Triangle = 4
} |
|
enum | RangeResult { Outside = -1,
Overlap = 0,
Inside = 1
} |
|
enum | RasterFormat {
RGBA = 0,
BGRA = 1,
RGB = 2,
BGR = 3,
Gray = 4,
Alpha = 5,
RGBS = 6,
BGRS = 7
} |
|
enum | OvrMatSymbFlags {
MATSYMB_OVERRIDE_None = (0),
MATSYMB_OVERRIDE_Color = (1<<0),
MATSYMB_OVERRIDE_ColorTransparency = (1<<1),
MATSYMB_OVERRIDE_FillColor = (1<<2) | (1<<31),
MATSYMB_OVERRIDE_FillColorTransparency = (1<<3),
MATSYMB_OVERRIDE_RastWidth = (1<<4),
MATSYMB_OVERRIDE_Style = (1<<5),
MATSYMB_OVERRIDE_TrueWidth = (1<<6),
MATSYMB_OVERRIDE_ExtSymb = (1<<7),
MATSYMB_OVERRIDE_RenderMaterial = (1<<8)
} |
| OvrMatSymb flags that determine which overrides are active. More...
|
|
enum | GeomRepresentations {
DISPLAY_INFO_None = 0,
DISPLAY_INFO_Edge = (1<<0),
DISPLAY_INFO_Fill = (1<<1),
DISPLAY_INFO_Surface = (1<<2),
DISPLAY_INFO_Thickness = (1<<3),
DISPLAY_INFO_Pattern = (1<<4)
} |
| *//* Bentley Systems More...
|
|
enum | FilterLODFlags { FILTER_LOD_Off = 0,
FILTER_LOD_ShowRange = 1,
FILTER_LOD_ShowNothing = 2
} |
|
A ViewContext holds the current state of an operation on a Viewport.
A ViewContext must be first attached to a Viewport to be useful, and must be detached from the Viewport to free any memory associated with its internal state.
MicroStation implements ViewContext on several types of objects, including:
- UpdateContext - for repainting the content of a Viewport
- RedrawContext - for re-displaying changed MSElementDescrs or ElementRefs in a viewport
- RangeContext - for caclulating the range of an element
- PickContext - for choosing elements within a proximity of a visible point
- etc.
Each of these implementers of ViewContext hold different types of internal state depending on their purpose.
ViewContext provides services for traversing the appropriate elements in the relevant models associated with a Viewport and for maintaining the current:
- local coordinate system
- display path
- view flags
- display parameters
- etc.
#define SCREENING_Full 0.0 |
#define SCREENING_None 100.0 |
typedef RefCountedPtr<GradientSymb> GradientSymbPtr |
typedef RefCountedPtr<struct MaterialUVDetail> MaterialUVDetailPtr |
typedef bool(* PFXAttributeFilter)(XAttributeHandlerId handlerId, UInt32 xAttrId) |
typedef RefCountedPtr<struct QVAliasMaterialId> QVAliasMaterialIdPtr |
Enumerator |
---|
Medium |
Average for a element type that may be cached.
|
High |
Cache it unless at risk of exhausting virtual address.
|
< Whether an element should be drawn with its internal area filled or not
Enumerator |
---|
Never |
Don't fill, even if fill attribute is on for the viewport.
|
ByView |
Fill the element if the fill attribute is on for the viewport.
|
Always |
Always fill the element, even if the fill attribute is off for the viewport.
|
Blanking |
Always fill/always behind other geometry. Only applicable to geometry within a single QvElem.
|
Enumerator |
---|
FILTER_LOD_Off |
don't do Level-of-detail filtering at all
|
FILTER_LOD_ShowRange |
when too small, just show range
|
FILTER_LOD_ShowNothing |
when too small, show nothing
|
*//* Bentley Systems
Enumerator |
---|
DISPLAY_INFO_None |
Don't draw anything (not renderable, i.e. has no surface, and option to render wires is off)
|
DISPLAY_INFO_Edge |
Output wireframe geometry, i.e. outline curves and surface/solid edges/isoparametrics suitable for snapping.
|
DISPLAY_INFO_Fill |
Output closed curves and regions as filled.
|
DISPLAY_INFO_Surface |
Output surface/solid representation.
|
DISPLAY_INFO_Thickness |
Output open/closed curves as extruded surfaces/solids.
|
DISPLAY_INFO_Pattern |
Output closed curves and regions as hatched/patterned.
|
Enumerator |
---|
None |
|
Flat |
|
Square |
|
Round |
|
Triangle |
|
Enumerator |
---|
None |
|
Bevel |
|
Miter |
|
Round |
|
OvrMatSymb flags that determine which overrides are active.
flags to indicate the parts of a MatSymb that are to be overridden
Enumerator |
---|
MATSYMB_OVERRIDE_None |
no overrides
|
MATSYMB_OVERRIDE_Color |
override outline color
|
MATSYMB_OVERRIDE_ColorTransparency |
override outline color transparency
|
MATSYMB_OVERRIDE_FillColor |
override fill color, override blanking fill with bg color
|
MATSYMB_OVERRIDE_FillColorTransparency |
override fill color transparency
|
MATSYMB_OVERRIDE_RastWidth |
override raster width
|
MATSYMB_OVERRIDE_Style |
override style
|
MATSYMB_OVERRIDE_TrueWidth |
override true width
|
MATSYMB_OVERRIDE_ExtSymb |
override extended symbology
|
MATSYMB_OVERRIDE_RenderMaterial |
override render material
|
Enumerator |
---|
Outside |
|
Overlap |
|
Inside |
|
Enumerator |
---|
RGBA |
|
BGRA |
|
RGB |
|
BGR |
|
Gray |
|
Alpha |
|
RGBS |
|
BGRS |
|