Classes | Typedefs | Enumerations | Functions
Raster Elements

Raster Element are used to store a reference to an external raster file or to store directly raster data into a design file. More...

Classes

struct  RasterClip
 Provides methods for inspecting a raster clip. More...
 
struct  RasterClipCollection
 Provides a ref counted container that store a collection of clips set on a raster attachment. More...
 
struct  RasterClipProperties
 Provides methods for inspecting current clips set on a raster attachment. More...
 
struct  RasterTransparentColorsCollection
 Provides methods for inspecting the transparent colors set on a raster attachment. More...
 
struct  IRasterAttachmentQuery
 Provides methods for inspecting the current raster attachment properties of an element. More...
 
struct  IRasterAttachmentEdit
 Provides methods for inspecting and editing the current raster attachment properties of an element. More...
 
struct  RasterFrameElement
 
struct  IRasterSourceFileQuery
 Interface that provides methods to query raster file information. More...
 
struct  RasterOverrides
 Holds toggles overrides when a raster attachment is seen through a DgnAttachment. More...
 
struct  RasterOverridesCollection
 Hold RasterOverrides for a specific DgnAttachment. More...
 
struct  RasterFrameElementIterator
 An input iterator to go through all raster frame element (aka Raster attachment) in a model. More...
 
struct  RasterFrameElementCollection
 The collection of all raster frame element (aka Raster attachment) in a model that are scoped to that model. More...
 
struct  RasterFrameHandler
 This class is the handler for raster attachment element. More...
 
struct  RasterHdrHandler
 This class is the handler for imported raster image header (aka type 87) element. More...
 

Typedefs

typedef RefCountedPtr< RasterClip > RasterClipPtr
 
typedef RefCountedPtr
< RasterClipCollection > 
RasterClipCollectionPtr
 
typedef RefCountedPtr
< RasterClipProperties > 
RasterClipPropertiesPtr
 
typedef RefCountedPtr
< RasterMaskReference > 
RasterMaskReferencePtr
 
typedef RefCountedPtr
< RasterLayerDisplayOverride > 
RasterLayerDisplayOvrPtr
 
typedef RefCountedPtr
< RasterTransparentColorsCollection > 
RasterTransparentColorsCollectionPtr
 
typedef bvector< RasterClipPtr > RasterClipVector
 

Enumerations

enum  RasterDisplayPriorityPlane { DisplayPriority_BackPlane = 1, DisplayPriority_DesignPlane = 2, DisplayPriority_FrontPlane = 3 }
 
enum  GeoreferencePriority { GeoreferencePriority_Default = 0, GeoreferencePriority_Attachment = 1, GeoreferencePriority_RasterFile = 2, GeoreferencePriority_SisterFile = 3 }
 
enum  GeotiffUnitPriority { GeotiffUnitPriority_PCS_Default =0, GeotiffUnitPriority_PCS_Linear =1, GeotiffUnitPriority_Unknown =2 }
 
enum  TransparentColorType { TransparentColorType_Colordef = 1, TransparentColorType_CubeDef = 2 }
 
enum  GeoCodingType { GeoCodingType_None = 0, GeoCodingType_Type66 = 1 }
 

Functions

static DGNPLATFORM_EXPORT bool IsKindOf (MSElementCP el)
 Query if the element is a raster frame element (aka raster attachment). More...
 

Detailed Description

Raster Element are used to store a reference to an external raster file or to store directly raster data into a design file.

There are two kind of raster element: "Raster Attachment" and "Raster".

"Raster Attachment" are used to store a reference to a raster file.

"Raster" are used to store small raster bitmap or byte map directly in the design file but are very limited compare to "Raster Attachment".

Raster Element Creation and Access

Collections and Iterators

Typedef Documentation

typedef RefCountedPtr<RasterClipCollection> RasterClipCollectionPtr
typedef RefCountedPtr<RasterClipProperties> RasterClipPropertiesPtr
typedef RefCountedPtr<RasterClip> RasterClipPtr
typedef bvector<RasterClipPtr> RasterClipVector
typedef RefCountedPtr<RasterLayerDisplayOverride> RasterLayerDisplayOvrPtr
typedef RefCountedPtr<RasterMaskReference> RasterMaskReferencePtr
typedef RefCountedPtr<RasterTransparentColorsCollection> RasterTransparentColorsCollectionPtr

Enumeration Type Documentation

enum GeoCodingType
Enumerator
GeoCodingType_None 

no geocoding element for this raster

GeoCodingType_Type66 

DgnGCS element - see DgnGCS class.

enum GeoreferencePriority
Enumerator
GeoreferencePriority_Default 

default value - Use value define by application preference

GeoreferencePriority_Attachment 

Raster reference element geoReference has priority.

GeoreferencePriority_RasterFile 

Raster file georeference has priority if available.

GeoreferencePriority_SisterFile 

Sister file georeference has priority if available.

enum GeotiffUnitPriority
Enumerator
GeotiffUnitPriority_PCS_Default 

Priority to PCS defined units.

GeotiffUnitPriority_PCS_Linear 

Priority to PCS Linear Units.

GeotiffUnitPriority_Unknown 

Priority is unknown to this version.

enum RasterDisplayPriorityPlane
Enumerator
DisplayPriority_BackPlane 

Raster is on back plane.

DisplayPriority_DesignPlane 

Raster is on design plane and use raster attachment element display priority.

DisplayPriority_FrontPlane 

Raster is on front plane.

enum TransparentColorType
Enumerator
TransparentColorType_Colordef 

Use for indexed transparency setting.

TransparentColorType_CubeDef 

Use for RGB color cube transparency setting.

Function Documentation

static DGNPLATFORM_EXPORT bool IsKindOf ( MSElementCP  el)
static

Query if the element is a raster frame element (aka raster attachment).

Parameters
elThe element to query.
Returns
true if element is a raster frame element.

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.